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
need help in configuring check_logfiles plugin
Re: need help in configuring check_logfiles plugin
Have you added the command as per:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
What version of XI are you running?
Looks like the quotes are interpreted as: '
Check your service check and command (if you have one) for the url encoding instead of the actual quotes symbol. It should be quotes, not the url encoding.
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
What version of XI are you running?
Looks like the quotes are interpreted as: '
Check your service check and command (if you have one) for the url encoding instead of the actual quotes symbol. It should be quotes, not the url encoding.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: need help in configuring check_logfiles plugin
Thanks for replying. I am using Nagios XI 2012r2.2.
I am not clear on where to check the encoding but I am not using any quotes on my Service and Command definitions.
I am not clear on where to check the encoding but I am not using any quotes on my Service and Command definitions.
Re: need help in configuring check_logfiles plugin
Just out of curiosity - have you tried using a different browser? Do you see the same issue in all browsers?
Be sure to check out our Knowledgebase for helpful articles and solutions!