[Pkg-nagios-devel] nagircbot sponsor?

Alexander Wirt formorer at formorer.de
Fri Dec 24 07:18:38 UTC 2010


John Morrissey schrieb am Thursday, den 23. December 2010:

Hi, 

> On Sat, Dec 18, 2010 at 06:37:37PM +0100, Alexander Wirt wrote:
> > John Morrissey schrieb am Saturday, den 18. December 2010:
> > > I've packaged nagircbot[1] for Debian. I'm looking for someone to sponsor
> > > the upload since I'm not a DD, though I've done other packaging work for
> > > Debian. Since it's Nagios-related, I thought I'd ask here before d-mentors.
> > 
> > Should be possible, do you want to maintain the package inside our
> > nagios/icinga team?
> 
> Sounds good to me. What would it involve, beyond using the team's git
> repository for revision control?
Not much, we normally set the maintainer to the pkg-nagios group and pin all
hooks to our cia bot and the commit mailinglist. Thats all. 

> Also, I have the packaging ready if you (or anyone else) has time to review
> it:
> 
>     http://horde.net/~jwm/debian/nagircbot_0.0.32-1.dsc
More or less the packaging is fine. But that the bot starts unconfigured is
not so nice. I see two options here configure the bot (channel, server, ssl,
nick...) via debconf (not preferred) or just provide some docs
(README.Debian) and disable the bot via /etc/default/nagircbot by default. 

Maybe it would be nicer have a more verbose default nagirc bot like:

#Enable nagirc bot (i.e. run on bootup)
ENABLE=no

#Where is the status.dat file of nagios/icinga located?
STATUSFILE="/var/cache/nagios3/status.dat"

#Channel to connect to, including the leading "#"
CHANNEL="#mychannel"

#IRC Server to connect to
SERVER="irc.debian.org"

#additonal parameters for nagircbot (see man (1) nagircbot for other options)
OPTIONS=

and so on. And then collect the options and build DAEMON_OPTS on the fly. 

What do you think? 

Alex



More information about the Pkg-nagios-devel mailing list