[mrtg] No Number are showing up.

Robert Canary phantom at ohiocounty.net
Tue Apr 3 21:46:44 MEST 2001


Hi,

I am running mrtg on a router a BayStack Switch, and I currently trying
to affix a call to remote server that should return the number of active
modem ports and the nmber of logged on users.  However, it is not
building the graph, and only the first line in the log file ever gets
changed. The script works fine, and returns info as follows:

8                                                                
8                                                                
2:08pm up 18 days, 5 min, 18 users, load average: 0.31, 0.32, 0.22 
mchn2.getmodems  

The third and forth lines are showing up okay (uptime and machine name),
the numbers are being added to the log file on the first line. But
nothing is showing up on the graphs or on the graph
legends.                                                  

This is version 2.5.4

Here is what I have in the mrtg.conf:
Options[mchn2.getmodems.1]: growright, nopercent,
absolute                             
Target[mchn2.getmodems.1]:
`/usr/lib/mrtg/contrib/get-multiserial/get-modems-remote.pl`
MaxBytes[mchn2.getmodems.1]:
100                                                       
YLegend[mchn2.getmodems.1]:
Modems/Ports                                               
#YScale[mchn2.getmodems.1]:
2.0                                                        
ShortLegend[mchn2.getmodems.1]:
|                                                      
#WithPeak[mchn2.getmodems.1]:
dwmy                                                     
#Unscaled[mchn2.getmodems.1]:
dwmy                                                     
Legend1[mchn2.getmodems.1]: Busy
Modems                                                
Legend2[mchn2.getmodems.1]: Inet
Logons                                                
#Legend3[mchn2.getmodems.1]: Maximal 5 Minute Busy
Modems                              
#Legend4[mchn2.getmodems.1]: Maximal 5 Minute Inet
Logons                              
LegendI[mchn2.getmodems.1]:
 Modems:                                              
LegendO[mchn2.getmodems.1]:
 Logons:                                              
Title[mchn2.getmodems.1]: Active Modems vs. Active Internet
Connections                
Background[mchn2.getmodems.1]:
#C6BEA5                                                 
PageTop[mchn2.getmodems.1]: <CENTER><H3>Modems and Logons</H3>

<TABLE>                                                                               
   <TR><TD>System:</TD><TD>Modem Bank Hartford,
KY</TD></TR>                           
   <TR><TD>Maintainer:</TD><TD>Robert W.
Canary</TD></TR>                              
   <TR><TD>Interface:</TD><TD>24 - Analog
Modems</TD></TR>                             
   <TR><TD>Max
Scale:</TD>                                                             
       <TD>24 Simulatenous
Ports</TD></TR>                                             

</TABLE>                                                                              
                                                                                       

--
robert canary
system services
OhioCounty.Net
rwcanary at ohiocounty.net
(270)298-9331 Office
(270)298-7449 Fax

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list