tickets #71080
closed/usr/local/bin/get_member_aliases mails admin-auto@ on success
100%
Description
mx1 and mx2 send mails like this to admin-auto hourly:
Betreff: Cron <root@mx2> /usr/local/bin/get_member_aliases
Datum: Montag, 7. September 2020, 12:10:06 CEST
Von: (Cron Daemon) <root@mx2.opensuse.org>
An: admin-auto@opensuse.org
1 data packet(s) sent to host successfully.
Maybe you can make the script silent if everything works? ;-)
Updated by pjessen over 3 years ago
- Private changed from Yes to No
cboltz wrote:
mx1 and mx2 send mails like this to admin-auto hourly:
Betreff: Cron <root@mx2> /usr/local/bin/get_member_aliases Datum: Montag, 7. September 2020, 12:10:06 CEST Von: (Cron Daemon) <root@mx2.opensuse.org> An: admin-auto@opensuse.org 1 data packet(s) sent to host successfully.
Maybe you can make the script silent if everything works? ;-)
Hmm, that's odd - I thought I had already silenced it to only report when there are changes.
Updated by pjessen over 3 years ago
Okay, I see - I think Lars must have added some nagios monitoring, that message is most probably coming from "send_nsca". According to https://github.com/NagiosEnterprises/nsca/issues/12 an option '--quiet' was added recently, but it doesn't look like it made it into the man page. I'll add '--quiet' on mx1 to see if it works.
Updated by pjessen over 3 years ago
pjessen wrote:
I'll add '--quiet' on mx1 to see if it works.
It didn't - I tried with --q' too, no effect. I have now just devnulled the output in the case of no changes.
Updated by pjessen over 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100