Package: mrtg
Version: 2.14.3-1
Severity: important
After upgrading an older version of mrtg (2.12.2-1) to the latest (2.14.3-1),
some of my graphs
stopped being drawn.
The following configuration is ok with 2.12.2-1 but not 2.14.3-1
(i actually also tried with mrtg tarball 2.12.2: ok, with 2.13.0 it fails)
WorkDir: /var/www/mrtg
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Target[machine.cpu]: ssCpuRawUser.0&ssCpuRawUser.0:[EMAIL PROTECTED] +
ssCpuRawSystem.0&ssCpuRawSystem.0:[EMAIL PROTECTED] +
ssCpuRawNice.0&ssCpuRawNice.0:[EMAIL PROTECTED]
RouterUptime[machine.cpu]: [EMAIL PROTECTED]
MaxBytes[machine.cpu]: 1000
Title[machine.cpu]: CPU Load
PageTop[machine.cpu]: <H1>Active CPU Load %</H1>
Unscaled[machine.cpu]: ymwd
ShortLegend[machine.cpu]: %
YLegend[machine.cpu]: CPU Utilization
Legend1[machine.cpu]: Active CPU in % (Load)
Legend2[machine.cpu]:
Legend3[machine.cpu]:
Legend4[machine.cpu]:
LegendI[machine.cpu]: Active
LegendO[machine.cpu]:
Options[machine.cpu]: growright,nopercent
It works with 2.14.3-1 if i remove the line "RouterUptime[machine.cpu]: [EMAIL
PROTECTED]"
otherwise it breaks, while, i guess , checking for oid cache file
oid-mib-cache.txt
If the oid-mib-cache.txt is there and have the right info already in , then it
doesn't fail
# mrtg --debug="base,tarp,snpo" /etc/cpu.cfg
--base: Creating Lockfiles
/var/lock/mrtg/_etc_cpu.cfg_l,/var/lock/mrtg/_etc_cpu.cfg_l_19587
--base: Reading Config File: /etc/cpu.cfg
--base: Reading Interface Config cache
--base: Checking Config File
snmpmapOID: hrSystemUptime => 1.3.6.1.2.1.25.1.1
--tarp: Starting machine.cpu -> ssCpuRawUser.0&ssCpuRawUser.0:[EMAIL PROTECTED]
+ ssCpuRawSystem.0&ssCpuRawSystem.0:[EMAIL PROTECTED] +
ssCpuRawNice.0&ssCpuRawNice.0:[EMAIL PROTECTED]
--tarp: &targparser external done: 'ssCpuRawUser.0&ssCpuRawUser.0:[EMAIL
PROTECTED] +
ssCpuRawSystem.0&ssCpuRawSystem.0:[EMAIL PROTECTED] +
ssCpuRawNice.0&ssCpuRawNice.0:[EMAIL PROTECTED]'
--tarp: New complex target [0] 'ssCpuRawUser.0&ssCpuRawUser.0:[EMAIL
PROTECTED]':
Comu: public, Host: machine
Opt: , IPv4: 1
Conv:
OID: ssCpuRawUser, ssCpuRawUser
IfSel: If, If
Key: 0, 0
--tarp: New complex target [1] 'ssCpuRawSystem.0&ssCpuRawSystem.0:[EMAIL
PROTECTED]':
Comu: public, Host: machine
Opt: , IPv4: 1
Conv:
OID: ssCpuRawSystem, ssCpuRawSystem
IfSel: If, If
Key: 0, 0
--tarp: New complex target [2] 'ssCpuRawNice.0&ssCpuRawNice.0:[EMAIL
PROTECTED]':
Comu: public, Host: machine
Opt: , IPv4: 1
Conv:
OID: ssCpuRawNice, ssCpuRawNice
IfSel: If, If
Key: 0, 0
--tarp: &targparser complex done: ' $target->[0]{$mode} + $target->[1]{$mode}
+ $target->[2]{$mode} '
--tarp: &targparser simple done: ' $target->[0]{$mode} + $target->[1]{$mode}
+ $target->[2]{$mode} '
--tarp: &targparser returning: unique = -1
--base: Loading default Locale
--base: Starting main Loop
--base: Populate Target object by polling SNMP and external Datasources
--snpo: run snmpget from ssCpuRawUser&ssCpuRawUser:[EMAIL PROTECTED]
--snpo: simple If: .0
--snpo: simple If: .0
--snpo: SNMPGet from [EMAIL PROTECTED] --
ssCpuRawUser.0,ssCpuRawUser.0,sysUptime,sysName
Unknown SNMP var ssCpuRawUser.0
at /usr/bin/mrtg line 2039
Unknown SNMP var ssCpuRawUser.0
at /usr/bin/mrtg line 2039
--snpo: SNMPfound -- '1 day, 2:27:56', 'machine.example.com', 'undef', 'undef'
Tuesday, 13 June 2006 at 13:19: WARNING: Expected a number but got '1 day,
2:27:56'
Tuesday, 13 June 2006 at 13:19: WARNING: Expected a number but got
'machine.example.com'
--snpo: run snmpget from ssCpuRawSystem&ssCpuRawSystem:[EMAIL PROTECTED]
--snpo: simple If: .0
--snpo: simple If: .0
--snpo: SNMPGet from [EMAIL PROTECTED] --
ssCpuRawSystem.0,ssCpuRawSystem.0,sysUptime,sysName
Unknown SNMP var ssCpuRawSystem.0
at /usr/bin/mrtg line 2039
Unknown SNMP var ssCpuRawSystem.0
at /usr/bin/mrtg line 2039
--snpo: SNMPfound -- '1 day, 2:27:56', 'machine.example.com', 'undef', 'undef'
Tuesday, 13 June 2006 at 13:19: WARNING: Expected a number but got '1 day,
2:27:56'
Tuesday, 13 June 2006 at 13:19: WARNING: Expected a number but got
'machine.example.com'
--snpo: run snmpget from ssCpuRawNice&ssCpuRawNice:[EMAIL PROTECTED]
--snpo: simple If: .0
--snpo: simple If: .0
--snpo: SNMPGet from [EMAIL PROTECTED] --
ssCpuRawNice.0,ssCpuRawNice.0,sysUptime,sysName
Unknown SNMP var ssCpuRawNice.0
at /usr/bin/mrtg line 2039
Unknown SNMP var ssCpuRawNice.0
at /usr/bin/mrtg line 2039
--snpo: SNMPfound -- '1 day, 2:27:56', 'machine.example.com', 'undef', 'undef'
Tuesday, 13 June 2006 at 13:19: WARNING: Expected a number but got '1 day,
2:27:56'
Tuesday, 13 June 2006 at 13:19: WARNING: Expected a number but got
'machine.example.com'
--base: Act on Router/Target machine.cpu
Tuesday, 13 June 2006 at 13:19: ERROR: Target[machine.cpu][_IN_] '
$target->[0]{$mode} + $target->[1]{$mode} +
$target->[2]{$mode} ' (warn): Use of uninitialized value in addition (+) at
(eval 17) line 1.
Tuesday, 13 June 2006 at 13:19: ERROR: Target[machine.cpu][_OUT_] '
$target->[0]{$mode} + $target->[1]{$mode} +
$target->[2]{$mode} ' (warn): Use of uninitialized value in addition (+) at
(eval 18) line 1.
--base: Get Current values: in:undef, out:undef, up:1 day, 2:27:56,
name:machine.example.com, time:1150197574
--base: Create Graphics
--base: Check for Thresholds
--base: Check for Write HTML Pages
--base: Exit main Loop
--base: Remove Lock Files
--base: Store Interface Config Cache
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.18
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mrtg depends on:
ii debconf [debconf-2.0] 1.5.1 Debian configuration management sy
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libgd2-xpm 2.0.33-4 GD Graphics Library version 2
ii libpng12-0 1.2.8rel-5.1 PNG library - runtime
ii libsnmp-session-perl 1.08-1 Perl support for accessing SNMP-aw
ii perl 5.8.8-6 Larry Wall's Practical Extraction
ii perl-modules 5.8.8-6 Core Perl modules
ii zlib1g 1:1.2.3-11 compression library - runtime
mrtg recommends no packages.
-- debconf information:
mrtg/own_user: true
* mrtg/conf_mods: true
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]