Hi,

when a specific port goes down we don't won't it to be displayed in Alarms window if its not down at least for 180Secs. So I changed port "timeout(sec.)" value to 180 but still the sensor displays an error if its down for few seconds. Is this a know issue or am I doing something wrong?


Article Comments

Hello,

as with other sensor - types, the Timeout-value defines how long PRTG shall wait for an answer, regardless of the type of the answer. If however a port is down, which usually is an immediate answer the sensor will go into an error state instantly. This cannot be changed. You can "delay" a notification upon this though for 180 seconds with an accordingly set latency.

best regards.


Sep, 2012 - Permalink

Hi, Actually I changed all our ping sensors' "timeout" value to 180Secs and they work fine. Now when a device goes down (ping down) PRTG displays a warning and after 180secs it displays an error but with ports this is different. Even though I set "timeout" value to 180secs for ports it displays an error after few seconds. Why is it different for ping sensors and ports? I think there is something wrong


Sep, 2012 - Permalink

The timeout does not define how long PRTG waits until a sensor state is changed. That's only a side-effect with Ping sensors, if they do not get a response. But it's different with Port sensors, because when a port is down respectively not open, the answer usually is sent immediate. The timeout setting so is only applying in case the TCP packets of the port check may be delayed or even lost.


Sep, 2012 - Permalink

PTF.PortState

This is possible with Custom Sensor PTF.PortState. The sensor returns the number of seconds a TCP or UDP port is not responding. Using limits you can set the sensor to a Warning or Down state if the port is not responding for more than xx seconds.

Parameters:

-id=  SensorID.
-h=   Host name or IP.
-p=   Port number.
-pt=  Optional, the protocol type to use (TCP or UDP), default = TCP.

As placeholders are supported, a typicall syntax could be:

-id=%sensorid -h=%host -p=80

The sensor can be downloaded from this page.

Regards,


Sep, 2012 - Permalink

Gerard,

Thanks for the reply...but I tried this and it doesn't work..Tried in two different devices but it gives the following error. Any idea?

Response not wellformed: " Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'CustomSensors, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'CustomSensors, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' at .() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Sep, 2012 - Permalink

Hi,

Something went wrong compiling the production version. There is a new version (12.3.2) online now that should work as expected. If you have any more problems, please let me know.

Regards,


Sep, 2012 - Permalink