this post was submitted on 03 Aug 2023
12 points (100.0% liked)

networking

2779 readers
9 users here now

Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.

founded 2 years ago
MODERATORS
 

We currently have ansible, solarwinds and librenms in our environment but ran into an issue recently where a config setting was lost. I know ansible can check these things but then I'll have to configure email and stuff I guess to send alerts? What solution are you using?

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 years ago* (last edited 2 years ago)

We've been using CheckMK for years, even before it was conveniently packaged as OMD, and I would definitely recommend it. We use SaltStack and have a hook on VM deploys/destroys where it adds/removes from monitoring automatically, works great for us.

[–] [email protected] 3 points 2 years ago (1 children)

Rancid for capturing configs, with some custom Python for grabbing changes as they happen and announcing via Slack.

[–] solidgrue 1 points 2 years ago* (last edited 2 years ago) (1 children)

Why not track ~~changes~~ configs (derp) in a git repo and post git diff after each change?

[–] [email protected] 2 points 2 years ago (1 children)

That’s how it works, except we use the Rancid default of CVS instead of git. Rancid handles pulling the configs and puts them into a CVS repo, then the diffs are sent to the channel.

[–] solidgrue 1 points 2 years ago

Ah! Last I looked at Rancid it was backups with optional $REPO. TIL

[–] slazer2au 2 points 2 years ago (1 children)

If you have LibreNMS, why not run the Oxidizer plugin to pull the units config?

https://docs.librenms.org/Extensions/Oxidized/

[–] cyberpunk007 3 points 2 years ago* (last edited 2 years ago) (1 children)

Because I didn't know about it... Thank you!

Is this a plugin or a hook into yet another server that runs oxidized?

[–] slazer2au 2 points 2 years ago (1 children)

It's up to you where to run it. We ran it on the same server as our main LibreNMS poller and didn't have any issues getting the config.

[–] cyberpunk007 2 points 1 year ago

Thanks I just got it running. Now to figure out what to do about credentials 😞. Our enable creds are different depending on region.