I have a postfix server, that I have a script placed on that shows status for queues. I have created a user on the machine for use for PRTG, this user can run the check_command without using passwords (sudoers). If I log in to the server via SSH with the user, I can run the script by using sudo /var/prtg/scriptsxml/check_queues.pl and I get the proper result. In PRTG under the host, I've given the username and the password. I've ticked the 'Run the command as another user using 'sudo' (without password)', and below I've marked that it should run as root. The sensor lists the script correctly (I've recreated the sensor just to be sure). But after I've rebooted the mailserver, I get an error shown in PRTG:
|Failed to read paessh command from shell (1). Reason: read_paessh timeout|
Why do I suddenly get this error?
Best regards Kenneth