Hello,
I have just setup a new server with Nagios and I am getting the following errors on the Windows Server that I setup... this is the error I get 'Server port must be an integer' I get this in the status information on all the servers that I am monitoring. Does anyone have any suggestions on how to fix this?
Thanks,
Gavin
Monitoring error
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring error
What version of Nagios Core are you running on?
Re: Monitoring error
I am running Nagios® Core™ 3.4.4 on Ubuntu 12.10
Thanks,
Gavin
Thanks,
Gavin
Re: Monitoring error
Are you using any $USERn$ macros? I assume this is pertaining to hosts running nsclient? Could you post a sample of one of your checks that are failing?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Monitoring error
They are all failing, I am using the default windows.cfg file, yes I am running the nsclient, if I try just a simple command from the shell like
/usr/local/nagios/libexec/check_nt -H 172.16.X.X -p xxxxx: -v CLIENTVERSION I get 'Server port must be an integer' (take a look at the attachment)
Thanks,
Gavin
/usr/local/nagios/libexec/check_nt -H 172.16.X.X -p xxxxx: -v CLIENTVERSION I get 'Server port must be an integer' (take a look at the attachment)
Thanks,
Gavin
Re: Monitoring error
I think I may have figured out the problem, when I modified the commands.cfg file I added the password for check_nt, the problem was I needed to add "-s passsword" to the config. Looks like it is starting to work 
Thanks,
Gavin
Thanks,
Gavin
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring error
Sounds good Gavin, thanks for letting us know how you got this solved, we all get tripped up on little things sometimes 