check_smart.pl issue
Posted: Tue Feb 27, 2018 7:54 am
Hello everyone,
at the moment I have a problem by running this smart check plugin. When I run it via shell on the given host it returns the result without an issue (as root).
But when I run it via root cronjob ( I write the cron output into a text file to prepare the output in a selfmade script which is handled via NRPE) I got always
"Unknown: No health status line found"
But I don“t get it why this happens, the script should be executed with the same root rights.
Any ideas?
at the moment I have a problem by running this smart check plugin. When I run it via shell on the given host it returns the result without an issue (as root).
But when I run it via root cronjob ( I write the cron output into a text file to prepare the output in a selfmade script which is handled via NRPE) I got always
"Unknown: No health status line found"
But I don“t get it why this happens, the script should be executed with the same root rights.
Any ideas?