Hello,I meet a problem when I use the command check_snmp.
When I directly use the commad "./check_snmp -H 10.38.28.172 -C public -o
.1.3.6.1.4.1.28280.1.1.1.1 -m GHL-MIB" it work fine and display "
GHL-MIB::naBuildNum = INTEGER: 239
SNMP OK - 239 | GHL-MIB::naBuildNum=239" ......................
But when I use it in the windows.cfg, it always display "External command
error: Missing object name",I check the configfile many times, but can`t find
any error......
The part of the configfile :
command.cfg:
# 'check_snmp' command definition
define command{
command_name check_snmp
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o
$ARG2$ -m $ARG3$
}
window.cfg:
defineservice{
use generic-service
host_name windows-xp
service_description naManufacturer
check_command check_snmp!-H 10.38.28.172 -C public -o
.1.3.6.1.4.1.28280.1.1.1.1 -m GHL-MIB
}------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders