another example

this inteface fails randomly but when i run the poller manualy works ok

10:01:50 CH:12 (13134):  :  H 255 :  I 1482 :  P   1 :
reachability_start:ping(): 53cd0f3d7ed74 -> buffer(): 1 (time P: 3.36 | B:
0.04)
10:01:58 CH:12 (13134):  :  H 255 :  I 1482 :  P 123 :
reachability_values:rtt(rtt): 0 -> buffer(): 2 (time P: 0.11 | B: 0.01)
10:01:58 CH:12 (13134):  :  H 255 :  I 1482 :  P 124 :
reachability_values:packetloss(pl): 50 -> buffer(): 3 (time P: 0.04 | B:
0.01)
10:01:58 CH:12 (13134):  :  H 255 :  I 1482 :  P 125 : status():
unreachable|100% Packet Loss -> alarm(40): Event Added: 1221844 (time P:
0.01 | B: 4.02)


 php -q poller.php -i 1482 -o -F

10:03:08 ITEMS     Added 1 items
10:03:09 CH:0 (31361): START and idle.
10:03:09 PAR: Child 0 was idle, working on item 1482 Try 1
10:03:09 PAR: Items Waiting/Polling=Total: 0/1
10:03:09 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:10 CH:0 (31361):  :  H 255 :  I 1482 :  P   1 :
reachability_start:ping(): 53cd0f8d853ee -> buffer(): 1 (time P: 3.03 | B:
0.02)
10:03:10 PAR: Items Waiting/Polling=Total: 0/1
10:03:10 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:11 PAR: Items Waiting/Polling=Total: 0/1
10:03:11 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:12 PAR: Items Waiting/Polling=Total: 0/1
10:03:12 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:13 PAR: Items Waiting/Polling=Total: 0/1
10:03:13 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:14 PAR: Items Waiting/Polling=Total: 0/1
10:03:14 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:15 PAR: Items Waiting/Polling=Total: 0/1
10:03:15 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:16 PAR: Items Waiting/Polling=Total: 0/1
10:03:16 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:17 PAR: Items Waiting/Polling=Total: 0/1
10:03:17 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:18 PAR: Items Waiting/Polling=Total: 0/1
10:03:18 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:19 PAR: Items Waiting/Polling=Total: 0/1
10:03:19 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:20 PAR: Items Waiting/Polling=Total: 0/1
10:03:20 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:21 PAR: Items Waiting/Polling=Total: 0/1
10:03:21 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:22 PAR: Items Waiting/Polling=Total: 0/1
10:03:22 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:23 PAR: Items Waiting/Polling=Total: 0/1
10:03:23 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:24 PAR: Items Waiting/Polling=Total: 0/1
10:03:24 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
10:03:25 CH:0 (31361):  :  H 255 :  I 1482 :  P 122 : wait(): ok ->
no_backend(): 0 (time P: 15001.75 | B: 0.01)
10:03:25 CH:0 (31361):  :  H 255 :  I 1482 :  P 123 :
reachability_values:rtt(rtt): 1.25 -> buffer(): 2 (time P: 0.25 | B: 0.02)
10:03:25 CH:0 (31361):  :  H 255 :  I 1482 :  P 124 :
reachability_values:packetloss(pl): 0 -> buffer(): 3 (time P: 0.12 | B:
0.03)
10:03:25 CH0 :  RAW:
10:03:25 CH:0 (31361):  :  H 255 :  I 1482 :  P 125 : status():
reachable|0% Packet Loss -> alarm(40): Event Added: 1221845 (time P: 0.02 |
B: 16.88)
10:03:25 CH:0 (31361):  :  H 255 :  I 1482 :  P 126 : ping_cleanup(): 1 ->
no_backend(): 0 (time P: 0.12 | B: 0)
10:03:25 CH:0 (31361):  :  H 255 :  I 1482 :  P 127 : no_poller(): 0 ->
rrd(*): rtt:1.25 - packetloss:0 (time P: 0.01 | B: 28.44)
10:03:25 PAR: Items Waiting/Polling=Total: 0/0



2014-07-21 7:48 GMT-03:00 Sebastian Martinez <tychoc...@gmail.com>:

