Skip to content

saz/statsd-nagios-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

check_statsd.py

Requirements

  • pynagios==0.1.1

Installation

  1. Install pynagios
    pip install pynagios
  1. Clone statsd-nagios-plugin
    git clone git://github.com/saz/statsd-nagios-plugin.git

Usage

Check if uptime is higher than 60 seconds (critical) and 300 seconds (warning)

python check_statsd.py -H <hostname> -p <port> -w '300:~' -c '60:~'

Check if uptime is lower than 1600000 seconds (critical) and 1300000 seconds (warning)

python check_statsd.py -H <hostname> -p <port> -w '~:1300000' -c '~:1600000'

About

Check statsd with Nagios

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages