Performance/snm: Many OIDS,1 query vs. 1 OID, 1 query

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Performance/snm: Many OIDS,1 query vs. 1 OID, 1 query

Post by eltrasimaco »

Hi, i have several snmp queries against one server, each one configured as a single service
I read somewhere , sending one query with many oids against a server gives better performance
But in terms of service configuration is harder
What should be the best practice here?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Performance/snm: Many OIDS,1 query vs. 1 OID, 1 query

Post by tmcdonald »

My advice is one service per OID.

If you query multiple OIDs in one check, it can be difficult to tell which one is alerting. Let's say you are checking fan speed and internal temperature, and one of them goes critical - you don't necessarily know which one without looking into the details. Could be both. Even if that is not an issue, configuring the thresholds will get messy because you have to hunt down and match up which thresholds belong to which metric. And on top of that, the performance graphs can get cluttered when you have more than a few different metrics at once.
Former Nagios employee
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Re: Performance/snm: Many OIDS,1 query vs. 1 OID, 1 query

Post by eltrasimaco »

Ok, thanks so much!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Performance/snm: Many OIDS,1 query vs. 1 OID, 1 query

Post by tmcdonald »

No problem! Did you have any further (related) questions or are we okay to close this thread?
Former Nagios employee
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Re: Performance/snm: Many OIDS,1 query vs. 1 OID, 1 query

Post by eltrasimaco »

All ok, thread can be closed, thanks
Locked