Hi All,
First, I think this project has a great deal of potential, but it's merely a feeling at this point. I can't get much of anything to work.
I have stopped getting python errors for the things I have been trying to get working. This without changing any code, just ironing out the details of how things should be installed, etc.
I have added several switches, none of which were recognized types. These are:
Foundry EdgeIron 24G-A (4) Foundry FastIron x448 Premium (2) Foundry EdgeIron 48G (1) Cisco 7140 (1)
Again, this is just a few little things to start to get a feel for how things are supposed to work in NAV.
I did snmp queries for the numeric value of the SysObjectID for each type, and with the exception of a difference in the 24 port edgeirons, I think because of a code revision, NAV was completely happy, and felt it recognized each box type as I added them. It was able to record the serial numbers on the edgeiron switches and the cisco 7140. I don't think the FES exposes the serial number via the console or SNMP.
I get nothing in cricket at all, even though I think I have all the dependencies, etc. Until 4pm yesterday, I was getting this error in the getDeviceData.log file. It stopped mysteriously:
getDeviceData.log:Aug 09 15:59:37 2005 getDeviceData_01 QUERY_NETBOX_T01-3-RUN Caught exception, should not happen: snmp/SNMPException
Now I get this:
Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-5-UPDATE_TYPES Num types: 33, num OIDs: 168, new oidQ: 0 Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: wcuunet.be.weather.com Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: twccore448-2.be.weather.com Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: twccore448-1.be.weather.com Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: 192.168.69.23 Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: 192.168.69.21 Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: 192.168.69.22 Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: 192.168.69.24 Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: 192.168.69.25 Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-6-UPDATE_NETBOXES No OIDs found for netbox: wxcat2.be.weather.com Aug 10 11:54:37 2005 getDeviceData UPDATE_DATA-5-UPDATE_NETBOXES Num netboxes: 9 (9 high, 0 new, 0 removed, 0 skipped, 0 runq, 0 active)
That actually looks fine, except that I have no idea how to add an OID, and I am at a loss as to where to find documentation for it. I did a psql query on the snmpoid table, but I am unclear as to what OID I should throw in for, say, interface stats, and what response I am looking for. Any help here would be nice.
Also, I get nothing but the java application with the refresh button, etc, on the vlanMap. How do I make that show stuff? There's also nothing at all listed in the network explorer. When I go into the manage devices thing, it sees all the boxes, but lists no modules for any of them. What does that mean?
Any help with any of this would be greatly appreciated.
getDeviceData.log:Aug 09 15:59:37 2005 getDeviceData_01 QUERY_NETBOX_T01-3-RUN Caught exception, should not happen: snmp/SNMPException
Did you get this right away? My first guess would be that the Java SNMP package is not installed/found. You can put it in your jre/lib/ext directory to make sure Java will find it.
That actually looks fine, except that I have no idea how to add an OID, and I am at a loss as to where to find documentation for it. I did a psql query on the snmpoid table, but I am unclear as to what OID I should throw in for, say, interface stats, and what response I am looking for. Any help here would be nice.
You should never have to edit any of the database tables directly; NAV will automatically gather and fill inn all this information.
Also, I get nothing but the java application with the refresh button, etc, on the vlanMap. How do I make that show stuff? There's also nothing at all listed in the network explorer. When I go into the manage devices thing, it sees all the boxes, but lists no modules for any of them. What does that mean?
It seems that no data has been collected, most probably because of the missing Java SNMP library. After you install this, you can try the following command in the psql shell and then restart NAV to make sure everything will be updated:
UPDATE netbox SET uptodate=false;