Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#122 closed defect (use support list)

MRTG Error - Unreachable and 0 Data Graphs

Reported by: human Owned by:
Version: Keywords:
Cc:

Description

It does currently seem to work with version mrtg-2.9.29-4.ent as packaged on redhat3r9.

I have tried this on mrtg-2.16.2-5.el6.i686 as packaged in centos6, 2.16.2-5ubuntu2 as packaged on Ubuntu 10.04. I also downloaded the current release from the web page (2.17.2) and compiled it and got the error.

I am currently using LoadMIBs to load the following mibs-- LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt, /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt, /usr/share/snmp/mibs/TCP-MIB.txt

ls shows the files exist... -rw-r--r--. 1 root root 52544 Jun 24 22:55 /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt -rw-r--r--. 1 root root 28564 Jun 24 22:55 /usr/share/snmp/mibs/TCP-MIB.txt -rw-r--r--. 1 root root 46150 Jun 24 22:55 /usr/share/snmp/mibs/UCD-SNMP-MIB.txt

snmpwalk -c public -v 2c HOSTNAME.domain.tld | grep -i hrStorage ... shows: <SNIP> HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 1031312 <SNIP> HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 978592 <SNIP>

env LANG=C /usr/bin/mrtg /var/www/vhosts/mrtg-test.domain.tld/mrtg/mrtg.cfg shows:

SNMP Error: no response received SNMPv1_Session (remote host: "HOSTNAME.domain.tld" [x.x.x.x].161)

community: "public"

request ID: 1834654025

PDU bufsize: 8000 bytes

timeout: 2s retries: 5 backoff: 1)

at /usr/bin/../lib/mrtg2/SNMP_util.pm line 492

SNMPGET Problem for hrStorageSize.1 hrStorageUsed.1 sysUptime sysName on public@…::::::v4only

at /usr/bin/mrtg line 2202

2011-10-04 14:50:07: WARNING: skipping because at least the query for hrStorageSize.1 on HOSTNAME.domain.tld did not succeed 2011-10-04 14:50:07: WARNING: no data for hrStorageSize&hrStorageUsed:public@HOSTNAME.domain.tld. Skipping further queries for Host HOSTNAME.domain.tld in this round.

Alternately, I get a graph with all 0's when it does succeed. Any ideas of what might be occurring?

Configuration for the hosts are as follows: Target[HOSTNAME.domain.tld.hrroot]:hrStorageSize.1&hrStorageUsed.1:public@HOSTNAME.domain.tld * 4 RouterUptime?[HOSTNAME.domain.tld.hrroot]: public@… MaxBytes?[HOSTNAME.domain.tld.hrroot]: 38703584 Title[HOSTNAME.domain.tld.hrroot]: Mount point / -- usage ShortLegend?[HOSTNAME.domain.tld.hrroot]: &nbsp; kMG[HOSTNAME.domain.tld.hrroot]: kB,MB,GB kilo[HOSTNAME.domain.tld.hrroot]: 1024 YLegend[HOSTNAME.domain.tld.hrroot]: / usage Legend1[HOSTNAME.domain.tld.hrroot]: Administrator disk size Legend2[HOSTNAME.domain.tld.hrroot]: Administrator disk usage Legend3[HOSTNAME.domain.tld.hrroot]: Legend4[HOSTNAME.domain.tld.hrroot]: LegendI[HOSTNAME.domain.tld.hrroot]: Administrator disk size LegendO[HOSTNAME.domain.tld.hrroot]: Administrator disk usage Options[HOSTNAME.domain.tld.hrroot]: growright,gauge,nopercent PageTop?[HOSTNAME.domain.tld.hrroot]: <H1>Disks Usage Analysis for / -- HOSTNAME.</H1>

<TABLE>

<TR><TD>System:</TD> <TD>HOSTNAME</TD></TR> <TR><TD>Maintainer:</TD> <TD>Administrator <administrator@></TD></TR> <TR><TD>Ip:</TD> <TD></TD></TR>

</TABLE>

