Thread View: news.software.nntp
4 messages
4 total messages
Started by Matija Nalis
Thu, 21 Jan 2010 15:51
ANNOUNCE: Nagios NNTP check (AUTHINFO, new articles)
Author: Matija Nalis
Date: Thu, 21 Jan 2010 15:51
Date: Thu, 21 Jan 2010 15:51
18 lines
1782 bytes
1782 bytes
At address http://tinyurl.com/yhjkyfl - that is: https://www.monitoringexchange.org/inventory/Check-Plugins/Software/Misc/check_nntp_articles there is Nagios plugin available for checking your NNTP server. Besides checking regular NNTP connection, it allows you to specify both username / password to try to login with, and a list of groups which will be checked for regular traffic. So you will get alert if you break your authentication modules, if your disk gets full or spool corrupted or server gets throttled for any reason, and even if you get network problems or you upsteam misconfigures and stops sending you articles, etc. Enjoy -- Opinions above are GNU-copylefted.
Re: ANNOUNCE: Nagios NNTP check (AUTHINFO, new articles)
Author: Julien ÉLIE
Date: Thu, 21 Jan 2010 20:39
Date: Thu, 21 Jan 2010 20:39
25 lines
2385 bytes
2385 bytes
Hi Matija, > At address http://tinyurl.com/yhjkyfl - that is: > https://www.monitoringexchange.org/inventory/Check-Plugins/Software/Misc/check_nntp_articles > > there is Nagios plugin available for checking your NNTP server. > > Besides checking regular NNTP connection, it allows you to specify both > username / password to try to login with, and a list of groups which will be > checked for regular traffic. Thanks for your script. A suggestion: maybe you should mention somewhere that NEWNEWS is required for the traffic check (that cannot currently be deactivated). Not all news servers have NEWNEWS available to readers, or even the command itself. Some news servers also require an encrypted connection before trying to authenticate (or even only use NNTP/TLS on port 563 -- like news.ecp.fr). -- Julien ÉLIE « La science consiste à passer d'un étonnement à l'autre. » (Aristote)
Re: ANNOUNCE: Nagios NNTP check (AUTHINFO, new articles)
Author: Matija Nalis
Date: Fri, 22 Jan 2010 21:04
Date: Fri, 22 Jan 2010 21:04
48 lines
3441 bytes
3441 bytes
On Thu, 21 Jan 2010 21:39:53 +0100, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > Hi Matija, > >> At address http://tinyurl.com/yhjkyfl - that is: >> https://www.monitoringexchange.org/inventory/Check-Plugins/Software/Misc/check_nntp_articles >> >> there is Nagios plugin available for checking your NNTP server. >> >> Besides checking regular NNTP connection, it allows you to specify both >> username / password to try to login with, and a list of groups which will be >> checked for regular traffic. > > Thanks for your script. > A suggestion: maybe you should mention somewhere that NEWNEWS is required Mentioned. It would be better to actually fix it, by walking the list of groups and manually checking last arrived article, but it would require some additional date parsing module and an hour or two of free time to code (which is more problematic than it looks... hey, looking at the dates in script, it took me 9 months just to upload the already finished script :) > for the traffic check (that cannot currently be deactivated). I've updated that easy one in v1.01, at least now you can specify empty group list to skip this part of the check. > Not all news servers have NEWNEWS available to readers, or even the command > itself. Yeah, I'm aware. :( I needed a quick check, and had no problem allowing NEWNEWS access to my Nagios server, and it was the easiest way. If anybody wants to improve, they're welcome (and would probably get to it faster then me). > Some news servers also require an encrypted connection before trying to > authenticate (or even only use NNTP/TLS on port 563 -- like news.ecp.fr). Yes. Unfortunately, News::NNTPClient does not support SSL. One could work around it by using programs like stunnel(8), if you need that. It also probably could be implemented directly in the check script by using more heavyweight Net::NNTP in combination with IO::Socket::SSL, but I have no immediate need for that and so many other things to do, so don't hold your breath :) -- Opinions above are GNU-copylefted.
Re: ANNOUNCE: Nagios NNTP check (AUTHINFO, new articles)
Author: Julien ÉLIE
Date: Fri, 22 Jan 2010 21:54
Date: Fri, 22 Jan 2010 21:54
15 lines
1991 bytes
1991 bytes
Hi Matija, >> for the traffic check (that cannot currently be deactivated). > > I've updated that easy one in v1.01, at least now you can specify empty > group list to skip this part of the check. OK, thanks for the change and having shared your script! -- Julien ÉLIE « Boire du café empêche de dormir. Par contre, dormir empêche de boire du café. » (Philippe Geluck)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads