hi, i dunno whether there are any readymade scripts available on the net for monitoring the said applications, but anytime you can create your own scripts to monitor any application as the sample script below,#!/bin/sh JBOSS_BIN= # jboss binary if [ "`pidof $JBOSS_BIN`" ]; then # check if jboss process is running echo "JBoss is running" # message to be displayed on the nagios screen exit 0 # exit code 0 if the process is running else echo "JBoss is not running!" exit 2 # exit code 2 for critical or code 1 for warning fi Create the above script on the client node in /usr/lib/nagios/plugins as check_jboss and add the line "command[check_jboss]=/usr/lib/nagios/plugins/check_jboss" in the nrpe.cfg.
----------- Muzaffar Ansari +91 9224339939 [EMAIL PROTECTED] ----- Original Message ---- From: Prashant Karmankar <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, May 23, 2008 4:30:13 PM Subject: [LinuxVadaPav] Nagios Configuration... Hi Friends, can anybody help me on how to configure nagios to monitor tomcat and jboss. i configured nagios by adding linux host its working fine now i want to monitor jboss, tomcat, and sybase database. if anyone has doc please fw to me Regards Prashant K On the nagios server add a new command check_jboss and add it for the concerned host(s). [Non-text portions of this message have been removed]
