Give Nagios bots a Verbose host check command

RESOLVED WONTFIX

Status

mozilla.org Graveyard
Server Operations
--
enhancement
RESOLVED WONTFIX
6 years ago
3 years ago

People

(Reporter: mburns, Assigned: rtucker)

Tracking

Details

(Reporter)

Description

6 years ago
command: verbose $HOSTNAME:check

output: nagios-bot: running $host:check_max_clients => '$USER1$/mozilla/check_max_clients.pl -h $HOSTNAME$'

actual output would include the arguments passed


The purpose of this check would be to understand what Nagios is specifically saying doesn't work. This is obvious for some checks (like Ping), but less obvious for more elaborate checks.
(Assignee)

Updated

6 years ago
Assignee: server-ops → rtucker
(Assignee)

Comment 1

6 years ago
This wouldn't be overly difficult but has a large potential for security issues. We don't lock down #sysadmins completely and there's potentially passwords to things that would get echo'd.

/CC jabba
Yep, agree with #c1. There may be check commands that have the passwords hard coded...

For most part, nagios provides a command expansion in the web ui - https://nagios.mozilla.org/phx1/cgi-bin/config.cgi?type=command&expand= so you copy-paste the check command there from services.pp (or services.cfg from the nagios server).

Comment 3

6 years ago
I think based on the potential for security risk (the nagios bot is in some insecure channels), we should play it safe and not implement this.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.