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


Advance script and Limitmode

Votes:

0

Your Vote:

Up

Down

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 by  henand (0) 1

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



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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 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.