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
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
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
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
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
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
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
-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.
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 :