Monitoring for Postfix

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

Moderators: Developers, Moderators

Post Reply
marcofe
Posts: 3
Joined: Thu Apr 21, 2005 7:51 am

Monitoring for Postfix

Post by marcofe »

Hi All,
i import the xml file for postfix end i modify the snmp.conf in to the server
but nothing grafh snmpd.conf

#exec 1.3.6.1.4.1.2021.8.2.101.1 mailcount_sent /bin/cat /var/tmp/mailsent
#exec 1.3.6.1.4.1.2021.8.2.101.2 mailcount_recv /bin/cat /var/tmp/mailrecv
#exec 1.3.6.1.4.1.2021.8.2.101.3 mailcount_reject /bin/cat /var/tmp/mailrejected
#exec 1.3.6.1.4.1.2021.8.2.101.4 mailcount_bounced /bin/cat /var/tmp/mailbounced
#exec 1.3.6.1.4.1.2021.8.2.101.5 mailcount_spam /bin/cat /var/tmp/mailspam
#exec 1.3.6.1.4.1.2021.8.2.101.6 mailcount_virus /bin/cat /var/tmp/mailvirus
txxx for you help...
Attachments
cacti_graph_template_postfix_stats.xml
(0 Bytes) Downloaded 963 times
Azoff
Posts: 5
Joined: Sat Dec 13, 2003 11:17 am

Post by Azoff »

Just a quick question, how did you get those /var/tmp//mail* files? Can't find any option in postfix to create them...
Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moved to Scripts and Templates. Better idea: post to the topic that provided the Template. So the author will get an EMail and may help you
Reinhard
mattsn0w
Posts: 6
Joined: Thu Apr 19, 2007 10:46 am
Location: San Jose, CA.

Post by mattsn0w »

even though this is very old, I figured I would post an answer since I hate searching, and finding dead ends.

The lines you put on your snmpd.conf all have the pound(#) sign in front of them, which signifys the beginning of a comment, and is ignored when the config is parsed.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests