[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Plotting positive valued error counts as negative values

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 12, 2025 5:52 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Mar 27, 2008 11:56 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
What I would like to do is plot the rate of increasing in & out error counts for an interface below the BW in & out for the same interface ?
the mirror command (I think) won't get me what i am looking for here .
also any tips along these lines would sure help .
Tia , JimL

The below is a guess at monitioring the error stats on one interface on one router for error counts .

# Created by
# babydr as a hopeful first draft .
### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

PathAdd: /usr/local/rrdtool/bin
LogFormat: rrdtool
EnableIPv6: no
options[_]: growright, bits
XSize[_]: 600
YSize[_]: 250
WithPeak[_]: ymw
WorkDir: /var/www/htdocs/router2cgi/graphs
routers.cgi*ShortDesc: MO-RTR02 TOK

### Interface 1 >> Descr: 'Serial1/0' | Name: 'Se1/0' | Ip: '192.168.3.1' | Eth: '' ###

Target[mo-rtr01_1IE]: .1.3.6.1.2.1.2.2.1.14.1&.1.3.6.1.2.1.2.2.1.20.1:Gobbltygoop@mo-rtr01:
SetEnv[mo-rtr01_1IE]: MRTG_INT_IP="192.168.3.1" MRTG_INT_DESCR="Serial1/0 Error Counts IN/OUT , Circuit ID: Provider1"
Directory[mo-rtr01_1IE]: mo-rtr01
MaxBytes[mo-rtr01_1IE]: ???????
AbsMax[mo-rtr01_1IE]: ??????
Title[mo-rtr01_1IE]: Interface 1 -- MO-RTR02.dru.local , Circuit ID: Provider1
PageTop[mo-rtr01_1IE]: <h1>Interface 1 Error Counts IN/OUT -- MO-RTR02.dru.local , Circuit ID: Provider1</h1>
<div id="sysdetails">
<table>
<tr>
<td>System:</td>
<td>MO-RTR02.dru.local in DSB</td>
</tr>
<tr>
<td>Maintainer:</td>
<td>IT helpdesk@Dweebsareus.c0m</td>
</tr>
<tr>
<td>Description:</td>
<td>Serial1/0 Error Counts IN/OUT Frame-Relay, Circuit ID: Provider1 </td>
</tr>
<tr>
<td>ifType:</td>
<td>frame-relay (32)</td>
</tr>
<tr>
<td>ifName:</td>
<td>Se1/0</td>
</tr>
<tr>
<td>Max Speed:</td>
<td>25600.0 kbits/s</td>
</tr>
<tr>
<td>Ip:</td>
<td>192.168.3.1 ()</td>
</tr>
</table>
</div>


Top
 Profile Send private message  
 
PostPosted: Mon Mar 31, 2008 11:23 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Wed Apr 02, 2008 6:25 am 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Ok , I have my combined graph now .
Another gotcha , the i/o bit rate at the pointer doesn't function . This is quite understandable as there are 4 values instead of 2 & the routine would probably be quite confused in 'user defined mode' anyway . Never knowing what's actually being graphed .
The time function doesn't have a problem of course .

Hth , JimL


Top
 Profile Send private message  
 
PostPosted: Wed Apr 02, 2008 9:24 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
The popup with current values doesnt work on any userdefined graphs yet, only on normal Targets. There are a number of problems with getting it to work on userdefineds, unfortunately - including the ones you mention.

Glad to hear you've managed to make it work. Did you multiple the drop count by 1000 (or some other larger number) to make it visible on the same scale?

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Wed Apr 02, 2008 1:18 pm 
Offline
Gold user

Joined: Fri Mar 07, 2008 8:51 am
Posts: 125
Location: Fairbanks , AK
Yes I did use a -LARGE- Factor ... -10000000
which is reasonable for the one or two interfaces (so far) showing any errors .
As soon as I am certain I have these setup reasonably well I'll post a one interface example .
Thank you for the pointers & Time . babydr(JimL)


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group