Page 1 of 1

SNMP batch checks.

Posted: Fri Oct 19, 2012 11:54 am
by benhank
When using NSClient ++, you can put a number of checks in one command. YOu can then iether use the -SHOWFAILED parameters to list only the failed checks, instead of the entire list.
This is great because it saves on resources because instead of nagios sending 10 individual requests, it is sending one request that check's ten things.

Is there a way to do this with snmp?
For instance I have a ups that is being checked for:
Battery status
Imput Voltage
Output Voltage
In order to do this I have created 3 separate commands, templates, services and applied them to my host group.
With NSclient I could create 1 command containing three checks and then 1 template and once service. Then I would add the -SHOWALL parameter.
Here is the difference:
SNMP:
UPSno1 | Battery Status[ok]
|INPUT VOLTAGE [ OK- 1BILLION VOLTS]
| OUTPUT VOLTAGE [OK - Awhole Bunch]
NSclient ++:
UPSn01 | [ok]
so can snmp some how do this as well?

Re: SNMP batch checks.

Posted: Fri Oct 19, 2012 12:51 pm
by mguthrie
We've got a project in the works to do this, although it's still under development as we speak.

Re: SNMP batch checks.

Posted: Fri Oct 19, 2012 12:56 pm
by benhank
I expect no less, from teh best! Thanks Lock it bro.