Page 2 of 2
Re: Bandwidth Performance Graphs Issue
Posted: Fri Oct 07, 2016 10:55 am
by tgriep
I just want to clarify the issue, the bandwidth was working for a while and then stopped only for the devices that are configures for SNMP version 3?
Make sure that the Network Switch / Router wizard if up to date by going in to the Admin > Manage Config Wizards menu and clicking on the Check for updates button to download a new list.
Then scroll down and update the wizard to the latest.
Also, can you post your /etc/mrtg/mrtg.cfg file so we can view it?
If you run the following command as root, you can view the errors in the /tmp/mrtg.txt file to troubleshoot this better.
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base &> /tmp/mrtg.txt
Re: Bandwidth Performance Graphs Issue
Posted: Thu Oct 13, 2016 5:54 am
EDIT: Please use code tags
Hello,
I executed the command time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg.
Output:
Code: Select all
[root@cs1-prd-cmn-nag01 /]# time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
SNMPGET Problem for ifHCInOctets.42042 ifHCOutOctets.42042 on [email protected]:::::2:v4only: No response from remote host "10.10.10.1" at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 594.
Net_SNMP_util::snmpget('[email protected]:::::2:v4only', 'HASH(0x2be40b0)', 'ifHCInOctets.42042', 'ifHCOutOctets.42042') called at /usr/bin/mrtg line 2330
main::getsnmparg('HASH(0x23c9448)', 'HASH(0x2be5e40)', 'HASH(0x22bfc18)', 'HASH(0x2764d18)') called at /usr/bin/mrtg line 2510
main::readtargets('HASH(0x23c9448)', 'ARRAY(0x2453bc0)', 'HASH(0x22bfc18)') called at /usr/bin/mrtg line 403
main::main called at /usr/bin/mrtg line 143
2016-10-13 04:19:13: WARNING: skipping because at least the query for ifHCInOctets.42042 on 10.10.10.1 did not succeed
2016-10-13 04:19:13: WARNING: no data for ifHCInOctets&ifHCOutOctets:[email protected]. Skipping further queries for Host 10.10.10.1 in this round.
SNMPGET Problem for ifHCInOctets.124001 ifHCOutOctets.124001 on [email protected]:::::2:v4only: No response from remote host "10.10.10.1" at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 594.
Net_SNMP_util::snmpget('[email protected]:::::2:v4only', 'HASH(0x2bf6a08)', 'ifHCInOctets.124001', 'ifHCOutOctets.124001') called at /usr/bin/mrtg line 2330
main::getsnmparg('HASH(0x23c9448)', 'HASH(0x2bfbbb8)', 'HASH(0x22bfc18)', 'HASH(0x2764d18)') called at /usr/bin/mrtg line 2510
main::readtargets('HASH(0x23c9448)', 'ARRAY(0x2453bc0)', 'HASH(0x22bfc18)') called at /usr/bin/mrtg line 403
main::main called at /usr/bin/mrtg line 143
2016-10-13 04:19:13: WARNING: skipping because at least the query for ifHCInOctets.124001 on 10.10.10.1 did not succeed
2016-10-13 04:19:13: WARNING: no data for ifHCInOctets&ifHCOutOctets:[email protected]. Skipping further queries for Host 10.10.10.1 in this round.
SNMPGET Problem for ifHCInOctets.54001 ifHCOutOctets.54001 on [email protected]:::::2:v4only: No response from remote host "10.10.10.1" at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 594.
Net_SNMP_util::snmpget('[email protected]:::::2:v4only', 'HASH(0x2bd6b40)', 'ifHCInOctets.54001', 'ifHCOutOctets.54001') called at /usr/bin/mrtg line 2330
main::getsnmparg('HASH(0x23c9448)', 'HASH(0x2bd96d8)', 'HASH(0x22bfc18)', 'HASH(0x2764d18)') called at /usr/bin/mrtg line 2510
main::readtargets('HASH(0x23c9448)', 'ARRAY(0x2453bc0)', 'HASH(0x22bfc18)') called at /usr/bin/mrtg line 403
main::main called at /usr/bin/mrtg line 143
2016-10-13 04:19:13: WARNING: skipping because at least the query for ifHCInOctets.54001 on 10.10.10.1 did not succeed
2016-10-13 04:19:13: WARNING: no data for ifHCInOctets&ifHCOutOctets:[email protected]. Skipping further queries for Host 10.10.10.1 in this round.
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_54001][_IN_] ' $target->[49]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_54001][_OUT_] ' $target->[49]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_52107][_IN_] ' $target->[50]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_52107][_OUT_] ' $target->[50]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_44001][_IN_] ' $target->[51]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_44001][_OUT_] ' $target->[51]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42107][_IN_] ' $target->[52]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42107][_OUT_] ' $target->[52]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42106][_IN_] ' $target->[53]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42106][_OUT_] ' $target->[53]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42048][_IN_] ' $target->[54]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42048][_OUT_] ' $target->[54]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42047][_IN_] ' $target->[55]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42047][_OUT_] ' $target->[55]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42046][_IN_] ' $target->[56]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42046][_OUT_] ' $target->[56]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42045][_IN_] ' $target->[57]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42045][_OUT_] ' $target->[57]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42044][_IN_] ' $target->[58]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42044][_OUT_] ' $target->[58]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42043][_IN_] ' $target->[59]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42043][_OUT_] ' $target->[59]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42042][_IN_] ' $target->[60]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42042][_OUT_] ' $target->[60]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42041][_IN_] ' $target->[61]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42041][_OUT_] ' $target->[61]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42040][_IN_] ' $target->[62]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42040][_OUT_] ' $target->[62]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42039][_IN_] ' $target->[63]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42039][_OUT_] ' $target->[63]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42038][_IN_] ' $target->[64]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42038][_OUT_] ' $target->[64]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42003][_IN_] ' $target->[65]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42003][_OUT_] ' $target->[65]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42002][_IN_] ' $target->[66]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42002][_OUT_] ' $target->[66]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42001][_IN_] ' $target->[67]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_42001][_OUT_] ' $target->[67]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_134001][_IN_] ' $target->[70]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_134001][_OUT_] ' $target->[70]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_124001][_IN_] ' $target->[74]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_124001][_OUT_] ' $target->[74]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005006][_IN_] ' $target->[78]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005006][_OUT_] ' $target->[78]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005005][_IN_] ' $target->[79]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005005][_OUT_] ' $target->[79]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005004][_IN_] ' $target->[80]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005004][_OUT_] ' $target->[80]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005003][_IN_] ' $target->[81]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005003][_OUT_] ' $target->[81]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005002][_IN_] ' $target->[82]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005002][_OUT_] ' $target->[82]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005001][_IN_] ' $target->[83]{$mode} ' did not eval into defined data
2016-10-13 04:19:24: ERROR: Target[10.10.10.1_1005001][_OUT_] ' $target->[83]{$mode} ' did not eval into defined data
real 0m10.521s
user 0m0.915s
sys 0m0.119s
Please help me, why I am getting this error output.
Thanks
Re: Bandwidth Performance Graphs Issue
Posted: Thu Oct 13, 2016 9:00 am
by tgriep
If the device at IP address 10.10.10.1 still active? The messages suggest that the device is not active anymore.
It it is, make sure that it is setup to be polled using SNMP version 2 and that the community string is set to dpix.
If the device is not active, the config file for that device has to be removed so MRTG will not try and poll it anymore.
The config file is usually in this location on the server.
Delete it and those messages will go away.
Re: Bandwidth Performance Graphs Issue
Posted: Tue Oct 18, 2016 8:32 am
Hi,
Issue resolved. IP address 10.X.X.1 is active, changed community dpix to public for each interface configuration for the device.
I am getting graph now.
Thank you.
Re: Bandwidth Performance Graphs Issue
Posted: Tue Oct 18, 2016 9:04 am
Hi,
we have two storage devices VNX & ISILON EMC vendor, Our requirement is to monitor these devices, ports UP/Downs and bandwidth utilization.
Please help us to add these devices in Nagios XI and in which category ?
Thanks
Re: Bandwidth Performance Graphs Issue
Posted: Tue Oct 18, 2016 1:13 pm
by tgriep
If those devices have SNMP enabled to poll the network interfaces, you can see if the Network Switch / Router wizard will work for monitoring them.
If the wizard can be used for other devices besides switches and routers.
Try running that and see if they work for you.
Re: Bandwidth Performance Graphs Issue
Posted: Sat Oct 22, 2016 10:25 am
Hi,
As suggest added ISILON device in Switch/Router wizard, device added but showing ports status as WARNING: SNMP error: No response from remote host "10.111.100.160" for all the ports.
Here we have individual IP for each port.
Showing bandwidth graph with value zero 0 IN/OUT.
Please find the attached screen shots.
Thanks
Re: Bandwidth Performance Graphs Issue
Posted: Mon Oct 24, 2016 9:58 am
by tgriep
The no response error is caused by either the remote device does not have SNMP enabled or that the community string is incorrect.
If you run the following command from the Nagios server, it will tell you that the SNMP port is open on that device.
If it comes back showing that the port is open, make sure the community string matches the device and the Nagios servers check command.
Re: Bandwidth Performance Graphs Issue
Posted: Fri Nov 04, 2016 2:43 am
Hello Team,
We have installed Nagios XI on the Centos & machine with IP address 10.X.X.64, And after we changed the IP address to 10.X.X.63.
In the Emails from Nagios XI, It is showing the response with previous IP Address.
See the below output:
Respond:
https://10.X.X.64/nagiosxi/rr.php?uid=1 ... 3544c7838e
Nagios URL:
https://10.X.X.64/nagiosxi/
Where can we edit this file, changing to IP 10.X.X.63 ?
Thanks
Re: Bandwidth Performance Graphs Issue
Posted: Fri Nov 04, 2016 9:29 am
by avandemore
Please start a new thread for a new issue.
You can change this at:
XI > Admin > System Settings > Program URL: