Server Management - Systems Insight Manager
1833777 Members
2216 Online
110063 Solutions
New Discussion

Configure HPSIM environment to monitor process

 
kenny chia
Regular Advisor

Configure HPSIM environment to monitor process

Hi all
I have setup HPSIM to monitor Proliant servers. The Proliant servers are running the HPASM tools from HP and they can successfully send traps to the Central server. The proliants are all Red Hat OS

So far problems associated with disk space, CPU usage and hardware failures can be successfully reported to the central server using SNMP.

I am now trying to monitor UNIX process in the servers. Unfortunately HPSIM does not provide the tools for this

What I did...
I added the following statement in /etc/snmp/snmpd.conf to monitor a sample process

proc

I restarted the snmpd daemon and stop the . But from the HPSIM web page it seems that this is not detected.

How should I troubleshoot this? Note that I am not too firmiliar with SNMP
All Your Bases Are Belong To Us!
3 REPLIES 3
Matthew J Warrick
Frequent Advisor

Re: Configure HPSIM environment to monitor process

This seemed familiar so I looked it up...

Using the "proc " line in the config will not fire a trap off by itself. You need additional config lines. Go here and it will tell you how to do it: http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html

Alternatively, there are probably examples on teh intarweb somewhere.
"Did you get that memo?"
Matthew J Warrick
Frequent Advisor

Re: Configure HPSIM environment to monitor process

Well, I'm still waiting for a download so I read a little bit more and there are some examples here: http://net-snmp.sourceforge.net/docs/man/snmpd.examples.html

Check out the "DisMan Event MIB" section. It would probably help if you added min and max thresholds to your "proc" config line for the process(esss) you wish to monitor.

Cheers!
"Did you get that memo?"
kenny chia
Regular Advisor

Re: Configure HPSIM environment to monitor process

Hi thanks for the feedback
I have read the examples and I have added the following lines

proc
agentSecName root
rouser root
monitor -o prNames -o prErrMessage "process table" prErrorFlag != 0

But a check in the /var/log/message files shows the following

May 24 09:15:59 server snmpd[23005]: /etc/snmp/snmpd.conf: line 204: Warning: Unknown token: agentSecName.
May 24 09:15:59 server snmpd[23005]: /etc/snmp/snmpd.conf: line 206: Warning: Unknown token: monitor.

I checked the snmpd.conf man page and found the following statement

-----------------------------
If your agent was compiled with support for the DISMAN-EVENT-MIB (you can enable this by running the net-snmp configure script with the --with-mib-moules=disman/event-mib argument) you have support for having the agent check its own data at regular intervals and to send out traps when certain conditions occur.
-------------------------------

How do I check if my agent is compiled with the DISMAN-EVENT-MIB support?


All Your Bases Are Belong To Us!