Page 1 of 1
Devops Servername changes
Posted: Fri Feb 15, 2019 12:09 pm
by rjmon
I am trying to monitor Devops server processess but the servername keeps changing, How to monitor these type of situations.
Re: Devops Servername changes
Posted: Fri Feb 15, 2019 2:39 pm
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?
Re: Devops Servername changes
Posted: Tue Feb 19, 2019 10:07 am
by rjmon
Hi @npolovenko, It is running nsclient++ on windows servers. Both the servernames and IP address are changing.
Re: Devops Servername changes
Posted: Tue Feb 19, 2019 5:04 pm
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
Re: Devops Servername changes
Posted: Fri Feb 22, 2019 9:42 am
by rjmon
Thanks. I am going to test this.
Re: Devops Servername changes
Posted: Fri Feb 22, 2019 4:52 pm
by npolovenko
@rjmon, Sounds good. Keep us updated.