WORK IN PROGRESS
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 at her best: This is Why I'll Never be an Adult. If you like it, buy her book.
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.
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
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
nag run
executablesnag run
commandsnag run
in one or all containers viadocker exec
nag run
on another host viassh
- automatic production of NRPE configuration
- automatic production of Nagios configuration