How can I use the check_tomcat script to monitor ?
Posted: Tue Aug 25, 2015 9:06 pm
I download the check_tomcat.sh script from the url
https://exchange.nagios.org/directory/P ... ap/details
Then I put the check_tomcat.sh script into on my nagios server , the path I put is /usr/local/nagios/libexec
then I run the script use this command:
[root@VSLHAGILEAP01 libexec]# ./check_tomcat.sh -j Boot -w 80 -c 90
The error is
[root@VSLHAGILEAP01 libexec]# ./check_tomcat.sh -j Boot -w 80 -c 90
sudo: unknown user: user
sudo: unable to initialize policy plugin
cat: /proc//status: No such file or directory
CRITICAL: process pid[] Tomcat Service Not Running
I install nagios server on 192.168.75.10 , the os is Cent os 6.4
The tomcat I install is on 192.168.75.11, the os is Windows 2003 server
I want to monitor the tomcat on the 192.168.75.11
How could I configure the check_tomcat ?
Whether this script can monitor the tomcat report the error "java.lang.out of memory" ?
If it can monitor ,please tell me the method ,thanks very much!
https://exchange.nagios.org/directory/P ... ap/details
Then I put the check_tomcat.sh script into on my nagios server , the path I put is /usr/local/nagios/libexec
then I run the script use this command:
[root@VSLHAGILEAP01 libexec]# ./check_tomcat.sh -j Boot -w 80 -c 90
The error is
[root@VSLHAGILEAP01 libexec]# ./check_tomcat.sh -j Boot -w 80 -c 90
sudo: unknown user: user
sudo: unable to initialize policy plugin
cat: /proc//status: No such file or directory
CRITICAL: process pid[] Tomcat Service Not Running
I install nagios server on 192.168.75.10 , the os is Cent os 6.4
The tomcat I install is on 192.168.75.11, the os is Windows 2003 server
I want to monitor the tomcat on the 192.168.75.11
How could I configure the check_tomcat ?
Whether this script can monitor the tomcat report the error "java.lang.out of memory" ?
If it can monitor ,please tell me the method ,thanks very much!