Search found 6 matches

by joeldg
Mon Apr 13, 2009 4:30 pm
Forum: Scripts and Templates
Topic: PowerMTA data query and host template
Replies: 26
Views: 18567

Are you using the newer version of the templates? I updated them on Friday before I left for the day to match the graphs you see. Yes, I am using the newer version. I do send large mail volume and receive only a small fraction. However, this does not explain why on many graphs I see NaNs (resolver ...
by joeldg
Mon Apr 13, 2009 1:12 pm
Forum: Scripts and Templates
Topic: PowerMTA data query and host template
Replies: 26
Views: 18567

I have managed to make it work. Now I am expecting some graphs. I will provide more feedback soon Hmm, I am getting results when executing the script from the CLI: ... but the graphs do not render properly (see the attached images). Any idea why? When I build graphs, I have "out" as a neg...
by joeldg
Sat Apr 11, 2009 10:52 am
Forum: Scripts and Templates
Topic: PowerMTA data query and host template
Replies: 26
Views: 18567

aleu wrote:
joeldg wrote: Does it mean that I need to add my Cacti server somewhere within the PowerMTA configuration file?
Yes you do.
See the users manual, or look at the config file to see where to place the IP address
by joeldg
Sat Apr 11, 2009 8:33 am
Forum: Scripts and Templates
Topic: PowerMTA data query and host template
Replies: 26
Views: 18567

Have you tested the script in commandline? Also, have you made sure that in the powermta config you have the IP address of the machine you run cacti on as able to view the management interface? To troubleshoot: On command line from your cacti box, just use `curl http://pmta-host:8080` and see, then ...
by joeldg
Thu Apr 09, 2009 8:41 am
Forum: Scripts and Templates
Topic: PowerMTA data query and host template
Replies: 26
Views: 18567

Screenshots of simulated data

Image

Image

Image

Image

Image

These are the latest graphs.. will re-up the export as well[/img]
by joeldg
Thu Apr 09, 2009 8:37 am
Forum: Scripts and Templates
Topic: PowerMTA data query and host template
Replies: 26
Views: 18567

PowerMTA data query and host template

Built a host template for PowerMTA http://port25.com internally here First we need a function that will work for older versions of PHP as well as older versions of PowerMTA as well. This is in two parts: First this xml2array function (keeps things simple) Name this "xmlfunction.php", it li...