Check NRPE scheduled task

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.
Locked
Baptist39
Posts: 7
Joined: Fri Jul 09, 2021 6:55 am

Check NRPE scheduled task

Post by Baptist39 »

Hello everyone!

A little problem that is bothering me :)

I want to supervise the execution of a pannified windows task, so I use NRPE, it's the simplest solution I found.
Before creating my command on Nagios XI, I test it directly on the server.

Image

My command works well !
"OK: All tasks are ok|'FTP_CopyfactInfra_exit_code'=0;0;0 'FTP_CopyfactInfra_most_recent_run_time'=1636453698;0;1636370894"

So I switch to Nagios, I create my command the same way:
Image

I make a small test of order, and it is there that it blocks:
Image

"Failed to validate filter see log for details: Filter expression is not valid: title eq \'FTP_CopyfactInfra\'"

However, the syntax is exactly the same as the first one I ran without using the nagios interface?
So I don't understand what's wrong with this "\" character...

If someone has an idea, I'm interested !

Thank !! :)

(Sorry for my english translation)
Baptist39
Posts: 7
Joined: Fri Jul 09, 2021 6:55 am

Re: Check NRPE scheduled task

Post by Baptist39 »

benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Check NRPE scheduled task

Post by benjaminsmith »

Thanks for pointing that out, we'll close this one out.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked