[mrtg] Disk monitoring problem

Syrovátka, Zdeněk, VF-CZ zdenek.syrovatka at vodafone.com
Fri Jun 27 09:29:21 CEST 2008

I am surprised - when configuring system with 111 disks I found that the 101. disk must be also doubled in snmpd.conf.

-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Syrovátka, Zdeněk, VF-CZ
Sent: Thursday, June 26, 2008 11:44 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Disk monitoring problem


I have interesting problem with disk monitoring on Solaris 10. In /etc/sma/snmp/snmpd.conf I have configured 5 disks but MRTG sees only 4 of them. I receive two error messages:

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: SNMPv1_Session (remote host: "servername" [xx.xx.xx.xx].161)
                  community: "community"
                 request ID: 805328218
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for dskPercent.5 dskPercent.5 on community at servername::::::v4only  at /usr/local/mrtg-2/bin/mrtg line 1921
ERROR: Target[servername.disk5name][_IN_] ' $target->[1904]{$mode} ' did not eval into defined data
ERROR: Target[servername.disk5name][_OUT_] ' $target->[1904]{$mode} ' did not eval into defined data

After adding the first disk twice, all is OK:
disk / 5%
disk / 5%
disk /var 5%
disk /crashfs 5%
disk /export/home 5%
disk /disk5name 5%

It seems that MRTG does not recognize the first disk in snmpd.conf. Does anybody experienced the same problem? I think the first error message applies to system uptime, but it also disappears after adding the first disk twice.

Regards iclcz01

mrtg mailing list
mrtg at lists.oetiker.ch

More information about the mrtg mailing list