tickets #71080
closed
/usr/local/bin/get_member_aliases mails admin-auto@ on success
Added by cboltz over 3 years ago.
Updated over 3 years ago.
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? ;-)
- 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.
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.
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.
- Status changed from New to Resolved
- % Done changed from 0 to 100
Also available in: Atom
PDF