Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

netmarkjp/nagiosctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

============== nagiosctl

You can control multiple nagios with nagiosctl.

wip

  • nagiosctl list_hostgroup
  • nagiosctl list_host HOSTGROUP
  • nagiosctl save_notification HOSTGROUP [HOST]...
  • nagiosctl restore_notification
  • nagiosctl enable_notification HOSTGROUP [HOST]...
  • nagiosctl disable_notification HOSTGROUP [HOST]...
  • nagiosctl disable_active_check HOSTGROUP HOST [HOST]...

Requirement

  • Server Side
    • Nagios 4.0.7+ (Require JSON CGI)
    • SSH Login
  • Client Side
    • Python 2.7

Install

git clone https://github.com/netmarkjp/nagiosctl
pip install -r requirements.txt

cp config.yml.example config.yml
vim config.yml # edit

Usage

If you use on MacOSX, clear SSH_AUTH_SOCK environment variable.

SSH_AUTH_SOCK= nagiosctl list_hostgroup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages