Skip to content

garthk/nag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nag

WORK IN PROGRESS

build status on master

Nag yourself to fix anything broken, by running Nagios plugins for you:

go install github.com/garthk/nag
nag list
nag run

You'll love it so much, you'll run it every time you open a terminal:

echo "$(which nag) check" >> ~/.profile

Or, you'll just leave it running:

watch nag check

CHECK ALL THE THINGS!

Allie Brosh preparing for her new life as an adult

Allie Brosh at her best: This is Why I'll Never be an Adult. If you like it, buy her book.

Demo

Try Nag out in Docker:

  • docker run -t -i ubuntu:trusty bash
  • apt-get update
  • apt-get install nagios-nrpe-server
  • Ok, you got me. I need to get Travis working with GitHub releases first.

If you prefer precise, apt-get install dialog nagios-nrpe-server to avoid spam during installation.

Audience

I designed Nag for:

  • Operators who need to know if they fixed it now, not when Nagios next decides to poll

  • Anyone developing or maintaining Nagios plugins, especially if they are learning Nagios

Why the name?

nag, v: harrass someone to do something

Think of your operators as frustrated Parent Shaped Objects trying to get you through your morning routine:

  • /usr/local/lib/nagios/plugins/check_brushed_teeth
  • /usr/local/lib/nagios/plugins/check_cleaned_shoes
  • /usr/local/lib/nagios/plugins/check_made_bed
  • /usr/local/lib/nagios/plugins/check_put_away_toys

Besides, Ubuntu's automatic package finder couldn't find anything:

No command 'nag' found, did you mean:
... 8 items, none called nag ...
nag: command not found

Roadmap

  • nag run executables
  • nag run commands
  • nag run in one or all containers via docker exec
  • nag run on another host via ssh
  • automatic production of NRPE configuration
  • automatic production of Nagios configuration

About

Run Nagios plugins easily so you can CHECK ALL THE THINGS!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published