![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Apparently on some systems they're in "/var/lib/net-snmp/mib_indexes" now.
It's the most frustrating and persistent bug. It's existed as long as I've used net-snmp, and it never goes away!
FreeBSD might be putting these files in another place.
The issue seems, I think, to be that the indexes get out of sync with the MIB directory, having indexes for old versions of the MIBs, which don't work with new versions. Once you delete the index files they're updated, and everything works again.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 27/11/2016 01:20:04, Kaya Saman kayasaman@gmail.com wrote: Many thanks Adam :-)
Ok Observium is forgiven :-P
I checked for .index files as it does talk about it in the FAQ however, I couldn't find any.......
I just re-built net-snmp from @ports too (I'm on FreeBSD with my Observium system). Oh well..... at least all works now :-)
Regards,
Kaya
On 11/27/2016 12:25 AM, Adam Armstrong wrote:
Observium wasn't looking for anything. This is netsnmp being a horribly written pile of crap.
As I said in previous email, you need to delete its cache files, because it is useless.
This has nothing to do with Observium, its netsnmp's caching being broken.
The files you're looking for are .index in the mibs directory and subdirectories. If it's one of the user-despising versions which puts these files somewhere else, I have no idea what they're called. :D
Adam.
Sent from BlueMail [http://www.bluemail.me/r] On 27 Nov 2016, at 00:19, Kaya Saman <kayasaman@gmail.com [mailto:kayasaman@gmail.com]> wrote: Quickly reporting back on the fix for the Cisco Flash Storage MIB: the debug claimed it couldn't find the MIB within the mibs/cisco path?? It is there, permissions are ok and the file is fine..... So more digging and it looks like Observium was looking for a .my file?? A quick symlink: ln -s CISCO-FLASH-MIB CISCO-FLASH-MIB.my [http://CISCO-FLASH-MIB.my] and now it works?? Weird! --K On 11/26/2016 11:35 PM, Kaya Saman wrote: I managed to fix this by renaming the interface; manually running: discovery.php -h <host> -fd and dumping into a file with > /tmp/dump showed that the interface was being "ignored" due to a matching string of: *lp0* which I'm guessing is defaulted to a unix printer port? So a quick udev rule changing the name to "wifi0" and now it shows up. The only thing left now is to figure out why my Cisco flash storage graphs are disappearing :-S Though I have Cisco sensors and CPU activated in SNMP those graphs vanished too?? I managed to get them back by adding: $config['mib_dir'] = $config['install_dir'] . "/mibs"; to the config.php file <- though not sure if it has any effect however, though the re-appeared after that {coincidence or actual parameter parsed?} Kaya On 11/24/2016 05:56 PM, Kaya Saman wrote: Hi, I'm trying to get one of my network interfaces to appear in Observium but for some strange reason it is being marked as "ignored"? In my config.php I haven't included any statements to ignore any devices and the poll time for this particular machine is only a few seconds considering that it's connection to the network is via wifi. The output of #sudo -u www ./discovery.php -h <host> -f shows: ##### Module Start: ports ##### o Caching OIDs ifDescr ifAlias ifName ifType ifOperStatus o Caching DB 2 ports o Discovering ports ..X +---------+ +-------------+---------+------------------+-------------+---------+ | ifIndex | ifDescr | ifName | ifAlias | ifType | Oper Status | Ignored | +---------+ +-------------+---------+------------------+-------------+---------+ | 1 | lo | lo | ... | softwareLoopback | up | no | | 2 | Realtek Semiconductor Co., ... | ens33 | ... | ethernetCsmacd | down | no | | 3 | wlp0s29f7u7 | wlp0s29f7u7 | ... | ethernetCsmacd | up | yes | +---------+ +-------------+---------+------------------+-------------+---------+ o Duration 0.2046s Observium is seeing the interface but just ignoring it? In the UI I don't see anywhere to view 'ignored' ports; I only see "alerts", "down" and "deleted". The port does however, show up under the Inventory section. Does anyone have any idea on how to make this interface not be 'ignored'? After 2 days of searching for an answer I can only conclude that perhaps I need to make this change on the actual MySQL DB itself though I do not know the location of the 'ignore' section of ports/interfaces <- that and this is probably a really bad way of doing things too....! Many Thanks. Kaya observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium] _______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]