> the tmpwatch is the default
>
> 20   * * * *    cd $JFFNMS && sh tmpwatch.sh $JFFNMS >> tmpwatch.log
>
>
> 2014-07-19 23:32 GMT-03:00 Craig Small <csm...@enc.com.au>:
>
> On Thu, Jul 17, 2014 at 09:25:17AM -0500, wireless wrote:
>> > > 2014-07-16 14:26 GMT-03:00 wireless <wirel...@tampabay.rr.com>:
>> > >
>> > >> On 07/16/14 06:40, Sebastian Martinez wrote:
>> > >>
>> > >>> i see this error perhaps is related to my problem
>> > >>>
>> > >>> PHP Warning:  filesize(): stat failed for
>> > >>> /jffnms/jffcom/engine/temp/53c65ee0db43f.log in
>> > >>> /jffnms/jffcom/engine/pollers/reachability_wait.php on line 24
>> It could be a race condition but I'm not sure exactly how it is
>> occuring. Do you ever see this problem running the poller on those
>> interfaces manually?
>>
>> Is it consistent? In other words these devices are always down?
>> Is it all devices or only some?
>>
>> Do you have a reasonably aggressive tmpreaper going on that
>> might be deleting the files?
>>
>> The output for a "working" reachability interface will look
>> like the following:
>>
>> $ sudo -u jffnms php -q poller.php -i 3264 -o -F
>> 13:22:22 ITEMS     Added 1 items
>> 13:22:23 CH:0 (533): START and idle.
>> 13:22:23 PAR: Child 0 was idle, working on item 3264 Try 1
>> 13:22:23 PAR: Items Waiting/Polling=Total: 0/1
>> 13:22:23 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
>> 13:22:24 CH:0 (533):  :  H  19 :  I 3264 :  P   1 :
>> reachability_start:ping(): 53cb27df7e018 -> buffer(): 1 (time P: 4.75 |
>> B: 0.03)
>> 13:22:24 PAR: Items Waiting/Polling=Total: 0/1
>> 13:22:24 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
>> 13:22:25 PAR: Items Waiting/Polling=Total: 0/1
>> 13:22:25 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
>> 13:22:26 PAR: Items Waiting/Polling=Total: 0/1
>> 13:22:26 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/1/0/0/0=1
>> 13:22:27 CH:0 (533):  :  H  19 :  I 3264 :  P 122 : wait(): ok ->
>> no_backend(): 0 (time P: 3000.49 | B: 0.01)
>> 13:22:27 CH:0 (533):  :  H  19 :  I 3264 :  P 123 :
>> reachability_values:rtt(rtt): 38.1 -> buffer(): 2 (time P: 0.19 | B:
>> 0.01)
>> 13:22:27 CH:0 (533):  :  H  19 :  I 3264 :  P 124 :
>> reachability_values:packetloss(pl): 0 -> buffer(): 3 (time P: 0.11 | B:
>> 0.01)
>> 13:22:27 CH:0 (533):  :  H  19 :  I 3264 :  P 125 : status():
>> reachable|0% Packet Loss -> alarm(40): Nothing was done (time P: 0.02 |
>> B: 6.65)
>> 13:22:27 CH:0 (533):  :  H  19 :  I 3264 :  P 126 : ping_cleanup(): 1 ->
>> no_backend(): 0 (time P: 0.12 | B: 0)
>> 13:22:27 CH:0 (533):  :  H  19 :  I 3264 :  P 127 : no_poller(): 0 ->
>> rrd(*): rtt:38.1 - packetloss:0 (time P: 0.01 | B: 23.18)
>> 13:22:27 PAR: Items Waiting/Polling=Total: 0/0
>> 13:22:27 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 1/0/0/0/0=1
>> 13:22:28 CH0 (533): stopped: not needed.
>> 13:22:28 PAR: Items Waiting/Polling=Total: 0/0
>> 13:22:28 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/0/0/1/0=1
>> 13:22:29 PAR: Items Waiting/Polling=Total: 0/0
>> 13:22:29 PAR: Childn Min/Max Idl/Bsy/Srt/Ded/Otr=Tot: 0/5 0/0/0/0/0=0
>>
>>  - Craig
>> --
>> Craig Small (@smallsees)   http://enc.com.au/       csmall at :
>> enc.com.au
>> Debian GNU/Linux           http://www.debian.org/   csmall at :
>> debian.org
>> GPG fingerprint:        5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5
>>
>>
>> ------------------------------------------------------------------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> _______________________________________________
>> jffnms-users mailing list
>> jffnms-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jffnms-users
>>
>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to