[Nagiosplug-help] check_procs - integer error
secrookie at gmail.com
secrookie at gmail.com
Thu May 1 05:09:51 CEST 2008
I have 2 checks defined, they run but the status info is showing that
it must be an integer:
define service{
use local-service ; Name
of service template to use
host_name localhost
service_description syslog2mysql
check_command
check_local_procs!-w!1!-a!syslog2mysql.sh!-u!root
notifications_enabled 0
}
define service{
use local-service ; Name
of service template to use
host_name localhost
service_description nagios
check_command
check_nagios!-e!5!-F!/usr/local/nagios/var/status.dat!-C!/usr/local/nagios/bin/nagios
notifications_enabled 0
}
The checks run find via command line:
PROCS OK: 1 process with args 'syslog2mysql.sh', UID = 0 (root)
NAGIOS OK: 1 process, status log updated 6 seconds ago
What am I doing wrong?
regards,
secrookie
More information about the Help
mailing list