WARNING: SNMP error: No response from remote host "IP"
WARNING: SNMP error: No response from remote host "IP"
Hello,
I just recently Migrated our Nagios XI Server from Centos 5.5 x32 to Centos7x64
Everything seems to be working except for this, One Network device cannot check the bandwith monitoring of this port.
I am getting a WARNING: SNMP error: No response from remote host "1.2.3.4" but the Nagios XI Server can ping the Network Device.
Kindly advise
Thank you
I just recently Migrated our Nagios XI Server from Centos 5.5 x32 to Centos7x64
Everything seems to be working except for this, One Network device cannot check the bandwith monitoring of this port.
I am getting a WARNING: SNMP error: No response from remote host "1.2.3.4" but the Nagios XI Server can ping the Network Device.
Kindly advise
Thank you
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: WARNING: SNMP error: No response from remote host "IP"
Hello, @s_dimzon. Which SNMP community version is used by this device? Would you be able to use a different community version for testing purposes? Also, you may increase:
to
in /usr/local/nagios/etc/nagios.cfg.
And you may increase the timeout value in the command itself.
When done please restart Nagios with:
Let us know if that helped.
Code: Select all
service_check_timeout=60Code: Select all
service_check_timeout=120And you may increase the timeout value in the command itself.
When done please restart Nagios with:
Code: Select all
service nagios restart As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: WARNING: SNMP error: No response from remote host "IP"
Hi @ npolovenko,
I tried to disable the Iptables and the warnings are gone, however it seems like they are not receiving any data at some point.. I attached a file for you to see. I check the old Server from time to time and it's receiving data..
Since I have migrated our Nagios to another Server and architecture, Is there any configurations that I need to change on this particular connection?
Thank you
I tried to disable the Iptables and the warnings are gone, however it seems like they are not receiving any data at some point.. I attached a file for you to see. I check the old Server from time to time and it's receiving data..
Since I have migrated our Nagios to another Server and architecture, Is there any configurations that I need to change on this particular connection?
Thank you
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: WARNING: SNMP error: No response from remote host "IP"
@s_dimzon, To start please run the following command:
After that you'll see a text file in /tmp/mrtg.txt. Please upload it here. + let us know what's the IP adress of the device you're monitoring.
Also, please follow this manual:
https://support.nagios.com/kb/article/n ... g-512.html
and this one:
https://support.nagios.com/kb/article/n ... g-511.html
Finally, you said that only one device has this kind of problems. Does that mean all other ports on the switch return the correct data, or you only monitor 1 port and it's not working?
**Log file received.
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base &> /tmp/mrtg.txtAlso, please follow this manual:
https://support.nagios.com/kb/article/n ... g-512.html
and this one:
https://support.nagios.com/kb/article/n ... g-511.html
Finally, you said that only one device has this kind of problems. Does that mean all other ports on the switch return the correct data, or you only monitor 1 port and it's not working?
**Log file received.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: WARNING: SNMP error: No response from remote host "IP"
Hi npolovenko,
I am monitoring multiple network devices, I just noticed that the badwidth issue applies to all network devices that I am monitoring (just the bandwidth). I checked the path you had given me and that's not the error I am encountering. I'm having "No such instance" error
I'd like to send you the logs instead? Would that be possible?
I am monitoring multiple network devices, I just noticed that the badwidth issue applies to all network devices that I am monitoring (just the bandwidth). I checked the path you had given me and that's not the error I am encountering. I'm having "No such instance" error
I'd like to send you the logs instead? Would that be possible?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: WARNING: SNMP error: No response from remote host "IP"
@s_dimzon , Thank you. I saw many entries in the log file regarding RRD's created under different architecture. Your option number 1 would be to remove all RRD's related to bandwidth from /usr/local/nagios/share/perfdata/, and that will force Nagios to recreate new RRD's. Or, if the previous performance data is important to you, you may follow this tutorial to optimize old RRD's for the new system: https://support.nagios.com/kb/article.php?id=166
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: WARNING: SNMP error: No response from remote host "IP"
Hi @npolovenko,
Thank you for helping me out, yes I have already migrated all the RRD's to the current architecture. I also tried to delete some and monitor if there are any changes, unfortunately, it only created a new RRD file, I managed to copy the same permission and check for a couple of hours more, still nothing changes. I still encounter the same error
"ERROR: Cannot update /var/lib/mrtg/1.2.3.4.rrd with '1512544808:15472120313265:7832708388922' This RRD was created on another architecture"
Thank you for helping me out, yes I have already migrated all the RRD's to the current architecture. I also tried to delete some and monitor if there are any changes, unfortunately, it only created a new RRD file, I managed to copy the same permission and check for a couple of hours more, still nothing changes. I still encounter the same error
"ERROR: Cannot update /var/lib/mrtg/1.2.3.4.rrd with '1512544808:15472120313265:7832708388922' This RRD was created on another architecture"
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: WARNING: SNMP error: No response from remote host "IP"
@s_dimzon, You said you deleted some RRD's but have you deleted this particular /var/lib/mrtg/1.2.3.4.rrd?You could just rename it, or move it to a different directory for now. Let me clarify, even after you delete the RRD's that errored out you still get the same error?
You also mentioned that this problem comes up sometimes, not all the time. I think when bandwidth is very little, Nagios automatically rounds it up to 0. That could be a possible explanation to what's going on.
You also mentioned that this problem comes up sometimes, not all the time. I think when bandwidth is very little, Nagios automatically rounds it up to 0. That could be a possible explanation to what's going on.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: WARNING: SNMP error: No response from remote host "IP"
Hi @npolovenko,
No, not sometimes, it happened only when I migrated it to the new server. Old server is working fine.
I also tried that but it's not creating a new file, I attached the error I am getting.
No, not sometimes, it happened only when I migrated it to the new server. Old server is working fine.
I also tried that but it's not creating a new file, I attached the error I am getting.
You do not have the required permissions to view the files attached to this post.
Re: WARNING: SNMP error: No response from remote host "IP"
Update:
I tried to convert few rrd files under /var/lib/mrtg and re-run the command
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base &> /tmp/mrtg.txt
check the file and this is what I found: --base: Act on Router/Target 1.2.3.4
but I still get 0/0 in/out on Bandwidth
I tried to convert few rrd files under /var/lib/mrtg and re-run the command
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base &> /tmp/mrtg.txt
check the file and this is what I found: --base: Act on Router/Target 1.2.3.4
but I still get 0/0 in/out on Bandwidth