I’ve recently installed jffnms .082 and I’m running into the following problems:

 

I added a host (a Cisco 2500 router) and its interfaces.  However the polling doesn’t seem to be working properly.  When I pull the Ethernet cable from the router, I won’t get events unless I manually run ‘php –q /opt/jffnms/engine/polling.php’.  Then I get red events but the host and interfaces in the map section stay green.

 

Also, the ‘last polled date’ field on the interfaces screen shows from many hours before now (not sure what happened to make it update).

 

It seems like 1) the cron polling is not working (I’ve imported in the /opt/jffnms/docs/unix/crontab file into jffnms’s crontab file) and 2) when I do run it manually (btw, I am doing an ‘su jffnms’ and executing polling.php to simulate cron job), the screens don’t reflect things properly.

 

Here’s the output from the manual running of the polling.php file:

 

Executing: /wwwroot/php/bin/php -q poller.php 2 0 1 0 0 &

22:58:04  :  H   2 : Poller Start : 82 Items.

22:58:04  :  H   2 :  I   4 :  P   1 : reachability_start:ping(): 42e6f83c56dcb -> buffer(): 1 (time P:156.94 | 1.43)

Executing: /wwwroot/php/bin/php -q poller.php 3 0 1 0 0 &

22:58:07  :  H   3 : Poller Start : 0 Items.

22:58:07  :  H   3 : Poller End, Total Time: 28.75 msec.

22:58:07  :  H   2 :  I   2 :  P  10 : tcp_status,tcp_content,conn_delay(): open|ÿûÿûÿýÿý|0.0046 -> multi_buffer(): 4 (time P:3008.03 | 1.24)

[EMAIL PROTECTED] engine]# 22:58:10  :  H   2 :  I   3 :  P  10 : tcp_status,tcp_content,conn_delay(): open||0.00466 -> multi_buffer(): 6 (time P:3006.89 | 0.54)

22:58:10  :  H   2 :  I   5 :  P  10 : verify_interface_number(): 1 -> verify_interface_number(): interfacenumber not changed (time P:19.89 | 4.44)

22:58:10  :  H   2 :  I   6 :  P  10 : verify_interface_number(): 2 -> verify_interface_number(): interfacenumber not changed (time P:16.68 | 3.53)

22:58:10  :  H   2 :  I   7 :  P  10 : verify_interface_number(): 3 -> verify_interface_number(): interfacenumber not changed (time P:146.98 | 3.73)

22:58:10  :  H   2 :  I   8 :  P  10 : snmp_counter:cpu(.1.3..5.1):  -> buffer(): 7 (time P:30.66 | 0.43)

22:58:10  :  H   2 :  I   2 :  P  15 : tcp_status,tcp_content(): open|ÿûÿûÿýÿý -> alarm(22): Nothing was done (time P:0.89 | 5.14)

22:58:10  :  H   2 :  I   3 :  P  15 : tcp_status,tcp_content(): open -> alarm(22): Nothing was done (time P:0.35 | 2.83)

22:58:10  :  H   2 :  I   5 :  P  15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): 2 -> buffer(): 8 (time P:157.83 | 0.52)

22:58:11  :  H   2 :  I   6 :  P  15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): 2 -> buffer(): 9 (time P:159.47 | 0.55)

22:58:11  :  H   2 :  I   7 :  P  15 : cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 10 (time P:1.79 | 0.42)

22:58:11  :  H   2 :  I   8 :  P  15 : snmp_counter:tcp_established(.1.3..9.0): 1 -> buffer(): 11 (time P:16.39 | 0.41)

22:58:11  :  H   2 :  I   5 :  P  16 : interface_oper_status(8): up -> alarm(3,,180): Nothing was done (time P:33.25 | 3.2)

22:58:11  :  H   2 :  I   5 :  P  17 : interface_admin_status(7): up -> db(show_rootmap,down=2|up=1,0): 0 (time P:33 | 1.59)

22:58:11  :  H   2 :  I   2 :  P  20 : tcp_connection_number:tcp_conn_number(): 1 -> buffer(): 12 (time P:50.08 | 0.5)

22:58:11  :  H   2 :  I   3 :  P  20 : tcp_connection_number:tcp_conn_number(): 0 -> buffer(): 13 (time P:0.38 | 0.51)

