Postfix Monitoring With Cacti

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
bittukaushik
Posts: 1
Joined: Thu Oct 15, 2015 3:40 am

Postfix Monitoring With Cacti

Post by bittukaushik »

can somebody help me in this postfix graph monitoring with cacti.
I have implemented cacti server. graphs are updating for other (memory usage, load average, logged in users, processes) but not for postfix mail-graph only. I
I have used fetch_mail_statistics.pl file that i have placed in /usr/local/bin/ path, and used cacti_host_template_postfix_mailserver.xml template. In /etc/snmp/snmpd.conf file i have added following line:

pass .1.3.6.1.4.1.2021.255 /usr/local/bin/fetch_mail_statistics.pl /var/log/maillog /var/log/mailstats.db .1.3.6.1.4.1.2021.255
All Three Files Are In This Attachment.
one thing i want to tell you that i have done all(postfix, cacti and snmp) on same server.

And Following are my cacti log:
10/15/2015 04:15:04 PM - CMDPHP: Poller[0] Host[1] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:04 PM - CMDPHP: Poller[0] Host[1] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:04 PM - CMDPHP: Poller[0] Host[1] DS[13] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:04 PM - CMDPHP: Poller[0] Host[1] DS[14] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:04 PM - CMDPHP: Poller[0] Host[1] DS[15] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:04 PM - CMDPHP: Poller[0] Host[1] DS[16] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:04 PM - CMDPHP: Poller[0] Host[2] DS[17] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:05 PM - CMDPHP: Poller[0] Host[2] DS[18] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:05 PM - CMDPHP: Poller[0] Host[2] DS[19] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:05 PM - CMDPHP: Poller[0] Host[2] DS[20] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:05 PM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:05 PM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:15:05 PM - SYSTEM STATS: Time:1.6669 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:25 RRDsProcessed:24
10/15/2015 04:20:02 PM - CMDPHP: Poller[0] Host[1] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:02 PM - CMDPHP: Poller[0] Host[1] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:02 PM - CMDPHP: Poller[0] Host[1] DS[13] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[1] DS[14] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[1] DS[15] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[1] DS[16] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[2] DS[17] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[2] DS[18] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[2] DS[19] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[2] DS[20] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:03 PM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:20:04 PM - SYSTEM STATS: Time:1.5777 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:25 RRDsProcessed:24
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[1] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[1] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[1] DS[13] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[1] DS[14] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[1] DS[15] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[1] DS[16] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[2] DS[17] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:02 PM - CMDPHP: Poller[0] Host[2] DS[18] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:03 PM - CMDPHP: Poller[0] Host[2] DS[19] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:03 PM - CMDPHP: Poller[0] Host[2] DS[20] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:03 PM - CMDPHP: Poller[0] Host[2] DS[21] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:03 PM - CMDPHP: Poller[0] Host[2] DS[22] WARNING: Result from SNMP not valid. Partial Result: U
10/15/2015 04:25:03 PM - SYSTEM STATS: Time:1.4764 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:25 RRDsProcessed:24

please help if there is any idea regarding my problem.
thank u
Attachments
Postfix With Cacti.rar
(11.97 KiB) Downloaded 125 times
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests