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.
define host{
use generic-switch ; Inherit default values from a template
host_name CISCO_TEST_3560 ; The name we're giving to this host
alias snmp test ; A longer name associated with the host
address x.x.x.x ; IP address of the host
}
define service {
host_name CISCO_TEST_3560
use generic-service
service_description CPU 5 Minute Average
check_command snmp_5minute_load!cisco!90,80,60!100,100,100!-C testproba1
}
Nagios drops me "Put snmp login info". First of all, whats the problem in my syntax? How do I put OID in the commands cfg or in the config file?! For example 1.3.6.1.4.1.9.9.109.1.1.1.1.5.1 (5 minute load CISCO).
Last edited by lion14 on Wed Dec 14, 2016 5:11 am, edited 1 time in total.
Could you please give the script you are using (check_snmp_load.pl) or a link where the script can be found.
I don't know this script, so I could not tell you how to use it.
I added $ARG4$ as you had 4 argument in your service definition and you need them all.
I removed the $USER7$, no idea what is set there. It could be in your resource.cfg, but I don't think you'd need it here.