22:58:11  :  H   2 :  I   5 :  P  20 : snmp_counter:input(.1.3..6.1): 2744838 -> buffer(): 14 (time P:16.33 | 0.46)

22:58:11  :  H   2 :  I   6 :  P  20 : snmp_counter:input(.1.3..6.2): 0 -> buffer(): 15 (time P:16.59 | 0.46)

22:58:11  :  H   2 :  I   7 :  P  20 : snmp_counter:input(.1.3..6.3): 0 -> buffer(): 16 (time P:16.24 | 0.46)

22:58:11  :  H   2 :  I   8 :  P  20 : snmp_counter:mem_used(.1.3..5.1): 765592 -> buffer(): 17 (time P:119.69 | 0.44)

22:58:11  :  H   2 :  I   5 :  P  25 : snmp_counter:inpackets(.1.3..7.1): 4349 -> buffer(): 18 (time P:16.61 | 0.6)

22:58:11  :  H   2 :  I   6 :  P  25 : snmp_counter:inpackets(.1.3..7.2): 0 -> buffer(): 19 (time P:16.47 | 0.5)

22:58:11  :  H   2 :  I   7 :  P  25 : snmp_counter:inpackets(.1.3..7.3): 0 -> buffer(): 20 (time P:16.36 | 0.44)

22:58:11  :  H   2 :  I   8 :  P  25 : snmp_counter:tcp_active(.1.3..5.0): 0 -> buffer(): 21 (time P:18.12 | 0.46)

22:58:11  :  H   2 :  I   2 :  P  30 : tcp_content_analisis(tcp_..ent): valid|Not Checked -> alarm(39): Nothing was done (time P:2.07 | 3.34)

22:58:11  :  H   2 :  I   3 :  P  30 : tcp_content_analisis(tcp_..ent): valid|Not Checked -> alarm(39): Nothing was done (time P:0.3 | 3)

22:58:11  :  H   2 :  I   5 :  P  30 : snmp_counter:output(.1.3..0.1): 8349425 -> buffer(): 22 (time P:16.5 | 0.49)

22:58:11  :  H   2 :  I   6 :  P  30 : snmp_counter:output(.1.3..0.2): 0 -> buffer(): 23 (time P:16.32 | 0.48)

22:58:11  :  H   2 :  I   7 :  P  30 : snmp_counter:output(.1.3..0.3): 0 -> buffer(): 24 (time P:16.15 | 0.44)

22:58:11  :  H   2 :  I   8 :  P  30 : snmp_counter:mem_free(.1.3..6.1): 987872 -> buffer(): 25 (time P:119.4 | 0.43)

22:58:11  :  H   2 :  I   5 :  P  35 : snmp_counter:outpackets(.1.3..1.1): 76428 -> buffer(): 26 (time P:16.65 | 0.48)

22:58:11  :  H   2 :  I   6 :  P  35 : snmp_counter:outpackets(.1.3..1.2): 0 -> buffer(): 27 (time P:16.57 | 0.48)

22:58:11  :  H   2 :  I   7 :  P  35 : snmp_counter:outpackets(.1.3..1.3): 0 -> buffer(): 28 (time P:16.35 | 0.48)

22:58:11  :  H   2 :  I   8 :  P  35 : snmp_counter:tcp_passive(.1.3..6.0): 26 -> buffer(): 29 (time P:16.09 | 0.47)

22:58:11  :  H   2 :  I   5 :  P  40 : snmp_counter:outputerrors(.1.3..0.1): 0 -> buffer(): 30 (time P:16.16 | 0.45)

22:58:11  :  H   2 :  I   6 :  P  40 : snmp_counter:outputerrors(.1.3..0.2): 0 -> buffer(): 31 (time P:17.05 | 0.46)

22:58:11  :  H   2 :  I   7 :  P  40 : snmp_counter:outputerrors(.1.3..0.3): 0 -> buffer(): 32 (time P:16.31 | 0.46)

22:58:11  :  H   2 :  I   8 :  P  40 : acct_bytes,acct_packets(): 0,0 -> multi_buffer(): 34 (time P:63.57 | 0.49)

