Suppress Notification of UP after UNREACHABLE (FIXED!)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Suppress Notification of UP after UNREACHABLE (FIXED!)

Post by eloyd »

I recommend double quoting everything you pass to a script. Otherwise an unscrupulous person could make their email address something like "; rm -Rf /" and inject some pretty nasty code.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Suppress Notification of UP after UNREACHABLE (FIXED!)

Post by rkennedy »

Thanks @eloyd!

Are we good to mark this thread as resolved @SRSchnell?
Former Nagios Employee
Locked