Target[HOSTNAME.domain.tld.hrboot]:hrStorageSize.4&hrStorageUsed.4:public@HOSTNAME.domain.tld * 4 RouterUptime?[HOSTNAME.domain.tld.hrboot]: public@… MaxBytes?[HOSTNAME.domain.tld.hrboot]: 516040 Title[HOSTNAME.domain.tld.hrboot]: Mount point /boot -- usage ShortLegend?[HOSTNAME.domain.tld.hrboot]: &nbsp; kMG[HOSTNAME.domain.tld.hrboot]: kB,MB,GB kilo[HOSTNAME.domain.tld.hrboot]: 1024 YLegend[HOSTNAME.domain.tld.hrboot]: /boot usage Legend1[HOSTNAME.domain.tld.hrboot]: Administrator disk size Legend2[HOSTNAME.domain.tld.hrboot]: Administrator disk usage Legend3[HOSTNAME.domain.tld.hrboot]: Legend4[HOSTNAME.domain.tld.hrboot]: LegendI[HOSTNAME.domain.tld.hrboot]: Administrator disk size LegendO[HOSTNAME.domain.tld.hrboot]: Administrator disk usage Options[HOSTNAME.domain.tld.hrboot]: growright,gauge,nopercent PageTop?[HOSTNAME.domain.tld.hrboot]: <H1>Disks Usage Analysis for /boot -- HOSTNAME.</H1>

<TABLE>

<TR><TD>System:</TD> <TD>HOSTNAME</TD></TR> <TR><TD>Maintainer:</TD> <TD>Administrator <administrator@></TD></TR> <TR><TD>Ip:</TD> <TD></TD></TR>

</TABLE>

Target[HOSTNAME.domain.tld.cpu]:ssCpuRawUser.0&ssCpuRawIdle.0:public@HOSTNAME.domain.tld RouterUptime?[HOSTNAME.domain.tld.cpu]: public@… MaxBytes?[HOSTNAME.domain.tld.cpu]: 100 Title[HOSTNAME.domain.tld.cpu]: CPU LOAD Unscaled[HOSTNAME.domain.tld.cpu]: ymwd ShortLegend?[HOSTNAME.domain.tld.cpu]: % YLegend[HOSTNAME.domain.tld.cpu]: CPU Load Legend1[HOSTNAME.domain.tld.cpu]: User CPU in % (Load) Legend2[HOSTNAME.domain.tld.cpu]: Idle CPU in % (Load) Legend3[HOSTNAME.domain.tld.cpu]: Legend4[HOSTNAME.domain.tld.cpu]: LegendI[HOSTNAME.domain.tld.cpu]: User LegendO[HOSTNAME.domain.tld.cpu]: Idle Options[HOSTNAME.domain.tld.cpu]: growright,nopercent PageTop?[HOSTNAME.domain.tld.cpu]: <H1>CPU Load Analysis -- HOSTNAME.</H1>

<TABLE>

<TR><TD>System:</TD> <TD>HOSTNAME</TD></TR> <TR><TD>Maintainer:</TD> <TD>Administrator <administrator@></TD></TR> <TR><TD>Ip:</TD> <TD></TD></TR>

</TABLE>

Target[HOSTNAME.domain.tld.cpusum]:ssCpuRawUser.0&ssCpuRawUser.0:public@HOSTNAME.domain.tld + ssCpuRawSystem.0&ssCpuRawSystem.0:public@HOSTNAME.domain.tld + ssCpuRawNice.0&ssCpuRawNice.0:public@HOSTNAME.domain.tld RouterUptime?[HOSTNAME.domain.tld.cpusum]: public@… MaxBytes?[HOSTNAME.domain.tld.cpusum]: 100 Title[HOSTNAME.domain.tld.cpusum]: CPU Utilization Unscaled[HOSTNAME.domain.tld.cpusum]: ymwd ShortLegend?[HOSTNAME.domain.tld.cpusum]: % YLegend[HOSTNAME.domain.tld.cpusum]: CPU Utilization Legend1[HOSTNAME.domain.tld.cpusum]: Active CPU in % (Load) Legend2[HOSTNAME.domain.tld.cpusum]: Legend3[HOSTNAME.domain.tld.cpusum]: Legend4[HOSTNAME.domain.tld.cpusum]: LegendI[HOSTNAME.domain.tld.cpusum]: Active LegendO[HOSTNAME.domain.tld.cpusum]: Options[HOSTNAME.domain.tld.cpusum]: growright,nopercent PageTop?[HOSTNAME.domain.tld.cpusum]: <H1>CPU Utilization Analysis -- HOSTNAME.</H1>

<TABLE>

<TR><TD>System:</TD> <TD>HOSTNAME</TD></TR> <TR><TD>Maintainer:</TD> <TD>Administrator <administrator@></TD></TR> <TR><TD>Ip:</TD> <TD></TD></TR>

</TABLE>

(with hostname, domain.tld, etc replaced as appropriate of course.)

Change History (2)

Note: See TracTickets for help on using tickets.
 

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example.