need help in configuring check_logfiles plugin
Posted: Thu Jul 25, 2013 1:52 pm
I am new to Nagios and currently evaluating NagiosXI and would appreciate assistance in configuring check_logfiles plugin to work with XI.
I got this error on the Xi view console:
NRPE: Command 'check_logfiles' not defined
I have added to nrpe.local.cfg:
- command[check_logfiles]=/usr/local/nagios/libexec/check_logfiles --config /app/nagiosxi/config/logfiles/alerts/alerts1.cfg
- added NagiosXI hostname(fqdn) to allowed_hosts parameter
Defined a Service using XI gui:
define service {
host_name ntdfa1.dev.hji.com
service_description test1
use generic-service
check_command check_nrpe!check_logfiles!!!!!!!
check_period 24x7
notification_period 24x7
register 1
}
I installed check_logfiles plugin in usr/local/nagios/libexec and tested ok from command line.
I would like to be able to monitor certain logfiles on remote rhel hosts. I have configured a couple of remote linux server using the XI wizard and installed the agent. My Nagiosxi server is also running rhel.
Thanks
I got this error on the Xi view console:
NRPE: Command 'check_logfiles' not defined
I have added to nrpe.local.cfg:
- command[check_logfiles]=/usr/local/nagios/libexec/check_logfiles --config /app/nagiosxi/config/logfiles/alerts/alerts1.cfg
- added NagiosXI hostname(fqdn) to allowed_hosts parameter
Defined a Service using XI gui:
define service {
host_name ntdfa1.dev.hji.com
service_description test1
use generic-service
check_command check_nrpe!check_logfiles!!!!!!!
check_period 24x7
notification_period 24x7
register 1
}
I installed check_logfiles plugin in usr/local/nagios/libexec and tested ok from command line.
I would like to be able to monitor certain logfiles on remote rhel hosts. I have configured a couple of remote linux server using the XI wizard and installed the agent. My Nagiosxi server is also running rhel.
Thanks