[mrtg] Monitoring on-line modems

Ingrid Pimentel ingridp at panama.pointecom.net
Mon Jan 17 22:52:58 MET 2000


I'm trying to graph the number of our dial-up connections in an Ascend Max TNT and XYPLEX MaxServers, but it seems like the Target file is not being updated and it is graphing a constant value.  The scripts that gather the data are running well separately, and if I run the perl /mrtg-2.8.8/run/mrtg /mrtg-2.8.8/cfg/tnt.cfg manually, it gets and graphs the correct values.

This is part of the log file:

948157592 0 27
948157592 0 27 0 27
948157287 0 27 0 27
948157200 0 27 0 27
948156900 0 27 0 27
948156600 0 27 0 27
948156300 0 27 0 27
948156000 0 27 0 27
 

And this is the beginning of my .cfg file
 
WorkDir: /home/httpd/html/mrtg

######################################################################
# Description: Ascend Max-TNT S/N: 9102673 Software version 7.2.3
# Contact:
# System Name: tnt-pan-01
# Location:
#.....................................................................

Target[xxx.xxx.xxx.xxx]:`cat /scripts/num_usr`
MaxBytes[xxx.xxx.xxx.xxx]:120 
...

 
The file num_usr is the one that is not being updated.  It is generated by the following script:
 
echo "0" > num_usr
/scripts/modems |grep Assign|wc -l >> num_usr
echo "0" >> num_usr
echo "0" >> num_usr     
 
following the example script of the Portmasters supplied in the mrtg/contrib directory. 
I am using Red Hat Linux release 5.2 (Apollo) Kernel 2.0.36 on an i686 and MRTG 2.8.8.          

Thank you for your attention. I will appreciate your help deeply,

Ingrid 


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list