polling multiple oids with one service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

polling multiple oids with one service

Post 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.
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: polling multiple oids with one service

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: polling multiple oids with one service

Post by benhank »

ok thanks for the answer you can lock it up
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: polling multiple oids with one service

Post by scottwilkerson »

benhank wrote:ok thanks for the answer you can lock it up
Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked