I have attached a text document that includes the configuration of the 3 interfaces, and also a copy of the output from poller when I run it on this host. I know that the response is bigger than 20 characters so I am going to try with no regex configured to see if that works better.

-Christian



>If you haven't configured the TCP Port checking regexp, it will only be >"valid" when the response is bigger than I think 20 characters. I would >like to see the output of the poller for that interface. Javier

>Christian R. Talsness wrote:

>> I have my JFFNMS monitoring 3 devices that are behind a router doing NAT
>> by forwarding a public port to their web interfaces.  Every other time
>> the poller runs it tells me that the content is invalid.  Before I
>> started monitoring the content on the ports they would periodically
>> report back that the port is closed, but it wasn't this consistent. When
>> I run the poller manually from the command line, it seems to pass every
>> time, but when JFFNMS runs it automatically it fails ever other time. I
>> have tried adjusting the time span between times these interfaces are
>> polled, but it makes no difference.  Has anyone seen behavior like this
>> before or have an explanation as to why this is happening?
Interface Configurations:
75      HostName        Port 60011      60011   http            
http://uname:[EMAIL PROTECTED]:60011  [\n.]*DOCTYPE HTML PUBLIC[\n.]*
76      HostName        Port 60012      60012   http            
http://uname:[EMAIL PROTECTED]:60012    [\n.]*DOCTYPE HTML PUBLIC[\n.]*
77      HostName        Port 60013      60013   http            
http://uname:[EMAIL PROTECTED]:60013    [\n.]*DOCTYPE HTML PUBLIC[\n.]*



Output from poller

watchtower:/opt/jffnms/engine$ php poller.php 15 2> /dev/null
09:27:27  :  H  15 : Poller Start : 51 Items.
09:27:27  :  H  15 :  I  16 :  P   1 : reachability_start:ping(): 43cbbb5f22a19 
-> buffer(): 1 (time P:9.12 | 0.31)
^A09:27:30  :  H  15 :  I  75 :  P  10 : tcp_status,tcp_content,conn_delay(): 
open||0.1377 -> multi_buffer(): 3 (time P:3139.56 | 0.33)
09:27:33  :  H  15 :  I  76 :  P  10 : tcp_status,tcp_content,conn_delay(): 
open||0.2868 -> multi_buffer(): 5 (time P:3287.73 | 0.15)
09:27:36  :  H  15 :  I  77 :  P  10 : tcp_status,tcp_content,conn_delay(): 
open||0.10231 -> multi_buffer(): 7 (time P:3104.1 | 0.16)
09:27:39  :  H  15 :  I  78 :  P  10 : tcp_status,tcp_content,conn_delay(): 
open||0.14188 -> multi_buffer(): 9 (time P:3143.06 | 0.16)
09:27:45  :  H  15 :  I  79 :  P  10 : verify_interface_number(): 2 -> 
verify_interface_number(): interfacenumber not changed (time P:5222.64 | 1.12)
09:27:45  :  H  15 :  I  75 :  P  15 : tcp_status,tcp_content(): open -> 
alarm(22): Nothing was done (time P:0.25 | 0.74)
09:27:45  :  H  15 :  I  76 :  P  15 : tcp_status,tcp_content(): open -> 
alarm(22): Nothing was done (time P:0.09 | 0.32)
09:27:45  :  H  15 :  I  77 :  P  15 : tcp_status,tcp_content(): open -> 
alarm(22): Nothing was done (time P:0.07 | 0.29)
09:27:45  :  H  15 :  I  78 :  P  15 : tcp_status,tcp_content(): open -> 
alarm(22): Nothing was done (time P:0.07 | 0.31)
09:27:45  :  H  15 :  I  79 :  P  15 : 
cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 10 (time P:0.65 
| 0.1)
09:27:55  :  H  15 :  I  79 :  P  16 : interface_oper_status(8): up -> 
alarm(3,,180): Nothing was done (time P:10602.06 | 0.46)
09:28:06  :  H  15 :  I  79 :  P  17 : interface_admin_status(7): up -> 
db(show_rootmap,down=2|up=1,0): 0 (time P:10436.57 | 0.38)
09:28:12  :  H  15 :  I  75 :  P  20 : tcp_connection_number:tcp_conn_number(): 
0 -> buffer(): 11 (time P:6296.91 | 0.15)
09:28:12  :  H  15 :  I  76 :  P  20 : tcp_connection_number:tcp_conn_number(): 
0 -> buffer(): 12 (time P:0.09 | 0.08)
09:28:12  :  H  15 :  I  77 :  P  20 : tcp_connection_number:tcp_conn_number(): 
0 -> buffer(): 13 (time P:0.09 | 0.08)
09:28:12  :  H  15 :  I  78 :  P  20 : tcp_connection_number:tcp_conn_number(): 
0 -> buffer(): 14 (time P:0.09 | 0.08)
09:28:22  :  H  15 :  I  79 :  P  20 : snmp_counter:input(.1.3..6.2):  -> 
buffer(): 15 (time P:10489.6 | 0.16)
09:28:33  :  H  15 :  I  79 :  P  25 : snmp_counter:inpackets(.1.3..7.2):  -> 
buffer(): 16 (time P:10487.92 | 0.16)
REGEXP: /[\n.]*DOCTYPE HTML PUBLIC[\n.]*/i
DATA:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<META NAME="Copyright" CONTENT="Copyright (c) 2004 3Com Corporation. All Rights 
Reserved.">
<meta name="description" content="UI Version 2037">


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
<title>Setup</title>