22:58:11  :  H   2 :  I   5 :  P  45 : snmp_counter:inputerrors(.1.3..4.1): 1 -> buffer(): 35 (time P:16.29 | 0.47)

22:58:11  :  H   2 :  I   6 :  P  45 : snmp_counter:inputerrors(.1.3..4.2): 0 -> buffer(): 36 (time P:16.55 | 0.47)

22:58:11  :  H   2 :  I   7 :  P  45 : snmp_counter:inputerrors(.1.3..4.3): 0 -> buffer(): 37 (time P:16.6 | 0.51)

22:58:11  :  H   2 :  I   5 :  P  46 : snmp_counter:drops(.1.3..9.1): 0 -> buffer(): 38 (time P:16.43 | 0.49)

22:58:11  :  H   2 :  I   6 :  P  46 : snmp_counter:drops(.1.3..9.2): 0 -> buffer(): 39 (time P:18.98 | 0.46)

22:58:11  :  H   2 :  I   7 :  P  46 : snmp_counter:drops(.1.3..9.3): 0 -> buffer(): 40 (time P:16.59 | 0.49)

22:58:11  :  H   2 :  I   5 :  P  47 : db:bandwidthin(band..tes): 1250000 -> buffer(): 41 (time P:0.84 | 0.44)

22:58:11  :  H   2 :  I   6 :  P  47 : db:bandwidthin(band..tes): 193000 -> buffer(): 42 (time P:0.29 | 0.43)

22:58:11  :  H   2 :  I   7 :  P  47 : db:bandwidthin(band..tes): 193000 -> buffer(): 43 (time P:0.29 | 0.44)

22:58:11  :  H   2 :  I   5 :  P  48 : db:bandwidthout(band..tes): 1250000 -> buffer(): 44 (time P:0.29 | 0.42)

22:58:11  :  H   2 :  I   6 :  P  48 : db:bandwidthout(band..tes): 193000 -> buffer(): 45 (time P:0.29 | 0.45)

22:58:11  :  H   2 :  I   7 :  P  48 : db:bandwidthout(band..tes): 193000 -> buffer(): 46 (time P:0.29 | 0.42)

...............................................................................................................................................................................................................................................................................................................................

22:59:37  :  H   2 :  I   5 :  P  50 : cisco_snmp_ping_wait(): -1 -> no_backend(): 0 (time P:85690.41 | 0.88)

.............................................

22:59:49  :  H   2 :  I   6 :  P  50 : cisco_snmp_ping_wait(): 50 -> no_backend(): 0 (time P:12065.1 | 0.38)

22:59:49  :  H   2 :  I   7 :  P  50 : cisco_snmp_ping_wait(): -1 -> no_backend(): 0 (time P:0.43 | 0.28)

22:59:49  :  H   2 :  I   8 :  P  50 : no_poller(): 0 -> rrd(*): mem_used:765592 - mem_free:987872 - tcp_active:0 - tcp_passive:26 - tcp_established:1 (time P:0.79 | 50.05)

22:59:49  :  H   2 :  I   5 :  P  55 : cisco_snmp_ping_get_pl:packetloss(): 50 -> buffer(): 47 (time P:33.77 | 0.57)

22:59:49  :  H   2 :  I   6 :  P  55 : cisco_snmp_ping_get_pl:packetloss(): 50 -> buffer(): 48 (time P:39.61 | 0.63)

22:59:49  :  H   2 :  I   7 :  P  55 : cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 49 (time P:0.43 | 0.45)

22:59:49  :  H   2 :  I   2 :  P  60 : no_poller(): 0 -> rrd(*): tcp_conn_number:1 - conn_delay:0.0046 (time P:0.3 | 28.07)

22:59:49  :  H   2 :  I   3 :  P  60 : no_poller(): 0 -> rrd(*): tcp_conn_number:0 - conn_delay:0.00466 (time P:0.29 | 17.4)

22:59:49  :  H   2 :  I   5 :  P  60 : cisco_snmp_ping_get_rtt:rtt(): 0 -> buffer(): 50 (time P:16.78 | 0.64)

22:59:49  :  H   2 :  I   6 :  P  60 : cisco_snmp_ping_get_rtt:rtt(): 0 -> buffer(): 51 (time P:16.08 | 0.64)

