Hanne Moa
Hanne Moa
Replaces `platform.dist()` and `platform.linux_distribution()`: https://pypi.org/project/distro/
@lunkwill42 I cannot find the word "alert" in the juniper mibs, do you mean notification, trap or alarm? If not, where is this described/documented?
Seems like step one is adding that mib to NAV's own library of mibs then :) Is there a howto for that?
According to that MIB there are yellow alarms and red alarms, a count for each, whether the status is on, off or other, and a timestamp for when the status...
I've asked Håvard E. about what zino does about this. The JUNIPER-ALARM-MIB only exists on equipment that has a physical craft-interface installed, supplying one actual led to show the colors,...
When using the mib-jnx-util, zino uses the OIDs `jnxUtilUintValue.82.101.100.65.108.97.114.109` for the red alarm counter and `jnxUtilUintValue.89.101.108.108.111.119.65.108.97.114.109` for the yellow alarm counter.
The steps so far seem to be: - [x] Figure out how NAV should deal with this type of value/alarm - [x] Add the JUNIPER-ALARM-MIB [Docs](https://nav.readthedocs.io/en/latest/hacking/adding-environment-probe-support.html?highlight=smidump#dumping-the-mib) - [ ] Use...
I've decided on making a new ipdevpoll-plugin just for these weirdos. It does not store the value, just dumps them into eventengine if not zero.
If converting a mib to python with smidump with the `-k` flag, also increase the error level above 3 for the `-l`-flag. ``` smidump -k -l 5 -f python ./A.mib...
This can be split into the following subtasks: * Get NAV version. NAV uses the version that is in a git tag, so this one might not be straight-forward. *...