qmail +net-snmp template - first posting.
Moderators: Developers, Moderators
qmail +net-snmp template - first posting.
Hey everyone, been a cacti user for about 5 months now - awsome work guys !!
I searched the net for hours looking for a way to monitor qmail on my servers.. Not too much information to be found other than qmailmrtg. after searching for OIDs or MIBs, I happend to come across exactly what I needed for remote qmail monitoring. I have created templates that can be imported to cacti.
Input is greatly appreciated on this template..
I searched the net for hours looking for a way to monitor qmail on my servers.. Not too much information to be found other than qmailmrtg. after searching for OIDs or MIBs, I happend to come across exactly what I needed for remote qmail monitoring. I have created templates that can be imported to cacti.
Input is greatly appreciated on this template..
- Attachments
-
- cacti_graph_template_ucdnet_qmail_statistics.xml
- ucd/net snmp - qmail statistics
- (14.89 KiB) Downloaded 4099 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: qmail +net-snmp template - first posting.
I did a bit of work with this too, and wrote it up on my site (in the sig). Hrm. I should finish that writeup I'll dig out the other OIDs I used soon. It works the same way as it sounds like yours does though (net-snmp & qmailmrtg7), so I doubt that it's news anyway.Allen K wrote:I searched the net for hours looking for a way to monitor qmail on my servers.. Not too much information to be found other than qmailmrtg. after searching for OIDs or MIBs, I happend to come across exactly what I needed for remote qmail monitoring. I have created templates that can be imported to cacti.
Input is greatly appreciated on this template..
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 9
- Joined: Tue Oct 25, 2005 1:09 pm
Is there anything else that needs to be done other than installing the xml file? I just tried running this via command line and here is what I'm getting:
Any ideas on how to correct this?
thx,
SW
Code: Select all
# php poller.php
Waiting on 1/1 pollers.
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.11.51.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.11.52.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.11.50.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.10.1.3.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.10.1.3.3
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.10.1.3.2
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.4.14.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.4.15.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.2021.4.6.0
thx,
SW
stevewest15,
My appologies, I checked into this further and it seems that one of our sys admins did in fact install the package..
Howie's site:
http://wotsit.thingy.com/haj/cacti/cacti-qmail.html
Follow the directions on this site and it will all work.
My appologies, I checked into this further and it seems that one of our sys admins did in fact install the package..
Howie's site:
http://wotsit.thingy.com/haj/cacti/cacti-qmail.html
Follow the directions on this site and it will all work.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I'll try and finish that page this week, and add in the rest of the OIDs and an XML file for our setup.Allen K wrote:stevewest15,
My appologies, I checked into this further and it seems that one of our sys admins did in fact install the package..
Howie's site:
http://wotsit.thingy.com/haj/cacti/cacti-qmail.html
Follow the directions on this site and it will all work.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Actualy does anyone have working template for qmail ?
i found several templates here, most of them are not working anymore.
Some of them still sugges usa of exec , wihle it has been replaced.
Other templates contain mibs instead of OIDs... didnt exactly got, why do we have templates with mibs, while Cacti use OIDs... has to be some historical thing.
So my question is simple.... does anyone around have WORKING template for monitoring qmail with list of all lines needed for snmpd.conf ?
Or do i have to be an snmp guru to get a clue, where to obtain all those lovely OIDs to get data out of snmp and not just SMTPd concurency ?
thanks for any advice
i found several templates here, most of them are not working anymore.
Some of them still sugges usa of exec , wihle it has been replaced.
Other templates contain mibs instead of OIDs... didnt exactly got, why do we have templates with mibs, while Cacti use OIDs... has to be some historical thing.
So my question is simple.... does anyone around have WORKING template for monitoring qmail with list of all lines needed for snmpd.conf ?
Or do i have to be an snmp guru to get a clue, where to obtain all those lovely OIDs to get data out of snmp and not just SMTPd concurency ?
thanks for any advice
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
exec might be deprecated, but it still works. I'm still using the qmail templates I posted OK.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yes. I still use the 'extend'-based templates I made a few years ago. I have never used LWQ for an install, so I know it works otherwise. You just need to point the scripts at your log files as appropriate.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
I've followed Howie's instructions - I'm getting Cacti graphs, but with no data!
What can I do next to troubleshoot?
My questions are:
1) I've installed qmailmrtg7 by doing a make and then a make install, no errors. Am I supposed to setup a cron job after?
2) I've made sure the paths are correct in my snmpd.conf, but I'm not sure what else I need to do?
3) The directories didn't exist for dnscache-stats, so I just created them, created the shell script, is there anything further I need to do here?
Here's my snmpd.conf - I put the following lines under Access Control in my snmpd.conf:
HELP![/code]
What can I do next to troubleshoot?
My questions are:
1) I've installed qmailmrtg7 by doing a make and then a make install, no errors. Am I supposed to setup a cron job after?
2) I've made sure the paths are correct in my snmpd.conf, but I'm not sure what else I need to do?
3) The directories didn't exist for dnscache-stats, so I just created them, created the shell script, is there anything further I need to do here?
Here's my snmpd.conf - I put the following lines under Access Control in my snmpd.conf:
Code: Select all
extend qmail-message-status /usr/local/bin/qmailmrtg7 s /var/log/send
extend qmail-bytes-transfer /usr/local/bin/qmailmrtg7 b /var/log/send
extend qmail-smtp-concurrency /usr/local/bin/qmailmrtg7 t /var/log/smtpd
extend qmail-smtp-sessions /usr/local/bin/qmailmrtg7 a /var/log/smtpd
extend qmail-pop3-concurrency /usr/local/bin/qmailmrtg7 t /var/log/pop3d
extend qmail-pop3-sessions /usr/local/bin/qmailmrtg7 a /var/log/pop3d
extend qmail-queue /usr/local/bin/qmailmrtg7 q /var/qmail/queue
extend qmail-messages /usr/local/bin/qmailmrtg7 m /var/log/send
extend qmail-concurrency /usr/local/bin/qmailmrtg7 c /var/log/send
extend qmail-virus /usr/local/bin/qmailmrtg7 C /var/log/clamd
extend qmail-spam /usr/local/bin/qmailmrtg7 S /var/log/spamd
extend dnscache /usr/local/bin/dnscache-stats
Who is online
Users browsing this forum: No registered users and 3 guests