left header graphic The Network People
Solutions for Hosting Providers
right header graphic

rrdutil home : internet : manage : rrdutil : rrdutil faq monitoring mysql

How do I update to the latest version?

Install rrdutil.pl per the instructions on the rrdutil install page. Use diff to see if there is anything new in rrdutil.conf that you want. That's it.

How do I use it with net-snmp?

Add these entries to your snmpd.conf and restart snmpd:

  • sh WebHits /usr/local/sbin/logmonster "-d -r -q"
  • sh MailDeliv /usr/local/sbin/maillogs "send"
  • sh MailSMTP /usr/local/sbin/maillogs "smtp"
  • sh MailPOP3 /usr/local/sbin/maillogs "pop3"
  • sh MailIMAP /usr/local/sbin/maillogs "imap"
  • sh MailRBL /usr/local/sbin/maillogs "rbl"
  • sh MailWeb /usr/local/sbin/maillogs "webmail"
  • sh MailSpam /usr/local/sbin/maillogs "spamassassin"
  • sh MailQS /usr/local/sbin/maillogs "qmailscanner"
  • sh MysqlType /usr/local/sbin/mysqlstatus.pl "type"
  • sh MysqlQueries /usr/local/sbin/mysqlstatus.pl "queries"

If you don't already have an snmpd.conf installed (/usr/local/share/snmp/snmpd.conf), begin with the example file in the contrib directory of the RRDutil package.

How do I get mail statistics into RRDUtil?

Use Mail::Logs. http://www.tnpi.biz/internet/mail/maillogs/

Mail::Logs acts as a log post processor for multilog and also counts log entries in a syslog style log (ie, /var/log/maillog). Configure your SNMP to run maillogs and it will can spit out numbers suitable for feeding into RRDUtil. :)

I can't get it to work. Will you help?

It can be a lot of work to massage your system into spitting out all the right data, storing it, and then getting that data to display in a very practical, understandable, and aesthetically pleasing fashion. I offer the script as a freebie. If you need help setting it up you need to hire me.

What SNMP daemons does it work with?

I can't think of any reason it won't work with any SNMP. However, since I use Net::SNMP, your snmpd must be supported by that Perl module. I have no problems with net-snmp versions 4 and only occasionally have problems with net-snmp 5.

I get a "Template contains more DS definitions than RRD" Error. What do I do?

That error is probably generated by the mail clients RRD. The new template has additional DS records to support the smtp-auth and webmail counters. You have two choices: 1) delete the mail_clients.rrd file or 2) ignore the error. RRDutil should continue to work but you won't get the new counters.

How do I get motherboard info displayed?

First, install xmbmon. On FreeBSD it's located in the ports tree at /usr/ports/sysutils/xmbmon. Read the associated README, running /usr/local/bin/mbmon -d to see if you have supported hardware. If so, then have a look at contrib/mbmonstatus.pl. Run it and see if it outputs values you'd expect. If it works, copy it over to /usr/local/sbin/mbmonstatus.pl, and uncomment the appropriate entries in your rrdutil.conf file.

Here is a sample with motherboard info displayed.

I want to use this to poll my Cisco Routers. Can I?

Not yet. I would like RRDutil to poll routers as well. I use cacti for now. If you were to pay the suggested $75 donation for RRDUtil and then ask me when I planned to have that feature completed, you'd likely get a favorable response. :)


sub-sections
monitoring mysql
monitor pf firewall
monitor a switch
troubleshooting
monitoring Apache

Last modified on 5/20/05.