Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding linux_config_files snmp script to monitor RPM configuration file updates #453

Merged
merged 1 commit into from
May 9, 2023

Conversation

bnerickson
Copy link
Contributor

@bnerickson bnerickson commented Jan 8, 2023

This is a simple script to execute rpmconf --test --all to get a count of configuration files that are out-of-sync with the latest configuration file from the package distributor.

Application support PR: librenms/librenms#14776

@bnerickson
Copy link
Contributor Author

bnerickson commented Mar 22, 2023

Latest commit updates the command execution error handling logic after confirming the behavior of the rpmconf command. Rpmconf exits with code "5" if there are config files out of sync.

@bnerickson bnerickson changed the title Adding rpmconf snmp script to monitor RPM configuration file updates Adding linux_config_files snmp script to monitor RPM configuration file updates May 7, 2023
@murrant murrant merged commit 8f95171 into librenms:master May 9, 2023
2 checks passed
@bnerickson bnerickson deleted the rpmconf branch May 9, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants