On 06/19/2018 10:23 AM, Albert Shih wrote:Hi everyone, I would like to know what kind of monitoring you perform on a cyrus-imapd. Beside classic (check_imap, check_disk, check_cpu etc...) do you have any special thing to monitor about cyrus-imapd. For example do you launch any check on each database ? How can I check if the replication work fine ? We use the attached PHP plugin in Icinga to monitor the SNMP OIDs provided by Cyrus. I haven't tried this with the newer Prometheus-based system, but it works just fine on 2.5.X systems built with SNMP enabled: Usage: $argv[0] -H <host> -C <community string> -s <service>Warning & critical thresholds are allowed (scalar or range) for all checks. This is primarily a process oriented check script. It's useful to keep an eye on how many of each service's processes are running versus the configured quantity. You may want to take a look at issue 1827 on GitHub in regards to SNMP on Cyrus: https://github.com/cyrusimap/cyrus-imapd/issues/1827 Please note that this plugin relies upon utils.php by Marcel Kühn & Doug Warner: http://doug.warner.fm/nagios-utilsphp-script-for-php-plugins.html Cheers, -nic -- Nic Bernstein nic@xxxxxxxxxxx Onlight Inc. www.onlight.com 6525 W Bluemound Rd., Ste 24 v. 414.272.4477 Milwaukee, Wisconsin 53213-4073 f. 414.290.0335 |
Attachment:
check_cyrus.php
Description: application/php
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus