Indeed, net-snmp creates this, then shits itself over it. We kind of never understood the how or the why.

Documented though: http://www.observium.org/docs/faq/ ("All my hosts seem down to Observium / SNMP doesn't seem to work anymore!")

Tom

On 2015-12-08 10:07, Adam Armstrong wrote:
The .index file is created by net-snmp. It allows it to more quickly find MIBs without having to parse all of the files.

There's an ancient bug which causes the .index file to become corrupted. I've not heard much about it for a while, so I thought it was fixed in later versions.

adam.

On 08/12/2015 05:11:45, Richard Müller <rm@teamix.de> wrote:

Hy *,

I also experienced this issue some minutes ago. My reason was that "someone" (svn?) created a .index file in the MIB
Directory, which caused snmpwalk to die:

root@horstname:/opt/observium# /usr/bin/snmpget -v2c -c '***' -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'horstname2':'161' sysObjectID.0 sysUpTime.0
add_mibdir: strings scanned in from /opt/observium/mibs/rfc/.index are too large. count = 136
MIB search path: /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp
Cannot find module (SNMPv2-MIB): At line 0 in (none)
sysObjectID.0: Unknown Object Identifier (Sub-id not found: (top) -> sysObjectID)
sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) -> sysUpTime)

removing the /opt/observium/mibs/rfc/.index file fixed the glitch - does anybody know whats the purpose of these files and where do they come from?

Thanks
Richard

Message: 2
Date: Fri, 4 Dec 2015 12:05:24 +0100
From: Gabriel Zamorski
To: Observium Network Observation System
Subject: Re: [Observium] Everything is DOWN after svn UP :-)
Message-ID: <5cbbe15e-ed0c-4b8c-b606-e5c5b73de9df@domeny.pl>
Content-Type: text/plain; charset="utf-8"

Debian 7.9, libsnmp-base 5.4.3~dfsg-2.8+deb7u1, libsnmp15 5.4.3~dfsg-2.8+deb7u1, php5-snmp 5.4.45-0+deb7u2, snmp 5.4.3~dfsg-2.8+deb7u1. It was updated from 7224 to 7226, then I did rollback. It is strange, today I updated to the latest version 7227 with no problem (without alerts).

G.




> Wiadomo?? napisana przez Adam Armstrong w dniu 04.12.2015, o godz. 08:54:
>
> Given that it's virtually impossible for this to be an actual bug in the SVN (hundreds of users would be complaining), it might help to have some additional information about your installation.
>
> Do you know what version you updated from? What are you running it on? What version of net-snmp?
>
> adam.
>> On 04/12/2015 07:53:05, Gabriel Zamorski wrote:
>>
>> Hello,
>>
>> Yesterday after upgrading observium (like everyday morning) we got hundreds of alerts. It seems that observium could not connect to any machine using SNMP - I checked this from console via ./poller.php and every server was unreachable, so I had to rollback to the earlier revision. Do you know anything about this?
>>
>> Regards,
>> G.
>>
>>
>>
--
Richard Müller | Geschäftsführer

teamix GmbH
Südwestpark 43
90449 Nürnberg

Tel.: +49 911 30999 0 | Fax: +49 911 30999 99
mail: rm@teamix.de | web: http://www.teamix.de | blog: http://blog.teamix.de

Amtsgericht Nürnberg, HRB 18320 | Geschäftsführer: Oliver Kügow, Richard Müller

*** Bitte liken Sie uns auf Facebook: facebook.com/teamix ***

_______________________________________________
>> observium mailing list
>> observium@observium.org
>> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3587 bytes
Desc: not available
URL:

------------------------------

Message: 3
Date: Fri, 04 Dec 2015 11:58:55 +0000
From: Adam Armstrong
To: Observium Network Observation System
Subject: Re: [Observium] Everything is DOWN after svn UP :-)
Message-ID:
<1516cdbfc18.2779.11b54b3dd25b712395dab9818c67596f@observium.org>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

I think this is perhaps, again, the pesky svn broken file issue.

This problem seems to have gotten significantly worse since the svn database version changes.

Adam.

Sent with AquaMail for Android
http://www.aqua-mail.com


On 4 December 2015 11:05:41 am Gabriel Zamorski wrote:

> Debian 7.9, libsnmp-base 5.4.3~dfsg-2.8+deb7u1, libsnmp15
> 5.4.3~dfsg-2.8+deb7u1, php5-snmp 5.4.45-0+deb7u2, snmp
> 5.4.3~dfsg-2.8+deb7u1. It was updated from 7224 to 7226, then I did
> rollback. It is strange, today I updated to the latest version 7227
> with no problem (without alerts).
>
> G.
>
>
>
>
>> Wiadomo?? napisana przez Adam Armstrong w dniu
>> 04.12.2015, o godz. 08:54:
>>
>> Given that it's virtually impossible for this to be an actual bug in
>> the SVN (hundreds of users would be complaining), it might help to
>> have some additional information about your installation.
>>
>> Do you know what version you updated from? What are you running it
>> on? What version of net-snmp?
>>
>> adam.
>>> On 04/12/2015 07:53:05, Gabriel Zamorski wrote:
>>>
>>> Hello,
>>>
>>> Yesterday after upgrading observium (like everyday morning) we got
>>> hundreds of alerts. It seems that observium could not connect to any
>>> machine using SNMP - I checked this from console via ./poller.php
>>> and every server was unreachable, so I had to rollback to the
>>> earlier revision. Do you know anything about this?
>>>
>>> Regards,
>>> G.
>>>
>>>
>>> _______________________________________________
>>> observium mailing list
>>> observium@observium.org
>>> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
>> _______________________________________________
>> observium mailing list
>> observium@observium.org
>> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
>
>
>
>
> ----------
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium