execute command works on cli but not in web
Posted: Fri Feb 28, 2020 9:17 am
Hi
I was wondering why I get a result in the cli but not in the browser
/usr/local/nagios/libexec/check_ssh_fortigate_env.pl -H x.x.x.x-u username -p password
OK : Hardware NORMAL , see details
and in the webinterface is says
could not get result of 'execute sensor list' command
so it is running the script and looks like to the correct ip and user and password
I was wondering why I get a result in the cli but not in the browser
/usr/local/nagios/libexec/check_ssh_fortigate_env.pl -H x.x.x.x-u username -p password
OK : Hardware NORMAL , see details
and in the webinterface is says
could not get result of 'execute sensor list' command
so it is running the script and looks like to the correct ip and user and password