I'm slowly getting a grip on nagios and it's various functions. The newest task, I set for myself, is monitoring logfiles using check_logfiles, because we use logrotation on several servers. My Problem is, that the plugin does not seem to work.
I dowloaded the file, unpacked it and used
Code: Select all
configure && make && make install
Code: Select all
#! /usr/bin/perl -w
# nagios: -epn
as a test I get nothing back./usr/local/nagios/libexec/check_logfiles --logfile=/var/log/syslog --criticalpattern='terminated'
Is the check compiled right? Or is the installation broken? And if so, what can I do?