[mrtg] Threshold Error (more info)
Hayden Katzenellenbogen
hayden at nextlevelinternet.com
Tue Feb 27 18:35:56 CET 2007
I am building this system on FreeBSD 6.2-Release. Also this error e-mail
only comes through once I re-enable the port.
This is the all the Threshold config I have in my config file currently.
ThreshDir: /usr/local/etc/mrtg/thresh
Target[66.185.162.85_2]: 2:mrtg at 66.185.162.85:
SetEnv[66.185.162.85_2]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/1"
MaxBytes[66.185.162.85_2]: 12500000
Title[66.185.162.85_2]: FastEthernet0/1 -- nli-office-sw01
...skipping...
SetEnv[66.185.162.85_14]: MRTG_INT_IP=""
MRTG_INT_DESCR="FastEthernet0/13"
MaxBytes[66.185.162.85_14]: 12500000
ThreshMinI[66.185.162.85_14]: 1
ThreshDesc[66.185.162.85_14]: Friends in exile test DOWN
ThreshProgI[66.185.162.85_14]: /usr/local/etc/mrtg/thresh/notify.sh
Title[66.185.162.85_14]: FastEthernet0/13 -- nli-office-sw01
PageTop[66.185.162.85_14]: <h1>FastEthernet0/13 -- nli-office-sw01</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>nli-office-sw01 in </td>
</tr>
<tr>
<td>Maintainer:</td>
<td></td>
</tr>
<tr>
<td>Description:</td>
<td>FastEthernet0/13 new
Friendsinexile </td>
</tr>
<tr>
<td>ifType:</td>
<td>ethernetCsmacd (6)</td>
</tr>
<tr>
<td>ifName:</td>
<td>Fa0/13</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>100.0 Mbits/s</td>
</tr>
</table>
</div>
-----Original Message-----
From: Hayden Katzenellenbogen
Sent: Tuesday, February 27, 2007 9:09 AM
To: 'mrtg at lists.oetiker.ch'
Subject: Threshold Error
I have decided to upgrade my mrtg system. I am building a whole new
machine from scratch and not using any of my old configs.
I ran cfgmaker against one of my switches to build a base config. I then
added a threshold on one of the ports. I shut the port down to test the
threshold. When the minimum threshold is reached I get an e-mail
notifying me of the issue. I also get another the cron daemon. It
contains the following error.
Use of uninitialized value in join or string at /usr/local/bin/mrtg line
1970.
Use of uninitialized value in system at /usr/local/bin/mrtg line 1971.
Can't exec "": No such file or directory at /usr/local/bin/mrtg line
1971.
I am unable to find any solutions on google. Does anyone have a perl of
wisdom to share on this issue.
H
More information about the mrtg
mailing list