NRPE Scheduled task error
Posted: Tue Nov 09, 2021 7:37 am
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.
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:
I make a small test of order, and it is there that it blocks:
"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)
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.
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:
I make a small test of order, and it is there that it blocks:
"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)