check_was

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
bharath_jakkani
Posts: 1
Joined: Fri Oct 01, 2010 2:45 pm

check_was

Post by bharath_jakkani »

Hi Every One,

I am Bharath, new to the Nagios Core discussion forums :geek:

I am working on a monitoring the IBM web application using Nagios ( am using RHEL Linux 2.6 kernel )

As I am new to this paricular module I download the plugin (check_was) and following the below link

http://code.google.com/p/nagios-was/wik ... figuration

though I changed the files acc to my server but still not giving me any output (blank :?: )

see below for the details of configuration

NOTE: *****I created the check_was.servers*****

[root@crmdev check_was-0.3]# pwd
/home/nagios/check_was-0.3
[root@crmdev check_was-0.3]# ls
check_was check_was-0.3.jar check_was.servers
[root@crmdev check_was-0.3]# more check_was
#!/bin/sh

PLUGIN_HOME=/home/nagios/check_was-0.3
JAVA_HOME=/opt/IBM/WebSphere/AppSerer/java
WAS_HOME=/opt/IBM/WebSphere/AppServer

$JAVA_HOME/bin/java -Dplugin.home="$PLUGIN_HOME" -cp $PLUGIN_HOME/check_was-0.3.
jar:$WAS_HOME/runtimes/com.ibm.ws.admin.client_6.1.0.jar:$WAS_HOME/runtimes/com.
ibm.ws.webservices.thinclient_6.1.0.jar:$WAS_HOME/plugins/com.ibm.ws.security.cr
ypto_6.1.0.jar com.googlecode.nagioswas.Run $* 2> /dev/null
[root@crmdev check_was-0.3]#
[root@crmdev check_was-0.3]#
[root@crmdev check_was-0.3]# more check_was.servers
crmdev.hostname=127.0.0.1
crmdev.port=5000
crmdev.username=wasadmin
crmdev.password=wasadmin01a
crmdev.securityenabled=false
[root@crmdev check_was-0.3]# env | grep IBM
JAVA_HOME=/opt/IBM/WebSphere/AppSerer/java
WAS_HOME=/opt/IBM/WebSphere/AppServer
[root@crmdev check_was-0.3]#
[root@crmdev check_was-0.3]#
[root@crmdev check_was-0.3]# ./check_was -s connectionpool -w 80 -c 90 -p crmdev1

the out put is nothing, give me your suggestions

Thanks
Bharath
Locked