I have a specific service that I would like to report as a warning when stopped, rather than critical. Based on some research, it looked like I was not able to achieve this using check_nt. I'm trying check_nrpe with the following command:
What timezone are you in? I just want to understand this log file better.
You may need to allow nasty_meta_characters in your nsclient.ini. Can you post that for review? If you make the change, make sure you restart NSClient after doing so.
I am US eastern. I believe I've added an exception for nasty_meta_characters. I've upgraded to 0.4.4.23 and I'm receiving the same error. .ini file attached.
You do not have the required permissions to view the files attached to this post.
I made the change to the ini file and restarted the service. I made the adjustment to the check as you indicated but I'm having issues. Do I need to add in an ARG4 and split up the code for ARG3?
You do not have the required permissions to view the files attached to this post.
@moweryd, NRPE has always had problems recognizing quotes within quotes. A quick way around your problem would be to create a new command in CCM. If you define the command as on my screenshot you'd just pass the check name in ARG1 and a service name in ARG2.
example.png
Let me know if you think that would work for you.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.