What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Setting sensor status for EXE/Script Advanced Sensor

Votes:

0

Your Vote:

Up

Down

I have a script that gets the status of services. Currently, sensor sets value of 0 (UP state) when service is running. How can I set the sensor to Down state if the service is stopped?

custom-sensor exe-script-advanced-sensor exe-script-sensor

Created on Jan 29, 2021 10:03:44 PM by  rkarim (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello there,

You can define the various value for sensor state. Such as "0"=Ok(Up), "1"=Warning, "2"=Error(Down). You could also set a limit as an example, if the sensor receive the value 1 when the service is stopped so you can set a upper limit of 0,1. ​ For more information, I would suggest you to refer to the following manual: https://www.paessler.com/manuals/prtg/custom_sensors


Regards,

Created on Feb 4, 2021 6:46:13 AM by  Himanshu Bhatt [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.