1830899 Members
3055 Online
110017 Solutions
New Discussion

Monitoring tool

 
Ralf Buchhold
Regular Advisor

Monitoring tool

Hello
are monitoring - tools from HP available.
Like: mail me when the filesystem is 98 % full.

Thanks
Ralf

diagmon / stm / resmon / glanc-plus are well known
13 REPLIES 13
MarkSyder
Honored Contributor

Re: Monitoring tool

I think you want Big Brother. It's free, althought there is a "professional" edition that you can pay for.

It gives a web display of the status of the system - in the case of disc space, green would indicate acceptable, yellow warning, red panic. In your case, panic would be triggered at 98% and you might want warning at 95%.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Arunvijai_4
Honored Contributor

Re: Monitoring tool

OK, Here we go.. Take a look at this link from HP-DSPP and read on

http://h21007.www2.hp.com/dspp/dld/dld_DownloadsListingPage_IDX/1,2381,11169,00.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Dwyane Everts_1
Honored Contributor

Re: Monitoring tool

Ralf,

I'm not sure what your budget is for this, but HP offers an entire HP Openview suite of products.

http://welcome.hp.com/country/us/en/prodserv/software.html

Dwyane
Sergejs Svitnevs
Honored Contributor

Re: Monitoring tool

bdf | awk '(NF<5){f=$1; next} (NF>5){f=$1} ($(NF-1)+0 > 97) {print f, $(NF-1), $NF}' |mail your_email_address


Regards,
Sergejs
Ivan Ferreira
Honored Contributor

Re: Monitoring tool

We use nagios for overall monitoring:

www.nagios.org/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Bharat Katkar
Honored Contributor

Re: Monitoring tool


script1.sh
-------------------------------------------
#!/usr/bin/ksh
list=`bdf|xargs`
var2=$1
func1 ()
{
var1=$#
shift 6
while true
do
if [ $var1 -gt 8 ]
then
var3=`echo $6 | cut -d "%" -f 1`
if [ $var3 -gt $var2 ]
then
echo "$7 $6 This FileSystem is Overloaded"
shift 6
let var1=$var1-6
else
shift 6
let var1=$var1-6
fi
else
exit
fi
done
}
func1 $list
---------------------------------------------

# chmod +x script1.sh
# ./script.sh 98

This will give you the desired output.
Also you will have add to script to get the email of the output that this it displays.

Perl provided above seems to be very concise. :)

Hope that helps.

Regards,
You need to know a lot to actually know how little you know
Ravi_85
New Member

Re: Monitoring tool

Ralf,

If you are looking for professional products in the market, big brother is one such. Another
product which we use across our entire foot print is patrol software from best1 I think. This is very good tool where you can define filesystem threshold and alert by email and page. various methods of alerting is there.
Ralf Buchhold
Regular Advisor

Re: Monitoring tool

Hello Bharat

thanks for the script. But it dont work.
Different errors in func etc.

an you check it ?

Thanks Ralf
Andrew Merritt_2
Honored Contributor

Re: Monitoring tool

You can monitor file system space usage and other things with EMS (the Event Monitoring Service), via SAM. I'm not sure it works on percentages, rather on actual amounts of free space, but it can be set up to mail you when the limits are reached.

See http://www.docs.hp.com/hpux/onlinedocs/B7609-90022/B7609-90022.html

Andrew
Ranjith_5
Honored Contributor

Re: Monitoring tool

Hi Ralf,

Here is a working script.


#!/usr/bin/sh
#Script to email the filesystem Utilization
#/home/scripts/bdfoutput


bdf | awk '{ print $5}' | grep ^9



if [ $? -eq 0 ]
then

/usr/bin/bdf | /usr/bin/awk '{ if ($5 >= 90 ) print ( $5,$6 ) }' > /tmp/bdfoutput

/usr/bin/mailx -s bdf abc@xyz.com < /tmp/bdfoutput
fi



The above script will get mail you the output of filesystems which is above 90% used.


add the following to the crontab.

# every 20 minutes to Check BDF status and email if above 90% used.

00,20,59 * * * * /home/scripts/bdfoutput



Regards,
Syam
Lars Ebeling
Frequent Advisor

Re: Monitoring tool

Hello,

since BigBrother isn't really free for professional. They use an odd lisence called BTF (better than free), there is an new free monitoring software called Hobbit.

You can find it at http://sourceforge.net/projects/hobbitmon/

There you can download the source. I am running it at home at HP-UX 11.11

Regards
Lars
Arturo Galbiati
Esteemed Contributor

Re: Monitoring tool

Hi,
you can use this simple command:
# Show mount points over PCT
bdf|awk -v PCT=90 'NR==1||substr($5,1,index($5,"%")-1)+0>=PCT'|mail yourSEA@hp.com

HTH,
Art