Linux Host Monitoring
Linux Host Monitoring
How do we setup linux monitoring like the one that is setup on localhost, but on a remote host, there is no wizard for it nor is there anywhere I see to d/l a utility / daemon to run on the hosts
Re: Linux Host Monitoring
A wizard has not been written for Linux/Unix hosts yet, as we are deciding which agent to officially support. For the time being, you could install NRPE on the remote Linux host and manually add service definitions to be monitored. The check_nrpe plugin is already installed on the Nagios XI machine.
NRPE can be downloaded from http://www.nagios.org/download/addons/
The NRPE docs can be found here nagios.sourceforge.net/docs/nrpe/NRPE.pdf
NRPE can be downloaded from http://www.nagios.org/download/addons/
The NRPE docs can be found here nagios.sourceforge.net/docs/nrpe/NRPE.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President
Re: Linux Host Monitoring
I installed mk_check and it works fine except for a few issues.
1) Hosts i add through it show up in the main UI but not in the core config
2) I deleted localhost from the original install and setup localhost with mk_check and it complains about duplicate even though it deleted, when I go into core config it does not exist but if i go to /usr/local/nagios/etc/hosts the localhost.cfg is there, if i delete it , it comes back.
3) I decided to leacve localhost out of the mk_check for now , now when I go to apply configuration I get the followig error
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Warning: Duplicate definition found for contact 'xi_default_contact' (config file '/usr/local/nagios/etc/contacts.cfg', starting on line 125)
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 126.
Error processing object config files!
4) How do I get the hosts i added in mk_check to show up in core so I can assign them to host groups?
1) Hosts i add through it show up in the main UI but not in the core config
2) I deleted localhost from the original install and setup localhost with mk_check and it complains about duplicate even though it deleted, when I go into core config it does not exist but if i go to /usr/local/nagios/etc/hosts the localhost.cfg is there, if i delete it , it comes back.
3) I decided to leacve localhost out of the mk_check for now , now when I go to apply configuration I get the followig error
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Warning: Duplicate definition found for contact 'xi_default_contact' (config file '/usr/local/nagios/etc/contacts.cfg', starting on line 125)
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 126.
Error processing object config files!
4) How do I get the hosts i added in mk_check to show up in core so I can assign them to host groups?
Re: Linux Host Monitoring
Login to the Nagios Core Config Manager and see if there are multiple xi_default_contact definitions. There shouldn't be, but it sounds like an extra one is being defined there. You can download a config file snapshot of the latest error when you're in the Admin menu. If you send it to us at [email protected] we'll see if we can help track down the config problem.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.