need to monitor a new host in core 3.2.3

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
tyranus38
Posts: 1
Joined: Mon Aug 08, 2016 1:12 pm

need to monitor a new host in core 3.2.3

Post by tyranus38 »

Afternoon,

I am completely new to nagios, a former coworker set it up in vmware. I need to add a host so i can monitor it, and delete a host that was de-commissioned. can someone point me in the right direction to a step by step guide. I believe i need to add to my windows.cfg file and install nsclient on the target but where and how? I am not linux savvy
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: need to monitor a new host in core 3.2.3

Post by rkennedy »

Core really depends how it was initially setup. Take a look at the /usr/local/nagios/etc/ folder, and look around at the .cfg files around there and the sub directories, my guess is that the file is somewhere in there.

You might be able to run a recursive grep that will help, grep -R 'yourhost' /usr/local/nagios/etc/. (replace yourhost with the one you want to decommission, you could probably just edit it to be the newer one.)

This will help point you to the place of which file you need to edit. After modifying it, run service nagios restart to apply your configuration.

Then, yes, install NSClient++ on the new server, and modify the NSClient++ configuration file as needed. (might be able to just copy over the nsclient.ini or nsc.ini file from the old server provided it's the SAME NSClient++ version)
Former Nagios Employee
Locked