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

eigenes VBScript | Fehler erzeugen

Votes:

0

Hallo Leute,

gibt es die Möglichkeit, per VBScript im Paessler einen Fehler zu erzeugen OHNE das in der Konsole "Systemfehler: TEXT (Code: PE022)" steht?

Gerade das "Code: PE022" gefällt mir nicht.

Bei Warning ist alles schön.

So wie ich das unten sehen, geht es leider nicht:

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

Mein Script:

Select Case Status Case "Normal" wscript.echo ArrayCount & ": " & Name & " Status: " & Status wscript.quit("0") Case "Rebuild" wscript.echo ArrayCount & ": " & Name & " Status: " & Status wscript.quit("1")

Case "Degraded" wscript.echo ArrayCount & ": " & Name & " Status: " & Status wscript.quit("2") End Select

code return vbscript

Created on Dec 17, 2013 2:48:18 PM



1 Reply

Votes:

0

Nein, das ist leider nicht möglich. Sorry.

Created on Dec 19, 2013 11:39:48 AM by  Patrick Hutter [Paessler Support] (7,225) 3 3




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.