Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Templates, scripts for templates, scripts and requests for templates.
Moderators: Developers , Moderators
marcofe
Posts: 3 Joined: Thu Apr 21, 2005 7:51 am
Post
by marcofe » Fri Apr 22, 2005 11:01 am
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 » Sun Mar 12, 2006 3:55 am
Just a quick question, how did you get those /var/tmp//mail* files? Can't find any option in postfix to create them...
Thanks.
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sun Mar 12, 2006 9:29 am
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 » Fri Apr 27, 2007 11:35 am
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.
Users browsing this forum: No registered users and 0 guests