[Nagios-users] Unable to log in to Nagios
Greetings community, I have recently installed Nagios by following this tutorial, to the letter : http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html However, when I log into http://localhost/nagios, and enter the user nagiosadmin and the password I set, it just keeps bouncing back to the login screen. I have run through the setup instructions a number of times thinking I may have missed something, but I covered everything again and I`m still not able to log in. When I try to access the forums (http://nagios.meulie.net/) I get a page not found error. I am running Centos 5.2 i386. Can someone please point me in the right direction to help solve this, or simply blurt out the answer for me if you know it :) Thank you in advance for your prompt reply and your willingness to help. -- Regards Chris Blake TAU SPACE Operations Manager -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
>From the quickstart: "5) Configure the Web Interface [...] Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account - you'll need it later. htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin [...]" Your htpasswd file probably either does not contain what you think it does, or is not where it should be. Try re-creating it and using a very simple password. Regards, Martin Melin On Fri, Dec 11, 2009 at 11:04 AM, Chris Blake wrote: > > Greetings community, > > I have recently installed Nagios by following this tutorial, to the > letter : http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html > > However, when I log into http://localhost/nagios, and enter the user > nagiosadmin and the password I set, it just keeps bouncing back to the > login screen. > > I have run through the setup instructions a number of times thinking I > may have missed something, but I covered everything again and I`m > still not able to log in. > > When I try to access the forums (http://nagios.meulie.net/) I get a > page not found error. > > I am running Centos 5.2 i386. > > Can someone please point me in the right direction to help solve this, > or simply blurt out the answer for me if you know it :) > > Thank you in advance for your prompt reply and your willingness to help. > > -- > Regards > > Chris Blake > TAU SPACE > Operations Manager > > -- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
n Fri, Dec 11, 2009 at 12:18 PM, Martin Melin wrote: > From the quickstart: > > "5) Configure the Web Interface > > [...] > > Create a nagiosadmin account for logging into the Nagios web > interface. Remember the password you assign to this account - you'll > need it later. > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > > [...]" > > Your htpasswd file probably either does not contain what you think it > does, or is not where it should be. Try re-creating it and using a > very simple password. > > Regards, > Martin Melin Hi Martin, thank you for your reply. I re-did those steps a number of times already, restarting Apache each time. I used a simple password, 123, and this is the result of that command : [r...@nagios ~]# cat /usr/local/nagios/etc/htpassword.users nagiosadmin:as6UMfOBi.VLI I am still getting bounced back to the login screen. Is the problem perhaps occurring with Apache ? -- Regards Chris Blake TAU SPACE Operations Manager Phone: 011 807 8300 -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios as a Service Resiliency Manager
That's an interesting link - but unfortunately I don't think it really covers the situation where a host goes down or becomes unreachable. It may be the case that Nagios is not suitable for this purpose, but I thought I would check on here in case anyone had done anything like this previously. Cheers, Chris 2009/12/10 Marcel : > Maybe this would help: > http://onlamp.com/onlamp/2006/05/25/self-healing-networks.html > > On Thu, Dec 10, 2009 at 3:08 PM, Christopher McAtackney > wrote: >> >> Hi all, >> >> I have a need to control an Active / Passive pair of components and >> was wondering if anyone had tackled this problem with Nagios? >> >> The scenario is as follows; >> >> Host A has SERVICE_1 installed and running. Host B has SERVICE_2 >> installed, but not running. >> >> The desired functionality is to detect when SERVICE_1 is not running >> (or that Host A is down / unreachable), and then to start SERVICE_2 on >> Host B. >> >> I believe I can do this with Nagios by defining an event handler on >> SERVICE_1 which will make the appropriate call to start SERVICE_2 on >> Host B >> >> Would it make sense to store the relationship between SERVICE_1 and >> Host B / SERVICE_2 as a service macro, e.g. >> $_SERVICE_PASSIVE_HOSTNAME, $_SERVICE_PASSIVE_SERVICENAME? >> >> There are too many scenarios in which the SERVICE_1 might come back up >> to try automate the switching off of SERVICE_2 I believe, e.g. if >> someone pulled a network cable on Host A accidently, then plugged it >> in 15 minutes later - during which time Nagios detects that it is down >> and so starts up SERVICE_2. The user then plugs the network lead back >> in and now we have two Active instances running - which is what we >> specifically wanted to avoid. Even if Nagios detects that the primary >> component is up, it's still too late because any Active / Active >> overlap will cause problems for this particular application. >> >> I can't think of any way to automate that side of things - but does >> the general concept of having Nagios start up a Passive partner make >> sense? >> >> Thanks for any insight you have, >> >> Chris >> >> >> -- >> Return on Information: >> Google Enterprise Search pays you back >> Get the facts. >> http://p.sf.net/sfu/google-dev2dev >> ___ >> Nagios-users mailing list >> Nagios-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin wrote: > From the quickstart: > > "5) Configure the Web Interface > > [...] > > Create a nagiosadmin account for logging into the Nagios web > interface. Remember the password you assign to this account - you'll > need it later. > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > > [...]" > > Your htpasswd file probably either does not contain what you think it > does, or is not where it should be. Try re-creating it and using a > very simple password. > > Regards, > Martin Melin Hi again, I followed a bunch of instructions relating to configuring Apache directives and setting things in nagios.conf, and I`m still not able to log in. I am really confused now, when I tail the logs for Apache I get this when trying to log in : [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] access to /nagios/ failed, reason: verification of user id 'nagiosadmin' not configured I have the following permissions set up : [r...@zabbix etc]# pwd /usr/local/nagios/etc [r...@zabbix etc]# ls -l total 88 -rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg -rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users -rw-rw-r-- 1 nagios nagios 43776 Dec 11 10:36 nagios.cfg drwxrwxr-x 2 nagios nagios 4096 Dec 11 10:36 objects -rw-rw 1 nagios nagios 1340 Dec 11 10:36 resource.cfg [r...@zabbix etc]# Can someone please help me, I have gone through a few articles and I am obviously missing something as to why I cannot log in Thank you. -- Regards Chris Blake TAU SPACE Operations Manag -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Alternatives to NSCA?
Greetings, does anybody know of a NSCA replacement, which does the job without the need of unsupported libraries? The requirement of libmcrypt makes NSCA a real hassle to use for us, since we have to manually install third party libraries - which we really do not want to. RedHat won't support libmcrypt, as its development is long dead. Any alternatives out there, my google searches didn't come up with anything sadly. Or might it be easier to patch NSCA to use libgcrypt for example, which is available in every distribution? Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522-- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
The line: htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin should be exactly that. htpasswd is not a typo of htpassword ;) As you can see from your ls output, your htpasswd.users file is actually called htpasswORd.users - if you rename the file, you should be good to go. Regards, Martin Melin On Fri, Dec 11, 2009 at 12:56 PM, Chris Blake wrote: > On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin wrote: >> From the quickstart: >> >> "5) Configure the Web Interface >> >> [...] >> >> Create a nagiosadmin account for logging into the Nagios web >> interface. Remember the password you assign to this account - you'll >> need it later. >> >> htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin >> >> [...]" >> >> Your htpasswd file probably either does not contain what you think it >> does, or is not where it should be. Try re-creating it and using a >> very simple password. >> >> Regards, >> Martin Melin > > Hi again, > > I followed a bunch of instructions relating to configuring Apache > directives and setting things in nagios.conf, and I`m still not able > to log in. > > I am really confused now, when I tail the logs for Apache I get this > when trying to log in : > > > [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such > file or directory: Could not open password file: > /usr/local/nagios/etc/htpasswd.users > [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] access to > /nagios/ failed, reason: verification of user id 'nagiosadmin' not > configured > > I have the following permissions set up : > > [r...@zabbix etc]# pwd > /usr/local/nagios/etc > [r...@zabbix etc]# ls -l > total 88 > -rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg > -rwxrwxrwx 1 nagios nagios 26 Dec 11 12:52 htpassword.users > -rw-rw-r-- 1 nagios nagios 43776 Dec 11 10:36 nagios.cfg > drwxrwxr-x 2 nagios nagios 4096 Dec 11 10:36 objects > -rw-rw 1 nagios nagios 1340 Dec 11 10:36 resource.cfg > [r...@zabbix etc]# > > Can someone please help me, I have gone through a few articles and I > am obviously missing something as to why I cannot log in > > Thank you. > > -- > Regards > > Chris Blake > TAU SPACE > Operations Manag > > -- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
Chris, The file name the error is referring to is htpasswd.users [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users But your directory listing shows -rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users Rename the file to htpasswd.users and that may resolve it! Regards, Deborah -Original Message- From: Chris Blake [mailto:chris.bl...@tauspace.com] Sent: 11 December 2009 11:57 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Unable to log in to Nagios On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin wrote: > From the quickstart: > > "5) Configure the Web Interface > > [...] > > Create a nagiosadmin account for logging into the Nagios web > interface. Remember the password you assign to this account - you'll > need it later. > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > > [...]" > > Your htpasswd file probably either does not contain what you think it > does, or is not where it should be. Try re-creating it and using a > very simple password. > > Regards, > Martin Melin Hi again, I followed a bunch of instructions relating to configuring Apache directives and setting things in nagios.conf, and I`m still not able to log in. I am really confused now, when I tail the logs for Apache I get this when trying to log in : [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such file or directory: Could not open password file: /usr/local/nagios/etc/htpasswd.users [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] access to /nagios/ failed, reason: verification of user id 'nagiosadmin' not configured I have the following permissions set up : [r...@zabbix etc]# pwd /usr/local/nagios/etc [r...@zabbix etc]# ls -l total 88 -rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg -rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users -rw-rw-r-- 1 nagios nagios 43776 Dec 11 10:36 nagios.cfg drwxrwxr-x 2 nagios nagios 4096 Dec 11 10:36 objects -rw-rw 1 nagios nagios 1340 Dec 11 10:36 resource.cfg [r...@zabbix etc]# Can someone please help me, I have gone through a few articles and I am obviously missing something as to why I cannot log in Thank you. -- Regards Chris Blake TAU SPACE Operations Manag -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA ***-- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
On Fri, Dec 11, 2009 at 2:12 PM, Deborah Martin wrote: > Chris, > > The file name the error is referring to is htpasswd.users > > [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such file or > directory: Could not open password file: > /usr/local/nagios/etc/htpasswd.users > > But your directory listing shows > > -rwxrwxrwx 1 nagios nagios 26 Dec 11 12:52 htpassword.users > > Rename the file to htpasswd.users and that may resolve it! > > Regards, > Deborah > Thank you Deborah, I am quite embarrassed about this oversight...lol...it was pointed out by Martin as well. Thank you both, I am now able to access Nagios -- Regards Chris Blake TAU SPACE Operations Manager -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
On Fri, Dec 11, 2009 at 2:08 PM, Martin Melin wrote: > The line: > > htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin > > should be exactly that. htpasswd is not a typo of htpassword ;) > > As you can see from your ls output, your htpasswd.users file is > actually called htpasswORd.users - if you rename the file, you should > be good to go. > > Regards, > Martin Melin Oh my hat !! All this and I was overlooking a spelling mistake :( Arghhh Thank you for pointing out the error of my ways, much appreciated. I am now able to access Nagios. -- Regards Chris Blake TAU SPACE Operations Manager -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to log in to Nagios
On Friday 11 December 2009 12:56:53 Chris Blake wrote: > On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin wrote: > [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] (2)No such > file or directory: Could not open password file: > /usr/local/nagios/etc/htpasswd.users > [Fri Dec 11 13:20:09 2009] [error] [client 192.168.2.102] access to > /nagios/ failed, reason: verification of user id 'nagiosadmin' not > configured > > I have the following permissions set up : > > [r...@zabbix etc]# pwd > /usr/local/nagios/etc > [r...@zabbix etc]# ls -l > total 88 > -rw-rw-r-- 1 nagios nagios 11408 Dec 11 13:16 cgi.cfg > -rwxrwxrwx 1 nagios nagios26 Dec 11 12:52 htpassword.users > -rw-rw-r-- 1 nagios nagios 43776 Dec 11 10:36 nagios.cfg > drwxrwxr-x 2 nagios nagios 4096 Dec 11 10:36 objects > -rw-rw 1 nagios nagios 1340 Dec 11 10:36 resource.cfg > [r...@zabbix etc]# > > Can someone please help me, I have gone through a few articles and I > am obviously missing something as to why I cannot log in Hi, your webserver looks for /usr/local/nagios/etc/htpasswd.users, but your file is named htpassword.users. Just rename your htpassword.users to htpasswd.users and everything should be fine. Greetings, Christian > > Thank you. > -- Christian SchneemannGeschaeftsfuehrer: Ralph Dehner Technical Tester & Writer Unternehmenssitz: Vohburg B1 Systems GmbH Amtsgericht: Ingolstadt Handelsregister: HRB 3537 EMail: schneem...@b1-systems.de http://www.b1-systems.de Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg GPG: http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x2FA8643A41BDAB81 -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Alternatives to NSCA?
I just used nsca with encryption turned off and if you need the security on your local network wrap it in ssl via stunnel. this works on my rhel5.2 boxes and my Ubuntu servers (which have libmcrypt in repo) Greg Pangrazio pangr...@gmail.com On Fri, Dec 11, 2009 at 6:05 AM, wrote: > Greetings, > > does anybody know of a NSCA replacement, which does the job without the need > of unsupported libraries? The requirement of libmcrypt makes NSCA a real > hassle > to use for us, since we have to manually install third party libraries - > which we really > do not want to. RedHat won't support libmcrypt, as its development is long > dead. > > Any alternatives out there, my google searches didn't come up with anything > sadly. > > Or might it be easier to patch NSCA to use libgcrypt for example, which is > available > in every distribution? > > Regards > Sascha > > > GFKL Financial Services AG > Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > -- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] [Nagios-devel] Alternatives to NSCA?
Sascha, Why don't you create a libmcrypt.a and statically link it into your nsca, thereby not requiring mcrypt as an external library at runtime? Daniel. = Check out Brooklyn for Nagios 2.0 on the iPhone App Store! Now Supporting SSL and Host/Service Acknowledgements. = On Dec 11, 2009, at 7:05 AM, sascha.runsc...@gfkl.com wrote: > Greetings, > > does anybody know of a NSCA replacement, which does the job without the need > of unsupported libraries? The requirement of libmcrypt makes NSCA a real > hassle > to use for us, since we have to manually install third party libraries - > which we really > do not want to. RedHat won't support libmcrypt, as its development is long > dead. > > Any alternatives out there, my google searches didn't come up with anything > sadly. > > Or might it be easier to patch NSCA to use libgcrypt for example, which is > available > in every distribution? > > Regards > Sascha > > > GFKL Financial Services AG > Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB > 13522-- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > ___ > Nagios-devel mailing list > nagios-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NSCA strange behaviour
Hello, problem solved, it was indeed a version problem (minor number).. redhat has released a new nsca client/server package, removing a patch, and that made it incompatible with previous version. See: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg19402.html and related patch: http://cvs.fedoraproject.org/viewvc/EL-5/nsca/nsca-increase_max_plugin_output_length.patch?revision=1.1&view=markup&sortby=log Best regards, C. On Tue, 8 Dec 2009 10:52:50 -0600 Marc Powell wrote: > > On Dec 8, 2009, at 4:40 AM, Cedric Jeanneret wrote: > > > - Enbling debug for nsca on server01 doesn't show me anything interesting. > > I just don't see where nsca catch up client22 status, and it keeps on > > saying : > > Warning: The results of host 'client22.domain.lt' are stale by 0d 0h 2m 0s > > (threshold=0d 0h 6m 0s). I'm forcing an immediate check of the host. > > > > On another hand, it shows me: > > [1260267958.216051] [016.1] [pid=23191] Check results for service 'Cron > > service' on host 'client22.domain.lt' are fresh. > > What do they show? What you've quoted here doesn't come from NSCA (that I can > tell from a simple grep). -- > > nsca-2.7.2]# grep -r 'are fresh' * > nsca-2.7.2]# > > I'm sure that comes from nagios via nagios.log, not NSCA. Are you sure you're > looking in the right place? It's typically in /var/log/messages. > > How are you running nsca? daemon mode or via inetd? If inetd, is inetd > rejecting the connection? > > -- > Marc > > > -- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Cédric Jeanneret | System Administrator 021 619 10 32| Camptocamp SA cedric.jeanne...@camptocamp.com | PSE-A / EPFL signature.asc Description: PGP signature -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Modifying custom variables via external commands
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm having some problem in changing custom object variables via external commands. Using nagios 3.0.6 and 3.2.0 but it seems to ignore *almost* completely my command. > define service{ > namegeneric-service > [...] > _PRIORITY 1 > _SUPPORT_TEAM Tech Db - Generic > action_url > /wiki/doku.php?id=procedures:$SERVICEDESC$ > notes > priority:$_SERVICEPRIORITY$Support > Team(s):$_SERVICESUPPORT_TEAM$ > } In the debug I see: > [1260547711.216663] [128.2] [pid=18837] Raw command entry: [1260547696] > CHANGE_CUSTOM_SVC_VAR;blinkongdbslave1;SSH Service;_PRIORITY;1 > [1260547711.216970] [001.0] [pid=18837] process_external_command2() > [1260547711.216974] [128.1] [pid=18837] External Command Type: 148 > [1260547711.216979] [128.1] [pid=18837] Command Entry Time: 1260547696 > [1260547711.216983] [128.1] [pid=18837] Command Arguments: > blinkongdbslave1;SSH Service;_PRIORITY;1 but the value of the variable is not being changed. Any ideas? thanks in advance Diego -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLInCOAAoJEMJ8KUrKt830Z04H/1Bmq4xNjdZEfqXvrP8kSEar 7w9+KnPb0SvtLwIEAG9HWk2sdqcJg4qhq9vnsu079XWBjeCNFRrFW37fUqhi2Oio 5t5flyJuatDGFhFUA+w8oRImhiTmi0/QKzYeJSzMuXlgSFqUDlvQ6JlPlDL6go2z R5fJBSC4vbwhGlxcLhdswXV/FVbzNc363P7IBQJbjI9mL1r1gk+rPx2pDoqKvjig K5hI25OVmXe+QTOEKY4HqeBwu0dx9LiSTvdk17WzwsKjqlj4WwCZ41OZm9VqEpO1 TGfyhiQ92yw3rft/M5oI/AoaW0TTPMgs3wY3TFv6UQsZhmv/LTsAFNt7SsKHkyw= =Y84l -END PGP SIGNATURE- -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios as a Service Resiliency Manager
Chris, great thing about Nagios is it enables creative solution like this. I'd love to see you try it and report back on how it works for you. On 12/11/09, Christopher McAtackney wrote: > That's an interesting link - but unfortunately I don't think it really > covers the situation where a host goes down or becomes unreachable. It > may be the case that Nagios is not suitable for this purpose, but I > thought I would check on here in case anyone had done anything like > this previously. > > Cheers, > Chris > > 2009/12/10 Marcel : >> Maybe this would help: >> http://onlamp.com/onlamp/2006/05/25/self-healing-networks.html >> >> On Thu, Dec 10, 2009 at 3:08 PM, Christopher McAtackney >> >> wrote: >>> >>> Hi all, >>> >>> I have a need to control an Active / Passive pair of components and >>> was wondering if anyone had tackled this problem with Nagios? >>> >>> The scenario is as follows; >>> >>> Host A has SERVICE_1 installed and running. Host B has SERVICE_2 >>> installed, but not running. >>> >>> The desired functionality is to detect when SERVICE_1 is not running >>> (or that Host A is down / unreachable), and then to start SERVICE_2 on >>> Host B. >>> >>> I believe I can do this with Nagios by defining an event handler on >>> SERVICE_1 which will make the appropriate call to start SERVICE_2 on >>> Host B >>> >>> Would it make sense to store the relationship between SERVICE_1 and >>> Host B / SERVICE_2 as a service macro, e.g. >>> $_SERVICE_PASSIVE_HOSTNAME, $_SERVICE_PASSIVE_SERVICENAME? >>> >>> There are too many scenarios in which the SERVICE_1 might come back up >>> to try automate the switching off of SERVICE_2 I believe, e.g. if >>> someone pulled a network cable on Host A accidently, then plugged it >>> in 15 minutes later - during which time Nagios detects that it is down >>> and so starts up SERVICE_2. The user then plugs the network lead back >>> in and now we have two Active instances running - which is what we >>> specifically wanted to avoid. Even if Nagios detects that the primary >>> component is up, it's still too late because any Active / Active >>> overlap will cause problems for this particular application. >>> >>> I can't think of any way to automate that side of things - but does >>> the general concept of having Nagios start up a Passive partner make >>> sense? >>> >>> Thanks for any insight you have, >>> >>> Chris >>> >>> >>> -- >>> Return on Information: >>> Google Enterprise Search pays you back >>> Get the facts. >>> http://p.sf.net/sfu/google-dev2dev >>> ___ >>> Nagios-users mailing list >>> Nagios-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > -- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Sent from my mobile device \\Greg -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] [Nagios-devel] Alternatives to NSCA?
Once upon a time, I've tweaked syslog-ng to write to the command pipe. That worked like a charm. On Fri, Dec 11, 2009 at 10:05 AM, wrote: > Greetings, > > does anybody know of a NSCA replacement, which does the job without the > need > of unsupported libraries? The requirement of libmcrypt makes NSCA a real > hassle > to use for us, since we have to manually install third party libraries - > which we really > do not want to. RedHat won't support libmcrypt, as its development is long > dead. > > Any alternatives out there, my google searches didn't come up with anything > sadly. > > Or might it be easier to patch NSCA to use libgcrypt for example, which is > available > in every distribution? > > Regards > Sascha > > > GFKL Financial Services AG > Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 > > -- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > ___ > Nagios-devel mailing list > nagios-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Notifications not being sent
First, thank you all for any help that you can provide. Here is the problem that I am having, I hope someone can help point out something obvious that I have missed. 1) Hosts are being monitored just fine, status map shows red when a host goes down, event log shows alerts like it should. 2) Timeframes are set for 24/7 3) All host and service notifications are enabled 4) email address is correct 5) All hosts services are, at a minimum, set for w,c,u,r 6) If I go to a service or host and click on the link "Send custom host notification" it will send the notification without "forcing" it so I know that the timeframes are being read correctly and this also verifies the email address is correct and the mail send is working. 7) The event log doesn't show that it's even trying to send a notification when something alerts. Running Nagios Version 3.2.0 And here is a snippet from my configuration files, all hosts/services are set up identically: define contact { contact_name nagiosadmin alias Nagios Admin host_notification_options d,u,r,f,n service_notification_options w,u,c,r,f,n email supp...@mowisp.com pager ch...@mowisp.net host_notification_period 24x7 service_notification_period 24x7 host_notification_commandsnotify-host-by-email service_notification_commands notify-service-by-email } define contactgroup { contactgroup_name admins alias Nagios Administrators members nagiosadmin } define host { name Default_timeperiod_interval_5 register 0 max_check_attempts2 check_interval5 retry_interval1 notification_interval 60 notification_options d,u,r,f,s,n active_checks_enabled 1 passive_checks_enabled0 notifications_enabled 1 check_freshness 0 } define service { name Default_timeperiod_interval_5 register 0 max_check_attempts2 check_interval5 retry_interval1 notification_interval 60 notification_options w,u,c,r,f,s,n active_checks_enabled 1 passive_checks_enabled0 notifications_enabled 1 check_freshness 0 } define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday00:00-24:00 monday00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday00:00-24:00 saturday 00:00-24:00 } define host { host_name Miller Silo 900 Sector 1 address 10.90.16.1 check_command check-host-alive notification_interval 60 notification_options d,u,r,f,n max_check_attempts3 active_checks_enabled 1 passive_checks_enabled0 notifications_enabled 1 check_period 24x7 notification_period 24x7 contact_groupsadmins parents Miller Silo CMM use Default_timeperiod_interval_5 } define service { service_description check_ping check_command check_ping!20,80%!30,90% host_name Miller Silo 900 Sector 1 check_period
Re: [Nagios-users] Notifications not being sent
Christopher Tyler wrote: > First, thank you all for any help that you can provide. Here is the > problem that I am having, I hope someone can help point out something > obvious that I have missed. > > 1) Hosts are being monitored just fine, status map shows red when a host > goes down, event log shows alerts like it should. > 2) Timeframes are set for 24/7 > 3) All host and service notifications are enabled > 4) email address is correct > 5) All hosts services are, at a minimum, set for w,c,u,r > 6) If I go to a service or host and click on the link "Send custom host > notification" it will send the notification without "forcing" it so I > know that the timeframes are being read correctly and this also verifies > the email address is correct and the mail send is working. > 7) The event log doesn't show that it's even trying to send a > notification when something alerts. > Take the "N" (do not notify) option out of your contact configs. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] [Nagios-devel] Alternatives to NSCA?
i did that with syslog to, and with netcat (but then you don't get encryption though) i think i still have my scripts (they are prob searchable in the list also) if someone is interested On Fri, Dec 11, 2009 at 5:26 PM, Marcel wrote: > Once upon a time, I've tweaked syslog-ng to write to the command pipe. That > worked like a charm. > > On Fri, Dec 11, 2009 at 10:05 AM, wrote: > >> Greetings, >> >> does anybody know of a NSCA replacement, which does the job without the >> need >> of unsupported libraries? The requirement of libmcrypt makes NSCA a real >> hassle >> to use for us, since we have to manually install third party libraries - >> which we really >> do not want to. RedHat won't support libmcrypt, as its development is long >> dead. >> >> Any alternatives out there, my google searches didn't come up with >> anything sadly. >> >> Or might it be easier to patch NSCA to use libgcrypt for example, which is >> available >> in every distribution? >> >> Regards >> Sascha >> >> >> GFKL Financial Services AG >> Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp >> Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma >> Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 >> >> -- >> Return on Information: >> Google Enterprise Search pays you back >> Get the facts. >> http://p.sf.net/sfu/google-dev2dev >> >> ___ >> Nagios-devel mailing list >> nagios-de...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-devel >> >> > > > -- > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > ___ > Nagios-devel mailing list > nagios-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > > -- Vänliga hälsningar / Best Regards Mattias Ryrlén __ op5 AB Första Långgatan 19 SE-413 27 Göteborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Monitor Cisco Switches
Hello, I am trying to monitor Cisco switches and routers. I am able to ping and check the uptime of the switch. 1) But for the port 1 link status, I am getting "SNMP CRITICAL - *down(2)*" error. 2) For port 1 bandwidth usage, the error is "check_mrtgtraf: Unable to open MRTG log file" I have installed MRTG, but I am not able to go any further. Also for the http://localhost/mrtg/10.111.100.102_43.html check, I am getting the following error *404 Not found The requested URL /mrtg/10.111.100.102_43.html was not found on this server. * I have checked for assistance in http://www.mail-archive.com/nagios-users@lists.sourceforge.net/ but in vain. I am using Nagios Core version 3.2.0. Thanks in advance Regards Vikram -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null