22:59:49  :  H   2 :  I   7 :  P  60 : cisco_snmp_ping_get_rtt:rtt(): 0 -> buffer(): 52 (time P:0.38 | 0.59)

22:59:50  :  H   2 :  I   5 :  P  65 : cisco_snmp_ping_end(): 1 -> no_backend(): 0 (time P:18.11 | 0.44)

22:59:50  :  H   2 :  I   6 :  P  65 : cisco_snmp_ping_end(): 1 -> no_backend(): 0 (time P:17.44 | 0.4)

22:59:50  :  H   2 :  I   7 :  P  65 : cisco_snmp_ping_end(): -1 -> no_backend(): 0 (time P:0.4 | 0.28)

22:59:50  :  H   2 :  I   5 :  P  80 : no_poller(): 0 -> rrd(*): input:2744838 - output:8349425 - inputerrors:1 - outputerrors:0 - rtt:0 - packetloss:50 - inpackets:4349 - outpackets:76428 - drops:0 - bandwidthin:1250000 - bandwidthout:1250000 (time P:0.27 | 58.53)

22:59:50  :  H   2 :  I   6 :  P  80 : no_poller(): 0 -> rrd(*): input:0 - output:0 - inputerrors:0 - outputerrors:0 - rtt:0 - packetloss:50 - inpackets:0 - outpackets:0 - drops:0 - bandwidthin:193000 - bandwidthout:193000 (time P:0.32 | 58.32)

22:59:50  :  H   2 :  I   7 :  P  80 : no_poller(): 0 -> rrd(*): input:0 - output:0 - inputerrors:0 - outputerrors:0 - rtt:0 - packetloss:0 - inpackets:0 - outpackets:0 - drops:0 - bandwidthin:193000 - bandwidthout:193000 (time P:0.29 | 58.33)

22:59:50  :  H   2 :  I   4 :  P 122 : wait(): ok -> no_backend(): 0 (time P:1.59 | 0.3)

22:59:50  :  H   2 :  I   4 :  P 123 : reachability_values:rtt(rtt): 4.72 -> buffer(): 53 (time P:1.78 | 0.76)

22:59:50  :  H   2 :  I   4 :  P 124 : reachability_values:packetloss(pl): 0 -> buffer(): 54 (time P:0.72 | 0.5)

22:59:50  :  H   2 :  I   4 :  P 125 : status(): reachable|0% Packet Loss -> alarm(40): Nothing was done (time P:1.05 | 3.22)

22:59:50  :  H   2 :  I   4 :  P 126 : ping_cleanup(): 1 -> no_backend(): 0 (time P:1.4 | 0.31)

22:59:50  :  H   2 :  I   4 :  P 127 : no_poller(): 0 -> rrd(*): rtt:4.72 - packetloss:0 (time P:0.27 | 18.56)

22:59:50  :  H   2 :  I   4 :  P LPD : last_poll_date(): 1122433190 -> db(last_poll_date): 1 (time P:0.8 | 8.48)

22:59:50  :  H   2 :  I   2 :  P LPD : last_poll_date(): 1122433189 -> db(last_poll_date): 1 (time P:0.29 | 9.55)

22:59:50  :  H   2 :  I   3 :  P LPD : last_poll_date(): 1122433189 -> db(last_poll_date): 1 (time P:0.29 | 7.26)

22:59:50  :  H   2 :  I   5 :  P LPD : last_poll_date(): 1122433190 -> db(last_poll_date): 1 (time P:0.32 | 9.94)

22:59:50  :  H   2 :  I   6 :  P LPD : last_poll_date(): 1122433190 -> db(last_poll_date): 1 (time P:0.3 | 9.83)

22:59:50  :  H   2 :  I   7 :  P LPD : last_poll_date(): 1122433190 -> db(last_poll_date): 1 (time P:0.33 | 9.48)

22:59:50  :  H   2 :  I   8 :  P LPD : last_poll_date(): 1122433189 -> db(last_poll_date): 1 (time P:0.3 | 7.69)

22:59:50  :  H   2 : Poller End, Total Time: 106053.19 msec.

 

 

Thanks for any help provided,

 

Eugene

Reply via email to