Hello, I have a simple check set up to check a windows service using nsclient++. It works great. However, I want it to go to a warning state when a service is stopped, not critical: -sh-3.2$ /usr/lib64/nagios/plugins/check_nrpe -H host -t 50 -c checkServiceState -a ShowAll MSSQLSERVER=started CRITICAL: MSSQLSERVER: stopped (critical) -sh-3.2$ echo $? 2
Again, I don't want it to ALWAYS be warning, just not be critical. The end goal is for me to have an email sent, not a page. So I am also rolling around the possibility of messing with the notifications but don't want to over complicate things either. Hopefully I am not overlooking something obvious. Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
