[Nagios-users] RSyslog monitoring?

2010-04-11 Thread Kevin Keane
I would like to find a way to monitor syslog entries using rsyslog 4.4 rules before they are ever written to a log file. The log parsing plugins I found on MonitoringExchange aren't useful for my purpose. I have three main requirements: - I need to have negative logic: I want to

[Nagios-users] Plugin fails with epn

2010-04-11 Thread Joseph L. Casale
I've written a plugin that very closely resembles other contrib based Perl plugins and runs as expected at the cli. It fails with a Service check did not exit properly unless I force it to run w/o the epn. I have read the guidelines, but not really knowing much about Perl, I can't see where its

Re: [Nagios-users] Plugin fails with epn

2010-04-11 Thread Max
If you look at p1.pl, which is in the Nagios bin directory you can enable ePn logging (EPN_LEAVE_MESSAGES or something similar for debug level) and have epn log each command execution to a log file ... This often will make the source of an epn error more obvious. The other thing to do is add Use

Re: [Nagios-users] Plugin fails with epn

2010-04-11 Thread Joseph L. Casale
If you look at p1.pl, which is in the Nagios bin directory you can enable ePn logging (EPN_LEAVE_MESSAGES or something similar for debug level) and have epn log each command execution to a log file ... This often will make the source of an epn error more obvious. Ok, looks like there are some

Re: [Nagios-users] Plugin fails with epn

2010-04-11 Thread Max
Meant exit not execute :) ... Good luck. On 4/11/10, Joseph L. Casale jcas...@activenetwerx.com wrote: If you look at p1.pl, which is in the Nagios bin directory you can enable ePn logging (EPN_LEAVE_MESSAGES or something similar for debug level) and have epn log each command execution to a log

Re: [Nagios-users] Plugin fails with epn

2010-04-11 Thread Joseph L. Casale
Meant exit not execute :) ... Good luck. I guess the epn isn't reread on a 'reload', needed a 'restart', nuances :) Ok, so it complains: Variable $opt_hostname will not stay shared at (eval 1) line 23,. The plugin dump shows: 23 my

Re: [Nagios-users] Plugin fails with epn

2010-04-11 Thread Max
The 'not stayed shared' is the one warning that ePN will not die on at run time so you can safely continue with that warning being emitted. - Max On Sun, Apr 11, 2010 at 4:48 PM, Joseph L. Casale jcas...@activenetwerx.com wrote: Meant exit not execute :) ... Good luck. I guess the epn isn't

Re: [Nagios-users] RSyslog monitoring?

2010-04-11 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/04/10 06:08 AM, Kevin Keane wrote: I would like to find a way to monitor syslog entries using rsyslog 4.4 rules before they are ever written to a log file. The log parsing plugins I found on MonitoringExchange aren?t useful for my purpose.

Re: [Nagios-users] Monitoring a process with its pid

2010-04-11 Thread Jatin Davey
Hi Narsimha Please find the detailed steps as below: 1. Install the snmpd daemon on the target machine that you want to monitor , use yum to install it. command is : yum install net-snmp 2. Open the file snmpd.conf from the directory /etc/snmp , you need to locate for the lines as below :