eximstats - script build - amounts not displayed correctly
Moderators: Developers, Moderators
eximstats - script build - amounts not displayed correctly
hi all - this is my first post here
i have found a script for exim - the script writes the outut to a file called "scan_exim_log.total -- to get the output which is the following:
frozen:xx queued:xx todeliver:xx kb:xx largest:xx nrin:xx nrout:xx spam:xx spamd:xx
where xx is the amount of messages -/ kb - kilobytes // largest - largest message in kilobytes
i would put the script into crontab ( running all 5 minutes ) like
crontab -e
*/5 * * * * perl /path/to/mail.pl
and from cacti i would use the command: cat /path/to/scan_exim_log.total
but i have absolutly no knowledge to build the templates ( with the new version of cacti // used to version Version 0.6.8 - but i did upgrade now )
- so i attach the script here and anyone who is willing to use it mayabe he/she likes to share his/her templates based on the attahed script
that would be great
thx
zyeclone
[/i]
i have found a script for exim - the script writes the outut to a file called "scan_exim_log.total -- to get the output which is the following:
frozen:xx queued:xx todeliver:xx kb:xx largest:xx nrin:xx nrout:xx spam:xx spamd:xx
where xx is the amount of messages -/ kb - kilobytes // largest - largest message in kilobytes
i would put the script into crontab ( running all 5 minutes ) like
crontab -e
*/5 * * * * perl /path/to/mail.pl
and from cacti i would use the command: cat /path/to/scan_exim_log.total
but i have absolutly no knowledge to build the templates ( with the new version of cacti // used to version Version 0.6.8 - but i did upgrade now )
- so i attach the script here and anyone who is willing to use it mayabe he/she likes to share his/her templates based on the attahed script
that would be great
thx
zyeclone
[/i]
- Attachments
-
- mail.pl.txt
- (2.07 KiB) Downloaded 406 times
Last edited by zyeclone on Mon Jan 31, 2005 12:50 pm, edited 2 times in total.
i did modify the script so now the output is send directly to shell/command line
perl email.pl
frozen:17 queued:372 todeliver:744 kb:63106491 largest:20971520 nrin:5152 nrout:5103 spam:500 spamd:0
i was able to create a graph but something is wrong
frozen:17 queued:38 todeliver:76 kb:58513250 largest:20971520 nrin:5824 nrout:6139 spam:565 spamd:0
perl email.pl
frozen:17 queued:372 todeliver:744 kb:63106491 largest:20971520 nrin:5152 nrout:5103 spam:500 spamd:0
i was able to create a graph but something is wrong
frozen:17 queued:38 todeliver:76 kb:58513250 largest:20971520 nrin:5824 nrout:6139 spam:565 spamd:0
- Attachments
-
- graph_image.png (7.19 KiB) Viewed 8490 times
my latest version of eximstats - amounts not showing correctly - anyone likes to contribute ??
attached the templates and the script
you have to modify ETC - EXIM and open(LOG - / directories in order to get it working inside email1.pl
greetz
zyeclone
attached the templates and the script
you have to modify ETC - EXIM and open(LOG - / directories in order to get it working inside email1.pl
greetz
zyeclone
- Attachments
-
- exim.zip
- (6.74 KiB) Downloaded 749 times
MRTG
Hello all,
Sorry for this post , but
Is it possible to build MRTG graph with this script?
Any sugestion?
Thanks,
Marcelo Daibert
http://daibert.net
Sorry for this post , but
Is it possible to build MRTG graph with this script?
Any sugestion?
Thanks,
Marcelo Daibert
http://daibert.net
-
- Posts: 31
- Joined: Fri Nov 22, 2002 10:50 am
- Location: Rochester, UK
I would really appreciate it if you could post your completed files as well.sporkfu wrote:Could you possibly post up the files from your working version. This is really great stuff and would be pretty usefull for monitoring my server. I would greately appreciate it.zyeclone wrote:did finish it
now i graph
mails in
mails out
queued
spam
frozen
virus found
users sessions
)
Thanks in advance.
Anthony
-
- Posts: 31
- Joined: Fri Nov 22, 2002 10:50 am
- Location: Rochester, UK
-
- Posts: 19
- Joined: Fri Mar 11, 2005 3:35 pm
- Contact:
Hello,
I have Exim too and I modified this script to make it a little more friendly
I just add few variables and uses sudo to run the command in place of the cron) and corrected some titles
I surely will modify it in the future as my exim server will need to graph other items (such as mails by domains), I will post all my features here.
I cannot attach a file here (seems there's a bug) so here's the file
http://www.crieur.com/eximcacti.tgz
Bye
I have Exim too and I modified this script to make it a little more friendly
I just add few variables and uses sudo to run the command in place of the cron) and corrected some titles
I surely will modify it in the future as my exim server will need to graph other items (such as mails by domains), I will post all my features here.
I cannot attach a file here (seems there's a bug) so here's the file
http://www.crieur.com/eximcacti.tgz
Bye
Who is online
Users browsing this forum: No registered users and 1 guest