Schmitt, David A. | 16 Jun 2012 03:33

Network Autodiscover broken in 0.9.3

I've been futzing with an install of 0.9.3 (as found on SourceForge) on CentOS 6 for a few weeks as time allows
and finally got to the point where I wanted to set up network autodiscovery. I have around 100 hosts on two
nets that I want to monitor so I figured this would be the easiest way to get baseline hosts info into jffnms.

Well...in 0.9.3 network autodiscover just doesn't work out of the box. I've debugged the code and found (so
far) two major logic errors (one in the nad class and one in the nad admin panel code). After correcting them
I have autodiscover working and can add discovered hosts/interfaces to the monitoring system. I
currently have a large chunk of the host discovery code in the autodiscover_network engine commented out
to circumvent another bug that sometimes keeps hosts and IPs from being inserted into the nad_hosts and
nad_ips tables; I'll look at that later.

How do I submit the code changes? Some of the changes are probably more along the lines of customizations
than bug fixes: I changed the discovery engine's timeout to 30 minutes and allow network blocks as large as
/16 to be searched...I have a big, sparse server block. It takes about 5 minutes to NMAP the /16.

I'm coming back to jffnms after running OpenNMS for about 6 months. THAT is some complex code...

Dave Schmitt

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane