java service indicates CRITICAL from init script
Posted: Tue Sep 27, 2011 6:05 am
Hello,
I have several servers hosting a java services that always show in XI as critical error. They are started from an init script, and the services are running as they should. The services have a PID dropfile in /var/run as well.
Our Xi is on a KVM based rhel5.6 x64 vm, and these services are on the same types (other)
2011-09-27 00:00:01CURRENT SERVICE STATE: <hostname> ;Java Service;CRITICAL;HARD;5;usage: /etc/init.d/service123 {start
I used the Linux (RHEL) wizard to initially setup these boxes for monitoring, and added this service. So I'm trying to figure out if there is more logging somewhere, if I need to append something, or use a different test.
One note is that there is a companion java based client service that runs on Windows and other Linux boxes, which is also started from an init script, and those seem to show OK.
2011-09-27 00:00:02CURRENT SERVICE STATE: <hostname> ;Java Scheduler;OK;HARD;1;Usage: /etc/init.d/server456 { start
I know these might be two different things, but thought I would just bring it to light. Makes me think something with the way the first service is being started. So I'm looking for alternate ways to test the startup.
Thanks!
I have several servers hosting a java services that always show in XI as critical error. They are started from an init script, and the services are running as they should. The services have a PID dropfile in /var/run as well.
Our Xi is on a KVM based rhel5.6 x64 vm, and these services are on the same types (other)
2011-09-27 00:00:01CURRENT SERVICE STATE: <hostname> ;Java Service;CRITICAL;HARD;5;usage: /etc/init.d/service123 {start
I used the Linux (RHEL) wizard to initially setup these boxes for monitoring, and added this service. So I'm trying to figure out if there is more logging somewhere, if I need to append something, or use a different test.
One note is that there is a companion java based client service that runs on Windows and other Linux boxes, which is also started from an init script, and those seem to show OK.
2011-09-27 00:00:02CURRENT SERVICE STATE: <hostname> ;Java Scheduler;OK;HARD;1;Usage: /etc/init.d/server456 { start
I know these might be two different things, but thought I would just bring it to light. Makes me think something with the way the first service is being started. So I'm looking for alternate ways to test the startup.
Thanks!