[..]

Is anyone using mrtg to gather stats on spam/virus activity?

So, I created something using php and rrdtool (not mrtg, but similar).
Why php? Because I like it best :)

Even though it IS written in PHP, it is intended (for now) as command line application,
not web based application. Changing it would be a simple thing though.


You'll need cgi or cli version of php with rrdtool as either built in or loadable module.
Creating this is a little hard, since by default rrdtool is not a php extension.
So I created static linux php binary ready to use.


It's available at http://clamav.or.id/contrib/clamd-stat

RRD files are stored under rra, and graphs are stored under html/graph.


I tried and i'm getting this error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # /opt/php5 bin/parse_log.php < /var/log/clamav/clamd.log Bus error

====================================================================
My box is :

# more /etc/redhat-release;rpm -qa|grep -i kernel
Red Hat Linux release 8.0 (Psyche)
kernel-2.4.18-14
kernel-pcmcia-cs-3.1.31-9
kernel-2.4.20-28.7
====================================================================
# ls -l /var/log/clamav/clamd.log
-rw-r----- 1 mailnull mailnull 1409 Apr 13 15:28 /var/log/clamav/clamd.log
------------------------------------------------------------------------------
# ls -l /opt/php5
-rwxr-xr-x 1 root root 53496 Apr 13 12:51 /opt/php5
------------------------------------------------------------------------------
What's happening ?


-Dilip


-- Sorry for my engalish....it not my mother tongue ;) -----------


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to