Re: problem with PROC directive

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 16/10/06, <[email protected]> wrote:
>    I'm using PROC directive to monitor whether some "X" process running on
> the agent machine or not.
>
>    The "X" process is started before the SNMP agent is started. Now the
> snmpget on  the error flag
>
> 1.3.6.1.4.1.2021.2.100    shows me as 0 which is correct, but Iam getting
> the trap simultaneously that the
>
> process is not running (which is actually running).


Can you please try running the agent using  "-f -Le -Ddisman" (with
the "X" process already started), and report the debug output.

> monitor -u admin -r 1 -o prNames.1 -o prErrMessage.1
>          "Process LPS is down" prErrorFlag.1 !=0

It might be worth adding the option "-S" to this entry (somewhere
before the "Process LPS is down" string), and see if that helps.

It also might be worth considering increasing the polling interval a
little.  Repeating this query every second is going to put a
relatively heavy load on the agent!  Checking every 10s (for example)
should be quite sufficient, and would ensure the agent had enough time
to finish starting up before the polling begins.  (*If* that's where
the problem lies).

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.