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


Custom EXE/XML Sensor not showing channels

Votes:

0

Your Vote:

Up

Down

I created a new custom xml sensor (powershell script) on our DMZ probe, which gets data from a website. I set the sensor to create the logfile everytime it runs. The log shows the xml as it should look like but the sensor shows "No data since startup". Any ideas?

custom custom-sensor exe-xml no-data-since-startup prtg

Created on Oct 2, 2015 9:18:38 AM by  Florian Schönemann (160) 2



5 Replies

Votes:

0

Your Vote:

Up

Down

Hello Florian,
we appreciate your contact.

Kindly share the output of the script.

You can use the "Code" snipped to better format the result when you paste it here on the KB:

{{{ Your code/text }}}

Best Regards,

Created on Oct 2, 2015 10:34:39 AM by  Luciano Lingnau [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi, my Output looks like this:

<prtg>
  <result>
    <channel>System Status (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Current Incomming Connections: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>1</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Current Outgoing Connections: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>1</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Total Active Recipients: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>24</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Unattempted Recipients: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>21</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Attempted Recipients: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>3</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Active Messages in Work Queue: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Active Destination Objects in Memory: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>270</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Messages Received: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>2298771</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Recipients Received: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>2977415</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Generated Bounce Recipients: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>4187</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Rejected Recipients: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>431514</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Dropped Messages: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Soft Bounce Events: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>167834</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Total CPU: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>3</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>Email Security Appliance CPU: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>Anti-Virus CPU: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>Reporting CPU: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>Quarantine CPU: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>RAM: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>9</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>Disk IO: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>Logging Disk: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>16</value>
    <unit>%</unit>
  </result>
  <result>
    <channel>Days remaining:  (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>62</value>
    <unit>days</unit>
  </result>
  <result>
    <channel>Days remaining:  (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>62</value>
    <unit>days</unit>
  </result>
  <result>
    <channel>Days remaining:  (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>78</value>
    <unit>days</unit>
  </result>
  <result>
    <channel>Days remaining:  (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>62</value>
    <unit>days</unit>
  </result>
  <result>
    <channel>Days remaining:  (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>62</value>
    <unit>days</unit>
  </result>
  <result>
    <channel>DNS Hard Bounces: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>529</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>5XX Hard Bounces: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>4971</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Filter Hard Bounces: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Expired Hard Bounces: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>1191</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Other Hard Bounces: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Delivered Recipients: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>2978846</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Deleted Recipients: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>750</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Global Unsubscribe Hits: (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Not available (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Not available (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Not available (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Not available (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Not available (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
  <result>
    <channel>Not available (bpironport01.bonprix.net)</channel>
    <float>0</float>
    <value>0</value>
    <unit>#</unit>
  </result>
<text>IronPort Status:</text>
</prtg>

Created on Oct 2, 2015 11:29:51 AM by  Florian Schönemann (160) 2



Votes:

0

Your Vote:

Up

Down

Hello Florian,

The output looks fine, I receive a working sensor(In 15.3.19.4028) with that result, but you could encounter issues if:

  • There's additional output after or prior to the <prtg> </prtg>.
  • The script takes too long to run. (There are cmdlets which allow you to measure the execution time)
  • The security context/configuration prevents the script from running correctly within PRTG. (You can check the actual output of the script within PRTG configuring the EXE Result within the Sensor's settings. (The output is stored under C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors) ))

Best Regards,

Created on Oct 5, 2015 6:09:31 AM by  Luciano Lingnau [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hello Luciano,

I updated from 15.3.19.3882 to Version 15.4.20.4346 and readded the Custom EXE/XML sensor and now I get the output in PRTG. I didn't change anything in the script in the meantime.

The EXE Result was correct before the update, there was no additional output prior or after <prtg> </prtg> and the Skript didn't run longer than mit defined timeout.

Thank you for your tips.

Kind regards,

Created on Oct 16, 2015 7:06:19 AM by  Florian Schönemann (160) 2

Last change on Oct 16, 2015 8:35:02 AM by  Luciano Lingnau [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hello Florian,
thank you for your feedback.

That's quite unusual, since you mention that you've performed no change to the script. Please let me know if you encounter any further issues regarding this matter.

Best Regards,

Created on Oct 16, 2015 11:07:37 AM by  Luciano Lingnau [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.