Page 1 of 1

polling multiple oids with one service

Posted: Wed Jan 23, 2019 1:00 pm
by benhank
I have created 17 service checks configured as so:

Code: Select all

-p 161 -o enterprises.12124.2.55.1.4.1 -C "I$"$"ilonpublic" -P 2c -l " The current reading of the sensor in volts or amps." -u "Volts" -m SNMPv2-SMI

using

Code: Select all

check_xi_service_snmp   $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
resulting in the following example:
Capture.PNG

But I am wondering if I can roll all of the individual checks up into one check.

Re: polling multiple oids with one service

Posted: Wed Jan 23, 2019 1:31 pm
by scottwilkerson
You can do that and it is outlined in the following post how the commands work, although you would lose the granularity of the individual checks

Code: Select all

https://support.nagios.com/forum/viewtopic.php?f=7&t=2343

Re: polling multiple oids with one service

Posted: Wed Jan 23, 2019 2:29 pm
by benhank
ok thanks for the answer you can lock it up

Re: polling multiple oids with one service

Posted: Wed Jan 23, 2019 2:34 pm
by scottwilkerson
benhank wrote:ok thanks for the answer you can lock it up
Locking