Closed Bug 331366 Opened 19 years ago Closed 6 years ago

[MODULE] Add a Nagios module

Categories

(Webtools Graveyard :: Mozbot, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: wicked, Unassigned)

Details

(Whiteboard: [has-attachment])

Attachments

(2 files)

A Nagios module that gets alert emails from a Nagios monitoring system (http://www.nagios.org) and tells about them in specified channels would be lovely addition. This would work very similary to the current Bugzilla module.
Here's my first version of the Nagios module. Base for it comes from the Bugzilla module and is very basic. It simply takes body of the mails fed to it and shows them on the channel it's on. Seems to be atleast working for me under normal conditions. :) On Nagios end you should configure new contact to receive the alerts and point it to a address that feeds the emails directly to NagiosMailHandler.pl. Formatting of the alerts should be done on the Nagios end because they go out as is.
Attachment #215918 - Flags: review?
Attachment #215918 - Flags: review? → review?(justdave)
QA Contact: kerz → mozbot
Comment on attachment 215918 [details] [diff] [review] Initial implementation, V1 I haven't touched mozbot code in ages, probably better to have someone that's worked on the Bugzilla module review this.
Attachment #215918 - Flags: review?(justdave) → review?
Let's face it, MozBot is dead and so there's no chance I can ever get these changes done.
Assignee: wicked → ian
Resetting to new default owner.
Assignee: ian → nobody
Whiteboard: [has-attachment]
Priority: -- → P5
Priority: P5 → --
Summary: Add a Nagios module → [MODULE] Add a Nagios module
Comment on attachment 215918 [details] [diff] [review] Initial implementation, V1 Changing reviewer to Wolf.
Attachment #215918 - Flags: review? → review?(bugtrap)
Comment on attachment 215918 [details] [diff] [review] Initial implementation, V1 I need a better idea if this works and how it outputs, etc, before I can even begin to try to review this. :-(
Attachment #215918 - Flags: review?(bugtrap)
(In reply to comment #7) > I need a better idea if this works and how it outputs, etc, before I can even It did work back when I wrote it as I used it with my own Nagios that monitored my own infra. Basic idea is same as with Bugzilla module. Alert emails are sent by Nagios to a special address where a MTA (like procmail) feeds them to my module for processing. My module doesn't change the output format so it's output is exactly same as the alert format configured in Nagios (and thus format is controlled there). The patch in comment #2 does change the output to the format used by BMO but I have no idea if that works since it was not mine. :) Hope this helps, even though I'm not using neither Nagios nor Mozbot anymore. :)

Mozbot/Firebot is in maintenance-only mode; no further changes are planned.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: