Użytkownik Javier Szyszlican napisał:
First you should tell us exactly which interfaces you added.
Then show us the output of poller2.php <host_id>
And tell us if you have files in rrd/
Javier
Bogdan wrote:
Hi again
I`m back at work and still trying to have jffnms working.
Now I get error (see topic). I read archive mailing list,
but I didn`t find solution :)
I set up a simple wireless AP (AP pro -Interepooh) for monitoring with
*SNMP* Functionality "enabled",
and add to "Host" as AP2 (SNMPv1 with community set). Manual discovery
w/o port scan shows me interfaces:
other, wireless, ethernet.
I have check manually :
php -q poller.php
php -q poller2.php
- looks working OK
My cron log:
...........cut...............
Jun 1 04:20:01 test crond[2231]: (jffnms) CMD (cd $JFFNMS && $PHP -q
poller.php >/dev/null 2>&1)
Jun 1 04:20:01 test crond[2234]: (jffnms) CMD (cd $JFFNMS && sh
tmpwatch.sh $JFFNMS >/dev/null 2>&1)
Jun 1 04:20:01 test crond[2237]: (jffnms) CMD (cd $JFFNMS && $PHP -q
consolidate.php >/dev/null 2>&1)
...................cut.............
Jun 1 04:24:01 test crond[2275]: (jffnms) CMD (cd $JFFNMS && $PHP -q
consolidate.php >/dev/null 2>&1))
Jun 1 04:25:01 test crond[2285]: (jffnms) CMD (cd $JFFNMS && $PHP -q
poller.php >/dev/null 2>&1)
Jun 1 04:25:01 test crond[2288]: (jffnms) CMD (cd $JFFNMS && $PHP -q
consolidate.php >/dev/null 2>&1)
...................cut.............
Jun 1 04:29:01 test crond[2319]: (jffnms) CMD (cd $JFFNMS && $PHP -q
consolidate.php >/dev/null 2>&1)
Jun 1 04:30:01 test crond[2331]: (jffnms) CMD (cd $JFFNMS && $PHP -q
autodiscovery_interfaces.php master $THREADS > /dev/null 2>&1)
Jun 1 04:30:01 test crond[2334]: (jffnms) CMD (cd $JFFNMS && $PHP -q
poller.php >/dev/null 2>&1)
Jun 1 04:30:01 test crond[2337]: (jffnms) CMD (cd $JFFNMS && $PHP -q
rrd_analizer.php >/dev/null 2>&1)
..................cut...............
My installation config:
Fedora Core 3,PHP-5.0.4,apache 1.3.33 with openssl-0.9.7a,
net-snmp-5.0.10.rc1, rrdtool-1.0.49-4.fc3.i336.rpm,
graphviz-2.2.1, mysql-4.1.11
It will be very nice if somebody could give me a tip what to do next.
Best regards
Bogdan
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
Hi again.
Like I wrote,
Manual discovery w/o port scan shows me interfaces on host AP2:
index name status IP adres 1 other up 127.0.0.1
2 wireless up 172.22.24.188
4 ethernet up
then I go to "Interfaces ->Host: AP2" and Interface selector shows me:
physical interfaces ethernet customer1
physical interfaces other customer1
physical interfaces wireless customer1
I choose wireless and next "view selected interfaces", and next
"Performance".
then I see:
"The RRDTool files for Interface ID 8 (from Host ID 6), has not been
created by the Poller Process yet"
Manually running poller.php:
[EMAIL PROTECTED] engine]# php -q poller2.php 6
14:28:57 : H 6 : Poller Start : 57 Items.
14:28:57 : H 6 : I 7 : P 10 : verify_interface_number(): 1 ->
verify_interface_number(): interfacenumber not changed (time P: 3.84 |
B: 2.7)
14:28:57 : H 6 : I 8 : P 10 : verify_interface_number(): 2 ->
verify_interface_number(): interfacenumber not changed (time P: 1.99 |
B: 2.79)
14:28:57 : H 6 : I 9 : P 10 : verify_interface_number(): 4 ->
verify_interface_number(): interfacenumber not changed (time P: 12.2 |
B: 2.81)
14:28:57 : H 6 : I 7 : P 15 :
cisco_snmp_ping_start:cisco_snmp_ping_start(): -5 -> buffer(): 1 (time
P: 3.47 | B: 0.2)
14:28:57 : H 6 : I 8 : P 15 :
cisco_snmp_ping_start:cisco_snmp_ping_start(): -5 -> buffer(): 2 (time
P: 3.12 | B: 0.19)
14:28:57 : H 6 : I 9 : P 15 :
cisco_snmp_ping_start:cisco_snmp_ping_start(): -1 -> buffer(): 3 (time
P: 1.23 | B: 0.19)
14:28:57 : H 6 : I 7 : P 16 : interface_oper_status(8): up ->
alarm(3,,180): Nothing was done (time P: 3.82 | B: 2.47)
14:28:57 : H 6 : I 8 : P 16 : interface_oper_status(8): up ->
alarm(3,,180): Nothing was done (time P: 2.03 | B: 2.13)
14:28:57 : H 6 : I 9 : P 16 : interface_oper_status(8): up ->
alarm(3,,180): Nothing was done (time P: 2.06 | B: 2.4)
14:28:57 : H 6 : I 7 : P 17 : interface_admin_status(7): up ->
db(show_rootmap,down=2|up=1,0): 0 (time P: 3.94 | B: 0.17)
14:28:57 : H 6 : I 8 : P 17 : interface_admin_status(7): up ->
db(show_rootmap,down=2|up=1,0): 0 (time P: 2.01 | B: 0.18)
14:28:57 : H 6 : I 9 : P 17 : interface_admin_status(7): up ->
db(show_rootmap,down=2|up=1,0): 0 (time P: 2.03 | B: 0.18)
14:28:57 : H 6 : I 7 : P 20 : snmp_counter:input(.1.3..6.1): 0
-> buffer(): 4 (time P: 2.24 | B: 0.19)
14:28:57 : H 6 : I 8 : P 20 : snmp_counter:input(.1.3..6.2):
1529 -> buffer(): 5 (time P: 1.91 | B: 0.19)
14:28:57 : H 6 : I 9 : P 20 : snmp_counter:input(.1.3..6.4):
1113673 -> buffer(): 6 (time P: 2.07 | B: 0.19)
14:28:57 : H 6 : I 7 : P 25 :
snmp_counter:inpackets(.1.3..7.1): 0 -> buffer(): 7 (time P: 2.08 | B:
0.19)
14:28:57 : H 6 : I 8 : P 25 :
snmp_counter:inpackets(.1.3..7.2): 5 -> buffer(): 8 (time P: 2.05 | B:
0.22)
14:28:57 : H 6 : I 9 : P 25 :
snmp_counter:inpackets(.1.3..7.4): 4598 -> buffer(): 9 (time P: 2 | B:
0.19)
14:28:57 : H 6 : I 7 : P 30 : snmp_counter:output(.1.3..0.1): 0
-> buffer(): 10 (time P: 2.1 | B: 0.19)
14:28:57 : H 6 : I 8 : P 30 : snmp_counter:output(.1.3..0.2):
889896 -> buffer(): 11 (time P: 2.06 | B: 0.19)
14:28:57 : H 6 : I 9 : P 30 : snmp_counter:output(.1.3..0.4):
694685 -> buffer(): 12 (time P: 2.07 | B: 0.18)
14:28:57 : H 6 : I 7 : P 35 :
snmp_counter:outpackets(.1.3..1.1): 0 -> buffer(): 13 (time P: 2.07 | B:
0.21)
14:28:57 : H 6 : I 8 : P 35 :
snmp_counter:outpackets(.1.3..1.2): 5994 -> buffer(): 14 (time P: 2.1 |
B: 0.19)
14:28:57 : H 6 : I 9 : P 35 :
snmp_counter:outpackets(.1.3..1.4): 0 -> buffer(): 15 (time P: 2.15 | B:
0.2)
14:28:57 : H 6 : I 7 : P 40 :
snmp_counter:outputerrors(.1.3..0.1): 0 -> buffer(): 16 (time P: 1.98 |
B: 0.2)
14:28:57 : H 6 : I 8 : P 40 :
snmp_counter:outputerrors(.1.3..0.2): 0 -> buffer(): 17 (time P: 2.07 |
B: 0.2)
14:28:57 : H 6 : I 9 : P 40 :
snmp_counter:outputerrors(.1.3..0.4): 0 -> buffer(): 18 (time P: 2.09 |
B: 0.2)
14:28:57 : H 6 : I 7 : P 45 :
snmp_counter:inputerrors(.1.3..4.1): 0 -> buffer(): 19 (time P: 2.04 |
B: 0.18)
14:28:57 : H 6 : I 8 : P 45 :
snmp_counter:inputerrors(.1.3..4.2): 0 -> buffer(): 20 (time P: 2.12 |
B: 0.21)
14:28:57 : H 6 : I 9 : P 45 :
snmp_counter:inputerrors(.1.3..4.4): 0 -> buffer(): 21 (time P: 2.1 | B:
0.21)
14:28:57 : H 6 : I 7 : P 46 : snmp_counter:drops(.1.3..9.1): 0
-> buffer(): 22 (time P: 2.1 | B: 0.21)
14:28:57 : H 6 : I 8 : P 46 : snmp_counter:drops(.1.3..9.2): 0
-> buffer(): 23 (time P: 1.94 | B: 0.23)
14:28:57 : H 6 : I 9 : P 46 : snmp_counter:drops(.1.3..9.4): 0
-> buffer(): 24 (time P: 2.11 | B: 0.21)
14:28:57 : H 6 : I 7 : P 47 : db:bandwidthin(band..tes): 16000
-> buffer(): 25 (time P: 0.13 | B: 0.21)
14:28:57 : H 6 : I 8 : P 47 : db:bandwidthin(band..tes):
1441750 -> buffer(): 26 (time P: 0.12 | B: 0.19)
14:28:57 : H 6 : I 9 : P 47 : db:bandwidthin(band..tes):
13107250 -> buffer(): 27 (time P: 0.12 | B: 0.19)
14:28:57 : H 6 : I 7 : P 48 : db:bandwidthout(band..tes): 16000
-> buffer(): 28 (time P: 0.11 | B: 0.22)
14:28:57 : H 6 : I 8 : P 48 : db:bandwidthout(band..tes):
1441750 -> buffer(): 29 (time P: 0.1 | B: 0.17)
14:28:57 : H 6 : I 9 : P 48 : db:bandwidthout(band..tes):
13107250 -> buffer(): 30 (time P: 0.11 | B: 0.22)
14:28:57 : H 6 : I 7 : P 50 : cisco_snmp_ping_wait(): -1 ->
no_backend(): 0 (time P: 0.23 | B: 0.05)
14:28:57 : H 6 : I 8 : P 50 : cisco_snmp_ping_wait(): -1 ->
no_backend(): 0 (time P: 0.19 | B: 0.05)
14:28:57 : H 6 : I 9 : P 50 : cisco_snmp_ping_wait(): -1 ->
no_backend(): 0 (time P: 0.18 | B: 0.05)
14:28:57 : H 6 : I 7 : P 55 :
cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 31 (time P: 0.23 |
B: 0.18)
14:28:57 : H 6 : I 8 : P 55 :
cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 32 (time P: 0.18 |
B: 0.2)
14:28:57 : H 6 : I 9 : P 55 :
cisco_snmp_ping_get_pl:packetloss(): 0 -> buffer(): 33 (time P: 0.18 |
B: 0.17)
14:28:57 : H 6 : I 7 : P 60 : cisco_snmp_ping_get_rtt:rtt(): 0
-> buffer(): 34 (time P: 0.18 | B: 0.18)
14:28:57 : H 6 : I 8 : P 60 : cisco_snmp_ping_get_rtt:rtt(): 0
-> buffer(): 35 (time P: 0.2 | B: 0.18)
14:28:57 : H 6 : I 9 : P 60 : cisco_snmp_ping_get_rtt:rtt(): 0
-> buffer(): 36 (time P: 0.17 | B: 0.2)
14:28:57 : H 6 : I 7 : P 65 : cisco_snmp_ping_end(): 1 ->
no_backend(): 0 (time P: 2.09 | B: 0.07)
14:28:57 : H 6 : I 8 : P 65 : cisco_snmp_ping_end(): 1 ->
no_backend(): 0 (time P: 1.96 | B: 0.06)
14:28:57 : H 6 : I 9 : P 65 : cisco_snmp_ping_end(): -1 ->
no_backend(): 0 (time P: 0.16 | B: 0.05)
14:28:57 : H 6 : 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:16000 -
bandwidthout:16000 (time P: 0.12 | B: 63.55)
14:28:57 : H 6 : I 8 : P 80 : no_poller(): 0 -> rrd(*):
input:1529 - output:889896 - inputerrors:0 - outputerrors:0 - rtt:0 -
packetloss:0 - inpackets:5 - outpackets:5994 - drops:0 -
bandwidthin:1441750 - bandwidthout:1441750 (time P: 0.09 | B: 56.11)
14:28:57 : H 6 : I 9 : P 80 : no_poller(): 0 -> rrd(*):
input:1113673 - output:694685 - inputerrors:0 - outputerrors:0 - rtt:0 -
packetloss:0 - inpackets:4598 - outpackets:0 - drops:0 -
bandwidthin:13107250 - bandwidthout:13107250 (time P: 0.11 | B: 56.21)
14:28:57 : H : I 7 : P LPD : last_poll_date(): 1117628937 ->
db(last_poll_date): 1 (time P: 0.09 | B: 8.22)
14:28:57 : H : I 8 : P LPD : last_poll_date(): 1117628937 ->
db(last_poll_date): 1 (time P: 0.09 | B: 7.26)
14:28:57 : H : I 9 : P LPD : last_poll_date(): 1117628937 ->
db(last_poll_date): 1 (time P: 0.09 | B: 7.31)
14:28:57 : H 6 : Poller End, Total Time: 472 msec.
[EMAIL PROTECTED] engine]#
Now in /usr/prog/jffnms/rrd/ I
see files: interface-x-y.rrd, but: "View selected interfaces" gives me
the some output:
"The RRDTool files for Interface ID 8 (from Host ID 6), has not been
created by the Poller Process yet"
I try manually:
snmpwalk -v1 -c dupa 172.22.24.188
and see many information.
What next :)
THX for Yours help.
Best regards
Bogdan
P.S
Sorry, I send email copy to Yours private box
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users