Running Nagios 4.1.1 on a raspberry PI had some issues with NRPE on Raspbian so I decided to build another Nagios Server running on Ubuntu Server 16.04.1
All my configs copied over and all tested clean.
I just need to get the nsclient to point to the new server
I need to change this line
; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
allowed hosts = 10.2.8.72
To
allowed hosts = 10.2.8.79
but when I try to save the file I get access denied. I tried stopping the nsclient service but no luck
short of uninstalling and reinstalling is there a way to modify this nsclient.ini file ?
Thanks
NSClient ++ nsclient.ini help needed
Re: NSClient ++ nsclient.ini help needed
Solved
open command prompt run as administrator
net stop nscp
notepad nsclient.ini
save nsclient.ini
net start nscp
open command prompt run as administrator
net stop nscp
notepad nsclient.ini
save nsclient.ini
net start nscp
Re: NSClient ++ nsclient.ini help needed
Thanks for sharing your solution! Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/