What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Advance script and Limitmode

Votes:

0

Hi I have a Powershelscript that monitor a SAN system. A portion of the XML output, seen here .:

<result>
<channel>
Unfixed errors in the system
</channel>
<value>
2
</value>
<Down>
1
</Down>
<LimitMinError>1</LimitMinError>
<LimitMode>1</LimitMode>
<LimitErrorMsg>
TEST ERROR besked
</LimitErrorMsg>
</result>

My problem is that I would like to have defined DOWN message when the value is 2 or higher than 0. I have also tried with

<Warning>
         1
</ Warning>

Instead of <Down>, in my script. When set to Warning, then comes the script fine with a warning, but the channel is still green. In PRTG is this channel value shown correctly, like 2.

How can I best define a DOWN message in my script.?

down exexml limits

Created on Oct 29, 2015 11:36:42 PM

Last change on Oct 30, 2015 7:50:18 AM by  Luciano Lingnau [Paessler]



1 Reply

Accepted Answer

Votes:

0

Hello, thank you for your inquiry.

Please note that there is no <down> </down> tag within PRTG. It also seems that you've used <LimitMinError> which defines a lower error limit for the channel. For an upper error limit you must use <LimitMaxError>.

Please take a look into the following post as it describes a similar situation/case.

The complete documentation for Custom Sensors can be found within PRTG under Setup > PRTG API > (Custom Sensors) tab.

Best Regards,

Created on Oct 30, 2015 1:00:34 PM by  Luciano Lingnau [Paessler]




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.