Quote:
Originally Posted by Shattuckk
I am trying to monitor a Windows SQL Server, and I am recieving a "Server port must be an integer," error. NSclient++ is running and working properly. Here is the service and command
Command:
define command{
command_name check_nt_mssql_bufcache_hits
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$
}
Service:
define service{
use generic-service
host_name "host_name"
service_description mssql_bufcache_hits
check_command check_nt_mssql_bufcache_hits!80!50
}
Can't figure it out, any ideas?
|
looks like you have not enough arguments.
run the nagios check from the command line and see what it throws up.
what does the -p and -s flag do?
where is the -w warning and -c critical flag?? i assume -p is port number right?? you are not including that in your check?
a few things look wrong with this check.
run on command line and paste here what you are running.
also run the check without any flags and paste it all here....