$ tail daily.log
Device performance times cleared for entries over 7 days
Returned: 0
Fetching notifications
[ Fri, 27 Oct 2017 00:15:58 +0200 ] LibreNMS Notifications (1)
[ Fri, 27 Oct 2017 00:15:58 +0200 ] misc/notifications.rss (8)
[ Fri, 27 Oct 2017 00:15:58 +0200 ] Updating DB Done
Returned: 0
Caching PeeringDB data
Returned: 0
all of my IOS devices have change to type storage and and OS=ibmtl
and
my “localhost” has changed from “server” to “network”.
A handful of my 182 IOS-devices have changed back to “network” again.
For my C6509 this happened after I manually started a “rediscover”, for other devices this happened by itself.
On most of my devices, even when starting a “rediscover” they did not change.
Could it be possible that some code change is causing this problem?
How can I help to debug the issue?
$ ./validate.php
Component
Version
LibreNMS
1.32-99-gd4b2f6e
DB Schema
212
PHP
7.0.23
MySQL
5.5.56-MariaDB
RRDTool
1.4.8
SNMP
NET-SNMP 5.7.2
====================================
[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (vls-10-nms
) has not complete within the last 5 minutes, check the cron job
[FAIL] Discovery has not completed in the last 24 hours.
[FIX] Check the cron job to make sure it is running and using discovery-wrapper.py
Well, actually it solved all issues for the moment.
All IOS devices have become device type “network” again, the OS has become “ios” again and I can also see all OS details again (was checking for a certain version… this is how I discovered the issue, as the version was not shown).
“My libre” has become device type “server” again.
I had one persisting issue which turned out as a wrong snmp configuration on the switch… no idea why I thought it was working before…
However, after fixing this and another ./discovery.php on that particular device solved the issue.
Thank you for your help!
… but have you got any idea what has caused the change of OS …?
I am in the same boat. I have tried to perform a re-discovery of the OS for all of my nodes (as suggested by murrant), it worked but it appears to be coming back now to ’ ibmtl '.
@murrant I really would like to provide this debug output.
The problem is, that right now everything is OK again, after I have run
./discovery.php -h HOSTNAME -m os -d
… in other words:
When I run this manually, it correctly discovers the OS.
The problem arose during last night… there some process (right after 00:18 (daily.sh…) and the next 5 hours) changed half of my IOS or NX-OS to “ibmtl” …
Is there some difference between “what happens at night” and when I run the above command in order to solve the issue again…?
Yeah, we have been having trouble tracking down this issue. I think it might have to do with a stale cache still even though we tried to fix that already.