I didn't even think to check for a -h. This did it: check_snmp -H 10.0.10.2 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.1.0 -l '% Capacity' -u '%' -w 90:20 -c 20:0 Thank you. On Mon, 2010-05-17 at 23:17 -0700, Morris, Patrick wrote: > Use "check_snmp -h" to get a description of valid parameters. The > warning and critical parameters are ranges, not single integers. The > notes describe the syntax and options. > > John Stile wrote: > > I would like to add a warning & critical value to the following > > check_snmp line in /etc/nagios/nrpe.cfg, which monitors my ups. > > > > command[snmp_ups_capa]=/usr/lib/nagios/plugins/check_snmp -H 10.0.10.2 > > -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.1.0 -l '% Capacity' -u '%' > > > > For a warning at 80% capacity and critical at 10%, it doesn't work to > > simply append: -w 80 -c 10 > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null