Error - No data was received from host!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Error - No data was received from host!

Post by RIDS_I2MP »

Hi Team,

We are monitoring a windows 2003 server using the NSCLient++ , The nagios agent was working fine till recently, however off late we have been receiving warning alerts for disk drives on this server with a status message 'No data was received from host!'. we have checked with our network team and they have confirmed that there are no networks issues with this server, however, we continue to receive these false alerts. These alerts are normally valid only for a single check, i.e the status comes back to the OK state from warning in the next check. Please help
Thanks & Regards,
I2MP Team.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error - No data was received from host!

Post by lmiltchev »

Are you having issues with disk drive checks only or all checks? Can you show us the actual command that you are running from the command line, along with the output of it? Hide sensitive info. Does the issue go away if you increase the timeout?
Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Error - No data was received from host!

Post by RIDS_I2MP »

The issue happens with other services as well but they are configured to be checked multiple times before an email alert is sent while the disk alerts are notified immediately.

The command being used is

Code: Select all

[nagios@eu1papu003 libexec]$ ./check_nt -H IP-address -u -t 60 -s password -p 12489 -v USEDDISKSPACE -l D -w 90 -c 93
D:\ - total: 19.99 Gb - used: 0.83 Gb (4%) - free 19.16 Gb (96%) | 'D:\ Used Space'=0.83Gb;17.99;18.59;0.00;19.99
I haven't checked increasing the timeout at the moment
Thanks & Regards,
I2MP Team.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Error - No data was received from host!

Post by jdalrymple »

Do you have logging enabled in nsclient?

If not enable it:

Code: Select all

[/settings/log]
file name = nsclient.log
level = debug
If so check the nsclient logs :)
Locked