Dear Expert
check_xi_service_snmp
$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
$ARG1$ = -o enterprises.318.1.1.26.10.2.2.1.8.1 -C public -P 2c -l "Temperature" -u "C" -w 26 -c 28
the temperature value coming as = 187 , which is really 18.7 , how to divide this value 187 by 10 so real graph plotting will be 18.7
Regards
how to manupulate value in SNMP wizard
Re: how to manupulate value in SNMP wizard
To get what you need, you would have to create a wrapper script and add some extra code on the command that will change the standard output of the plugin to what you need.
Take a look at the following forum post for an example on using awk to change the output.
https://support.nagios.com/forum/viewto ... =7&t=38222
Take a look at the following forum post for an example on using awk to change the output.
https://support.nagios.com/forum/viewto ... =7&t=38222
Be sure to check out our Knowledgebase for helpful articles and solutions!