1834915 Members
2476 Online
110071 Solutions
New Discussion

CCMON problems

 
martino
Occasional Contributor

CCMON problems

Hello,

Does anyone have CCMON running on their clusters? We have installed this product on 6 of our clusters, but we are coming across a lot of problems concerning the monitoring of the errors. In fact, we would like a different error message for every error that comes up.

Anyone out there who can give me a hand?

Thanx!

M.
3 REPLIES 3
Geoff Wild
Honored Contributor

Re: CCMON problems

Yes, I'm running it.

What kind of problems are you having?

Did HP install it?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
martino
Occasional Contributor

Re: CCMON problems

No, we installed the product and had a guy over to "help" us install and configure the product. But er...it was rather us explaining the product to him...

However, my problem at the moment is with the actual alerts/errors that are shown in the CCMon.log or the CCMON.html file.

For 1 cluster we have 10 errors for example, however, those 10 errors are only seen as 1 standard error message in OpC which tells us to verify the CCMon.log. Every time, this is shown as a major warning in OpC.

What I'd like is to have 10 different error messages in OpC for every single error. And not some sort of standard CCMON message.

Is that possible? Have scripts been develloped for this?

Also, is it possible to create the asci file and the html file at the same time?

What do you think?

How do you monitor the alerts that you get for your cluster(s) ?

Thanks in advance!

M.
Geoff Wild
Honored Contributor

Re: CCMON problems

First off - I don't monitor ccmon with Opc - so can't help you there... :(

Cluster alerts are just monitored with standard templates from Opc, ie cluster up/down, package up/down...

For CCMON, I run from cron every Monday:

# Run the Cluster Consistency Monitor script
0 0 * * 1 /usr/local/bin/ccmonitor >/dev/null 2>&1

# cat /usr/local/bin/ccmonitor
#!/bin/sh
#
# This script runs the cluster consistency monitor gathering agent
#
# Geoff Wild
#
#
# Are we root?
#
OWNER=`/usr/bin/id -un`
if [ "$OWNER" != root ]; then
echo "ERROR: You must be root or have Super User privileges"
echo " to run this program..."

exit 1
fi

HOST=`/usr/bin/uname -n`
/opt/cctool/bin/ibmake -f /opt/cctool/etc/profile/SCAN_RSDB.pfl
/opt/cctool/bin/repgen -f /opt/cctool/etc/profile/RepGen_RSDB.pfl
if [ "$HOST" = svr003 ]; then
/usr/bin/rcp /opt/cctool/data/RSDB.pc0003 pc0004:/opt/cctool/data/
fi
if [ "$HOST" = svr004 ]; then
/opt/cctool/bin/ccmon -f /opt/cctool/etc/profile/CCMon_COMP.pfl
/usr/bin/mailx -s "Cluster Consistency Comparator Report" gwild@mydomain.com < /opt/cctool/CCMon.log
fi

So the log file is in txt format...

But, /opt/cctool/etc/profile/RepGen_RSDB.pfl, also generates the web pages

I'm afraid I can't help you too much - sorry about that...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.