From d20508153c405e4cfb5157bc3f16e4ad00f315eb Mon Sep 17 00:00:00 2001 From: mattie47 <4696925+mattie47@users.noreply.github.com> Date: Wed, 10 Jan 2018 04:33:09 +1300 Subject: [PATCH] Update Initial-Detection.md (#8053) * Update Initial-Detection.md While trying to add support for awplus under https://github.com/librenms/librenms/pull/7670, I was advised to delete the os_defs.cache file. This was hugely helpful, as I wasted a number of hours trying to figure out why I couldn't get any changes to the OS configs to work. * Small updates --- doc/Developing/os/Initial-Detection.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/Developing/os/Initial-Detection.md b/doc/Developing/os/Initial-Detection.md index 8f770be95a..e8ed1cbee0 100644 --- a/doc/Developing/os/Initial-Detection.md +++ b/doc/Developing/os/Initial-Detection.md @@ -201,3 +201,8 @@ Polling ``` At this step we should see all the values retrieved in LibreNMS. + +Note: If you have made a number of changes to either the OS's Discovery files, it's possible earlier edits have been cached. As such, if you do not get expected behaviour when completing the final check above, try removing the cache file first: +```bash +rm -f cache/os_defs.cache +```