interpreter "/opt/nagios/bin/perl" not found
ksh: /opt/tools/capmau/libexec/check_logfiles: not found
Any idea? I have monitoring machines Linux, are monitoring correctly.
---------- Post updated 01-27-12 at 03:40 AM ---------- Previous update was 01-26-12 at 12:21 PM ----------
I modified, check_logfiles file, and put #!/usr/bin/perl -w. The command is ok in local,
Code:
/opt/tools/capmau/libexec/check_logfiles -f /opt/tools/capmau/check_logfile.cfg
OK - no errors or warnings|sybase_lines=0 sybase_warnings=0 sybase_criticals=0 sybase_unknowns=0
but in Nagios appear:
CHECK_NRPE: Socket timeout after 10 seconds
nrpe is correctly, because in nrpe.cfg, I am monitoring process and filesystems.
Regards,
Moderator's Comments:
Please use next time code tags for your code and data
Last edited by vbe; 01-27-2012 at 11:02 AM..
Reason: code tags
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
check_logfiles is a plugin for Nagios which checks logfiles for defined patterns. It is capable of detecting logfile rotation. If you tell it how the rotated archives look, it will also examine these files. Unlike check_logfiles, traditional logfile plugins were not aware of the gap which could... (0 Replies)