check_logs permissions?
Martin.Kess at avasys.jp
Martin.Kess at avasys.jp
Wed Jun 28 05:17:35 CEST 2006
Hello,
I'm trying having trouble getting check logs to work. As a test, I've
been monitoring Apache's error.log for any new lines (with the regular
expression reg_exp => '.*';
When I run check_logs.pl from the command line (logged in as root) it
works fine, returning any new lines from the file. When run from Nagios,
however, it returns either OK and a note that the plugin didn't return
anything, or if I chmod 666 error.log CRITICAL with the message 'return
code of 13 out of bounds.' This leads me to believe it's a problem with
permissions, but I have no idea how I to fix them. Any help would be
greatly appreciated.
Thanks in advance,
Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060628/7d0e502d/attachment.html>
-------------- next part --------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list