sorry
i found the explaination by myself
it's here:
http://nagios.sourceforge.net/docs/3_0/ ... l#hostname
Search found 3 matches
- Thu Jan 06, 2011 3:26 am
- Forum: Open Source Nagios Projects
- Topic: Variable explainations in check_XX plugins
- Replies: 2
- Views: 1505
- Thu Jan 06, 2011 2:18 am
- Forum: Open Source Nagios Projects
- Topic: Variable explainations in check_XX plugins
- Replies: 2
- Views: 1505
Re: Variable explainations in check_XX plugins
for me, it's so strange, i changed the definition as below, then it works. define command { command_name check_snmp_load command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS -C $ARG5$ -T $ARG2$ -w $ARG3$ -c $ARG4$ } define service{ use xxxx host_name xxxx service_description cpu monitor check_com...
- Thu Jan 06, 2011 2:07 am
- Forum: Open Source Nagios Projects
- Topic: Variable explainations in check_XX plugins
- Replies: 2
- Views: 1505
Variable explainations in check_XX plugins
Hi, recently, I encountered a issue about nagios check plugins. e.g. check_snmp_load in command, when I run ./check_snmp_load.pl -H XXX.XXX.XXX.XXX -C public -T cisco -w 80,80,80 -c 90,95,100 it's ok and return the correct answer like: CPU: 3 3 3 : OK but when I begin to use switch.cfg and snmp_load...