Closed oasisck closed 5 years ago
Thank you. You use the mode to display information only ? It s not the purpose of that mode. We can add a mode to display snmp information.
Indeed, it's for display. Or maybe add this information in IDRAC plugin -> health option ? More usefull than 3 output OK information ;-)
Yes we ll do that
Could you test it with the last version ?
Perfect as usual 👍
Thanks!
Hi, I'm trying to customize output with snmp_standard command
This is OIDs I'm interesting
I want to output format like this
OK : iDRAC8, 2.52.52.52
I use this commandperl centreon_plugins.pl --plugin=snmp_standard::plugin --mode=string-value --oid-table=.1.3.6.1.4.1.674.10892.5.1.1 --snmp-version=2c --snmp-community=public --hostname=1.2.3.4 --format-ok='%{details_ok}'
and this commandperl centreon_plugins.pl --plugin=snmp_standard::plugin --mode=string-value --oid=.1.3.6.1.4.1.674.10892.2.1.1.2.0 --oid=.1.3.6.1.4.1.674.10892.2.1.1.5.0 --snmp-version=2c --snmp-community=public --hostname=1.2.3.4 --format-ok='%{details_ok}'
I saw in help I can used those format output but none seems working for what I wantCan used: %{rows}, %{filter_rows}, %{details_warning}, %{details_ok}, %{details_critical}, %{details_unknown}
Your advice ? Thanks for your amazing works