<div dir="ltr"><div>you can use the "negate" plugins:</div><div><br></div><div>for example:</div><div>negate /usr/local/nagios/libexec/check_ping -H host</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div><br><br>Atte.<br></div><div dir="ltr"><br><table height="141" width="614"><tbody><tr><td><a href="http://www.e-visus.cl" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/iconoevisus-01-150x150.jpg" alt="Imprimir" height="90" width="90"></a><br></td><td><a href="http://www.e-visus.cl/wp-content/uploads/l1.gif" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/l1.gif" alt="l" height="126" width="2"></a><br></td><td><address>Pablo A. Muñoz Rojas</address><address><span style="font-size:small">Reseller</span><span style="font-size:small"> </span>Nagios & <a href="http://www.nagios.org/communitynetwork" target="_blank">Nagios Community Manager</a></address><address>P: +56-32-3140734 | C: +56-9-85499668</address><address>w: <a href="http://www.e-visus.cl" target="_blank">www.e-visus.cl</a> – <a href="http://www.nagios-cl.org" target="_blank">www.nagios-cl.org</a> | d: José Fco Vergara 44, Viña del Mar, Chile</address><address><span lang="EN-US"><a href="http://www.nagios.com/verify/" target="_blank">Nagios Certified Administrator and Professional - 3HCL9F</a></span><br></address><address> </address><address><a href="http://www.e-visus.cl/?p=241" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/talk_ico-e1417544646216.jpg" alt="talk_ico" height="20" width="20"></a> <a href="http://www.e-visus.cl/?p=241" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/skype_logo.jpg" alt="skype_logo" height="20" width="20"></a> <a href="https://twitter.com/Nagios_Chile" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/twitter.jpg" alt="twitter" height="20" width="20"></a> <a href="https://www.facebook.com/evisus4nagios" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/f1-e1417547618430.png" alt="f" height="20" width="20"></a> <a href="http://www.e-visus.cl/?p=241" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/line_ico-e1417549362830.png" alt="line_ico" height="20" width="20"></a> <a href="https://cl.linkedin.com/in/pablomunozrojas/" target="_blank"><img src="http://www.e-visus.cl/wp-content/uploads/linkedin_ico-e1417549489266.png" alt="linkedin_ico" height="20" width="20"></a></address></td></tr></tbody></table><br><img src="http://www.e-visus.cl/wp-content/uploads/Nagios-Certified-Professional.png" height="96" width="96"> <img src="http://www.e-visus.cl/wp-content/uploads/NagiosAuthorizedReseller-422x421.png" height="95" width="96"><br><br></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2015-05-11 17:05 GMT-03:00 Brent Wegmann <span dir="ltr"><<a href="mailto:BWegmann@mvec.com" target="_blank">BWegmann@mvec.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal">I’m using check_nt!PROCSTATE!-d SHOWALL -l process.exe to alert me if a process is down.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I want to do the opposite. Get at status of Critical or warning when a specific process <b>is running </b>and status of ok when process is missing or service is not running… Can check_nt!SERVICESTATE do this too?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks in advance,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-family:"MV Boli";color:#365f91">Brent Wegmann</span><span style="font-size:9.0pt;font-family:"Californian FB","serif";color:#595959"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Californian FB","serif";color:#595959">Director of Information Technology<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Californian FB","serif";color:#595959">Maquoketa Valley REC <u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote></div><br></div></div>