Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Email
Target version:
-
Start date:
2020-09-07
Due date:
% Done:

100%

Estimated time:

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? ;-)

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

Updated by pjessen over 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF