Guys, I'm still in a pickle here. I still see "Error No Items Found" on the
Network Discovery screen. When I run the php commands, I get farther than I
used to, but the Windows machine that I'm hoping will be autodiscovered is
not being picked up. It has SNMP 2c enabled and I can walk the mib etc...,
so I know the host is working. Personally, I don't even think it should need
to have SNMP installed for it to be discovered, but that's another issue.
For now, I've got it running and the community string has been inserted into
the zone.

Here's the output of the php commands:

worf# php -q autodiscovery_network.php
12:04:06 Cleaning Network 192.168.240.0/24
12:04:07 Reloading Network 192.168.240.0/24
12:04:08 Cleaning Network 10.255.255.0/24
12:04:08 Reloading Network 10.255.255.0/24

worf# php -q autodiscovery_network.php master 5
12:04:31 Launcher Starting. Parameters: childs: 5, Timeout: 240, item
Retries:
2
, Rest Time: 3 secs, Read Timeout: 3, Child Hearbeat every 5 secs.
12:04:35 Number      Network          Deep/Max         Status
Changed
IDs
12:04:35     1  192.168.240.0/24        1/2    started/pending      27 secs
agoN
ID 2    PID 1
12:04:35     2  10.255.255.0/24         1/2    started/pending      27 secs
agoN
ID 3    PID 1
12:04:35
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=-=-=-=-=-=-=-
12:04:35 Changing Network 192.168.240.0/24 status to Starting.
12:04:35 Changing Network 10.255.255.0/24 status to Starting.
12:04:35 ITEMS     Added 2 items
12:04:39 START     Started child with PID 50336
12:04:40 START     Started child with PID 50338
12:04:40 Number      Network          Deep/Max         Status
Changed           IDs
12:04:40     1  192.168.240.0/24        1/2    started/starting      5 secs
ago NID 2    PID 1
12:04:40     2  10.255.255.0/24         1/2    started/starting      5 secs
ago NID 3    PID 1
12:04:40
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
12:04:43 WORK      Child 50336   was ready, putting it to work on item
192.168.240.0/24, Try: 1
12:04:43 WORK      Child 50338   was ready, putting it to work on item
10.255.255.0/24, Try: 1
12:04:43 Number      Network          Deep/Max         Status
Changed           IDs
12:04:43     1  192.168.240.0/24        1/2    started/starting      8 secs
ago NID 2    PID 1
12:04:43     2  10.255.255.0/24         1/2    started/starting      8 secs
ago NID 3    PID 1
12:04:43
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
12:04:43 NAD 50336 finished discovering network 192.168.240.0/24 in
00:00:00, Hosts 0/0.
12:04:43 NAD 50338 finished discovering network 10.255.255.0/24 in 00:00:00,
Hosts 0/0.
12:04:46 Number      Network          Deep/Max         Status
Changed           IDs
12:04:46     1  192.168.240.0/24        1/2    started/done          3 secs
ago NID 2    PID 1
12:04:46     2  10.255.255.0/24         1/2    started/done          3 secs
ago NID 3    PID 1
12:04:46
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
12:04:46 ITEMS     Added 0 items
12:04:49 STOP      Stopping child with PID 50336, reason: is not needded and
it exited normally saying: BYE Quit
12:04:50 STOP      Stopping child with PID 50338, reason: is not needded and
it exited normally saying: BYE Quit
12:04:51 Number      Network          Deep/Max         Status
Changed           IDs
12:04:51     1  192.168.240.0/24        1/2    started/done          8 secs
ago NID 2    PID 1
12:04:51     2  10.255.255.0/24         1/2    started/done          8 secs
ago NID 3    PID 1
12:04:51
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
12:04:51 Launcher Ended. Parameters: childs: 5, Timeout: 240, item Retries:
2, Rest Time: 3 secs, Read Timeout: 3, child Hearbeat every 5 secs. Total
Time: 20 sec
All Items were processed correctly.


On Wed, Jul 16, 2008 at 12:39 AM, Oliver O'Boyle <[EMAIL PROTECTED]>
wrote:

> I'm not sure if this make a difference, but I have the same network listed
> twice in the DB... It only appears once int he GUI.
>
> mysql> select * from nad_networks;
>
> +----+------------------+------+-------------+--------+------+---------------------+
> | id | network          | deep | oper_status | parent | seed |
> oper_status_changed |
>
> +----+------------------+------+-------------+--------+------+---------------------+
> |  1 | 192.168.240.0/24 |    1 |           0 |      1 |    2 |
> 1215569453 |
> |  2 | 192.168.240.0/24 |    1 |           3 |      1 |    2 |
> 1216190147 |
> |  3 | 10.255.255.0/24  |    1 |           3 |      1 |    2 |
> 1216190189 |
>
> +----+------------------+------+-------------+--------+------+---------------------+
> 3 rows in set (0.00 sec)
>
>
>   On Tue, Jul 15, 2008 at 7:38 PM, Oliver O'Boyle <[EMAIL PROTECTED]>
> wrote:
>
>> i've tried it with, and without a community. I've also tried allowing ALL
>> snmp traffic, and specifying just the jffnms server. Still no go.
>>
>> In this test environment, jffnms is running on freebsd, but there are only
>> Windows boxes and a Linksys router for it to discover. Would that make a
>> difference?
>>
>> Oliver
>>
>>   On Tue, Jul 15, 2008 at 7:03 PM, Craig Small <[EMAIL PROTECTED]> wrote:
>>
>>> On Mon, Jul 14, 2008 at 11:39:21PM -0400, Oliver O'Boyle wrote:
>>> > I set the zones to rescan every hour, and I waited over an hour after
>>> > completely rebooting the system and making sure everything had loaded
>>> > properly.
>>> Did you have a SNMP community set and is the JFFNMS server allowed to
>>> run SNMP queries on your routers and switches?
>>>
>>>  - Craig
>>> --
>>> Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
>>> http://www.enc.com.au/                             csmall at :
>>> enc.com.au
>>> http://www.debian.org/          Debian GNU/Linux, software should be
>>> Free
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>  _______________________________________________
>>> jffnms-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jffnms-users
>>>
>>
>>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to