Search found 38 matches

by gregm
Mon Feb 28, 2005 7:07 pm
Forum: Scripts and Templates
Topic: monitoring qmail
Replies: 4
Views: 4460

Funny you reply to this 3-year old message now, as I've just been updating my stats programs. Here's one for reading how many messages are sitting in the queue: #!/bin/bash # outputs messages in local queue and messages in remote queue if [ "$1" == "local" ]; then /var/qmail/bin/...
by gregm
Tue Sep 30, 2003 9:54 am
Forum: Scripts and Templates
Topic: Script: interface traffic (linux)
Replies: 8
Views: 11703

Uh.. it's not perl, it's php. And you need to specify names: <path_cacti>/scripts/nettraffic <recvd> <sent> Something like that. Then add output fields (stored in RRA) for "recvd" and "sent" At this point, you should be reading the Cacti documentation, it's all there.
by gregm
Mon Sep 29, 2003 5:21 pm
Forum: Scripts and Templates
Topic: Script: interface traffic (linux)
Replies: 8
Views: 11703

It's written in PHP, which means you need the PHP-CLI binary. Paste it into a file called "nettraffic" or whatever, probably in your cacti scripts directory, but it doesnt really matter as long as cacti can run it, and run "chmod a+x nettraffic". After that, as long as you can ru...
by gregm
Fri Aug 22, 2003 1:11 pm
Forum: Help: General
Topic: bug - no no-cache headers?
Replies: 2
Views: 1354

Ah, you used "header (..)" with a space. no wonder my grep didn't find it :)

I also didn't look closely to see what was used in all files, but top_header sounded reasonable.

Anyway, glad to help out
by gregm
Mon Jul 07, 2003 1:32 pm
Forum: Feature Requests
Topic: 95th Percentile Support in Cacti
Replies: 9
Views: 18725

It might make most sense to use a CDEF to do that, so then you get the flexibility of adding whatever you need. At the same time, this might be hard to implement .. i'm not really sure :p One thing you would want to avoid though is locking users into a specific way of doing things.
by gregm
Fri Jun 27, 2003 3:13 pm
Forum: Help: General
Topic: Load Average - Examples?
Replies: 2
Views: 1592

with the out-of-the-box install of Cacti, this should be working right off the bat

if it's not, check that perl is installed and working. Make sure you can run

perl <path_cacti>/scripts/loadavg_multi.pl
by gregm
Thu Jun 26, 2003 11:55 am
Forum: Help: General
Topic: Bug in Data input create in 0.8.1
Replies: 1
Views: 988

Bug in Data input create in 0.8.1

The name changes after editing input fields Steps to reproduce: 1. Create a new data input, setting name, and input string and output string with one paramter each 2. Click "add" for input, and in the dropdown the name of the parameter you created should be selected. Assign a name, and cli...
by gregm
Wed Jun 25, 2003 3:20 pm
Forum: Feature Requests
Topic: Data collection plugins
Replies: 0
Views: 2364

Data collection plugins

Hi Ian, Cacti community I haven't been active here in a while, as I've been extremely busy at a new job and working on a new project (a SCADA system that provides real-world control for water treatment systems). I've chosen rrdtool, and consequently, Cacti, for graphing and trends. (I previously use...
by gregm
Thu May 08, 2003 8:02 am
Forum: Help: Linux/Unix Specific
Topic: user chaos
Replies: 4
Views: 3250

You didn't give very much information, but it sounds like it could be a permissions problem. Whatever user runs cmd.php will be the user it tries to write to your rra files with. If that user doesn't have permission to write, then obviously it won't write. When you say you have no graph, does that m...
by gregm
Thu May 08, 2003 7:58 am
Forum: Help: Linux/Unix Specific
Topic: Disk Space Graph
Replies: 4
Views: 3988

It really depends on the method your server uses to store everything for users. Just check the disk space for that directory: du -sb /home/vhosts/username | awk '{print $1 }' Set it up as a shell script that accepts a parameter for username, and then just make a data input for each user using the pa...
by gregm
Tue Feb 18, 2003 10:09 am
Forum: Help: Linux/Unix Specific
Topic: Broken with PHP 4.3.0 CLI
Replies: 1
Views: 2996

Broken with PHP 4.3.0 CLI

I haven't had time to deeply look into this, but upgrading to the 4.3.0 CLI binary (previously was the 4.2.2 CGI binary) seems to break the graphs. Going to my graph output directory, it says it can't open the stream to include the file on line 295 of include/rrd_functions.php. Line 295 is include (...
by gregm
Tue Feb 11, 2003 2:55 pm
Forum: Help: Linux/Unix Specific
Topic: ProFTPd Traffic?
Replies: 2
Views: 5547

I actually ended up using ipchains to monitor traffic for each protocol. You can see what I have setup at: http://status.digitalorphans.org/traffic_graphs.php

The scripts I used for this, and a little readme are available at www.djgeespot.com/ipacct-1.0.tar.gz
by gregm
Mon Dec 16, 2002 6:12 am
Forum: Help: General
Topic: counter resets
Replies: 7
Views: 4540

what's the difference between a signed and unsigned counter? why would a signed counter even be useful? I just assumed all counters were unsigned actually. :)

I guess maybe if you put min to a -ve number..?
by gregm
Sun Dec 15, 2002 6:33 pm
Forum: Help: General
Topic: Bug: spelling
Replies: 0
Views: 1150

Bug: spelling

Just a little mistake i just noticed:

On the data source edit page:
Maximum Value: The maximum value of data that is allowed to be collected (number must be smaller than max value).
by gregm
Sat Dec 14, 2002 2:53 pm
Forum: Help: General
Topic: counter resets
Replies: 7
Views: 4540

But the problem lies in the way couters are handled. If you use a COUNTER type, then anytime the value is lower, rrdtool assumes an overflow occured (based on min/max values) and compensates for it. So basically, from what I understand, say you have a max value of 255 (1 byte). You get these data po...