author | Alessandro Iurlano <alessandro.iurlano@gmail.com> | |
Wed, 2 Jul 2008 12:23:46 +0000 (14:23 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 2 Jul 2008 12:23:46 +0000 (14:23 +0200) | ||
commit | 6337579783cb9c96f5ccb647b53decf4f1ba4f6e | |
tree | 89cbb852a1056375179ac85fc60049b6b40da78b | tree | snapshot |
parent | 33fc797e4095b55a815cc2fa755f384204583dd5 | commit | diff |
qmail plugin: Added a plugin to count messages in qmail queues.
Hello.
Here is my first collectd plugin.
It shows the two values of qmail queues, messages and todo.
The latter should be zero in normal cases. I included it because it
may help diagnose problems.
Maybe a config parameter could be added for it.
It supports a parameter for the Qmail base directory:
<Plugin qmail_queue>
QmailDir "/var/qmail"
</Plugin>
Feel free to modify it if you need.
Alessandro
Hello.
Here is my first collectd plugin.
It shows the two values of qmail queues, messages and todo.
The latter should be zero in normal cases. I included it because it
may help diagnose problems.
Maybe a config parameter could be added for it.
It supports a parameter for the Qmail base directory:
<Plugin qmail_queue>
QmailDir "/var/qmail"
</Plugin>
Feel free to modify it if you need.
Alessandro
src/qmail.c | [new file with mode: 0644] | blob |