I am using the ScheduledTask2XML custom sensor to monitor a couple schueduled task within our company network. So far everything is working mostly well.

Though I am not able to monitor a scheduled task that is located on the same computer (win server 2012) that PRTG is running. When I try to do this I get the following error shown inside the PRTG Webinterface:

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

What I don't understand is that I am able to "access" and monitor this exact same scheduled task form another PRTG instance running on my local computer using the exact same parameters and credentials in the following form:

-c="computerName" -t="pathToTask" -u="user" -p="password"

Could anybody give me a hint on what might be causing this, or is monitoring scheduled task that are located on the same machine as PRTG not supported by this custom sensor?

Greetings

Jakub


Article Comments

PRTG Tools Family is separate from Paessler. Your best bet would be to contact their support for more information on how this particular sensor works.


Mar, 2018 - Permalink

Thank you for your reply. As you suggested I contated the PRTG Tools Family support and they were able to help me.

In case anybody else is running into this issue: -c="localhost" should solve it.


Mar, 2018 - Permalink