Nagios Monitoring Question
Posted: Thu Jun 23, 2005 8:47 pm
I have been setting up the various commands and services to monitor our Scalix install on our existing Nagios machine. I have a couple of problems:
1: How to setup the checks for the SWA and other web services?
Since we are running tomcat on 8443, I made the changes to the commands as follows: (uneccessary text removed)
check_ubermanager
command_line $USER1$/check_http -H $HOSTADDRESS$ -u /caa?query=monitor -p 8443
check_res
command_line $USER1$/check_http -H $HOSTADDRESS$ -u /res/RESDispatcher?query=monitor -p 8443
check_swa
command_line $USER1$/check_http -H $HOSTADDRESS$ -u /webmail/ -p 8443
These all return "Invalid HTTP response received from host on port 8443"
2: Settings for the check_queues, check_daemons and check_services
These all fail with "no output" but I can run any of them as root. The command for each is listed as
command_line sudo $USER1$/check_queues.py -c $ARG1$ -w $ARG2$ -q $ARG3$
So I added the nagios user to the /etc/sudoers file, but still no luck?
1: How to setup the checks for the SWA and other web services?
Since we are running tomcat on 8443, I made the changes to the commands as follows: (uneccessary text removed)
check_ubermanager
command_line $USER1$/check_http -H $HOSTADDRESS$ -u /caa?query=monitor -p 8443
check_res
command_line $USER1$/check_http -H $HOSTADDRESS$ -u /res/RESDispatcher?query=monitor -p 8443
check_swa
command_line $USER1$/check_http -H $HOSTADDRESS$ -u /webmail/ -p 8443
These all return "Invalid HTTP response received from host on port 8443"
2: Settings for the check_queues, check_daemons and check_services
These all fail with "no output" but I can run any of them as root. The command for each is listed as
command_line sudo $USER1$/check_queues.py -c $ARG1$ -w $ARG2$ -q $ARG3$
So I added the nagios user to the /etc/sudoers file, but still no luck?