Ehlen sidi Mansour,

if I remember correctly, Cacti is using an own script to capture the data.
Using MRTG on my side - I know that you can set the ABSMAX value here to
limit the max counter value - and this usually also pretty well detects
resets on the counter. Also - on MRTG if you configure gauge or counter
- the programm will handle these values accordingly.
Eventually you find these hooks in cacti ... (acti was too complicated
foer me at the time it came out - so I programmed my own Monitoring
stuff ;) Easyer ) ...

Cheers
Joerg

Michael Mansour wrote:
> Hi,
> 
> I setup shorewall to do ip accounting for the
> different IP's I run.
> 
> I use cacti to graph those bandwidth usage stats per
> IP.
> 
> The problem I have is when I run:
> 
> # shorewall restart
> 
> all the accounting stats go to zero and cause spikes
> on the graphs on the next run which I then have to
> kill/remove (I have a killspikes script to do this but
> it's tedious).
> 
> I think the spikes get graphed because cacti (or
> really rrdtool) checks for the differences between the
> previous kbps value and the next one it just got.
> 
> Is there a way I can tell shorewall not to clear the
> accounting stats when I do a restart?
> 
> I'm using 4.0.10-3.
> 
> Thanks.
> 
> Michael.
> 
> 
> 
>       Get the name you always wanted with the new y7mail email address.
> www.yahoo7.com.au/mail
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users


-- 
------------------------------------------------------------------------
| Joerg Mertin              :  [EMAIL PROTECTED]                (Home)|
| in Forchheim/Germany      :  [EMAIL PROTECTED]                  (Alt1)|
| Stardust's LiNUX System   :                                          |
| Web: http://www.solsys.org                                           |
------------------------------------------------------------------------
PGP: Public Key Server - Get "0x98885d97170b8b7a"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to