Devops Servername changes

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
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Devops Servername changes

Post by rjmon »

I am trying to monitor Devops server processess but the servername keeps changing, How to monitor these type of situations.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Devops Servername changes

Post by npolovenko »

Hello, @rjmon. What kind of monitoring agent are you using on the DevOps server? Is it just the server name changing or the IP address as well?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Re: Devops Servername changes

Post by rjmon »

Hi @npolovenko, It is running nsclient++ on windows servers. Both the servernames and IP address are changing.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Devops Servername changes

Post by npolovenko »

@rjmon, Ideally you'd set up a DNS name entry for this windows host so that even if the IP address changed the DNS name would stay the same.

Otherwise, you can set up passive checks using the NSCLient and specify the hostname in the nsclient.ini file:
; HOSTNAME - The host name of this host if set to blank (default) the windows name of the computer will be used.
hostname = yourHostName
https://assets.nagios.com/downloads/nag ... Checks.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rjmon
Posts: 106
Joined: Wed Dec 06, 2017 11:39 am

Re: Devops Servername changes

Post by rjmon »

Thanks. I am going to test this.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Devops Servername changes

Post by npolovenko »

@rjmon, Sounds good. Keep us updated.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked