Skip to content

Commit

Permalink
enh(help): fixed some mistakes and changed stopwords
Browse files Browse the repository at this point in the history
  • Loading branch information
omercier committed Mar 29, 2024
1 parent c3a0249 commit a736cce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/stopwords.t
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
--filter-vdom
--force-counters32
--oid-table
Centreon
Fortinet
Fortigate
Fortinet
license-instances-usage-prct
OID
oneaccess-sys-mib
Expand Down
6 changes: 3 additions & 3 deletions src/snmp_standard/mode/stringvalue.pm
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,9 @@ __END__
=head1 MODE
Check SNMP string values (can be a String or an Integer).
Check SNMP string values (can be a string or an integer).
Check values absent:
Check absent values:
centreon_plugins.pl --plugin=snmp_standard::plugin --mode=string-value --hostname=127.0.0.1 --snmp-version=2c --snmp-community=public
--oid-table='.1.3.6.1.2.1.25.4.2.1.2' --format-ok='%{filter_rows} processes' --format-critical='processes are absent: %{details_critical}' --critical-absent='centengine' --critical-absent='crond' --filter-table-value='centengine|crond'
Expand Down Expand Up @@ -395,7 +395,7 @@ Separator uses between values (default: coma).
=item B<--convert-custom-values>
Custom code to convert values.
Example to convert octetstring to macaddress: --convert-custom-values='join(":", unpack("(H2)*", $value))'
Example to convert octet string to MAC address: --convert-custom-values='join(":", unpack("(H2)*", $value))'
=item B<--use-perl-mod>
Expand Down

0 comments on commit a736cce

Please sign in to comment.