FYI – the problem I had with autodiscovery not working unless I rebooted the box, or ran the php script manually, was resolved by dropping back to FC3. 

 

I verified that cron was kicking the script off in FC4, but it wouldn’t find anything (for the first time it tried to discover a network) unless I intervened.  Once it had discovered a network for the first time, any zones that I added after that were automatically discovered the next time cron kicked the autodiscovery_networks.php script off.  Once I blew the box away, re-installed FC3 and JFFNMS, added a zone, it discovered it on the 2nd time the autodiscovery_networks.php script ran.  Why 2nd?  Not sure, but that part works.

 

What I’m still running into a problem with is discovering SNMP hosts.  For me, it is specific to Cisco (we’re only running Cisco routers and switches here) devices as it finds jet direct cards running SNMP correctly.  It will find those hosts running SNMP, display them under the “SNMP hosts” listing, but it will not have and IP address for them.

 

Tim


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Carr
Sent: Tuesday, August 23, 2005 2:52 PM
To: [email protected]
Subject: [jffnms-users] Problems with Autodiscovery (hosts and interfaces)

 

Hello, all.

 

I’ve got JFFNMS up and running on an FC4 box.  After I put a zone in, the system won’t autodiscover either the hosts on that subnet, or the interfaces.  I have verified that the cron jobs are running:

 

Aug 23 14:30:01 jfftest crond[9030]: (jffnms) CMD (cd $JFFNMS && $PHP -q autodiscovery_network.php master $THREADS > /dev/null 2>&1)

Aug 23 14:30:01 jfftest crond[9034]: (jffnms) CMD (cd $JFFNMS && $PHP -q autodiscovery_interfaces.php > /dev/null 2>&1)

Aug 23 14:30:01 jfftest crond[9039]: (jffnms) CMD (cd $JFFNMS && $PHP -q autodiscovery_interfaces.php master $THREADS > /dev/null 2>&1)

 

If I manually run the autodiscovery for the network from the command line, it will run successfully and discover the hosts on my network.  Also, once hosts are in the database, if I manually run the “discover interfaces” (via the “manual discover” while using the web interface), it will also work.

 

Does this have something to do with these instructions from the installation guide:

 

. Compile and/or Install NMAP
    
    Nmap should be set-uid root if you want UDP port monitoring & discovery to work.
 
    Execute: 
        # chmod +s /usr/bin/nmap
        # chmod a+x /usr/bin/nmap

 

I’ve run the two commands above as root while doing the installation…am I supposed to do something different?  Or…is this pointing at another problem all together?

 

Thanks,

Tim

 

Reply via email to