Closed
Bug 331366
Opened 19 years ago
Closed 6 years ago
[MODULE] Add a Nagios module
Categories
(Webtools Graveyard :: Mozbot, enhancement)
Webtools Graveyard
Mozbot
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: wicked, Unassigned)
Details
(Whiteboard: [has-attachment])
Attachments
(2 files)
7.35 KB,
patch
|
Details | Diff | Splinter Review | |
1.13 KB,
patch
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 1•19 years ago
|
||
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?
Comment 2•19 years ago
|
||
Attachment #215918 -
Flags: review? → review?(justdave)
Updated•18 years ago
|
QA Contact: kerz → mozbot
Comment 3•18 years ago
|
||
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?
Reporter | ||
Comment 4•17 years ago
|
||
Let's face it, MozBot is dead and so there's no chance I can ever get these changes done.
Assignee: wicked → ian
Comment 5•16 years ago
|
||
Resetting to new default owner.
Assignee: ian → nobody
Whiteboard: [has-attachment]
Updated•16 years ago
|
Priority: -- → P5
Updated•16 years ago
|
Priority: P5 → --
Summary: Add a Nagios module → [MODULE] Add a Nagios module
Comment 6•15 years ago
|
||
Comment on attachment 215918 [details] [diff] [review]
Initial implementation, V1
Changing reviewer to Wolf.
Attachment #215918 -
Flags: review? → review?(bugtrap)
Comment 7•15 years ago
|
||
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)
Reporter | ||
Comment 8•15 years ago
|
||
(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
Updated•6 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•