<script language="javascript" type="text/javascript">
function loadnext() {
var showit=(document.layers)?"show":"block";
var hideit=(document.layers)?"hide":"none";
var el = "alltext";
if (document.all)
        document.all(el).style.display = hideit ;
else if (document.getElementById)
        document.getElementById(el).style.display = hideit ;
else if (document.layers)
        document.layers[el].visibility = hideit ;
location.href="home.htm";
}</script>
</head>
<body bgcolor="#ffffff" text="#666666" onload="loadnext()">
<div ID="alltext" 
STYLE="position:absolute;left:50px;top:100px;font-family:Arial,Helvetica">
<h4>Checking JavaScript Support</h4>
<p>To provide an enhanced user interface, this Router uses JavaScript 
extensively.
<P>If this page is not quickly replaced, your Browser does NOT support 
JavaScript.
<P>Please enable JavaScript in your Browser, or use a different Browser.</p>
</div>

</body>
</html>

array(1) {
  [0]=>
  string(19) "DOCTYPE HTML PUBLIC"
}
09:28:33  :  H  15 :  I  75 :  P  30 : tcp_content_analisis(tcp_..ent): 
valid|Setup



function loadnext() {
var  -> alarm(39): Nothing was done (time P:451.99 | 0.67)
REGEXP: /[\n.]*DOCTYPE HTML PUBLIC[\n.]*/i
DATA:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<META NAME="Copyright" CONTENT="Copyright (c) 2004 3Com Corporation. All Rights 
Reserved.">
<meta name="description" content="UI Version 2037">


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
<title>Setup</title>


<script language="javascript" type="text/javascript">
function loadnext() {
var showit=(document.layers)?"show":"block";
var hideit=(document.layers)?"hide":"none";
var el = "alltext";
if (document.all)
        document.all(el).style.display = hideit ;
else if (document.getElementById)
        document.getElementById(el).style.display = hideit ;
else if (document.layers)
        document.layers[el].visibility = hideit ;
location.href="home.htm";
}</script>
</head>
<body bgcolor="#ffffff" text="#666666" onload="loadnext()">
<div ID="alltext" 
STYLE="position:absolute;left:50px;top:100px;font-family:Arial,Helvetica">
<h4>Checking JavaScript Support</h4>
<p>To provide an enhanced user interface, this Router uses JavaScript 
extensively.
<P>If this page is not quickly replaced, your Browser does NOT support 
JavaScript.
<P>Please enable JavaScript in your Browser, or use a different Browser.</p>
</div>

</body>
</html>

array(1) {
  [0]=>
  string(19) "DOCTYPE HTML PUBLIC"
}
09:28:34  :  H  15 :  I  76 :  P  30 : tcp_content_analisis(tcp_..ent): 
valid|Setup



function loadnext() {
var  -> alarm(39): Nothing was done (time P:466.87 | 0.49)
REGEXP: /[\n.]*DOCTYPE HTML PUBLIC[\n.]*/i
DATA:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<META NAME="Copyright" CONTENT="Copyright (c) 2004 3Com Corporation. All Rights 
Reserved.">
<meta name="description" content="UI Version 2037">


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
<title>Setup</title>


<script language="javascript" type="text/javascript">
function loadnext() {
var showit=(document.layers)?"show":"block";
var hideit=(document.layers)?"hide":"none";
var el = "alltext";
if (document.all)
        document.all(el).style.display = hideit ;
else if (document.getElementById)
        document.getElementById(el).style.display = hideit ;
else if (document.layers)
        document.layers[el].visibility = hideit ;
location.href="home.htm";
}</script>
</head>
<body bgcolor="#ffffff" text="#666666" onload="loadnext()">
<div ID="alltext" 
STYLE="position:absolute;left:50px;top:100px;font-family:Arial,Helvetica">
<h4>Checking JavaScript Support</h4>
<p>To provide an enhanced user interface, this Router uses JavaScript 
extensively.
<P>If this page is not quickly replaced, your Browser does NOT support 
JavaScript.
<P>Please enable JavaScript in your Browser, or use a different Browser.</p>
</div>

</body>
</html>

array(1) {
  [0]=>
  string(19) "DOCTYPE HTML PUBLIC"
}
09:28:34  :  H  15 :  I  77 :  P  30 : tcp_content_analisis(tcp_..ent): 
valid|Setup



function loadnext() {
var  -> alarm(39): Nothing was done (time P:509.49 | 0.67)
09:28:35  :  H  15 :  I  78 :  P  30 : tcp_content_analisis(tcp_..ent): 
valid|3Com Web Management Interface -> alarm(39): Nothing was done (time 
P:827.43 | 0.5)
09:28:46  :  H  15 :  I  79 :  P  30 : snmp_counter:output(.1.3..0.2):  -> 
buffer(): 22 (time P:10583.14 | 0.16)
09:28:56  :  H  15 :  I  79 :  P  35 : snmp_counter:outpackets(.1.3..1.2):  -> 
buffer(): 23 (time P:10518.12 | 0.17)
09:29:01  :  H  15 :  I  79 :  P  40 : snmp_counter:outputerrors(.1.3..0.2): 0 
-> buffer(): 24 (time P:5258.65 | 0.16)
09:29:07  :  H  15 :  I  79 :  P  45 : snmp_counter:inputerrors(.1.3..4.2): 0 
-> buffer(): 25 (time P:5297.76 | 0.16)
09:29:12  :  H  15 :  I  79 :  P  46 : snmp_counter:drops(.1.3..9.2): 0 -> 
buffer(): 26 (time P:5234.8 | 0.17)
09:29:12  :  H  15 :  I  79 :  P  47 : db:bandwidthin(band..tes): 1250000 -> 
buffer(): 27 (time P:0.21 | 0.1)
09:29:12  :  H  15 :  I  79 :  P  48 : db:bandwidthout(band..tes): 1250000 -> 
buffer(): 28 (time P:0.05 | 0.09)
09:29:12  :  H  15 :  I  79 :  P  50 : cisco_snmp_ping_wait(): -1 -> 
no_backend(): 0 (time P:0.24 | 0.09)
09:29:12  :  H  15 :  I  79 :  P  55 : cisco_snmp_ping_get_pl:packetloss(): 0 
-> buffer(): 29 (time P:0.18 | 0.09)
09:29:12  :  H  15 :  I  75 :  P  60 : no_poller(): 0 -> rrd(*): 
tcp_conn_number:0 - conn_delay:0.1377 (time P:0.09 | 19.03)
09:29:12  :  H  15 :  I  76 :  P  60 : no_poller(): 0 -> rrd(*): 
tcp_conn_number:0 - conn_delay:0.2868 (time P:0.08 | 9.46)
09:29:12  :  H  15 :  I  77 :  P  60 : no_poller(): 0 -> rrd(*): 
tcp_conn_number:0 - conn_delay:0.10231 (time P:0.07 | 10.55)
09:29:12  :  H  15 :  I  78 :  P  60 : no_poller(): 0 -> rrd(*): 
tcp_conn_number:0 - conn_delay:0.14188 (time P:0.07 | 9.58)
09:29:12  :  H  15 :  I  79 :  P  60 : cisco_snmp_ping_get_rtt:rtt(): 0 -> 
buffer(): 30 (time P:0.27 | 0.11)
09:29:12  :  H  15 :  I  79 :  P  65 : cisco_snmp_ping_end(): -1 -> 
no_backend(): 0 (time P:0.17 | 0.05)
09:29:12  :  H  15 :  I  79 :  P  80 : no_poller(): 0 -> rrd(*): inputerrors:0 
- outputerrors:0 - rtt:0 - packetloss:0 - drops:0 - bandwidthin:1250000 - 
bandwidthout:1250000 (time P:0.08 | 30.47)
09:29:12  :  H  15 :  I  16 :  P 122 : wait(): ok -> no_backend(): 0 (time 
P:0.33 | 0.05)
09:29:12  :  H  15 :  I  16 :  P 123 : reachability_values:rtt(rtt): 135 -> 
buffer(): 31 (time P:0.38 | 0.1)
09:29:12  :  H  15 :  I  16 :  P 124 : reachability_values:packetloss(pl): 1 -> 
buffer(): 32 (time P:0.12 | 0.09)
09:29:12  :  H  15 :  I  16 :  P 125 : status(): reachable|2% Packet Loss -> 
alarm(40): Nothing was done (time P:0.2 | 0.6)
09:29:12  :  H  15 :  I  16 :  P 126 : ping_cleanup(): 1 -> no_backend(): 0 
(time P:0.32 | 0.05)
09:29:12  :  H  15 :  I  16 :  P 127 : no_poller(): 0 -> rrd(*): rtt:135 - 
packetloss:1 (time P:0.04 | 10.61)
09:29:12  :  H  15 :  I  16 :  P LPD : last_poll_date(): 1137425352 -> 
db(last_poll_date): 1 (time P:0.17 | 1.7)
09:29:12  :  H  15 :  I  75 :  P LPD : last_poll_date(): 1137425352 -> 
db(last_poll_date): 1 (time P:0.07 | 2.38)
09:29:12  :  H  15 :  I  76 :  P LPD : last_poll_date(): 1137425352 -> 
db(last_poll_date): 1 (time P:0.07 | 1.93)
09:29:12  :  H  15 :  I  77 :  P LPD : last_poll_date(): 1137425352 -> 
db(last_poll_date): 1 (time P:0.08 | 1.92)
09:29:12  :  H  15 :  I  78 :  P LPD : last_poll_date(): 1137425352 -> 
db(last_poll_date): 1 (time P:0.08 | 1.92)
09:29:12  :  H  15 :  I  79 :  P LPD : last_poll_date(): 1137425352 -> 
db(last_poll_date): 1 (time P:0.09 | 2.35)
09:29:12  :  H  15 : Poller End, Total Time: 105510.29 msec.
watchtower:/opt/jffnms/engine$
begin:vcard
n:Talsness;Christian R.
email;internet:[EMAIL PROTECTED]
tel;work:(218) 353-7798
tel;cell:(248) 842-6673
note:Direct Line: (414) 431-7513
x-mozilla-html:FALSE
url:http://www.wi-figuys.com
version:2.1
end:vcard

Reply via email to