Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

wotagios

Reviews(4)
bywotagios, June 12, 2014
Nowadays I have to copy new HP CLI tools:
copy hpssacli.exe hpacucli.exe
copy hpssascripting.exe hpacuscripting.exe

Check works still excellent! Thank you!
bywotagios, December 12, 2013
#!/bin/bash

#####################################
#####################################
### ______ _ =) ###
### | ___ \ | | ###
### | |_/ / __ _ _ __ | | ###
### | / / _` || '_ \ | | ###
### | |\ \| (_| || | | || |____ ###
### \_| \_|\__,_||_| |_|\_____/ ###
#####################################
#####################################

# Settings

lmutil="_yout_path_to_lmutil/lmutil"

function FError() {
echo "Syntax:"
echo "$0 [licesnse server dns name] [port #]"
exit 3
}

if [ $# != 2 ]
then
FError
fi

server=$1
port=$2

$lmutil lmstat -c ${port}@${server} &> /dev/null
ERR=$?
status=`$lmutil lmstat -c ${port}@${server} |egrep "(License file|license server|deamon status)"|tr -d "\n"`
if [ $ERR == 0 ]
then
echo "OK - FlexLm up ${port}@${server} $status| flexlm=1"
exit 0
else
echo "CRITICAL - FlexLm DOWN ${port}@${server} $status| flexlm=0"
exit 2
fi
bywotagios, February 8, 2012
Hi,

Thanks for pubishing your check plugin!

I changed both check conditions, so it works for me:
308c308
$drvCnt)
---
> if($expDrvCnt != $drvCnt)
313c313
$drvOkCnt)
---
> elsif($drvCnt != $drvOkCnt)


Thank you!!
bywotagios, March 2, 2011
Hi,

thanks for this plugin!
I modified line 386:
if ($line =~ "Record_ID" or $line =~ "DBP\/HDD[2-9]\/PRSNT" or $line =~ "PS[0-1]")

There are only 2 HDD in my machines. I don't know about PS warnings.