Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

Magalex_2x14

Reviews(1)
byMagalex_2x14, April 24, 2013
Thanks for the great plugin!
With Centreon 2.4.2 i can see graph only for "sent" counter. The problem is related to the performance data format. I'm not good specialist, but i took as a sample perfdata from other service with good graphs, and changed some code in check_mailstat.pl:

change line 97 to: my $perfdata = sprintf "'sent'=%-6.2f;;;;'received'=%-6.2f;;;;'bounced'=%-6.2f;;;;'rejected'=%-6.2f;;;;'virus'=%-6.2f;;;;'spam'=%-6.2f;;;;", @stat_counter;

add as line 98: $perfdata =~ s/\s+//g; #remove spaces

I hope this helps... Sorry for bad English.