Ref T2301
Details
Details
- Reviewers
DorianWinty - Maniphest Tasks
- T2301: Monitor /etc/mail/aliases.db compilation
- Run the check on Hervil, got warning
- Run newaliases
- Run again, got OK
Diff Detail
Diff Detail
- Repository
- rOPS Nasqueron Operations
- Lint
Lint Passed - Unit
No Test Coverage - Branch
- monitoring-newaliases
- Build Status
Buildable 6574 Build 6858: arc lint + arc unit
Event Timeline
Comment Actions
Test procedure
Check
Hervil
$ ./check-mail-aliases WARNING: aliases newer than aliases.db (run newaliases) $ newaliases $ ./check-mail-aliases OK: aliases.db is up to date $ echo $? 0
Salt configuration
WindRiver
$ salt-call --local state.apply roles/mailserver/monitoring test=True local: ---------- ID: /usr/local/share/monitoring/checks/nrpe/check-mail-aliases Function: file.managed Result: None Comment: The file /usr/local/share/monitoring/checks/nrpe/check-mail-aliases is set to be changed Note: No changes made, actual changes may be different due to other states. Started: 17:35:50.528819 Duration: 8.622 ms Changes: ---------- newfile: /usr/local/share/monitoring/checks/nrpe/check-mail-aliases Summary for local ------------ Succeeded: 1 (unchanged=1, changed=1) Failed: 0 ------------ Total states run: 1 Total run time: 8.622 ms