New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

Free PRTG
Download >>

 

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

 

Top Tags


View all Tags


Can the customer sensor (exe) be a UI application?

Votes:

0

Your Vote:

Up

Down

We have created an java/chromedriver based application that tests logging in to a website and performs some tests and returns success or failure.

Can this application be used as a customer sensor if we were to use PRTG?

Thank you. Antony

custom-exe custom-script-exe custom-sensor

Created on May 12, 2017 5:18:22 PM by  AntonyAA1 (0) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

Hey Antony,

It depends on your application. The returned data for standard EXE/Script sensors must be in the following format:

value:message

Value has to be a 64-bit integer or float. It will be used as the resulting value for this sensor (for example, bytes, milliseconds) and stored in the database. The message can be any string (maximum length: 2000 characters).

The exit code of the EXE has to be one of the following values:

ValueDescription
0OK
1WARNING
2System Error (e.g. a network/socket error)
3Protocol Error (e.g. web server returns a 404)
4Content Error (e.g. a web page does not contain a required word)

If your application follows this format for the return values, you should be able to run it with PRTG.

Best regards,
Sven

Created on May 15, 2017 10:43:11 AM by  Sven Roggenhofer [Paessler Technical Support]



Votes:

0

Your Vote:

Up

Down

Thanks....

In our test, we have created a Java application which in turn starts chromedriver.exe. This works fine when started from the command line.

However, when the Java application is started from PRTG, chromedriver.exe does not seem to start.

Any insights?

Thanks, Antony

Created on May 15, 2017 1:12:27 PM by  AntonyAA1 (0) 1



Votes:

0

Your Vote:

Up

Down

Hey Antony,

Kindly open a new support ticket (using the ticket number PAE868648) and send us the log files of the sensor.

To do so, please head to the settings of your sensor and activate the "Write EXE result to disk" option. Afterwards, please forward us the log files (Result of Sensor XXX.Data.txt and Result of Sensor XXX.txt) located on the corresponding probe under C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors).

Thank you very much in advance.

Kind regards,
Sven

Created on May 16, 2017 8:42:54 AM by  Sven Roggenhofer [Paessler Technical 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.