Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zevilz/NagiosEximStatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NagiosEximStatus

Nagios plugin for check exim4 mails in queue. Supports directly usage and Nagios/Icinga usage.

Options

  • -w (--warning) - Specify warning number of emails in queue (usage: -w <integer> | --warning=<integer>).
  • -c (--critical) - Specify critical number of emails in queue (usage: -c <integer> | --critical=<integer>).

Usage

Put check_eximq.sh to nagios plugins directory (usually /usr/lib*/nagios/plugins). Than make file executable (chmod +x check_eximq.sh).

Directly usage

./check_eximq.sh -w <integer> -c <integer>

Nagios/Icinga usage

Add following check command object to your commands file

object CheckCommand "eximq" {
    import "plugin-check-command"
    command = [ PluginDir + "/check_eximq" ]
    arguments = {
        "-w" = "$eximq_warning$"
        "-c" = "$eximq_critical$"
    }
}

Notice: critical and warning number of mails must be integer and critical number of mails must be greater than warning number of mails.

Changelog

  • 17.01.2018 - 1.0.0 - released

About

Nagios plugin for check exim4 mails in queue.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages