[mrtg] mrtg snmp problem
Tobias Dinse
dinseto at stegbauer.info
Tue Dec 28 11:29:44 CET 2010
Hi @all,
I ve tried to config MRTG to get the number of all connected calls from our telephone system (patton smartnode) over SNMP. I generated a config file by using
cfgmaker --global "WorkDir: /var/www/mrtg" --output /etc/mrtg/isdn_zaehler.cfg public at 192.168.110.162
I opened isdn_zaehler.cfg and did some changes. Here is the actual configfile:
# for UNIX
# WorkDir: /home/http/mrtg
# for Debian
WorkDir: /var/www/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
WorkDir: /var/www/mrtg
Target[sn4552isdncounter]: 1.3.6.1.4.1.1768.100.70.40.2.1.2.2&1.3.6.1.4.1.1768.100.70.40.2.1.2.2:public at 192.168.110.162
# SetEnv[sn4552isdncounter]: MRTG_INT_IP="" MRTG_INT_DESCR="ethernet-0-0-1"
MaxBytes[sn4552isdncounter]: 2
Title[sn4552isdncounter]: ISDN Channels
PageTop[sn4552isdncounter]: <h1>active ISDN Channels </h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>Buero</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>techrole at xxx.de</td>
</tr>
<tr>
<td>Description:</td>
<td>SNMP ISDN Counter </td>
</tr>
<tr>
<td>ifType:</td>
<td>ISDN Bri Channel Counter</td>
</tr>
<tr>
<td>ifName:</td>
<td></td>
</tr>
<tr>
<td>Max Speed:</td>
<td>2 Channels</td>
</tr>
</table>
</div>
If i browse to http://localhost/mrtg i can see some graphics but there are always the same. Cron entry is set and work. Running mrtg with isdn_zaehler.cfg shows no errors. I hope there is an error in the cfg file and someone can help me
thanks & cu
Tobias D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20101228/686f19e7/attachment.htm
More information about the mrtg
mailing list