nsclient ++ install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hlaten01
Posts: 15
Joined: Thu Feb 15, 2018 1:54 pm

nsclient ++ install

Post by hlaten01 »

When installing the agent nsclient++ and we are asked for allowed host and when following the video for the client install the presenter puts in the IP address of the Nagios server, is there a reason why we cannot use the fqdn or web host name?
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: nsclient ++ install

Post by tacolover101 »

nope - that should work as well.

i have seen ipv6 be an issue here though, so you may have some troubleshooting to work through. the nsclient log is pretty verbose though, and should help to work through.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nsclient ++ install

Post by lmiltchev »

...is there a reason why we cannot use the fqdn or web host name?
I assume this is by design. I say "assume" as NSClient++ is not developed or maintained by Nagios. I found the following comment in the nsclient.ini file:

Code: Select all

; ALLOWED HOSTS - A coma separated list of hosts which are allowed to connect. You can use netmasks (/ syntax) or * to create ranges.
so it's safe to assume that you cannot use a FQDM instead of IP address/netmask.

I also found a very old thread on the topic here:

http://nagios-users.narkive.com/TaqLSPf ... ip-address

I am not sure if things are different in the very latest version of NSClient++. You may want to ask your question on the NSClient++ support forum. Perhaps, the developer of NSClient++ could give you a definite answer.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked