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

networking

2803 readers
1 users here now

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

founded 1 year 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
[–] targetx@programming.dev 4 points 1 year ago* (last edited 1 year 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.

[–] zeusbottom@sh.itjust.works 3 points 1 year ago (1 children)

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

[–] solidgrue@lemmy.world 1 points 1 year ago (1 children)

Why not track changes in a git repo and post git diff after each change?

[–] zeusbottom@sh.itjust.works 2 points 1 year 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@lemmy.world 1 points 1 year ago

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

[–] slazer2au@lemmy.world 2 points 1 year 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@lemmy.world 3 points 1 year ago* (last edited 1 year 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@lemmy.world 2 points 1 year 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@lemmy.world 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.