From gtj at addicks.org Thu Sep 2 13:38:54 2010 From: gtj at addicks.org (Glynne Jones) Date: Thu, 02 Sep 2010 12:38:54 +0100 Subject: [op5-users] Merlin 0.6.8 Not Listening On TCP Port Message-ID: <344af7b7b9ca92566ec32631d94fce57@mail.addicks.org> Hi All, I'm just starting to look at Merlin and have compiled it on a test Nagios node I've got. When it fire up the daemon it's not listening on any TCP port. I'm sure I'm missing something simple but I cant' think what it can be. This is with a default configuration. Any ideas? Thanks, Glynne From thn at steria.dk Thu Sep 2 13:45:03 2010 From: thn at steria.dk (thn at steria.dk) Date: Thu, 2 Sep 2010 13:45:03 +0200 Subject: [op5-users] Merlin 0.6.8 Not Listening On TCP Port In-Reply-To: <344af7b7b9ca92566ec32631d94fce57@mail.addicks.org> References: <344af7b7b9ca92566ec32631d94fce57@mail.addicks.org> Message-ID: Hi, I had the same problem, it seems it was disabled in version 0.6.8, but has since been reopened in version 0.7 currently on git. I have that version running with 2 NOC's now working together. Configuration configs must still be manually copied, but checks are working nicely together via merlin. Thomas Hanson IT konsulent Steria A/S Tonsbakken 16-18 2740 Skovlunde Mobil: +45 26306092 E-mail: thn at steria.dk www.steria.dk From: Glynne Jones To: Date: 02-09-2010 13:40 Subject: [op5-users] Merlin 0.6.8 Not Listening On TCP Port Sent by: op5-users-bounces at lists.op5.com Hi All, I'm just starting to look at Merlin and have compiled it on a test Nagios node I've got. When it fire up the daemon it's not listening on any TCP port. I'm sure I'm missing something simple but I cant' think what it can be. This is with a default configuration. Any ideas? Thanks, Glynne _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users ------------------------------------------------------------------------------------ Med en oms?tning p? DKK 14 mia. og 19.000 ansatte er Steria blandt de ti f?rende it-serviceleverand?rer i Europa. Gruppen, som er repr?senteret i 16 lande, herunder i Danmark med ca. 170 medarbejdere, leverer komplette l?sninger inden for f?lgende fokusomr?der: R?dgivning, systemintegration og it-drift. Det betyder, at Steria bist?r med alt fra forretnings- og it-r?dgivning til projektledelse, systemudvikling og infrastrukturleverancer til drift, hosting og vedligehold. Yderligere oplysninger kan l?ses p? www.steria.dk og www.steria.com. This email originates from Steria A/S, Tonsbakken 16-18, DK-2740 Skovlunde - www.steria.dk. This email and any attachments may contain confidential/intellectual property/copyright information and is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or even edited. From gtj at addicks.org Thu Sep 2 15:04:34 2010 From: gtj at addicks.org (Glynne Jones) Date: Thu, 02 Sep 2010 14:04:34 +0100 Subject: [op5-users] Merlin 0.6.8 Not Listening On TCP Port In-Reply-To: References: <344af7b7b9ca92566ec32631d94fce57@mail.addicks.org> Message-ID: On Thu, 2 Sep 2010 13:45:03 +0200, thn at steria.dk wrote: > Hi, > I had the same problem, it seems it was disabled in version 0.6.8, but has > since been reopened in version 0.7 currently on git. I have that version > running with 2 NOC's now working together. Configuration configs must still > be manually copied, but checks are working nicely together via merlin. Thanks for that, Thomas, glad it wasn't me being dumb!. Wonder why it was disabled? I'll take a look at the current git version. Would you describe it as being stable enough for production use? Thanks, Glynne > From: Glynne Jones > To: > Date: 02-09-2010 13:40 > Subject: [op5-users] Merlin 0.6.8 Not Listening On TCP Port > Sent by: op5-users-bounces at lists.op5.com > > > > Hi All, > > I'm just starting to look at Merlin and have compiled it on a test > Nagios node I've got. When it fire up the daemon it's not listening on > any TCP port. I'm sure I'm missing something simple but I cant' think > what it can be. This is with a default configuration. > > Any ideas? > > Thanks, > > Glynne > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > > > > > > > ------------------------------------------------------------------------------------ > Med en oms?tning p? DKK 14 mia. og 19.000 ansatte er Steria blandt de > ti f?rende it-serviceleverand?rer i Europa. Gruppen, som er > repr?senteret i 16 lande, herunder i Danmark med ca. 170 medarbejdere, > leverer komplette l?sninger inden for f?lgende fokusomr?der: > R?dgivning, systemintegration og it-drift. Det betyder, at Steria > bist?r med alt fra forretnings- og it-r?dgivning til projektledelse, > systemudvikling og infrastrukturleverancer til drift, hosting og > vedligehold. Yderligere oplysninger kan l?ses p? www.steria.dk og > www.steria.com. > > This email originates from Steria A/S, Tonsbakken 16-18, DK-2740 > Skovlunde - www.steria.dk. > This email and any attachments may contain confidential/intellectual > property/copyright information and is only for the use of the > addressee(s). You are prohibited from copying, forwarding, disclosing, > saving or otherwise using it in any way if you are not the > addressee(s) or responsible for delivery. If you receive this email by > mistake, please advise the sender and cancel it immediately. Steria > may monitor the content of emails within its network to ensure > compliance with its policies and procedures. Any email is susceptible > to alteration and its integrity cannot be assured. Steria shall not be > liable if the message is altered, modified, falsified, or even edited. From shaz648 at hotmail.com Thu Sep 2 15:25:01 2010 From: shaz648 at hotmail.com (Shazia Mussa) Date: Thu, 2 Sep 2010 13:25:01 +0000 Subject: [op5-users] Ninja Web Interface can only be accessed from localhost Message-ID: Hi All, I recently installed Nagios 3.2.1 and Ninja 1.0.3 on Fedora 13 and found that I cannot login to Ninja from other systems other than the localhost. I am able login to Nagios from other systems using the same username and password however this does not work from other systems accessing Ninja. There is no error message on the Ninja webpage however these are the access_log from /etc/httpd/logs 192.168.1.21 - shazia [02/Sep/2010:01:09:12 -0600] "GET /ninja/ HTTP/1.1" 302 5581 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHT ML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - shazia [02/Sep/2010:01:09:12 -0600] "GET /ninja/index.php/tac HTTP/1.1" 302 561 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKi t/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - shazia [02/Sep/2010:01:09:13 -0600] "GET /ninja/index.php/default/show_login HTTP/1.1" 200 1968 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; e n-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - shazia [02/Sep/2010:01:09:17 -0600] "POST /ninja/index.php/default/do_login HTTP/1.1" 302 543 "http://192.168.0.15/ninja/index.php/default/show _login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - shazia [02/Sep/2010:01:09:18 -0600] "GET /ninja/index.php/tac/index HTTP/1.1" 302 561 "http://192.168.0.15/ninja/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - shazia [02/Sep/2010:01:09:18 -0600] "GET /ninja/index.php/default/show_login HTTP/1.1" 200 1968 "http://192.168.0.15/ninja/index.php/default/sh ow_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - - [02/Sep/2010:01:09:18 -0600] "GET /ninja/application/views/themes/default/js/login.js HTTP/1.1" 304 - "http://192.168.0.15/ninja/index.php/de fault/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - - [02/Sep/2010:01:09:18 -0600] "GET /ninja/application/views/themes/default/css/default/common.css HTTP/1.1" 304 - "http://192.168.0.15/ninja/i ndex.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/login.png HTTP/1.1" 304 - "http://192.168.0.15/n inja/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/bg.png HTTP/1.1" 304 - "http://192.168.0.15/ninj a/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/input-160.png HTTP/1.1" 304 - "http://192.168.0.1 36/ninja/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" Settings for /etc/httpd/ninja.conf LoadModule alias_module modules/mod_alias.so Alias /ninja /usr/local/nagios/addons/ninja Order allow,deny Allow from all DirectoryIndex index.php Any help is appreciated. Thanks,Shazia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100902/00e5c3ca/attachment.html From thn at steria.dk Thu Sep 2 15:28:27 2010 From: thn at steria.dk (thn at steria.dk) Date: Thu, 2 Sep 2010 15:28:27 +0200 Subject: [op5-users] Merlin 0.6.8 Not Listening On TCP Port In-Reply-To: References: <344af7b7b9ca92566ec32631d94fce57@mail.addicks.org> Message-ID: Hi I have only had it running a couple of days in a test enviroment, and so far I haven't run into any bugs for the parts I have testet. but it is still beta code. It is production ready for a single nagios server as it is indeed running as the backend for ninja. but I would say it is still beta in regards to redundency setups, as it is still lacking config syncs. I don't plan on using it for our production site until the config syncs are in place. But I will be testing what I can in our test enviroment until then. As for why it was disabled, I remember reading a post some while ago were Andreas disabled it in 0.6.7 I think is was, due to some bug. I am guessing that is now fixed. Thomas Hanson IT konsulent Steria A/S Tonsbakken 16-18 2740 Skovlunde Mobil: +45 26306092 E-mail: thn at steria.dk www.steria.dk From: Glynne Jones To: Mailinglist for op5's products Date: 02-09-2010 15:06 Subject: Re: [op5-users] Merlin 0.6.8 Not Listening On TCP Port Sent by: op5-users-bounces at lists.op5.com On Thu, 2 Sep 2010 13:45:03 +0200, thn at steria.dk wrote: > Hi, > I had the same problem, it seems it was disabled in version 0.6.8, but has > since been reopened in version 0.7 currently on git. I have that version > running with 2 NOC's now working together. Configuration configs must still > be manually copied, but checks are working nicely together via merlin. Thanks for that, Thomas, glad it wasn't me being dumb!. Wonder why it was disabled? I'll take a look at the current git version. Would you describe it as being stable enough for production use? Thanks, Glynne > From: Glynne Jones > To: > Date: 02-09-2010 13:40 > Subject: [op5-users] Merlin 0.6.8 Not Listening On TCP Port > Sent by: op5-users-bounces at lists.op5.com > > > > Hi All, > > I'm just starting to look at Merlin and have compiled it on a test > Nagios node I've got. When it fire up the daemon it's not listening on > any TCP port. I'm sure I'm missing something simple but I cant' think > what it can be. This is with a default configuration. > > Any ideas? > > Thanks, > > Glynne > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > > > > > > > ------------------------------------------------------------------------------------ > Med en oms?tning p? DKK 14 mia. og 19.000 ansatte er Steria blandt de > ti f?rende it-serviceleverand?rer i Europa. Gruppen, som er > repr?senteret i 16 lande, herunder i Danmark med ca. 170 medarbejdere, > leverer komplette l?sninger inden for f?lgende fokusomr?der: > R?dgivning, systemintegration og it-drift. Det betyder, at Steria > bist?r med alt fra forretnings- og it-r?dgivning til projektledelse, > systemudvikling og infrastrukturleverancer til drift, hosting og > vedligehold. Yderligere oplysninger kan l?ses p? www.steria.dk og > www.steria.com. > > This email originates from Steria A/S, Tonsbakken 16-18, DK-2740 > Skovlunde - www.steria.dk. > This email and any attachments may contain confidential/intellectual > property/copyright information and is only for the use of the > addressee(s). You are prohibited from copying, forwarding, disclosing, > saving or otherwise using it in any way if you are not the > addressee(s) or responsible for delivery. If you receive this email by > mistake, please advise the sender and cancel it immediately. Steria > may monitor the content of emails within its network to ensure > compliance with its policies and procedures. Any email is susceptible > to alteration and its integrity cannot be assured. Steria shall not be > liable if the message is altered, modified, falsified, or even edited. _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users ------------------------------------------------------------------------------------ Med en oms?tning p? DKK 14 mia. og 19.000 ansatte er Steria blandt de ti f?rende it-serviceleverand?rer i Europa. Gruppen, som er repr?senteret i 16 lande, herunder i Danmark med ca. 170 medarbejdere, leverer komplette l?sninger inden for f?lgende fokusomr?der: R?dgivning, systemintegration og it-drift. Det betyder, at Steria bist?r med alt fra forretnings- og it-r?dgivning til projektledelse, systemudvikling og infrastrukturleverancer til drift, hosting og vedligehold. Yderligere oplysninger kan l?ses p? www.steria.dk og www.steria.com. This email originates from Steria A/S, Tonsbakken 16-18, DK-2740 Skovlunde - www.steria.dk. This email and any attachments may contain confidential/intellectual property/copyright information and is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or even edited. From nicklas.byhlin at wuerth.se Thu Sep 2 16:01:28 2010 From: nicklas.byhlin at wuerth.se (nicklas.byhlin at wuerth.se) Date: Thu, 2 Sep 2010 16:01:28 +0200 Subject: [op5-users] =?iso-8859-1?q?Nicklas_Byhlin_=E4r_p=E5_semester=2E?= Message-ID: Jag kommer att vara borta fr?n kontoret fr.o.m. 2010-09-01 och kommer inte tillbaka f?rr?n 2010-09-13. Vid akuta ?renden kontakta Lena Jurland. 070-3743037 From perasb at op5.com Thu Sep 2 16:11:56 2010 From: perasb at op5.com (=?iso-8859-1?Q?Per_=C5sberg?=) Date: Thu, 2 Sep 2010 16:11:56 +0200 Subject: [op5-users] Ninja Web Interface can only be accessed from localhost In-Reply-To: References: Message-ID: <803CB715-4B75-404D-8899-3A878E8EB3A2@op5.com> On Sep 2, 2010, at 15:25 EM, Shazia Mussa wrote: > Hi All, > > I recently installed Nagios 3.2.1 and Ninja 1.0.3 on Fedora 13 and found that I cannot login to Ninja from other systems other than the localhost. I am able login to Nagios from other systems using the same username and password however this does not work from other systems accessing Ninja. > > There is no error message on the Ninja webpage however these are the access_log from /etc/httpd/logs > > 192.168.1.21 - shazia [02/Sep/2010:01:09:12 -0600] "GET /ninja/ HTTP/1.1" 302 5581 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHT > ML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - shazia [02/Sep/2010:01:09:12 -0600] "GET /ninja/index.php/tac HTTP/1.1" 302 561 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKi > t/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - shazia [02/Sep/2010:01:09:13 -0600] "GET /ninja/index.php/default/show_login HTTP/1.1" 200 1968 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; e > n-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - shazia [02/Sep/2010:01:09:17 -0600] "POST /ninja/index.php/default/do_login HTTP/1.1" 302 543 "http://192.168.0.15/ninja/index.php/default/show > _login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - shazia [02/Sep/2010:01:09:18 -0600] "GET /ninja/index.php/tac/index HTTP/1.1" 302 561 "http://192.168.0.15/ninja/index.php/default/show_login" > "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - shazia [02/Sep/2010:01:09:18 -0600] "GET /ninja/index.php/default/show_login HTTP/1.1" 200 1968 "http://192.168.0.15/ninja/index.php/default/sh > ow_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - - [02/Sep/2010:01:09:18 -0600] "GET /ninja/application/views/themes/default/js/login.js HTTP/1.1" 304 - "http://192.168.0.15/ninja/index.php/de > fault/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - - [02/Sep/2010:01:09:18 -0600] "GET /ninja/application/views/themes/default/css/default/common.css HTTP/1.1" 304 - "http://192.168.0.15/ninja/i > ndex.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/login.png HTTP/1.1" 304 - "http://192.168.0.15/n > inja/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/bg.png HTTP/1.1" 304 - "http://192.168.0.15/ninj > a/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/input-160.png HTTP/1.1" 304 - "http://192.168.0.1 > 36/ninja/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > Settings for /etc/httpd/ninja.conf > > > LoadModule alias_module modules/mod_alias.so > > > Alias /ninja /usr/local/nagios/addons/ninja > > Order allow,deny > Allow from all > DirectoryIndex index.php > > > > Any help is appreciated. Hi Shazia, This sounds pretty weird and the only thing I can come to think about is that you shouold check the system time on your nagios machine since it might be a session issue. Do you get an error if you try to access the system with a login/passwd that you know doesn't exist? If not - it's definetely a session issue. Regards, /Per --------------------------- Per Asberg Senior Developer www.op5.com From shaz648 at hotmail.com Thu Sep 2 16:37:35 2010 From: shaz648 at hotmail.com (Shazia Mussa) Date: Thu, 2 Sep 2010 14:37:35 +0000 Subject: [op5-users] Ninja Web Interface can only be accessed from localhost In-Reply-To: <803CB715-4B75-404D-8899-3A878E8EB3A2@op5.com> References: , <803CB715-4B75-404D-8899-3A878E8EB3A2@op5.com> Message-ID: That worked! Thank-you Per! :) > From: perasb at op5.com > Date: Thu, 2 Sep 2010 16:11:56 +0200 > To: op5-users at lists.op5.com > Subject: Re: [op5-users] Ninja Web Interface can only be accessed from localhost > > > On Sep 2, 2010, at 15:25 EM, Shazia Mussa wrote: > > > Hi All, > > > > I recently installed Nagios 3.2.1 and Ninja 1.0.3 on Fedora 13 and found that I cannot login to Ninja from other systems other than the localhost. I am able login to Nagios from other systems using the same username and password however this does not work from other systems accessing Ninja. > > > > There is no error message on the Ninja webpage however these are the access_log from /etc/httpd/logs > > > > 192.168.1.21 - shazia [02/Sep/2010:01:09:12 -0600] "GET /ninja/ HTTP/1.1" 302 5581 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHT > > ML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - shazia [02/Sep/2010:01:09:12 -0600] "GET /ninja/index.php/tac HTTP/1.1" 302 561 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKi > > t/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - shazia [02/Sep/2010:01:09:13 -0600] "GET /ninja/index.php/default/show_login HTTP/1.1" 200 1968 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; e > > n-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - shazia [02/Sep/2010:01:09:17 -0600] "POST /ninja/index.php/default/do_login HTTP/1.1" 302 543 "http://192.168.0.15/ninja/index.php/default/show > > _login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - shazia [02/Sep/2010:01:09:18 -0600] "GET /ninja/index.php/tac/index HTTP/1.1" 302 561 "http://192.168.0.15/ninja/index.php/default/show_login" > > "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - shazia [02/Sep/2010:01:09:18 -0600] "GET /ninja/index.php/default/show_login HTTP/1.1" 200 1968 "http://192.168.0.15/ninja/index.php/default/sh > > ow_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - - [02/Sep/2010:01:09:18 -0600] "GET /ninja/application/views/themes/default/js/login.js HTTP/1.1" 304 - "http://192.168.0.15/ninja/index.php/de > > fault/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - - [02/Sep/2010:01:09:18 -0600] "GET /ninja/application/views/themes/default/css/default/common.css HTTP/1.1" 304 - "http://192.168.0.15/ninja/i > > ndex.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/login.png HTTP/1.1" 304 - "http://192.168.0.15/n > > inja/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/bg.png HTTP/1.1" 304 - "http://192.168.0.15/ninj > > a/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > 192.168.1.21 - - [02/Sep/2010:01:09:19 -0600] "GET /ninja/application/views/themes/default/css/default/images/input-160.png HTTP/1.1" 304 - "http://192.168.0.1 > > 36/ninja/index.php/default/show_login" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4" > > > > Settings for /etc/httpd/ninja.conf > > > > > > LoadModule alias_module modules/mod_alias.so > > > > > > Alias /ninja /usr/local/nagios/addons/ninja > > > > Order allow,deny > > Allow from all > > DirectoryIndex index.php > > > > > > > > Any help is appreciated. > > > Hi Shazia, > > This sounds pretty weird and the only thing I can come to think about is that you shouold check the system time on your nagios machine since it might be a session issue. > Do you get an error if you try to access the system with a login/passwd that you know doesn't exist? > If not - it's definetely a session issue. > > Regards, > > /Per > > --------------------------- > Per Asberg > Senior Developer > www.op5.com > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100902/20c9f29e/attachment.html From jbrooks at oddelement.com Thu Sep 2 18:35:43 2010 From: jbrooks at oddelement.com (Joel Brooks) Date: Thu, 2 Sep 2010 12:35:43 -0400 Subject: [op5-users] check_esx3 Message-ID: hey gang, I'm using the check_esx3 from op5 to monitor some esx servers. I'm trying to get the script to check storage space. If i'm making it out clearly, the script reports FREE space or FREE %. Here's how I'm calling it: ./check_esx3 -D virtualcenterserver -H vmhost -u user -p password -l vmfs -s 'datastore' -w 20% -c 10% what I expect is that this will report a WARNing when there is 20% free space remaining and CRITical when there is only 10% warning. but that's not what I get. here's the output of the command above: ESX CRITICAL - datastore=134192.00 MB (32.10%) | VMMgmt01:storage1=32.10%;20;10 I've tried reversing the warning/critical threshold as such: ./check_esx3 -D virtualcenterserver -H vmhost -u user -p password -l vmfs -s 'datastore' -w 80% -c 90% and still no joy. i get: ESX CRITICAL - datastore=134192.00 MB (32.10%) | VMMgmt01:storage1=32.10%;80;90 weirdness. same applies when not using % thresholds... what am I doing wrong here? thx, J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100902/ecdf40b6/attachment.html From mattias at westbahr.com Thu Sep 2 21:08:07 2010 From: mattias at westbahr.com (Mattias Bergsten) Date: Thu, 02 Sep 2010 21:08:07 +0200 Subject: [op5-users] check_esx3 In-Reply-To: References: Message-ID: <4C7FF617.10004@westbahr.com> On 2010-09-02 18:35, Joel Brooks wrote: > I've tried reversing the warning/critical threshold as such: > > ./check_esx3 -D virtualcenterserver -H vmhost -u user -p password -l > vmfs -s 'datastore' -w 80% -c 90% > > and still no joy. i get: > > ESX CRITICAL - datastore=134192.00 MB (32.10%) | > VMMgmt01:storage1=32.10%;80;90 > > weirdness. > > same applies when not using % thresholds... > > what am I doing wrong here? These are still Nagios thresholds, not plain percentage values. http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT You probably want "20%:" instead of your current "20%" if you want a CRITICAL status when the free space is below 20%. -- Mattias Bergsten | Senior Consultant | VMware VCP | Westbahr AB Direkt: 031-712 02 23 | Vxl: 031-712 02 20 | http://www.westbahr.com Bes?k: Kaserntorget 7, G?teborg | Post: Box 2043, 403 11 G?teborg From a at aufbix.org Fri Sep 3 11:12:16 2010 From: a at aufbix.org (Andraz Sraka) Date: Fri, 03 Sep 2010 11:12:16 +0200 Subject: [op5-users] How to get Geomap to Work In-Reply-To: References: Message-ID: <1283505136.19357.9.camel@mono> re On Thu, 2010-08-19 at 11:54 +0200, Duncan Phillips wrote: > For those interested in getting Geomap to work in Ninja, I have > written a post which I have linked to below. Its a bit of a hack for > now, but hopefully the Nagvis will be catching up soon and the > integration will be a little easier :) > > http://abigant.wordpress.com/2010/08/19/ushering-in-a-new-nagios-with-ninja-and-geomap/ Nice; but still I have question how to make Geomap working so that you can add new locations / new connections etc .. view is working but I cannot add anything on the map via interface at the moment. Feature or a bug? I was already looking for work workaround - editing XMLs by hand, but there are no examples around how XMLs should look like? Any suggestions? regards, Andraz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.op5.com/pipermail/op5-users/attachments/20100903/17b227a9/attachment-0001.bin From duncan at synthasite.com Fri Sep 3 11:33:54 2010 From: duncan at synthasite.com (Duncan Phillips) Date: Fri, 3 Sep 2010 11:33:54 +0200 Subject: [op5-users] How to get Geomap to Work In-Reply-To: <1283505136.19357.9.camel@mono> References: <1283505136.19357.9.camel@mono> Message-ID: Hi Andraz, I got caught up on how i expected to add a point, and maybe that's what you've run into. To add a new point, you must search for it, and then click add. You can't add a new point just by entering a longitude/latitude or something like that, it has to be done though the search. When you have 2+ points, you can connect them. Hope that helps Duncan On Fri, Sep 3, 2010 at 11:12 AM, Andraz Sraka wrote: > re > > On Thu, 2010-08-19 at 11:54 +0200, Duncan Phillips wrote: >> For those interested in getting Geomap to work in Ninja, I have >> written a post which I have linked to below. Its a bit of a hack for >> now, but hopefully the Nagvis will be catching up soon and the >> integration will be a little easier :) >> >> http://abigant.wordpress.com/2010/08/19/ushering-in-a-new-nagios-with-ninja-and-geomap/ > > Nice; but still I have question how to make Geomap working so that you > can add new locations / new connections etc .. view is working but I > cannot add anything on the map via interface at the moment. Feature or a > bug? > > I was already looking for work workaround - editing XMLs by hand, but > there are no examples around how XMLs should look like? > > Any suggestions? > > regards, > ?Andraz > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > > From shaz648 at hotmail.com Fri Sep 3 12:56:12 2010 From: shaz648 at hotmail.com (Shazia Mussa) Date: Fri, 3 Sep 2010 10:56:12 +0000 Subject: [op5-users] Ninja Runtime Message on Tactical Overview Message-ID: Hi All, When I login to Ninja I see the following Runtime Message on the Tactical View page. Runtime MessageAn error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.application/widgets/monitoring_performance/monitoring_performance.php [63]: Stack Traceapplication/widgets/monitoring_performance/monitoring_performance.php [63]:number_format( 5,295.3, 3 )application/helpers/widget.php [57]: See attached for the full message. Other pages under the Monitoring section are displayed correctly except 'Tactical Overview'. Any help is appreciated. Thanks,Shazia -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100903/1d34aba6/attachment-0001.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Runtime Message.txt Url: http://lists.op5.com/pipermail/op5-users/attachments/20100903/1d34aba6/attachment-0001.txt From a at aufbix.org Fri Sep 3 20:06:48 2010 From: a at aufbix.org (Andraz Sraka) Date: Fri, 03 Sep 2010 20:06:48 +0200 Subject: [op5-users] How to get Geomap to Work In-Reply-To: References: <1283505136.19357.9.camel@mono> Message-ID: <1283537208.1242.31.camel@mono> On Fri, 2010-09-03 at 11:33 +0200, Duncan Phillips wrote: > I got caught up on how i expected to add a point, and maybe that's > what you've run into. To add a new point, you must search for it, and > then click add. You can't add a new point just by entering a > longitude/latitude or something like that, it has to be done though > the search. When you have 2+ points, you can connect them. Yay; thanks .. now I see 'add' button :) Hope this will work now .. regards, Andraz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.op5.com/pipermail/op5-users/attachments/20100903/bb1d82d0/attachment.bin From a at aufbix.org Fri Sep 3 20:42:44 2010 From: a at aufbix.org (Andraz Sraka) Date: Fri, 03 Sep 2010 20:42:44 +0200 Subject: [op5-users] Ninja and PNP 0.6.5 Message-ID: <1283539364.1242.38.camel@mono> re Are there any hints how to integrate PNP 0.6.x into Ninja interface; the old one 0.4.x seems to be working, but with 0.6.5 I'm having problem rewriting URL to get specific service graphs for specified host. At the moment I always get main PNP page. Thank you in advance, Andraz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.op5.com/pipermail/op5-users/attachments/20100903/66b4856e/attachment.bin From perasb at op5.com Sat Sep 4 10:28:21 2010 From: perasb at op5.com (=?ISO-8859-1?Q?Per_=C5sberg?=) Date: Sat, 4 Sep 2010 10:28:21 +0200 Subject: [op5-users] Ninja and PNP 0.6.5 In-Reply-To: <1283539364.1242.38.camel@mono> References: <1283539364.1242.38.camel@mono> Message-ID: On Fri, Sep 3, 2010 at 8:42 PM, Andraz Sraka wrote: > re > > Are there any hints how to integrate PNP 0.6.x into Ninja interface; the > old one 0.4.x seems to be working, but with 0.6.5 I'm having problem > rewriting URL to get specific service graphs for specified host. At the > moment I always get main PNP page. > Hi Andraz, Try changing the $target_link variable in controllers/pnp.php to $target_link = 'graph'; Regards, /Per ---------------------- Per Asberg Senior Developer www.op5.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100904/1a7c335e/attachment.html From Per.Juborg at WSPGroup.se Tue Sep 7 13:00:22 2010 From: Per.Juborg at WSPGroup.se (Juborg, Per (WSP Sweden, Stockholm-Globen)) Date: Tue, 7 Sep 2010 13:00:22 +0200 Subject: [op5-users] check_esx3 - why no info In-Reply-To: <4C84D115.2000806@n-ix.com.ua> References: <4C6E5ED8.2040905@n-ix.com.ua> <85A008ED8CC50D419D6D4AE9D262638F01249A05@EXC02COL1SE.se.wspgroup.com> <4C6E696C.8000109@n-ix.com.ua> <85A008ED8CC50D419D6D4AE9D262638F01249AC6@EXC02COL1SE.se.wspgroup.com> <4C6E8CC9.8050100@n-ix.com.ua> <85A008ED8CC50D419D6D4AE9D262638F01249B2F@EXC02COL1SE.se.wspgroup.com> <4C84D115.2000806@n-ix.com.ua> Message-ID: <85A008ED8CC50D419D6D4AE9D262638F0132CC64@EXC02COL1SE.se.wspgroup.com> I get an error "CHECK_DISKS.PL CRITICAL - Can't locate object method "displayName" via package "HostScsiDisk" at ./check_disks.pl line 143." /Per -----Original Message----- From: kgushtin [mailto:kgushtin at n-ix.com.ua] Sent: den 6 september 2010 13:32 To: Juborg, Per (WSP Sweden, Stockholm-Globen) Subject: Re: [op5-users] check_esx3 - why no info > The storage HBA:s don't show under hardware, not even the one for the internal storage, so I guess it's by design. > > What I would like to do, is to be able to check the number of Targets/devices/paths for an adapter. That info is found under Storage Adapters on the Configuration tab. > > /Per Hi, I implement checks for Targets and Devices. In attachment testing script. You can run it using either : 1) ./check_disks -H {host} -u {user name} -p {password} 2) ./check_disks -H {host} -f {file with credentials} The only one thing. I have doubts where to put this info. Into -l config or -l hardware or something else. Maybe you know some good option for this check ? Regards, Kostyantyn From Per.Juborg at WSPGroup.se Tue Sep 7 14:00:55 2010 From: Per.Juborg at WSPGroup.se (Juborg, Per (WSP Sweden, Stockholm-Globen)) Date: Tue, 7 Sep 2010 14:00:55 +0200 Subject: [op5-users] check_esx3 - why no info In-Reply-To: <4C861E8D.4060407@n-ix.com.ua> References: <4C6E5ED8.2040905@n-ix.com.ua> <85A008ED8CC50D419D6D4AE9D262638F01249A05@EXC02COL1SE.se.wspgroup.com> <4C6E696C.8000109@n-ix.com.ua> <85A008ED8CC50D419D6D4AE9D262638F01249AC6@EXC02COL1SE.se.wspgroup.com> <4C6E8CC9.8050100@n-ix.com.ua> <85A008ED8CC50D419D6D4AE9D262638F01249B2F@EXC02COL1SE.se.wspgroup.com> <4C84D115.2000806@n-ix.com.ua> <85A008ED8CC50D419D6D4AE9D262638F0132CC64@EXC02COL1SE.se.wspgroup.com> <4C861E8D.4060407@n-ix.com.ua> Message-ID: <85A008ED8CC50D419D6D4AE9D262638F0132CCF9@EXC02COL1SE.se.wspgroup.com> Still the same error. CHECK_DISKS.PL CRITICAL - Can't locate object method "displayName" via package "HostScsiDisk" at ./check_disks.pl line 143. -----Original Message----- From: kgushtin [mailto:kgushtin at n-ix.com.ua] Sent: den 7 september 2010 13:14 To: Juborg, Per (WSP Sweden, Stockholm-Globen) Subject: Re: [op5-users] check_esx3 - why no info On 09/07/2010 02:00 PM, Juborg, Per (WSP Sweden, Stockholm-Globen) wrote: > I get an error "CHECK_DISKS.PL CRITICAL - Can't locate object method "displayName" via package "HostScsiDisk" at ./check_disks.pl line 143." > > /Per Added fix for this issue. Regards, Kostyantyn From Patrik.Bat at cypoint.se Tue Sep 14 09:38:06 2010 From: Patrik.Bat at cypoint.se (=?iso-8859-1?Q?Patrik_B=E5t?=) Date: Tue, 14 Sep 2010 09:38:06 +0200 Subject: [op5-users] Comment_Model::fetch_all_comment_types Message-ID: <49550341AA321E408F1DCC048349F0A2013E6EE4B92F@cyexch01.office.local> Hello ppl, did just a upgrade, is this bug knowe'd ? Fatal error: Call to undefined method Comment_Model::fetch_all_comment_types() in /monitor/op5/ninja/application/controllers/extinfo.php on line 990 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100914/96665a9e/attachment.html From perasb at op5.com Tue Sep 14 10:46:31 2010 From: perasb at op5.com (=?iso-8859-1?Q?Per_=C5sberg?=) Date: Tue, 14 Sep 2010 10:46:31 +0200 Subject: [op5-users] Comment_Model::fetch_all_comment_types In-Reply-To: <49550341AA321E408F1DCC048349F0A2013E6EE4B92F@cyexch01.office.local> References: <49550341AA321E408F1DCC048349F0A2013E6EE4B92F@cyexch01.office.local> Message-ID: <883E8372-D247-49A4-8EBA-D67E336825B9@op5.com> On Sep 14, 2010, at 09:38 FM, Patrik B?t wrote: > Hello ppl, did just a upgrade, is this bug knowe?d ? > > > Fatal error: Call to undefined method Comment_Model::fetch_all_comment_types() in/monitor/op5/ninja/application/controllers/extinfo.php on line 990 If you are upgrading from git - make sure you get all files. That method was added july 9 so it should work. Regards, /Per --------------------------- Per Asberg Senior Developer www.op5.com From ihab24 at hotmail.com Tue Sep 14 11:45:30 2010 From: ihab24 at hotmail.com (Ihab Samara) Date: Tue, 14 Sep 2010 11:45:30 +0200 Subject: [op5-users] LDAP Authentication Message-ID: Hi All I am using LDAP authentication for Nagios, using the authnz_ldap_module in apache. I just need ldap creditentials to log in to Nagios. How can I configure Ninja to use LDAP authenticaiton, and bypass its default authentication? Thanks Ihab -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100914/a23c0170/attachment.html From patrik.bat at cypoint.se Tue Sep 14 12:11:39 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Tue, 14 Sep 2010 12:11:39 +0200 Subject: [op5-users] Comment_Model::fetch_all_comment_types In-Reply-To: <883E8372-D247-49A4-8EBA-D67E336825B9@op5.com> References: <49550341AA321E408F1DCC048349F0A2013E6EE4B92F@cyexch01.office.local> <883E8372-D247-49A4-8EBA-D67E336825B9@op5.com> Message-ID: <1284459099.2759.12.camel@di9> I just did git pull, but didnt get it, so how do i get it all ? :P On Tue, 2010-09-14 at 10:46 +0200, Per ?sberg wrote: > On Sep 14, 2010, at 09:38 FM, Patrik B?t wrote: > > > Hello ppl, did just a upgrade, is this bug knowe?d ? > > > > > > Fatal error: Call to undefined method Comment_Model::fetch_all_comment_types() in/monitor/op5/ninja/application/controllers/extinfo.php on line 990 > > If you are upgrading from git - make sure you get all files. > That method was added july 9 so it should work. > > Regards, > > /Per > > --------------------------- > Per Asberg > Senior Developer > www.op5.com > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > From patrik.bat at cypoint.se Tue Sep 14 12:18:12 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Tue, 14 Sep 2010 12:18:12 +0200 Subject: [op5-users] Comment_Model::fetch_all_comment_types In-Reply-To: <1284459099.2759.12.camel@di9> References: <49550341AA321E408F1DCC048349F0A2013E6EE4B92F@cyexch01.office.local> <883E8372-D247-49A4-8EBA-D67E336825B9@op5.com> <1284459099.2759.12.camel@di9> Message-ID: <1284459492.2759.13.camel@di9> i did a new clone and now its with my local git. On Tue, 2010-09-14 at 12:11 +0200, Patrik B?t wrote: > I just did git pull, but didnt get it, so how do i get it all ? :P > > > On Tue, 2010-09-14 at 10:46 +0200, Per ?sberg wrote: > > On Sep 14, 2010, at 09:38 FM, Patrik B?t wrote: > > > > > Hello ppl, did just a upgrade, is this bug knowe?d ? > > > > > > > > > Fatal error: Call to undefined method Comment_Model::fetch_all_comment_types() in/monitor/op5/ninja/application/controllers/extinfo.php on line 990 > > > > If you are upgrading from git - make sure you get all files. > > That method was added july 9 so it should work. > > > > Regards, > > > > /Per > > > > --------------------------- > > Per Asberg > > Senior Developer > > www.op5.com > > > > _______________________________________________ > > op5-users mailing list > > op5-users at lists.op5.com > > http://lists.op5.com/mailman/listinfo/op5-users > > > > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users From patrik.bat at cypoint.se Tue Sep 14 12:22:07 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Tue, 14 Sep 2010 12:22:07 +0200 Subject: [op5-users] Comment_Model::fetch_all_comment_types In-Reply-To: <1284459492.2759.13.camel@di9> References: <49550341AA321E408F1DCC048349F0A2013E6EE4B92F@cyexch01.office.local> <883E8372-D247-49A4-8EBA-D67E336825B9@op5.com> <1284459099.2759.12.camel@di9> <1284459492.2759.13.camel@di9> Message-ID: <1284459727.2759.14.camel@di9> BTW thanks Per :) On Tue, 2010-09-14 at 12:18 +0200, Patrik B?t wrote: > i did a new clone and now its with my local git. > > > On Tue, 2010-09-14 at 12:11 +0200, Patrik B?t wrote: > > I just did git pull, but didnt get it, so how do i get it all ? :P > > > > > > On Tue, 2010-09-14 at 10:46 +0200, Per ?sberg wrote: > > > On Sep 14, 2010, at 09:38 FM, Patrik B?t wrote: > > > > > > > Hello ppl, did just a upgrade, is this bug knowe?d ? > > > > > > > > > > > > Fatal error: Call to undefined method Comment_Model::fetch_all_comment_types() in/monitor/op5/ninja/application/controllers/extinfo.php on line 990 > > > > > > If you are upgrading from git - make sure you get all files. > > > That method was added july 9 so it should work. > > > > > > Regards, > > > > > > /Per > > > > > > --------------------------- > > > Per Asberg > > > Senior Developer > > > www.op5.com > > > > > > _______________________________________________ > > > op5-users mailing list > > > op5-users at lists.op5.com > > > http://lists.op5.com/mailman/listinfo/op5-users > > > > > > > > > _______________________________________________ > > op5-users mailing list > > op5-users at lists.op5.com > > http://lists.op5.com/mailman/listinfo/op5-users > > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users From patrik.bat at cypoint.se Thu Sep 16 09:35:46 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 16 Sep 2010 09:35:46 +0200 Subject: [op5-users] utf-8 != iso8859-15 Message-ID: <1284622546.2759.41.camel@di9> Hello My nagios output is iso8859-15, but ninja displays in utf-8, is there a way to get ??? to work in ninja ? or can i somehow change the output of nagios ? From td at solutionsix.com Sun Sep 19 20:50:00 2010 From: td at solutionsix.com (Travis) Date: Sun, 19 Sep 2010 13:50:00 -0500 Subject: [op5-users] Fresh Ninja install issue... Message-ID: Hopefully this is a stupid question/problem -- and I apologize in advance if it is... I just installed Ninja on top of a relatively blank Nagios install on an Ubuntu 10 system. I followed the Ubuntu quickstart guide and I believe everything should be set up properly. I had changed the default merlin password when I installed it to something other than the default "merlin" password which lead me to changing quite a few references to that in the Ninja configs as well. Eventually I believe I found all the places that it needed to be changed (thanks to a few posts in the mailing list archives) and I now get the "Ninja Login" screen instead of a mysql_connect error as before when i hit the web URL of my installation. I figured all was good, however, I can not login to the system. Every time I enter my username and password that is stored in the 'merlin.users' table, it comes right back to the login screen again. I tried updating the password via the mysql command line (using the encrypt() function -- hopefully thats correct?) but, I still get the same results of a repeating login page. There are no errors defining an incorrect password or anything on the UI page, so I'm not sure if thats what is actually failing or not. I enabled mysql logging to see what was being passed and have pasted that output below. I'm not quite sure where I'm going wrong here but if anyone has any input on what I can check, it would be greatly appreciated, thanks! MySQL Log output during login sequence: 100919 ?8:15:28 ? 153 Connect ? merlin at localhost on ?? ? ? ? ? ? ? ? ?153 Init DB ? merlin ?? ? ? ? ? ? ? ? ?153 Query ? ? SET NAMES utf8 ?? ? ? ? ? ? ? ? ?153 Query ? ? SELECT last_alive FROM program_status ?? ? ? ? ? ? ? ? ?153 Quit ?? ? ? ? ? ? ? ? ?154 Connect ? merlin at localhost on ?? ? ? ? ? ? ? ? ?154 Init DB ? merlin ?? ? ? ? ? ? ? ? ?154 Query ? ? SELECT username, password_algo, password FROM merlin.users ?? ? ? ? ? ? ? ? ?154 Init DB ? merlin ?? ? ? ? ? ? ? ? ?155 Connect ? merlin at localhost on ?? ? ? ? ? ? ? ? ?155 Init DB ? merlin ?? ? ? ? ? ? ? ? ?155 Query ? ? SET NAMES utf8 ?? ? ? ? ? ? ? ? ?155 Query ? ? SHOW COLUMNS FROM `users` ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC ?? ? ? ? ? ? ? ? ?156 Connect ? merlin at localhost on ?? ? ? ? ? ? ? ? ?156 Init DB ? merlin ?? ? ? ? ? ? ? ? ?156 Query ? ? SET NAMES utf8 ?? ? ? ? ? ? ? ? ?156 Query ? ? TRUNCATE ninja_user_authorization ?? ? ? ? ? ? ? ? ?156 Quit ?? ? ? ? ? ? ? ? ?157 Connect ? merlin at localhost on ?? ? ? ? ? ? ? ? ?157 Init DB ? merlin ?? ? ? ? ? ? ? ? ?157 Query ? ? SET NAMES utf8 ?? ? ? ? ? ? ? ? ?157 Query ? ? SHOW TABLES FROM `merlin` ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* FROM `users` WHERE `username` = 'admin' ORDER BY `users`.`id` ASC LIMIT 0, 1 ?? ? ? ? ? ? ? ? ?155 Query ? ? SHOW COLUMNS FROM `ninja_user_authorization` ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `ninja_user_authorization`.* FROM `ninja_user_authorization` WHERE `user_id` = 1 ORDER BY `ninja_user_authorization`.`id` ASC LIMIT 0, 1 ?? ? ? ? ? ? ? ? ?155 Query ? ? INSERT INTO `ninja_user_authorization` (`user_id`, `system_information`, `configuration_information`, `system_commands`, `all_services`, `all_hosts`, `all_service_commands`, `all_host_commands`) VALUES (1, 1, 1, 1, 1, 1, 1, 1) ?? ? ? ? ? ? ? ? ?157 Quit ?? ? ? ? ? ? ? ? ?154 Quit ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* FROM `users` WHERE `users`.`username` = 'admin' ORDER BY `users`.`id` ASC LIMIT 0, 1 ?? ? ? ? ? ? ? ? ?155 Quit ?? ? ? ? ? ? ? ? ?158 Connect ? merlin at localhost on ?? ? ? ? ? ? ? ? ?158 Init DB ? merlin ?? ? ? ? ? ? ? ? ?158 Query ? ? SET NAMES utf8 ?? ? ? ? ? ? ? ? ?158 Query ? ? SELECT last_alive FROM program_status ?? ? ? ? ? ? ? ? ?158 Quit From perasb at op5.com Sun Sep 19 22:50:18 2010 From: perasb at op5.com (=?ISO-8859-1?Q?Per_=C5sberg?=) Date: Sun, 19 Sep 2010 22:50:18 +0200 Subject: [op5-users] Fresh Ninja install issue... In-Reply-To: References: Message-ID: On Sunday, September 19, 2010, Travis wrote: > Hopefully this is a stupid question/problem -- and I apologize in > advance if it is... > > I just installed Ninja on top of a relatively blank Nagios install on > an Ubuntu 10 system. I followed the Ubuntu quickstart guide and I > believe everything should be set up properly. I had changed the > default merlin password when I installed it to something other than > the default "merlin" password which lead me to changing quite a few > references to that in the Ninja configs as well. Eventually I believe > I found all the places that it needed to be changed (thanks to a few > posts in the mailing list archives) and I now get the "Ninja Login" > screen instead of a mysql_connect error as before when i hit the web > URL of my installation. > I figured all was good, however, I can not login to the system. Every > time I enter my username and password that is stored in the > 'merlin.users' table, it comes right back to the login screen again. I > tried updating the password via the mysql command line (using the > encrypt() function -- hopefully thats correct?) but, I still get the > same results of a repeating login page. There are no errors defining > an incorrect password or anything on the UI page, so I'm not sure if > thats what is actually failing or not. I enabled mysql logging to see > what was being passed and have pasted that output below. I'm not quite > sure where I'm going wrong here but if anyone has any input on what I > can check, it would be greatly appreciated, thanks! > > > MySQL Log output during login sequence: > > 100919 ?8:15:28 ? 153 Connect ? merlin at localhost on > ?? ? ? ? ? ? ? ? ?153 Init DB ? merlin > ?? ? ? ? ? ? ? ? ?153 Query ? ? SET NAMES utf8 > ?? ? ? ? ? ? ? ? ?153 Query ? ? SELECT last_alive FROM program_status > ?? ? ? ? ? ? ? ? ?153 Quit > ?? ? ? ? ? ? ? ? ?154 Connect ? merlin at localhost on > ?? ? ? ? ? ? ? ? ?154 Init DB ? merlin > ?? ? ? ? ? ? ? ? ?154 Query ? ? SELECT username, password_algo, > password FROM merlin.users > ?? ? ? ? ? ? ? ? ?154 Init DB ? merlin > ?? ? ? ? ? ? ? ? ?155 Connect ? merlin at localhost on > ?? ? ? ? ? ? ? ? ?155 Init DB ? merlin > ?? ? ? ? ? ? ? ? ?155 Query ? ? SET NAMES utf8 > ?? ? ? ? ? ? ? ? ?155 Query ? ? SHOW COLUMNS FROM `users` > ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* > FROM `users` > ORDER BY `users`.`id` ASC > ?? ? ? ? ? ? ? ? ?156 Connect ? merlin at localhost on > ?? ? ? ? ? ? ? ? ?156 Init DB ? merlin > ?? ? ? ? ? ? ? ? ?156 Query ? ? SET NAMES utf8 > ?? ? ? ? ? ? ? ? ?156 Query ? ? TRUNCATE ninja_user_authorization > ?? ? ? ? ? ? ? ? ?156 Quit > ?? ? ? ? ? ? ? ? ?157 Connect ? merlin at localhost on > ?? ? ? ? ? ? ? ? ?157 Init DB ? merlin > ?? ? ? ? ? ? ? ? ?157 Query ? ? SET NAMES utf8 > ?? ? ? ? ? ? ? ? ?157 Query ? ? SHOW TABLES FROM `merlin` > ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* > FROM `users` > WHERE `username` = 'admin' > ORDER BY `users`.`id` ASC > LIMIT 0, 1 > ?? ? ? ? ? ? ? ? ?155 Query ? ? SHOW COLUMNS FROM `ninja_user_authorization` > ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `ninja_user_authorization`.* > FROM `ninja_user_authorization` > WHERE `user_id` = 1 > ORDER BY `ninja_user_authorization`.`id` ASC > LIMIT 0, 1 > ?? ? ? ? ? ? ? ? ?155 Query ? ? INSERT INTO `ninja_user_authorization` > (`user_id`, `system_information`, `configuration_information`, > `system_commands`, `all_services`, `all_hosts`, > `all_service_commands`, `all_host_commands`) VALUES (1, 1, 1, 1, 1, 1, > 1, 1) > ?? ? ? ? ? ? ? ? ?157 Quit > ?? ? ? ? ? ? ? ? ?154 Quit > ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* > FROM `users` > WHERE `users`.`username` = 'admin' > ORDER BY `users`.`id` ASC > LIMIT 0, 1 > ?? ? ? ? ? ? ? ? ?155 Quit > ?? ? ? ? ? ? ? ? ?158 Connect ? merlin at localhost on > ?? ? ? ? ? ? ? ? ?158 Init DB ? merlin > ?? ? ? ? ? ? ? ? ?158 Query ? ? SET NAMES utf8 > ?? ? ? ? ? ? ? ? ?158 Query ? ? SELECT last_alive FROM program_status > ?? ? ? ? ? ? ? ? ?158 Quit Hi Travis, Have you checked the time on your server running Ninja? I've seen this behaviour before when there's been a time skew on the server. The fact that you don't get any error messages after trying to log on points in the same direction: the time skew invalidates the session (in some browsers). Regards, /Per Asberg op5 -- ---------------------- Per Asberg Senior Developer +46 733 30 30 80 www.op5.com From td at solutionsix.com Mon Sep 20 00:18:50 2010 From: td at solutionsix.com (Travis) Date: Sun, 19 Sep 2010 17:18:50 -0500 Subject: [op5-users] Fresh Ninja install issue... In-Reply-To: References: Message-ID: Thank you for the quick follow-up. The server time appears to be in sync, however, I did notice that the lack of an error message appears to be due to my browser. In Firefox, I do get an error of "Login failed - please try again" below the Ninja logo after attempting a login. In Chrome or IE there is no error. This of course seems to just be a login failure at this point. I'm assuming the proper command for manually setting a user password in the Merlin DB via the MySQL CLI is: update users set password_algo="crypt", password=encrypt("password") where id="x" or am I using the wrong encryption/hash? On Sun, Sep 19, 2010 at 3:50 PM, Per ?sberg wrote: > On Sunday, September 19, 2010, Travis wrote: >> Hopefully this is a stupid question/problem -- and I apologize in >> advance if it is... >> >> I just installed Ninja on top of a relatively blank Nagios install on >> an Ubuntu 10 system. I followed the Ubuntu quickstart guide and I >> believe everything should be set up properly. I had changed the >> default merlin password when I installed it to something other than >> the default "merlin" password which lead me to changing quite a few >> references to that in the Ninja configs as well. Eventually I believe >> I found all the places that it needed to be changed (thanks to a few >> posts in the mailing list archives) and I now get the "Ninja Login" >> screen instead of a mysql_connect error as before when i hit the web >> URL of my installation. >> I figured all was good, however, I can not login to the system. Every >> time I enter my username and password that is stored in the >> 'merlin.users' table, it comes right back to the login screen again. I >> tried updating the password via the mysql command line (using the >> encrypt() function -- hopefully thats correct?) but, I still get the >> same results of a repeating login page. There are no errors defining >> an incorrect password or anything on the UI page, so I'm not sure if >> thats what is actually failing or not. I enabled mysql logging to see >> what was being passed and have pasted that output below. I'm not quite >> sure where I'm going wrong here but if anyone has any input on what I >> can check, it would be greatly appreciated, thanks! >> >> >> MySQL Log output during login sequence: >> >> 100919 ?8:15:28 ? 153 Connect ? merlin at localhost on >> ?? ? ? ? ? ? ? ? ?153 Init DB ? merlin >> ?? ? ? ? ? ? ? ? ?153 Query ? ? SET NAMES utf8 >> ?? ? ? ? ? ? ? ? ?153 Query ? ? SELECT last_alive FROM program_status >> ?? ? ? ? ? ? ? ? ?153 Quit >> ?? ? ? ? ? ? ? ? ?154 Connect ? merlin at localhost on >> ?? ? ? ? ? ? ? ? ?154 Init DB ? merlin >> ?? ? ? ? ? ? ? ? ?154 Query ? ? SELECT username, password_algo, >> password FROM merlin.users >> ?? ? ? ? ? ? ? ? ?154 Init DB ? merlin >> ?? ? ? ? ? ? ? ? ?155 Connect ? merlin at localhost on >> ?? ? ? ? ? ? ? ? ?155 Init DB ? merlin >> ?? ? ? ? ? ? ? ? ?155 Query ? ? SET NAMES utf8 >> ?? ? ? ? ? ? ? ? ?155 Query ? ? SHOW COLUMNS FROM `users` >> ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* >> FROM `users` >> ORDER BY `users`.`id` ASC >> ?? ? ? ? ? ? ? ? ?156 Connect ? merlin at localhost on >> ?? ? ? ? ? ? ? ? ?156 Init DB ? merlin >> ?? ? ? ? ? ? ? ? ?156 Query ? ? SET NAMES utf8 >> ?? ? ? ? ? ? ? ? ?156 Query ? ? TRUNCATE ninja_user_authorization >> ?? ? ? ? ? ? ? ? ?156 Quit >> ?? ? ? ? ? ? ? ? ?157 Connect ? merlin at localhost on >> ?? ? ? ? ? ? ? ? ?157 Init DB ? merlin >> ?? ? ? ? ? ? ? ? ?157 Query ? ? SET NAMES utf8 >> ?? ? ? ? ? ? ? ? ?157 Query ? ? SHOW TABLES FROM `merlin` >> ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* >> FROM `users` >> WHERE `username` = 'admin' >> ORDER BY `users`.`id` ASC >> LIMIT 0, 1 >> ?? ? ? ? ? ? ? ? ?155 Query ? ? SHOW COLUMNS FROM `ninja_user_authorization` >> ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `ninja_user_authorization`.* >> FROM `ninja_user_authorization` >> WHERE `user_id` = 1 >> ORDER BY `ninja_user_authorization`.`id` ASC >> LIMIT 0, 1 >> ?? ? ? ? ? ? ? ? ?155 Query ? ? INSERT INTO `ninja_user_authorization` >> (`user_id`, `system_information`, `configuration_information`, >> `system_commands`, `all_services`, `all_hosts`, >> `all_service_commands`, `all_host_commands`) VALUES (1, 1, 1, 1, 1, 1, >> 1, 1) >> ?? ? ? ? ? ? ? ? ?157 Quit >> ?? ? ? ? ? ? ? ? ?154 Quit >> ?? ? ? ? ? ? ? ? ?155 Query ? ? SELECT `users`.* >> FROM `users` >> WHERE `users`.`username` = 'admin' >> ORDER BY `users`.`id` ASC >> LIMIT 0, 1 >> ?? ? ? ? ? ? ? ? ?155 Quit >> ?? ? ? ? ? ? ? ? ?158 Connect ? merlin at localhost on >> ?? ? ? ? ? ? ? ? ?158 Init DB ? merlin >> ?? ? ? ? ? ? ? ? ?158 Query ? ? SET NAMES utf8 >> ?? ? ? ? ? ? ? ? ?158 Query ? ? SELECT last_alive FROM program_status >> ?? ? ? ? ? ? ? ? ?158 Quit > > Hi Travis, > > Have you checked the time on your server running Ninja? I've seen this > behaviour before when there's been a time skew on the server. The fact > that you don't get any error messages after trying to log on points in > the same direction: the time skew invalidates the session (in some > browsers). > > Regards, > > /Per Asberg > op5 > > -- > ---------------------- > Per Asberg > Senior Developer > +46 733 30 30 80 > www.op5.com > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > From perasb at op5.com Mon Sep 20 08:29:59 2010 From: perasb at op5.com (=?iso-8859-1?Q?Per_=C5sberg?=) Date: Mon, 20 Sep 2010 08:29:59 +0200 Subject: [op5-users] Fresh Ninja install issue... In-Reply-To: References: Message-ID: On Sep 20, 2010, at 00:18 FM, Travis wrote: > Thank you for the quick follow-up. The server time appears to be in > sync, however, I did notice that the lack of an error message appears > to be due to my browser. In Firefox, I do get an error of "Login > failed - please try again" below the Ninja logo after attempting a > login. In Chrome or IE there is no error. > > This of course seems to just be a login failure at this point. I'm > assuming the proper command for manually setting a user password in > the Merlin DB via the MySQL CLI is: > > update users set password_algo="crypt", password=encrypt("password") > where id="x" > > or am I using the wrong encryption/hash? Set the login/password in htaccess.user the way you normally would in Nagios and it will be imported during login. Setting a password manually would be overwritten anyway. Are you connecting to your server through ip or dns name? I would suggest to get the login to work with Firefox first and when this works the IE/Chrome issues can probably be solved more easily. Good luck, /Per --------------------------- Per Asberg Senior Developer www.op5.com From ae at op5.se Mon Sep 20 21:12:44 2010 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Sep 2010 21:12:44 +0200 Subject: [op5-users] merlin-0.8.0-beta1 Message-ID: <4C97B22C.70800@op5.se> Ahoy there. I just wanted to let you all know that I've just recently implemented command propagation and performance data handling in merlin. Config sync still remains before Merlin is more or less feature-complete for the next major op5 release, which is due to be beta-released around wednesday next week (actually this friday, but we'll probably go into overtime slightly). I'd be delighted if people would try it out and let me know how it goes. I haven't tested the new features very much, but I'm fairly certain I haven't broken anything. As per usual the very latest version is only available from the git repository, located at git://git.op5.org/nagios/merlin.git Or if you'd rather download the snapshot tarball from the gui-web, you can do so at http://git.op5.org/git/?p=nagios/merlin.git;a=summary although you'll probably have to wait up to 30 minutes for the tag to show up in that repository. Bugreports and feature-complaints are, as always, most welcome. Make sure not to mix daemons and modules from 0.7 and earlier with ones from 0.8 and later, as host and service check result handling has been revamped slightly and 0.7 packets to a 0.8 daemon being forwarded to a 0.7 module again will almost certainly crash the receiving Nagios daemon, so upgrade module and daemon at the same time, please. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From td at solutionsix.com Tue Sep 21 03:32:56 2010 From: td at solutionsix.com (Travis) Date: Mon, 20 Sep 2010 20:32:56 -0500 Subject: [op5-users] Fresh Ninja install issue... In-Reply-To: References: Message-ID: Right now I'm connecting to the system via IP address as it was intended to be more of a test setup. I figured it only imported the users during install, but it sounds like it checks the htpasswd.users file each time a user logs in, and stores the user password or user account if they don't exist? I misunderstood the login procedure but I went poking around and found the password importer PHP file and sure enough, the path was wrong. I changed that then started getting some more valuable errors. After a few more changes to a few more files, I got it up and going. Thank you for the quick responses! On Mon, Sep 20, 2010 at 1:29 AM, Per ?sberg wrote: > > On Sep 20, 2010, at 00:18 FM, Travis wrote: > >> Thank you for the quick follow-up. The server time appears to be in >> sync, however, I did notice that the lack of an error message appears >> to be due to my browser. In Firefox, I do get an error of "Login >> failed - please try again" below the Ninja logo after attempting a >> login. In Chrome or IE there is no error. >> >> This of course seems to just be a login failure at this point. I'm >> assuming the proper command for manually setting a user password in >> the Merlin DB via the MySQL CLI is: >> >> update users set password_algo="crypt", password=encrypt("password") >> where id="x" >> >> or am I using the wrong encryption/hash? > > > Set the login/password in htaccess.user the way you normally would in Nagios and it will be imported during login. > Setting a password manually would be overwritten anyway. > > Are you connecting to your server through ip or dns name? > > I would suggest to get the login to work with Firefox first and when this works the IE/Chrome issues can probably be solved more easily. > > Good luck, > > /Per > > --------------------------- > Per Asberg > Senior Developer > www.op5.com > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > From paolo at ghido.com Tue Sep 21 11:54:35 2010 From: paolo at ghido.com (ghido) Date: Tue, 21 Sep 2010 11:54:35 +0200 Subject: [op5-users] ninja + nginx Message-ID: <4C9880DB.5020908@ghido.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, there's some documentation for install ninja with nginx? or someone can help me to configure it ? Thanks a lot Ghido -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyYgNYACgkQ254zyA/2IqL2AgCfb7ySEAFKiBh87C6PAh60AqwU C2AAoIW1Ki1Jv5yGt9Y2veCNR1wLtMl5 =2sFn -----END PGP SIGNATURE----- From thn at steria.dk Tue Sep 21 12:14:10 2010 From: thn at steria.dk (thn at steria.dk) Date: Tue, 21 Sep 2010 12:14:10 +0200 Subject: [op5-users] different user settings in ninja Message-ID: Hi, Is it posible to set ninja up so that user1 only can see service groups a,c and hostgroups a,c , while a different user would only be able to see service group b,c and hostgroup b,c ? I can only see the posibility to set general permissions and not limit which service groups/ hostgroups they can see. Thomas Hanson IT konsulent Steria A/S Tonsbakken 16-18 2740 Skovlunde Mobil: +45 26306092 E-mail: thn at steria.dk www.steria.dk ------------------------------------------------------------------------------------ Med en oms?tning p? DKK 14 mia. og 19.000 ansatte er Steria blandt de ti f?rende it-serviceleverand?rer i Europa. Gruppen, som er repr?senteret i 16 lande, herunder i Danmark med ca. 170 medarbejdere, leverer komplette l?sninger inden for f?lgende fokusomr?der: R?dgivning, systemintegration og it-drift. Det betyder, at Steria bist?r med alt fra forretnings- og it-r?dgivning til projektledelse, systemudvikling og infrastrukturleverancer til drift, hosting og vedligehold. Yderligere oplysninger kan l?ses p? www.steria.dk og www.steria.com. This email originates from Steria A/S, Tonsbakken 16-18, DK-2740 Skovlunde - www.steria.dk. This email and any attachments may contain confidential/intellectual property/copyright information and is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or even edited. From enhaisa at gmail.com Tue Sep 21 13:17:48 2010 From: enhaisa at gmail.com (Daniel Kuehn) Date: Tue, 21 Sep 2010 13:17:48 +0200 Subject: [op5-users] Documentation about where different variables and such are defined Message-ID: <20100921131748.37b427d3@Mobile-Workstation.localdomain> Is there any documentation about where stuff like $nagios_base_path or the nagvis_real_path are? I have found them by plain searching in textfile after textfile, but it would be neat with a document that describes where they are and even better would be if it could explain what they are for more concrete than the comments in the code. -- Mvh Daniel Kuehn From ae at op5.se Tue Sep 21 15:17:56 2010 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Sep 2010 15:17:56 +0200 Subject: [op5-users] ninja + nginx In-Reply-To: <4C9880DB.5020908@ghido.com> References: <4C9880DB.5020908@ghido.com> Message-ID: <4C98B084.6070901@op5.se> On 09/21/2010 11:54 AM, ghido wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, there's some documentation for install ninja with nginx? > or someone can help me to configure it ? No there's not, and it wouldn't be much point since apache with embedded php runs ninja a lot faster than nginx with fastcgi. Feel free to write up a tutorial if you get it working though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From ae at op5.se Tue Sep 21 16:19:14 2010 From: ae at op5.se (Andreas Ericsson) Date: Tue, 21 Sep 2010 16:19:14 +0200 Subject: [op5-users] different user settings in ninja In-Reply-To: References: Message-ID: <4C98BEE2.6040100@op5.se> On 09/21/2010 12:14 PM, thn at steria.dk wrote: > > Hi, > Is it posible to set ninja up so that user1 only can see service groups a,c > and hostgroups a,c , while a different user would only be able to see > service group b,c and hostgroup b,c ? > I can only see the posibility to set general permissions and not limit > which service groups/ hostgroups they can see. > Users can normally only see the hosts they are set as contacts for. The exception is superusers, which are listed as "authorized_for_all_hosts" in the cgi.cfg file, which gets imported into the ninja database where it's used to determine who can see what. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From Patrik.Bat at cypoint.se Wed Sep 22 08:26:10 2010 From: Patrik.Bat at cypoint.se (=?utf-8?B?UGF0cmlrIELDpXQ=?=) Date: Wed, 22 Sep 2010 08:26:10 +0200 Subject: [op5-users] (Patch git): Fatal error: Multiple access type modifiers are not allowed in "BLABLABLA" Message-ID: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB2@cyexch01.office.local> Hello! Line: 45 in file ninja/application/models/scheduledate.php have dual public. remove one and it will kickass, please patch this, if you havent! From perasb at op5.com Wed Sep 22 08:35:24 2010 From: perasb at op5.com (=?iso-8859-1?Q?Per_=C5sberg?=) Date: Wed, 22 Sep 2010 08:35:24 +0200 Subject: [op5-users] (Patch git): Fatal error: Multiple access type modifiers are not allowed in "BLABLABLA" In-Reply-To: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB2@cyexch01.office.local> References: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB2@cyexch01.office.local> Message-ID: <630F66E2-B8DE-46C6-BFCF-9557C839309D@op5.com> On Sep 22, 2010, at 08:26 FM, Patrik B?t wrote: > Line: 45 in file ninja/application/models/scheduledate.php have dual > public. remove one and it will kickass, please patch this, if you > havent! Thanks for the heads up Patrik. Fixed in git. /Per --------------------------- Per Asberg Senior Developer www.op5.com From Patrik.Bat at cypoint.se Wed Sep 22 08:43:08 2010 From: Patrik.Bat at cypoint.se (=?utf-8?B?UGF0cmlrIELDpXQ=?=) Date: Wed, 22 Sep 2010 08:43:08 +0200 Subject: [op5-users] (Patch git): Fatal error: Multiple access type modifiers are not allowed in "BLABLABLA" In-Reply-To: <630F66E2-B8DE-46C6-BFCF-9557C839309D@op5.com> References: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB2@cyexch01.office.local> <630F66E2-B8DE-46C6-BFCF-9557C839309D@op5.com> Message-ID: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB4@cyexch01.office.local> ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? From thn at steria.dk Wed Sep 22 08:49:21 2010 From: thn at steria.dk (thn at steria.dk) Date: Wed, 22 Sep 2010 08:49:21 +0200 Subject: [op5-users] different user settings in ninja In-Reply-To: <4C98BEE2.6040100@op5.se> References: <4C98BEE2.6040100@op5.se> Message-ID: Hi, yeah I am aware of the per host or per service. But I was hoping that instead of adding a contact to some 300 hosts, that I could instead add it to 1 hostgroup and vupti, that user could see all hosts in that hostgroup. Is this posible? Thomas Hanson IT konsulent Steria A/S Tonsbakken 16-18 2740 Skovlunde Mobil: +45 26306092 E-mail: thn at steria.dk www.steria.dk From: Andreas Ericsson To: Mailinglist for op5's products Cc: thn at steria.dk Date: 21-09-2010 16:20 Subject: Re: [op5-users] different user settings in ninja On 09/21/2010 12:14 PM, thn at steria.dk wrote: > > Hi, > Is it posible to set ninja up so that user1 only can see service groups a,c > and hostgroups a,c , while a different user would only be able to see > service group b,c and hostgroup b,c ? > I can only see the posibility to set general permissions and not limit > which service groups/ hostgroups they can see. > Users can normally only see the hosts they are set as contacts for. The exception is superusers, which are listed as "authorized_for_all_hosts" in the cgi.cfg file, which gets imported into the ninja database where it's used to determine who can see what. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------------ Med en oms?tning p? DKK 14 mia. og 19.000 ansatte er Steria blandt de ti f?rende it-serviceleverand?rer i Europa. Gruppen, som er repr?senteret i 16 lande, herunder i Danmark med ca. 170 medarbejdere, leverer komplette l?sninger inden for f?lgende fokusomr?der: R?dgivning, systemintegration og it-drift. Det betyder, at Steria bist?r med alt fra forretnings- og it-r?dgivning til projektledelse, systemudvikling og infrastrukturleverancer til drift, hosting og vedligehold. Yderligere oplysninger kan l?ses p? www.steria.dk og www.steria.com. This email originates from Steria A/S, Tonsbakken 16-18, DK-2740 Skovlunde - www.steria.dk. This email and any attachments may contain confidential/intellectual property/copyright information and is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or even edited. From Patrik.Bat at cypoint.se Wed Sep 22 09:09:57 2010 From: Patrik.Bat at cypoint.se (=?utf-8?B?UGF0cmlrIELDpXQ=?=) Date: Wed, 22 Sep 2010 09:09:57 +0200 Subject: [op5-users] (Patch git): Fatal error: Multiple access type modifiers are not allowed in "BLABLABLA" In-Reply-To: <630F66E2-B8DE-46C6-BFCF-9557C839309D@op5.com> References: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB2@cyexch01.office.local> <630F66E2-B8DE-46C6-BFCF-9557C839309D@op5.com> Message-ID: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB8@cyexch01.office.local> ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? From michael.krebs at smt.zeiss.com Wed Sep 22 09:13:46 2010 From: michael.krebs at smt.zeiss.com (Krebs, Michael) Date: Wed, 22 Sep 2010 09:13:46 +0200 Subject: [op5-users] Antwort: Re: (Patch git): Fatal error: Multiple access type modifiers are not allowed in "BLABLABLA" In-Reply-To: <49550341AA321E408F1DCC048349F0A2013E6EAC9DB8@cyexch01.office.local> Message-ID: ??? Mit freundlichen Gr??en / Best regards Michael Krebs ------------------------------------------------- Carl Zeiss SMT AG Gesch?ftsbereich Lithographie-Optik Abteilung Technologie/Mechatronik Telefon/Phone: +49 73 64 20 - 9635 Fax: +49 73 64 20 - 82 52 mailto:michael.krebs at smt.zeiss.com http://www.zeiss.de/semiconductor Carl Zeiss SMT AG Vorsitzender des Aufsichtsrates: Dr. Dieter Kurz Vorstand: Dr. Hermann Gerlinger (Vorsitzender), Dr. Andreas Dorsel, Justus Felix Wehmer Sitz der Gesellschaft: 73447 Oberkochen, Deutschland Amtsgericht Ulm, HRB 501473, USt-IdNr: DE 811119999 Patrik B?t Gesendet von: op5-users-bounces at lists.op5.com 22.09.2010 09:09 Bitte antworten an "Mailinglist for op5's products" An "op5-users at lists.op5.com" Kopie Thema Re: [op5-users] (Patch git): Fatal error: Multiple access type modifiers are not allowed in "BLABLABLA" ?????????????????????????????????????? ?????????????????????????????????????? ????????????????????????????????????? ????????????????????????????????????? ?????????????????????? ?????????????????????????????????????? ????????????????????????????????????? ?????????????????????????????????????? ?????? _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users ---------------------------------------- This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100922/9775cd50/attachment-0001.html From enhaisa at gmail.com Wed Sep 22 13:31:59 2010 From: enhaisa at gmail.com (Daniel Kuehn) Date: Wed, 22 Sep 2010 13:31:59 +0200 Subject: [op5-users] 404 for pnp4nagios and nagvis Message-ID: <20100922133159.521dba2a@Mobile-Workstation.localdomain> Hi, I get 404 errors whenever I have enabled pnp4nagios or nagvis in the application/config/config.php section with the right paths to them, I can confirm that standalone they work like they should. Is there any specific max version you have to use for it to integrate with Ninja neatly or am I missing some config option somewhere? I am running Ninja 1.0.3 with Merlin from Git (0.8.0 something I think), nagios 3.2.2, pnp4nagios 0.6.5 and nagvis 1.4.6 (using merlin as backend) Everything else is working like it should and I really love the idea and the Gui :) -- Mvh Daniel Kuehn, 073-181 577 2 Data at UrService Homepage: http://www.dataaturservice.se From gerry at zol.co.zw Wed Sep 22 17:32:29 2010 From: gerry at zol.co.zw (Gerald Jaya) Date: Wed, 22 Sep 2010 17:32:29 +0200 Subject: [op5-users] compiling merlin Message-ID: <7DA8E1FE-C8CA-40F0-A3D4-E674D3026A12@zol.co.zw> Hi I am having issues compliling merlin on my centos server I get the following any idea welcome [root at cupid merlin-0.6.8]# make sh gen-version.sh > version.c CC version.o LINK merlin.so LINK merlind status.o(.text+0xa3): In function `store_object_states': /root/merlin-0.6.8/status.c:47: undefined reference to `dbi_result_get_int_idx' status.o(.text+0xb1):/root/merlin-0.6.8/status.c:48: undefined reference to `dbi_result_get_int_idx' sql.o(.text+0x3e): In function `sql_quote': /root/merlin-0.6.8/sql.c:44: undefined reference to `dbi_conn_quote_string_copy' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlerror' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlclose' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlopen' /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlsym' collect2: ld returned 1 exit status make: *** [merlind] Error 1 regards Gerald, From anders.haal at ingby.com Wed Sep 22 19:20:03 2010 From: anders.haal at ingby.com (anders.haal at ingby.com) Date: Wed, 22 Sep 2010 19:20:03 +0200 Subject: [op5-users] compiling merlin In-Reply-To: <7DA8E1FE-C8CA-40F0-A3D4-E674D3026A12@zol.co.zw> References: <7DA8E1FE-C8CA-40F0-A3D4-E674D3026A12@zol.co.zw> Message-ID: <4C9A3AC3.4000007@ingby.com> Try: yum install -y libdbi-dbd-mysql yum install -y libdbi-devel On 09/22/2010 05:32 PM, Gerald Jaya wrote: > Hi > > I am having issues compliling merlin on my centos server I get the following any idea welcome > > > [root at cupid merlin-0.6.8]# make > sh gen-version.sh> version.c > CC version.o > LINK merlin.so > LINK merlind > status.o(.text+0xa3): In function `store_object_states': > /root/merlin-0.6.8/status.c:47: undefined reference to `dbi_result_get_int_idx' > status.o(.text+0xb1):/root/merlin-0.6.8/status.c:48: undefined reference to `dbi_result_get_int_idx' > sql.o(.text+0x3e): In function `sql_quote': > /root/merlin-0.6.8/sql.c:44: undefined reference to `dbi_conn_quote_string_copy' > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlerror' > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlclose' > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlopen' > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlsym' > collect2: ld returned 1 exit status > make: *** [merlind] Error 1 > > > regards > Gerald, > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > -- Ingby IngbyForge anders.haal at ingby.com Mjukvara genom ingenj?rsm?ssig kreativitet och kompetens Ingenj?rsbyn Riddargatan 18 114 51 Stockholm Sweden www.ingby.com Mobil: +46 70 575 35 46 Tele: +46 75 75 75 090 Fax: +46 75 75 75 091 From alex.teslja at gmail.com Thu Sep 23 08:29:47 2010 From: alex.teslja at gmail.com (=?KOI8-R?B?4czFy9PBzsTSIPTF08zR?=) Date: Thu, 23 Sep 2010 10:29:47 +0400 Subject: [op5-users] Issue with check_esx3.pl Message-ID: Hi everybody Periodicaly I have a following error: Can't call method "value" on an undefined value at /usr/local/nagios/libexec/check_esx3.pl line 685 Can't call method "value" on an undefined value at /usr/local/nagios/libexec/check_esx3.pl line 1048 What should I do to solve this issue? My experience in Perl coding is not very well. :( Thank you. BR Alex From ae at op5.se Thu Sep 23 11:03:32 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 23 Sep 2010 11:03:32 +0200 Subject: [op5-users] Issue with check_esx3.pl In-Reply-To: References: Message-ID: <4C9B17E4.80903@op5.se> On 09/23/2010 08:29 AM, ????????? ????? wrote: > Hi everybody > > Periodicaly I have a following error: > Can't call method "value" on an undefined value at > /usr/local/nagios/libexec/check_esx3.pl line 685 > Can't call method "value" on an undefined value at > /usr/local/nagios/libexec/check_esx3.pl line 1048 > > What should I do to solve this issue? My experience in Perl coding is > not very well.:( > check_esx3 is being overhauled for our next release, although I think this particular bug is already solved. Check out our git repositories and you should find a newer version that works nicely. http://git.op5.org -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From ae at op5.se Thu Sep 23 11:06:19 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 23 Sep 2010 11:06:19 +0200 Subject: [op5-users] compiling merlin In-Reply-To: <7DA8E1FE-C8CA-40F0-A3D4-E674D3026A12@zol.co.zw> References: <7DA8E1FE-C8CA-40F0-A3D4-E674D3026A12@zol.co.zw> Message-ID: <4C9B188B.4020207@op5.se> On 09/22/2010 05:32 PM, Gerald Jaya wrote: > Hi > > I am having issues compliling merlin on my centos server I get the following any idea welcome > > > [root at cupid merlin-0.6.8]# make > sh gen-version.sh> version.c > CC version.o > LINK merlind > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlerror' > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlclose' > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlopen' > /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlsym' > collect2: ld returned 1 exit status > make: *** [merlind] Error 1 This is worrying. merlind shouldn't use any code that dlopen()'s anything. I suggest you follow Anders Haal's advice regarding yum installs and also download the latest and greates merlin version from http://git.op5.org -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From alex.teslja at gmail.com Thu Sep 23 12:45:55 2010 From: alex.teslja at gmail.com (Alexander Teslya) Date: Thu, 23 Sep 2010 14:45:55 +0400 Subject: [op5-users] Issue with check_esx3.pl In-Reply-To: References: <4C9B17E4.80903@op5.se> Message-ID: Hi Andreas I use latest version of check_esx3.pl which changed 6 days ago(maybe it's my mystake?) 2010/9/23 Andreas Ericsson : > On 09/23/2010 08:29 AM, ????????? ????? wrote: >> Hi everybody >> >> Periodicaly I ?have a following error: >> Can't call method "value" on an undefined value at >> /usr/local/nagios/libexec/check_esx3.pl line 685 >> Can't call method "value" on an undefined value at >> /usr/local/nagios/libexec/check_esx3.pl line 1048 >> >> What should I do to solve this issue? My experience in Perl coding is >> not very well.:( >> > > check_esx3 is being overhauled for our next release, although I think > this particular bug is already solved. Check out our git repositories > and you should find a newer version that works nicely. > > http://git.op5.org > > -- > Andreas Ericsson ? ? ? ? ? ? ? ? ? andreas.ericsson at op5.se > OP5 AB ? ? ? ? ? ? ? ? ? ? ? ? ? ? www.op5.se > Tel: +46 8-230225 ? ? ? ? ? ? ? ? ?Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. > From alex.teslja at gmail.com Thu Sep 23 12:53:40 2010 From: alex.teslja at gmail.com (Alexander Teslya) Date: Thu, 23 Sep 2010 14:53:40 +0400 Subject: [op5-users] Issue with check_esx3.pl In-Reply-To: <4C9B17E4.80903@op5.se> References: <4C9B17E4.80903@op5.se> Message-ID: Hi Andreas I use latest version of check_esx3.pl which changed 6 days ago(maybe it's my mystake?) 2010/9/23 Andreas Ericsson : > On 09/23/2010 08:29 AM, ????????? ????? wrote: >> Hi everybody >> >> Periodicaly I ?have a following error: >> Can't call method "value" on an undefined value at >> /usr/local/nagios/libexec/check_esx3.pl line 685 >> Can't call method "value" on an undefined value at >> /usr/local/nagios/libexec/check_esx3.pl line 1048 >> >> What should I do to solve this issue? My experience in Perl coding is >> not very well.:( >> > > check_esx3 is being overhauled for our next release, although I think > this particular bug is already solved. Check out our git repositories > and you should find a newer version that works nicely. > > http://git.op5.org > > -- > Andreas Ericsson ? ? ? ? ? ? ? ? ? andreas.ericsson at op5.se > OP5 AB ? ? ? ? ? ? ? ? ? ? ? ? ? ? www.op5.se > Tel: +46 8-230225 ? ? ? ? ? ? ? ? ?Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. > From ae at op5.se Thu Sep 23 13:27:36 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 23 Sep 2010 13:27:36 +0200 Subject: [op5-users] Issue with check_esx3.pl In-Reply-To: References: <4C9B17E4.80903@op5.se> Message-ID: <4C9B39A8.6090201@op5.se> On 09/23/2010 12:53 PM, Alexander Teslya wrote: > Hi Andreas > > I use latest version of check_esx3.pl which changed 6 days ago(maybe > it's my mystake?) > In that case I think it should work just fine, but obviously it doesn't. File this as a bug at bugs.op5.com and someone will take care of it when time permits. Please include exact command-line and error messages and as much info as possible about the system you're trying to monitor. ESX version and suchlike is very valuable when tracking down bugs. Thanks again. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From gerry at zol.co.zw Thu Sep 23 10:22:53 2010 From: gerry at zol.co.zw (Gerald Jaya) Date: Thu, 23 Sep 2010 10:22:53 +0200 Subject: [op5-users] compiling merlin In-Reply-To: <4C9A3AC3.4000007@ingby.com> References: <7DA8E1FE-C8CA-40F0-A3D4-E674D3026A12@zol.co.zw> <4C9A3AC3.4000007@ingby.com> Message-ID: <1B3CAEAA-AD5B-4888-B5F8-052B24993757@zol.co.zw> Hi Thank you for the response.. I have both libdbi-devel and libdbi-dbd-msql installed regards gerald. [root at cupid ~]# yum info libdbi-devel Setting up repositories Reading repository metadata in from local files Installed Packages Name : libdbi-devel Arch : i386 Version: 0.6.5 Release: 10.RHEL4.1 Size : 506 k Repo : installed Summary: Development files for libdbi (Database Independent Abstraction Layer for C) Description: The libdbi-devel package contains the header files and documentation needed to develop applications with libdbi. [root at cupid ~]# yum info libdbi-dbd-mysql Setting up repositories Reading repository metadata in from local files Installed Packages Name : libdbi-dbd-mysql Arch : i386 Version: 0.6.5 Release: 10.RHEL4.1 Size : 28 k Repo : installed Summary: MySQL plugin for libdbi Description: This plugin provides connectivity to MySQL database servers through the libdbi database independent abstraction layer. Switching a program's plugin does not require recompilation or rewriting source code. On Sep 22, 2010, at 7:20 PM, anders.haal at ingby.com wrote: > Try: > yum install -y libdbi-dbd-mysql > yum install -y libdbi-devel > > On 09/22/2010 05:32 PM, Gerald Jaya wrote: >> Hi >> >> I am having issues compliling merlin on my centos server I get the following any idea welcome >> >> >> [root at cupid merlin-0.6.8]# make >> sh gen-version.sh> version.c >> CC version.o >> LINK merlin.so >> LINK merlind >> status.o(.text+0xa3): In function `store_object_states': >> /root/merlin-0.6.8/status.c:47: undefined reference to `dbi_result_get_int_idx' >> status.o(.text+0xb1):/root/merlin-0.6.8/status.c:48: undefined reference to `dbi_result_get_int_idx' >> sql.o(.text+0x3e): In function `sql_quote': >> /root/merlin-0.6.8/sql.c:44: undefined reference to `dbi_conn_quote_string_copy' >> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlerror' >> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlclose' >> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlopen' >> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libdbi.so: undefined reference to `dlsym' >> collect2: ld returned 1 exit status >> make: *** [merlind] Error 1 >> >> >> regards >> Gerald, >> _______________________________________________ >> op5-users mailing list >> op5-users at lists.op5.com >> http://lists.op5.com/mailman/listinfo/op5-users >> > > > -- > Ingby > > IngbyForge > > anders.haal at ingby.com > > Mjukvara genom ingenj?rsm?ssig kreativitet och kompetens > > Ingenj?rsbyn > Riddargatan 18 > 114 51 Stockholm > Sweden > www.ingby.com > Mobil: +46 70 575 35 46 > Tele: +46 75 75 75 090 > Fax: +46 75 75 75 091 > > From hjemmali at gardienvirtuel.com Thu Sep 23 15:48:04 2010 From: hjemmali at gardienvirtuel.com (hassan jammali) Date: Thu, 23 Sep 2010 09:48:04 -0400 Subject: [op5-users] Ressources needed by check_esx ? Message-ID: <4C9B5A94.7030904@gardienvirtuel.com> Hi everybody, I'm using check_esx as a nagios plugin to monitor my Vmware servers ESXI 3.5. I'm very happy with all the features of this plugin, but my probleme is that it needs a lot of ressources to execute, especialy CPU ressources. I use check_esx to do 6 checks for every ESXI server, and every check take at leat 60% of the CPU, so imagine when more than checks are exectued at the same time. Is there a solution to my problem ? The characteristics of my CPU are the following: model name : Intel(R) Pentium(R) III CPU family 1400MHz stepping : 1 cpu MHz : 1396.496 cache size : 512 KB Thanks. Best Regards, -- Hassan Jammali -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100923/a896a7ec/attachment.html From mattias at westbahr.com Thu Sep 23 16:03:33 2010 From: mattias at westbahr.com (Mattias Bergsten) Date: Thu, 23 Sep 2010 16:03:33 +0200 Subject: [op5-users] Ressources needed by check_esx ? In-Reply-To: <4C9B5A94.7030904@gardienvirtuel.com> References: <4C9B5A94.7030904@gardienvirtuel.com> Message-ID: <4C9B5E35.2020308@westbahr.com> On 2010-09-23 15:48, hassan jammali wrote: > I use check_esx to do 6 checks for every ESXI server, and every check > take at leat 60% of the CPU, so imagine when more than checks are > exectued at the same time. > > Is there a solution to my problem ? > > The characteristics of my CPU are the following: > > model name : Intel(R) Pentium(R) III CPU family 1400MHz First of all, that CPU is almost ten years old. Of course you're not going to get any kind of modern CPU equivalent performance out of it. Having said that, we've made some big performance enhancements to check_esx. Are you running the latest version from Git? -- Mattias Bergsten | Senior Consultant | VMware VCP | Westbahr AB Direkt: 031-712 02 23 | Vxl: 031-712 02 20 | http://www.westbahr.com Bes?k: Kaserntorget 7, G?teborg | Post: Box 2043, 403 11 G?teborg From jasonjwwilliams at gmail.com Thu Sep 23 20:50:10 2010 From: jasonjwwilliams at gmail.com (Jason J. W. Williams) Date: Thu, 23 Sep 2010 12:50:10 -0600 Subject: [op5-users] Merlin Q Message-ID: I've been looking at Merlin as an option for converting a standalone Nagios install into a redundant one with Nagios servers in two different DCs. But I've got a couple of questions I can't seem to find answers to: * When one installs Merlin, does Nagios cease to use it's native backend for storing check results? If I were to convert an existing Nagios server to use Merlin, what parts of Nagios (if any) would stop working? I saw something about reporting not working correctly with Merlin. * Merlin uses a DB as it's backend. Assuming redundant nagios instances and merlind's, does each merlin use a separate DB server or is the DB server a SPOF? * In a load-balanced/redundant config, if one nagios server dies, does Merlin automatically transfer responsibility for all of those checks to the remaining nagios server? * What is the minimum version of Nagios required for Merlin? -J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100923/13546bb9/attachment.html From breathing at gmail.com Thu Sep 23 22:01:13 2010 From: breathing at gmail.com (James Yang) Date: Thu, 23 Sep 2010 16:01:13 -0400 Subject: [op5-users] overshot from the merlind log file Message-ID: Dear all, We are running merlin (0.6.7-beta) with nagios 3.2. But we see some error messages from the merlin daemon logs file, which are more like: Nulling OOB ptr 0. type: 601; offset: 0x100000003; len: 307; overshot with 4294966992 bytes We are not quite sure what caused that and if it is harmful for merlin. Can you give us some hints on this? Thanks, James -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100923/609d7910/attachment.html From jbrooks at oddelement.com Thu Sep 23 22:24:34 2010 From: jbrooks at oddelement.com (Joel Brooks) Date: Thu, 23 Sep 2010 16:24:34 -0400 Subject: [op5-users] check_esx3 Message-ID: hey gang, I'm still having trouble with check_esx3 and how it reports warning and critical. i'm trying to alert when free space is warning: 20% and critical 10%. my commandline is: root at osystem:/opt/plugins# /opt/plugins/check_esx3 -D vchost1 -H vmhost1 -u user -p password -l vmfs -s "VMHost:storage1" -w 20%: -c 10%: The output of the command is: ESX WARNING - VMWeb03:storage1=84899.00 MB (12.18%) | VMWeb03:storage1=12.18%;20:;10: i added a line at around 313: print "critical: $critical and warning: $warning\n"; this prints: critical: 10: and warning: 20: so my guess is that this isn't reporting on %... any one able to help? thanks, J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100923/1dfbc31c/attachment-0001.html From aroberge at krg.ca Thu Sep 23 22:27:08 2010 From: aroberge at krg.ca (Andre Roberge) Date: Thu, 23 Sep 2010 16:27:08 -0400 Subject: [op5-users] check_esx3 In-Reply-To: References: Message-ID: <0BCC32C25D6A55468B0AD3E29A0396DA363B9E3F75@Allataarvik.krg.ca> Hi, I have the same problem and only with vmfs check a solution would be welcome [cid:image001.png at 01CB5B3C.2AFD2670] Andre Roberge System-Administrator aroberge at krg.ca Tel : 819-964-2961 ext : 2341 From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of Joel Brooks Sent: Thursday, September 23, 2010 4:25 PM To: op5-users at lists.op5.com Subject: [op5-users] check_esx3 hey gang, I'm still having trouble with check_esx3 and how it reports warning and critical. i'm trying to alert when free space is warning: 20% and critical 10%. my commandline is: root at osystem:/opt/plugins# /opt/plugins/check_esx3 -D vchost1 -H vmhost1 -u user -p password -l vmfs -s "VMHost:storage1" -w 20%: -c 10%: The output of the command is: ESX WARNING - VMWeb03:storage1=84899.00 MB (12.18%) | VMWeb03:storage1=12.18%;20:;10: i added a line at around 313: print "critical: $critical and warning: $warning\n"; this prints: critical: 10: and warning: 20: so my guess is that this isn't reporting on %... any one able to help? thanks, J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100923/a8433118/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 13447 bytes Desc: image001.png Url : http://lists.op5.com/pipermail/op5-users/attachments/20100923/a8433118/attachment-0001.png From hjemmali at gardienvirtuel.com Thu Sep 23 22:39:46 2010 From: hjemmali at gardienvirtuel.com (hassan jammali) Date: Thu, 23 Sep 2010 16:39:46 -0400 Subject: [op5-users] op5-users Digest, Vol 26, Issue 14 In-Reply-To: References: Message-ID: <4C9BBB12.4030602@gardienvirtuel.com> On 10-09-23 04:24 PM, op5-users-request at lists.op5.com wrote: > On 2010-09-23 15:48, hassan jammali wrote: >> > I use check_esx to do 6 checks for every ESXI server, and every check >> > take at leat 60% of the CPU, so imagine when more than checks are >> > exectued at the same time. >> > >> > Is there a solution to my problem ? >> > >> > The characteristics of my CPU are the following: >> > >> > model name : Intel(R) Pentium(R) III CPU family 1400MHz >> > First of all, that CPU is almost ten years old. Of course you're not > going to get any kind of modern CPU equivalent performance out of it. > > Having said that, we've made some big performance enhancements to > check_esx. Are you running the latest version from Git? > > I know i'm using an old CPU, but i forgot to precise that i was using two CPU of the same type, and when check_esx ran, it takes at least 60% of one CPU. I'm using the version 0.2.0. Thanks for your reply. -- Hassan Jammali From jbrooks at oddelement.com Thu Sep 23 22:39:50 2010 From: jbrooks at oddelement.com (Joel Brooks) Date: Thu, 23 Sep 2010 16:39:50 -0400 Subject: [op5-users] git down? Message-ID: hey gang, is the git repo down? thx, J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100923/311edee9/attachment.html From mattias at westbahr.com Fri Sep 24 07:46:05 2010 From: mattias at westbahr.com (Mattias Bergsten) Date: Fri, 24 Sep 2010 07:46:05 +0200 Subject: [op5-users] op5-users Digest, Vol 26, Issue 14 Message-ID: <9BF154F8980FA146862120CBA8BDDE3E84CDCAD295@burre.westbahr.local> > I know i'm using an old CPU, but i forgot to precise that i was using > two CPU of the same type, and when check_esx ran, it takes at least 60% > of one CPU. It is still a very old CPU, and one we don't optimize for in the scripts. > I'm using the version 0.2.0. Then you definitely want to update to the latest version in Git, which you can get at http://git.op5.org/ -- Mattias Bergsten | Senior Consultant | VMware VCP | Westbahr AB Direkt: 031-712 02 23 | Vxl: 031-712 02 20 | http://www.westbahr.com Bes?k: Kaserntorget 7, G?teborg | Post: Box 2043, 403 11 G?teborg From jpetersson at op5.com Fri Sep 24 07:55:21 2010 From: jpetersson at op5.com (Jonathan Petersson) Date: Fri, 24 Sep 2010 07:55:21 +0200 Subject: [op5-users] git down? In-Reply-To: References: Message-ID: Hi Joel, As far as we can see the git repo should be up and running. Which specific repo are you trying to access? On Thu, Sep 23, 2010 at 10:39 PM, Joel Brooks wrote: > hey gang, > > is the git repo down? > > thx, > > J > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > > -- * Jonathan Petersson - Operations Engineer op5 AB Norgegatan 2 SE-164 32 Kista, Sweden Direct +46 8-58 83 01 21 Mob +46 733709021 E-mail: jpetersson at op5.com www.op5.com * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100924/fbfa6b48/attachment.html From ae at op5.se Fri Sep 24 09:04:03 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 24 Sep 2010 09:04:03 +0200 Subject: [op5-users] Merlin Q In-Reply-To: References: Message-ID: <4C9C4D63.8030409@op5.se> On 09/23/2010 08:50 PM, Jason J. W. Williams wrote: > I've been looking at Merlin as an option for converting a standalone Nagios > install into a redundant one with Nagios servers in two different DCs. But > I've got a couple of questions I can't seem to find answers to: > > * When one installs Merlin, does Nagios cease to use it's native backend for > storing check results? If I were to convert an existing Nagios server to use > Merlin, what parts of Nagios (if any) would stop working? I saw something > about reporting not working correctly with Merlin. > Nagios still uses its native backend for storing checkresults. Reportdata is, as of merlin-0.7.x, stored in the table 'report_data' within the merlin database. Repairing a broken report_data table is still a bit of a manual chore. The import program shipped with merlin-0.7.1-something can import logfiles into the database but you'll have to find the breakpoints in timestamps etc yourself. merlin-0.8.x supports forwarding command events and handling performance data on all nodes in the tier tree. This is the latest version available now. merlin-0.9.x will (in a way) support configuration synchronization. This will be implemented using scripts that the merlin daemon calls when the module connects to it after a Nagios restart. This is not available yet. merlin-1.0 will be the first fine-tuned version after we've gotten a lot of feedback from our customers and our sales team about how people wish to use the distributed and loadbalancing features of Merlin. > * Merlin uses a DB as it's backend. Assuming redundant nagios instances and > merlind's, does each merlin use a separate DB server or is the DB server a > SPOF? > Each merlin uses a separate db server. Someone wrote a patch to let Merlin share a database between a lot of instances, but the code was so out of whack with the rest of the codebase that I couldn't take that patch. > * In a load-balanced/redundant config, if one nagios server dies, does > Merlin automatically transfer responsibility for all of those checks to the > remaining nagios server? > Yes. > * What is the minimum version of Nagios required for Merlin? > 3.2.x is the only one we've tried with recent versions of Merlin. Merlin utilizes the NEBERROR_CALLBACKOVERRIDE return code to block host and service checks that should be run by a different server, so it should work with any Nagios-version that has and understands that return code. I have no idea which version that was introduced in though, so you'll have to look that up for yourself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From ae at op5.se Fri Sep 24 09:19:09 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 24 Sep 2010 09:19:09 +0200 Subject: [op5-users] overshot from the merlind log file In-Reply-To: References: Message-ID: <4C9C50ED.4090207@op5.se> On 09/23/2010 10:01 PM, James Yang wrote: > Dear all, > > > We are running merlin (0.6.7-beta) with nagios 3.2. But we see some error > messages from the merlin daemon logs file, which are more like: > Nulling OOB ptr 0. type: 601; offset: 0x100000003; len: 307; overshot with > 4294966992 bytes > First of all I'd recommend that you upgrade to the latest merlin version. The diffstat between 0.6.8 and the current merlin version (0.8.0-beta1-11) ends with the following line: 57 files changed, 9818 insertions(+), 1752 deletions(-) Bugreports against pre-0.8 versions will simply be ignored. If you're running different versions of Merlin in your network, you're pretty much asking to be bitten by something like this as well, as merlin is in very rapid development right now. > We are not quite sure what caused that and if it is harmful for merlin. Can > you give us some hints on this? > I've seen this happen when one system is a 32-bit one and the other one runs 64-bit code, but that's the only occasion. It's one of the shortcomings of merlin that it doesn't work across wordsize-boundaries. It will be fixed in the future, but I'm not sure when. The rationale behind this is that it makes the protocol ridiculously efficient, and if you need redundancy, loadbalancing or distributed monitoring, you're a large enough organization to be able to afford some new hardware, or a new vmware server. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From peter.ostlin at op5.com Fri Sep 24 09:42:53 2010 From: peter.ostlin at op5.com (=?ISO-8859-1?Q?Peter_=D6stlin?=) Date: Fri, 24 Sep 2010 09:42:53 +0200 Subject: [op5-users] op5-users Digest, Vol 26, Issue 14 In-Reply-To: <4C9BBB12.4030602@gardienvirtuel.com> References: <4C9BBB12.4030602@gardienvirtuel.com> Message-ID: On Thu, Sep 23, 2010 at 22:39, hassan jammali wrote: > On 10-09-23 04:24 PM, op5-users-request at lists.op5.com wrote: >> On 2010-09-23 15:48, hassan jammali wrote: >>> > I use check_esx to do 6 checks for every ESXI server, and every check >>> > take at leat 60% of the CPU, so imagine when more than checks are >>> > exectued at the same time. >>> > >>> > Is there a solution to my problem ? >>> > >>> > The characteristics of my CPU are the following: >>> > >>> > model name : Intel(R) Pentium(R) III CPU family ? ? ?1400MHz >>> >> First of all, that CPU is almost ten years old. Of course you're not >> going to get any kind of modern CPU equivalent performance out of it. >> >> Having said that, we've made some big performance enhancements to >> check_esx. Are you running the latest version from Git? >> >> > I know i'm using an old CPU, but i forgot to precise that i was using > two CPU of the same type, and when check_esx ran, it takes at least 60% > of one CPU. Please provide some examples of the commands you are using. > I'm using the version 0.2.0. It seems as if the version string has not been updated so the version number don't help us much. Please try the latest from git anyway, I think the last changes was made a week ago or so. /Peter From Pierre.Iversjo at afaforsakring.se Fri Sep 24 09:59:58 2010 From: Pierre.Iversjo at afaforsakring.se (=?iso-8859-1?Q?Iversj=F6_Pierre?=) Date: Fri, 24 Sep 2010 09:59:58 +0200 Subject: [op5-users] Check_disk solaris Message-ID: <92FF903D5FF75B41BEFE8661DAD1F2380137046E@EXCHANGE3.domain.se> HI I wonder if anyone has created a check_disk on Solaris that can predict diskusage on a filsystem instead of percentage in nrpe.conf? I can not find anything about that. Regards Pierre Iversj? Med v?nlig h?lsning Pierre Iversj? ____________________________ IT-Tekniker (unix) AFA F?rs?kring 106 27 Stockholm Tel: 08-696 45 11 Mobil: 0708-93 95 10 Vi f?rs?krar f?r ett b?ttre arbetsliv www.afaforsakring.se -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100924/b40c7351/attachment-0001.html From Daniel.Kakneryd at bossmedia.se Fri Sep 24 13:55:33 2010 From: Daniel.Kakneryd at bossmedia.se (=?iso-8859-1?Q?K=E5kneryd=2C_Daniel?=) Date: Fri, 24 Sep 2010 13:55:33 +0200 Subject: [op5-users] Check_disk solaris In-Reply-To: <92FF903D5FF75B41BEFE8661DAD1F2380137046E@EXCHANGE3.domain.se> References: <92FF903D5FF75B41BEFE8661DAD1F2380137046E@EXCHANGE3.domain.se> Message-ID: check_disk from nagios-plugins can handle it. Just call check_disk with other parameters in your nrpe.conf. For example, if you now have command[root_disk]=/opt/plugins/check_disk -w 20% -c 10% -p / -m change it to command[root_disk]=/opt/plugins/check_disk -w 2000 -c 1000 -u MB -p / -m Replace MB with kB, GB or TB if you want to measure in other units then megabytes. /Daniel From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of Iversj? Pierre Sent: den 24 september 2010 10:00 To: op5-users at lists.op5.com Subject: [op5-users] Check_disk solaris HI I wonder if anyone has created a check_disk on Solaris that can predict diskusage on a filsystem instead of percentage in nrpe.conf? I can not find anything about that. Regards Pierre Iversj? Med v?nlig h?lsning Pierre Iversj? ____________________________ IT-Tekniker (unix) AFA F?rs?kring 106 27 Stockholm Tel: 08-696 45 11 Mobil: 0708-93 95 10 Vi f?rs?krar f?r ett b?ttre arbetsliv www.afaforsakring.se -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100924/bc246770/attachment.html From jbrooks at oddelement.com Fri Sep 24 15:11:41 2010 From: jbrooks at oddelement.com (Joel Brooks) Date: Fri, 24 Sep 2010 09:11:41 -0400 Subject: [op5-users] git down? Message-ID: I'm still not able to clone the git repo.. root at gw# git clone git://git.op5.org/nagios/op5plugins.git warning: templates not found /usr/share//git-core/templates/ Initialized empty Git repository in /usr/src/local/op5plugins/op5plugins/.git/ fatal: read error (Connection reset by peer) fetch-pack from 'git://git.op5.org/nagios/op5plugins.git' failed. > > > Hi Joel, > > As far as we can see the git repo should be up and running. Which specific > repo are you trying to access? > > On Thu, Sep 23, 2010 at 10:39 PM, Joel Brooks >wrote: > > > hey gang, > > > > is the git repo down? > > > > thx, > > > > J > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100924/a0475489/attachment.html From ae at op5.se Fri Sep 24 15:29:16 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 24 Sep 2010 15:29:16 +0200 Subject: [op5-users] git down? In-Reply-To: References: Message-ID: <4C9CA7AC.9040907@op5.se> On 09/24/2010 03:11 PM, Joel Brooks wrote: > I'm still not able to clone the git repo.. > > root at gw# git clone git://git.op5.org/nagios/op5plugins.git > warning: templates not found /usr/share//git-core/templates/ > Initialized empty Git repository in > /usr/src/local/op5plugins/op5plugins/.git/ > fatal: read error (Connection reset by peer) > fetch-pack from 'git://git.op5.org/nagios/op5plugins.git' failed. > It works just fine for me. I'm guessing you've got something weird going on in your end. What git version are you using? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From mark.frost1 at pepsico.com Fri Sep 24 16:15:15 2010 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Fri, 24 Sep 2010 10:15:15 -0400 Subject: [op5-users] git down? In-Reply-To: <4C9CA7AC.9040907@op5.se> References: <4C9CA7AC.9040907@op5.se> Message-ID: > -----Original Message----- > From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of Andreas Ericsson > Sent: Friday, September 24, 2010 9:29 AM > To: Mailinglist for op5's products > Cc: Joel Brooks > Subject: Re: [op5-users] git down? > > On 09/24/2010 03:11 PM, Joel Brooks wrote: > > I'm still not able to clone the git repo.. > > > > root at gw# git clone git://git.op5.org/nagios/op5plugins.git > > warning: templates not found /usr/share//git-core/templates/ > > Initialized empty Git repository in > > /usr/src/local/op5plugins/op5plugins/.git/ > > fatal: read error (Connection reset by peer) > > fetch-pack from 'git://git.op5.org/nagios/op5plugins.git' failed. > > > > It works just fine for me. I'm guessing you've got something > weird going on in your end. What git version are you using? > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 My personal experience... I find that I can never make git work at my site due to firewall issues. I find that the message that git gives me is a little misleading and originally made me think it was the remote server rather than the firewall. I eventually gave up and just did the web download. Mark From matthias.flacke at gmx.de Fri Sep 24 16:45:38 2010 From: matthias.flacke at gmx.de (Matthias Flacke) Date: Fri, 24 Sep 2010 16:45:38 +0200 Subject: [op5-users] git down? In-Reply-To: References: <4C9CA7AC.9040907@op5.se> Message-ID: <4C9CB992.8030809@gmx.de> On 9/24/10 4:15 PM, Frost, Mark {PBC} wrote: > >> -----Original Message----- >> From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of Andreas Ericsson >> Sent: Friday, September 24, 2010 9:29 AM >> To: Mailinglist for op5's products >> Cc: Joel Brooks >> Subject: Re: [op5-users] git down? >> >> On 09/24/2010 03:11 PM, Joel Brooks wrote: >>> I'm still not able to clone the git repo.. >>> >>> root at gw# git clone git://git.op5.org/nagios/op5plugins.git >>> warning: templates not found /usr/share//git-core/templates/ >>> Initialized empty Git repository in >>> /usr/src/local/op5plugins/op5plugins/.git/ >>> fatal: read error (Connection reset by peer) >>> fetch-pack from 'git://git.op5.org/nagios/op5plugins.git' failed. >>> >> >> It works just fine for me. I'm guessing you've got something >> weird going on in your end. What git version are you using? >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 > > My personal experience... I find that I can never make git work at my site due to firewall issues. I find that the message that git gives me is a little misleading and originally made me think it was the remote server rather than the firewall. I eventually gave up and just did the web download. Since git v1.7 you can even push via http transport (with proxy). Which helps a lot with paranoid firewall setups. Cheers, -Matthias From ae at op5.se Fri Sep 24 17:07:37 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 24 Sep 2010 17:07:37 +0200 Subject: [op5-users] git down? In-Reply-To: <4C9CB992.8030809@gmx.de> References: <4C9CA7AC.9040907@op5.se> <4C9CB992.8030809@gmx.de> Message-ID: <4C9CBEB9.6070801@op5.se> On 09/24/2010 04:45 PM, Matthias Flacke wrote: > Since git v1.7 you can even push via http transport (with proxy). Which > helps a lot with paranoid firewall setups. > Unfortunately that requires webdav support, which we don't have. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From jbrooks at oddelement.com Fri Sep 24 20:18:29 2010 From: jbrooks at oddelement.com (Joel) Date: Fri, 24 Sep 2010 18:18:29 +0000 Subject: [op5-users] Op5 + DNX Message-ID: <439109560-1285352312-cardhu_decombobulator_blackberry.rim.net-1897841767-@bda493.bisx.prod.on.blackberry> Hey gang, Is there anyone out there using op5 with DNX? I've built it up in a lab and it all works - including merlin - just wondering if others have any experience with this set up. I like the merlind approach for fault tolerance, but I prefer the DNX approach to scalability. Wondering what others think. Also wondering what the op5 team thinks of having DNX installed from a support perspective. Thanks! J From jasonjwwilliams at gmail.com Fri Sep 24 20:49:34 2010 From: jasonjwwilliams at gmail.com (Jason J. W. Williams) Date: Fri, 24 Sep 2010 12:49:34 -0600 Subject: [op5-users] Merlin Q In-Reply-To: <4C9C4D63.8030409@op5.se> References: <4C9C4D63.8030409@op5.se> Message-ID: Hi Andreas, Thank you for your detailed explanation! I really appreciate that. A more general question for the community, but are folks seeing Merlin crashing or being fairly stable? -J On Fri, Sep 24, 2010 at 1:04 AM, Andreas Ericsson wrote: > On 09/23/2010 08:50 PM, Jason J. W. Williams wrote: > > I've been looking at Merlin as an option for converting a standalone > Nagios > > install into a redundant one with Nagios servers in two different DCs. > But > > I've got a couple of questions I can't seem to find answers to: > > > > * When one installs Merlin, does Nagios cease to use it's native backend > for > > storing check results? If I were to convert an existing Nagios server to > use > > Merlin, what parts of Nagios (if any) would stop working? I saw something > > about reporting not working correctly with Merlin. > > > > Nagios still uses its native backend for storing checkresults. > > Reportdata is, as of merlin-0.7.x, stored in the table 'report_data' within > the merlin database. Repairing a broken report_data table is still a bit of > a manual chore. The import program shipped with merlin-0.7.1-something can > import logfiles into the database but you'll have to find the breakpoints > in timestamps etc yourself. > > merlin-0.8.x supports forwarding command events and handling performance > data on all nodes in the tier tree. This is the latest version available > now. > > merlin-0.9.x will (in a way) support configuration synchronization. This > will be implemented using scripts that the merlin daemon calls when the > module connects to it after a Nagios restart. This is not available yet. > > merlin-1.0 will be the first fine-tuned version after we've gotten a lot > of feedback from our customers and our sales team about how people wish > to use the distributed and loadbalancing features of Merlin. > > > * Merlin uses a DB as it's backend. Assuming redundant nagios instances > and > > merlind's, does each merlin use a separate DB server or is the DB server > a > > SPOF? > > > > Each merlin uses a separate db server. Someone wrote a patch to let Merlin > share a database between a lot of instances, but the code was so out of > whack with the rest of the codebase that I couldn't take that patch. > > > * In a load-balanced/redundant config, if one nagios server dies, does > > Merlin automatically transfer responsibility for all of those checks to > the > > remaining nagios server? > > > > Yes. > > > * What is the minimum version of Nagios required for Merlin? > > > > 3.2.x is the only one we've tried with recent versions of Merlin. Merlin > utilizes the NEBERROR_CALLBACKOVERRIDE return code to block host and > service checks that should be run by a different server, so it should work > with any Nagios-version that has and understands that return code. I have > no idea which version that was introduced in though, so you'll have to > look that up for yourself. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100924/af14a67f/attachment.html From eschoeller at users.sourceforge.net Sat Sep 25 21:34:38 2010 From: eschoeller at users.sourceforge.net (Eric Schoeller) Date: Sat, 25 Sep 2010 13:34:38 -0600 Subject: [op5-users] Op5 + DNX In-Reply-To: <439109560-1285352312-cardhu_decombobulator_blackberry.rim.net-1897841767-@bda493.bisx.prod.on.blackberry> References: <439109560-1285352312-cardhu_decombobulator_blackberry.rim.net-1897841767-@bda493.bisx.prod.on.blackberry> Message-ID: <4C9E4ECE.6090600@users.sourceforge.net> Joel, I'm glad to hear you have this working! Our original design goal was to have 2 Merllin NOCs serviced by N DNX worker nodes each. I was going to split these NOCs between two separate DC's. We were also planning to route the ethernet traffic for the DNX workers though the NOC (NAT) and use tftp booting along with NFS root for the DNX workers for rapid expansion and deployment. This would also simplify firewall exceptions on all of our monitored hosts, and avoid the need to modify them for every new DNX worker as we grow. I was looking into this heavily back in February - May, but merlin was not really ready for load-balancing/redundancy back then. I was told to check back in the fall, and sure enough it sounds like the latest merlin beta will fit the bill for our desired infrastructure. I'm swamped with other projects right now, but I'm hoping to tackle our Nagios infrastructure again soon. Can you tell me a little bit more about how many machines you're running and how many service checks / hosts you have configured? Thanks! Eric Schoeller University of Colorado, Boulder Information Technology Services On 09/24/10 12:18, Joel wrote: > Hey gang, > > Is there anyone out there using op5 with DNX? I've built it up in a lab and it all works - including merlin - just wondering if others have any experience with this set up. > > I like the merlind approach for fault tolerance, but I prefer the DNX approach to scalability. > > Wondering what others think. > > Also wondering what the op5 team thinks of having DNX installed from a support perspective. > > Thanks! > > J > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > From flava_kid at hotmail.com Sun Sep 26 01:28:26 2010 From: flava_kid at hotmail.com (Flava KiD) Date: Sat, 25 Sep 2010 23:28:26 +0000 Subject: [op5-users] Disable login page Message-ID: How do I disable authentication page? I would like to control everything through the apache ACL? we have small implementation I hate having to login everytime... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100925/ab8e6846/attachment.html From ae at op5.se Sun Sep 26 11:51:37 2010 From: ae at op5.se (Andreas Ericsson) Date: Sun, 26 Sep 2010 11:51:37 +0200 Subject: [op5-users] Merlin Q In-Reply-To: References: <4C9C4D63.8030409@op5.se> Message-ID: <4C9F17A9.5070703@op5.se> On 09/24/2010 08:49 PM, Jason J. W. Williams wrote: > Hi Andreas, > > Thank you for your detailed explanation! I really appreciate that. A more > general question for the community, but are folks seeing Merlin crashing or > being fairly stable? > Considering the amount of crashreports we've gotten the past 4 weeks (which is none), I'd say people consider it fairly stable. It's also been running in our lab-environment for the past 3 months without any serious misbehaviour. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From ae at op5.se Sun Sep 26 12:03:57 2010 From: ae at op5.se (Andreas Ericsson) Date: Sun, 26 Sep 2010 12:03:57 +0200 Subject: [op5-users] Op5 + DNX In-Reply-To: <439109560-1285352312-cardhu_decombobulator_blackberry.rim.net-1897841767-@bda493.bisx.prod.on.blackberry> References: <439109560-1285352312-cardhu_decombobulator_blackberry.rim.net-1897841767-@bda493.bisx.prod.on.blackberry> Message-ID: <4C9F1A8D.1030003@op5.se> On 09/24/2010 08:18 PM, Joel wrote: > Hey gang, > > Is there anyone out there using op5 with DNX? I've built it up in a > lab and it all works - including merlin - just wondering if others > have any experience with this set up. > We don't, but please let us know what issues you find. > I like the merlind approach for fault tolerance, but I prefer the DNX > approach to scalability. > The capabilities of DNX may be built into the merlin daemon at a future date, or the merlin system may be given capabilities to talk to dnx daemons. That's still uncertain though. > Wondering what others think. > > Also wondering what the op5 team thinks of having DNX installed from > a support perspective. > We don't think about it. It might work and it might not, but officially we don't support it and we won't even start testing it until a few customers or quite a lot of opensource users explicitly request DNX support. Our estimates on when that will happen includes "never" as a likely option. That being said, I'd be all for adapting Merlin so that it works without problems alongside DNX, so long as it doesn't require anything major or super-complex inside Merlin or Nagios to get that working, and I really can't promise to maintain such modifications myself unless op5 decides it's worth paid time to do so. If anyone else is up for it though, I'd be extatic. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From jedblack at gmail.com Mon Sep 27 23:28:36 2010 From: jedblack at gmail.com (Fritz) Date: Mon, 27 Sep 2010 17:28:36 -0400 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) Message-ID: <5D8E320C-7401-49E0-8297-99D4543E5C54@gmail.com> Hi guys, I was just thinking if this is possible... we currently have a central monitor that waits for passive checks from 7 different nagios pollers on remote sites/network, the checks get submitted through a combination of NSCA and perl fifo dumps. I would like to get rid of NSCA/fifo and use merlin/ninja instead, but i'm not sure if its supported? It seems that every merlind process would have to talk/write to a centralized mysql database that the NOC(ninja) instance can view/modify, this way you can issue nagios command (e.g. force check a service) on any of the remote pollers running merlin. However, I was reading a thread that said this was not supported, and someone created a patch but it was not accepted for various reason. if that is indeed the case, is there anyway to accomplish this in the current versions ? Thanks Fritz- From ae at op5.se Tue Sep 28 02:36:22 2010 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Sep 2010 02:36:22 +0200 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) In-Reply-To: <5D8E320C-7401-49E0-8297-99D4543E5C54@gmail.com> References: <5D8E320C-7401-49E0-8297-99D4543E5C54@gmail.com> Message-ID: <4CA13886.2030201@op5.se> On 09/27/2010 11:28 PM, Fritz wrote: > Hi guys, > > I was just thinking if this is possible... > > we currently have a central monitor that waits for passive checks > from 7 different nagios pollers on remote sites/network, the checks > get submitted through a combination of NSCA and perl fifo dumps. > > I would like to get rid of NSCA/fifo and use merlin/ninja instead, > but i'm not sure if its supported? > It is supported. > It seems that every merlind process would have to talk/write to a > centralized mysql database that the NOC(ninja) instance can > view/modify, this way you can issue nagios command (e.g. force check > a service) on any of the remote pollers running merlin. > > However, I was reading a thread that said this was not supported, and > someone created a patch but it was not accepted for various reason. > The submitted patch was meant to let multiple merlin instances communicate with a single database, but that creates unnecessary network overhead. Instead, the master server receives checkresults from the slave systems and then inserts all status updates in its own database. This way, only one system actually needs database access. > if that is indeed the case, is there anyway to accomplish this in the > current versions ? > There is. Just configure your merlin nodes so that they send their checkresults to the master server and have the master server write all checkresults to the database. Do note that the latest merlin version is still considered beta code and shouldn't be used for production purposes without some additional monitoring to make sure it runs ok. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From jedblack at gmail.com Tue Sep 28 13:49:53 2010 From: jedblack at gmail.com (Fritz) Date: Tue, 28 Sep 2010 07:49:53 -0400 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) In-Reply-To: <4CA13886.2030201@op5.se> References: <5D8E320C-7401-49E0-8297-99D4543E5C54@gmail.com> <4CA13886.2030201@op5.se> Message-ID: <884217A3-BA5F-4E85-BABB-1F8697DBE5B7@gmail.com> Hi Andreas, Thanks for the response, thats good news to hear. So, from what i understand now is this... 1. Every merlind instance has its own mysql instance that is write information too(this is a requirement, it can be a remote database server, but each merlind must have its own schema) . 2. All the merlind instances also send every check result/status/performance information to the master server (NOC), which also write all of the those results to its own database which ninja connects into. I'm a little unsure about the following... Currently I have a central monitor instance of nagios (nagios/httpd) that waits/accepts passive results from all our pollers -- I have zero control over the pollers from the central monitor. Meaning, that if I wanted to force a check for a certain service -- I must have httpd running on the poller itself and login to that particular poller which runs the specific service check and issue the desired command (ie. force immediate service check, instead of waiting for normal cycles) Under the NOC/Merlird poller setup , would I be able to issue all (or some subset ) of the commands from the NOC console? Or would I still have to be required to login to individual pollers(merlind) instances to run certain command (such as the "force immediate check", or disable/enable flap detection...etc) Thanks very much for taking the time to answer my post, much appreciated! Regards, Friedrich On Sep 27, 2010, at 8:36 PM, Andreas Ericsson wrote: > On 09/27/2010 11:28 PM, Fritz wrote: >> Hi guys, >> >> I was just thinking if this is possible... >> >> we currently have a central monitor that waits for passive checks >> from 7 different nagios pollers on remote sites/network, the checks >> get submitted through a combination of NSCA and perl fifo dumps. >> >> I would like to get rid of NSCA/fifo and use merlin/ninja instead, >> but i'm not sure if its supported? >> > > It is supported. > >> It seems that every merlind process would have to talk/write to a >> centralized mysql database that the NOC(ninja) instance can >> view/modify, this way you can issue nagios command (e.g. force check >> a service) on any of the remote pollers running merlin. >> >> However, I was reading a thread that said this was not supported, and >> someone created a patch but it was not accepted for various reason. >> > > The submitted patch was meant to let multiple merlin instances communicate > with a single database, but that creates unnecessary network overhead. > Instead, the master server receives checkresults from the slave systems > and then inserts all status updates in its own database. This way, only > one system actually needs database access. > >> if that is indeed the case, is there anyway to accomplish this in the >> current versions ? >> > > There is. Just configure your merlin nodes so that they send their > checkresults to the master server and have the master server write all > checkresults to the database. > > Do note that the latest merlin version is still considered beta code > and shouldn't be used for production purposes without some additional > monitoring to make sure it runs ok. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. From ae at op5.se Tue Sep 28 14:22:13 2010 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Sep 2010 14:22:13 +0200 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) In-Reply-To: <884217A3-BA5F-4E85-BABB-1F8697DBE5B7@gmail.com> References: <5D8E320C-7401-49E0-8297-99D4543E5C54@gmail.com> <4CA13886.2030201@op5.se> <884217A3-BA5F-4E85-BABB-1F8697DBE5B7@gmail.com> Message-ID: <4CA1DDF5.7060703@op5.se> On 09/28/2010 01:49 PM, Fritz wrote: > Hi Andreas, > > Thanks for the response, thats good news to hear. > > So, from what i understand now is this... > > 1. Every merlind instance has its own mysql instance that is write > information too(this is a requirement, it can be a remote database > server, but each merlind must have its own schema) . It's not a requirement. If you don't configure the database section in the daemon part of the configuration file no database will be used. Otherwise, it's correct. > 2. All the > merlind instances also send every check result/status/performance > information to the master server (NOC), which also write all of the > those results to its own database which ninja connects into. > Assuming the master server is configured with a database, yes. > I'm a little unsure about the following... > > Currently I have a central monitor instance of nagios (nagios/httpd) > that waits/accepts passive results from all our pollers -- I have > zero control over the pollers from the central monitor. Meaning, > that if I wanted to force a check for a certain service -- I must > have httpd running on the poller itself and login to that particular > poller which runs the specific service check and issue the desired > command (ie. force immediate service check, instead of waiting for > normal cycles) > > Under the NOC/Merlird poller setup , would I be able to issue all (or > some subset ) of the commands from the NOC console? Or would I still > have to be required to login to individual pollers(merlind) instances > to run certain command (such as the "force immediate check", or > disable/enable flap detection...etc) > Yes, that's correct. Note that all global commands are being forwarded though, so there's currently no way to disable checks for just the master server, for example. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From johannes at dagemark.com Tue Sep 28 17:27:48 2010 From: johannes at dagemark.com (Johannes Dagemark) Date: Tue, 28 Sep 2010 17:27:48 +0200 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) In-Reply-To: <4CA1DDF5.7060703@op5.se> References: <5D8E320C-7401-49E0-8297-99D4543E5C54@gmail.com> <4CA13886.2030201@op5.se> <884217A3-BA5F-4E85-BABB-1F8697DBE5B7@gmail.com> <4CA1DDF5.7060703@op5.se> Message-ID: <4CA20974.1010203@dagemark.com> >> Under the NOC/Merlird poller setup , would I be able to issue all (or >> some subset ) of the commands from the NOC console? Or would I still >> have to be required to login to individual pollers(merlind) instances >> to run certain command (such as the "force immediate check", or >> disable/enable flap detection...etc) >> >> > Yes, that's correct. Note that all global commands are being forwarded > though, so there's currently no way to disable checks for just the > master server, for example. > So what happens if I issue "schedule an immediate check for this service" on a NOC for a service that a poller is responsible for? Will the NOC execute it or will it forward the command to the poller? -- Best regards Johannes Dagemark JD Consulting (op5 service partner) Tel: +46 733 709024 Email: johannes at dagemark.com From patrik.bat at cypoint.se Tue Sep 28 14:26:42 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Tue, 28 Sep 2010 14:26:42 +0200 Subject: [op5-users] anyone else? Message-ID: <1285676802.23288.4.camel@di9> Hello Try access: index.php/status/hostgroup/YOURHOSTGROUP?hoststatustypes=71&servicestatustypes=1&style=detail Im getting SQL ERROR. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100928/d15d03aa/attachment.html From patrik.bat at cypoint.se Wed Sep 29 08:33:05 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Wed, 29 Sep 2010 08:33:05 +0200 Subject: [op5-users] Merlin MASTER <-> MASTER Message-ID: <1285741985.23288.5.camel@di9> Hello! Is Merlind Master<->Master working ? And is there a howto or document how to configure this ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/3ffe6265/attachment.html From enhaisa at gmail.com Wed Sep 29 12:06:32 2010 From: enhaisa at gmail.com (Daniel Kuehn) Date: Wed, 29 Sep 2010 12:06:32 +0200 Subject: [op5-users] anyone else? In-Reply-To: <1285676802.23288.4.camel@di9> References: <1285676802.23288.4.camel@di9> Message-ID: <20100929120632.6a5d398a@Mobile-Workstation.localdomain> On Tue, 28 Sep 2010 14:26:42 +0200 Patrik B?t wrote: > Hello > > Try access: > index.php/status/hostgroup/YOURHOSTGROUP?hoststatustypes=71&servicestatustypes=1&style=detail > > Im getting SQL ERROR. I am getting to the right page, hostgroup detail only showing those with status UP in a detailed view. -- Mvh Daniel Kuehn From ae at op5.se Wed Sep 29 12:50:43 2010 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Sep 2010 12:50:43 +0200 Subject: [op5-users] Merlin MASTER <-> MASTER In-Reply-To: <1285741985.23288.5.camel@di9> References: <1285741985.23288.5.camel@di9> Message-ID: <4CA31A03.6070707@op5.se> On 09/29/2010 08:33 AM, Patrik B?t wrote: > Hello! > > Is Merlind Master<->Master working ? > > And is there a howto or document how to configure this ? > What do you mean? If nodeA considers nodeB to be nodeA's master, then nodeB really shouldn't consider nodeA to be nodeB's master. I have no idea what would happen if you configure it like this, since it's patently absurd to let two nodes each think they're the other ones master. Possibly, the universe will explode. In theory, they should both run all their checks and send all events to each other, much like peers do but without loadbalancing. So if there is configuration overlap (which there has to be or this won't make sense at all), you'll get a race condition where both servers try to overwrite each others check results. If you configure them to be pollers to each other though, then you should be able to use them as peers with loadbalancing split up between them manually (via hostgroups) and the takeover facility should work just fine. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From patrik.bat at cypoint.se Wed Sep 29 12:56:00 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Wed, 29 Sep 2010 12:56:00 +0200 Subject: [op5-users] git down? In-Reply-To: References: Message-ID: <1285757760.1042.8.camel@di9> Git is down. git.op5.org [root at cymon01 merlin]# git pull git.op5.org[0: 193.201.96.29]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) -----Original Message----- From: Jonathan Petersson Reply-to: Mailinglist for op5's products To: Mailinglist for op5's products Subject: Re: [op5-users] git down? Date: Fri, 24 Sep 2010 07:55:21 +0200 Hi Joel, As far as we can see the git repo should be up and running. Which specific repo are you trying to access? On Thu, Sep 23, 2010 at 10:39 PM, Joel Brooks wrote: hey gang, is the git repo down? thx, J _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users -- Jonathan Petersson - Operations Engineer op5 AB Norgegatan 2 SE-164 32 Kista, Sweden Direct +46 8-58 83 01 21 Mob +46 733709021 E-mail: jpetersson at op5.com www.op5.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/184ad899/attachment.html From ae at op5.se Wed Sep 29 13:07:06 2010 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Sep 2010 13:07:06 +0200 Subject: [op5-users] git down? In-Reply-To: <1285757760.1042.8.camel@di9> References: <1285757760.1042.8.camel@di9> Message-ID: <4CA31DDA.4040303@op5.se> On 09/29/2010 12:56 PM, Patrik B?t wrote: > Git is down. git.op5.org > > [root at cymon01 merlin]# git pull > git.op5.org[0: 193.201.96.29]: errno=Connection timed out > fatal: unable to connect a socket (Connection timed out) > No it's not. It might be unavailable due to some firewall configuration issues though, as our proprietary firewalls crashed last night and forced an early switch to the linux-based solution we'll be using instead. I'll contact our sysadmin and see if he knows anything about it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From jpetersson at op5.com Wed Sep 29 13:08:40 2010 From: jpetersson at op5.com (Jonathan Petersson) Date: Wed, 29 Sep 2010 13:08:40 +0200 Subject: [op5-users] git down? In-Reply-To: <4CA31DDA.4040303@op5.se> References: <1285757760.1042.8.camel@di9> <4CA31DDA.4040303@op5.se> Message-ID: The problem has been remediated. On Wed, Sep 29, 2010 at 1:07 PM, Andreas Ericsson wrote: > On 09/29/2010 12:56 PM, Patrik B?t wrote: > > Git is down. git.op5.org > > > > [root at cymon01 merlin]# git pull > > git.op5.org[0: 193.201.96.29]: errno=Connection timed out > > fatal: unable to connect a socket (Connection timed out) > > > > No it's not. It might be unavailable due to some firewall configuration > issues though, as our proprietary firewalls crashed last night and forced > an early switch to the linux-based solution we'll be using instead. I'll > contact our sysadmin and see if he knows anything about it. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Considering the successes of the wars on alcohol, poverty, drugs and > terror, I think we should give some serious thought to declaring war > on peace. > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > -- * Jonathan Petersson - Operations Engineer op5 AB Norgegatan 2 SE-164 32 Kista, Sweden Direct +46 8-58 83 01 21 Mob +46 733709021 E-mail: jpetersson at op5.com www.op5.com * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/7afbe955/attachment.html From patrik.bat at cypoint.se Wed Sep 29 13:43:40 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Wed, 29 Sep 2010 13:43:40 +0200 Subject: [op5-users] git down? In-Reply-To: References: <1285757760.1042.8.camel@di9> <4CA31DDA.4040303@op5.se> Message-ID: <1285760620.1042.9.camel@di9> As we say in sweden, G?TT MOS :) -----Original Message----- From: Jonathan Petersson Reply-to: Mailinglist for op5's products To: Mailinglist for op5's products Subject: Re: [op5-users] git down? Date: Wed, 29 Sep 2010 13:08:40 +0200 The problem has been remediated. On Wed, Sep 29, 2010 at 1:07 PM, Andreas Ericsson wrote: On 09/29/2010 12:56 PM, Patrik B?t wrote: > Git is down. git.op5.org > > [root at cymon01 merlin]# git pull > git.op5.org[0: 193.201.96.29]: errno=Connection timed out > fatal: unable to connect a socket (Connection timed out) > No it's not. It might be unavailable due to some firewall configuration issues though, as our proprietary firewalls crashed last night and forced an early switch to the linux-based solution we'll be using instead. I'll contact our sysadmin and see if he knows anything about it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users -- Jonathan Petersson - Operations Engineer op5 AB Norgegatan 2 SE-164 32 Kista, Sweden Direct +46 8-58 83 01 21 Mob +46 733709021 E-mail: jpetersson at op5.com www.op5.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/85188dad/attachment-0001.html From patrik.bat at cypoint.se Wed Sep 29 13:45:18 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Wed, 29 Sep 2010 13:45:18 +0200 Subject: [op5-users] Merlin MASTER <-> MASTER In-Reply-To: <4CA31A03.6070707@op5.se> References: <1285741985.23288.5.camel@di9> <4CA31A03.6070707@op5.se> Message-ID: <1285760718.1042.10.camel@di9> Ahh, that last one make sense, smart thinking, thanks for the idea! :) -----Original Message----- From: Andreas Ericsson To: Mailinglist for op5's products Cc: Patrik B?t Subject: Re: [op5-users] Merlin MASTER <-> MASTER Date: Wed, 29 Sep 2010 12:50:43 +0200 On 09/29/2010 08:33 AM, Patrik B?t wrote: > Hello! > > Is Merlind Master<->Master working ? > > And is there a howto or document how to configure this ? > What do you mean? If nodeA considers nodeB to be nodeA's master, then nodeB really shouldn't consider nodeA to be nodeB's master. I have no idea what would happen if you configure it like this, since it's patently absurd to let two nodes each think they're the other ones master. Possibly, the universe will explode. In theory, they should both run all their checks and send all events to each other, much like peers do but without loadbalancing. So if there is configuration overlap (which there has to be or this won't make sense at all), you'll get a race condition where both servers try to overwrite each others check results. If you configure them to be pollers to each other though, then you should be able to use them as peers with loadbalancing split up between them manually (via hostgroups) and the takeover facility should work just fine. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/d77cb545/attachment.html From jedblack at gmail.com Wed Sep 29 13:50:36 2010 From: jedblack at gmail.com (Fritz) Date: Wed, 29 Sep 2010 07:50:36 -0400 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) Message-ID: <89DF4739-9329-487A-8572-4349C312E316@gmail.com> Hi Johannes, This is what i was trying to find out, I think the answer was "yes, it will work like that" -- but best to let Andreas comment. Friedrich >> Under the NOC/Merlird poller setup , would I be able to issue all (or >> some subset ) of the commands from the NOC console? Or would I still >> have to be required to login to individual pollers(merlind) instances >> to run certain command (such as the "force immediate check", or >> disable/enable flap detection...etc) >> >> > Yes, that's correct. Note that all global commands are being forwarded > though, so there's currently no way to disable checks for just the > master server, for example. > So what happens if I issue "schedule an immediate check for this service" on a NOC for a service that a poller is responsible for? Will the NOC execute it or will it forward the command to the poller? -- Best regards Johannes Dagemark JD Consulting (op5 service partner) Tel: +46 733 709024 Email: johannes at dagemark.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/758c934c/attachment.html From ae at op5.se Wed Sep 29 14:00:14 2010 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Sep 2010 14:00:14 +0200 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) In-Reply-To: <89DF4739-9329-487A-8572-4349C312E316@gmail.com> References: <89DF4739-9329-487A-8572-4349C312E316@gmail.com> Message-ID: <4CA32A4E.8060507@op5.se> Johannes, your original mail didn't reach the mailing list. Perhaps you forgot to use "Reply to all"? On 09/29/2010 01:50 PM, Fritz wrote: >> > So what happens if I issue "schedule an immediate check for this > service" on a NOC for a service that a poller is responsible for? > Will the NOC execute it or will it forward the command to the > poller? > This will happen: The master will receive the command and generate the appropriate eventbroker event. The merlin module receives the event and looks up the hostname to see if a node other than itself should handle the check. If it has peers or masters, the command will always get forwarded to those nodes. The master will schedule an immediate check of the service. The poller will schedule an immediate check of the service. When the master tries to run the scheduled check, it generates an eventbroker event saying "I'm about to run this check", which is passed on to the merlin module. The merlin module again goes into its hashtables to see if the host to which the check belongs is supposed to be handled by a poller. If that's the case, the module tells Nagios on the master to not bother, and the check is aborted. The same thing happens on the poller system, but there no other node is supposed to handle the check, so it executes it and sends the recently checked and updated service object to the master server. In short; The poller will run the check. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From johannes at dagemark.com Wed Sep 29 14:03:37 2010 From: johannes at dagemark.com (Johannes Dagemark) Date: Wed, 29 Sep 2010 14:03:37 +0200 Subject: [op5-users] NOC(ninja) console with multiple satellite pollers(merlin) In-Reply-To: <4CA32A4E.8060507@op5.se> References: <89DF4739-9329-487A-8572-4349C312E316@gmail.com> <4CA32A4E.8060507@op5.se> Message-ID: <4CA32B19.6090609@dagemark.com> On 2010-09-29 14:00, Andreas Ericsson wrote: > Johannes, your original mail didn't reach the mailing list. Perhaps you > forgot to use "Reply to all"? > Noop, I have confirmation from secure sources that it actually did reach the mailing list. Perhaps _you_ forgot to remove your "put all Johannes mail's to /dev/null" filter ;) Thanks for the answer though, just what I wanted to hear :) /Johannes > On 09/29/2010 01:50 PM, Fritz wrote: > >>> >> So what happens if I issue "schedule an immediate check for this >> service" on a NOC for a service that a poller is responsible for? >> Will the NOC execute it or will it forward the command to the >> poller? >> >> > This will happen: > The master will receive the command and generate the appropriate > eventbroker event. > The merlin module receives the event and looks up the hostname to > see if a node other than itself should handle the check. If it has > peers or masters, the command will always get forwarded to those > nodes. > > The master will schedule an immediate check of the service. > The poller will schedule an immediate check of the service. > When the master tries to run the scheduled check, it generates an > eventbroker event saying "I'm about to run this check", which is > passed on to the merlin module. The merlin module again goes into > its hashtables to see if the host to which the check belongs is > supposed to be handled by a poller. If that's the case, the module > tells Nagios on the master to not bother, and the check is aborted. > The same thing happens on the poller system, but there no other > node is supposed to handle the check, so it executes it and sends > the recently checked and updated service object to the master > server. > > In short; The poller will run the check. > > -- Best regards Johannes Dagemark JD Consulting (op5 service partner) Tel: +46 733 709024 Email: johannes at dagemark.com From at at commotive.com Wed Sep 29 14:19:15 2010 From: at at commotive.com (Alex Thomsen Leth) Date: Wed, 29 Sep 2010 14:19:15 +0200 Subject: [op5-users] Testing Reporting module Message-ID: <7D02CF151F850C47B04B459B7BF69395026EEE5F@exbe04.exserver.dk> Hello I'm in the process of testing ninja with reporting module. However, I run into a problem when I press the "trends", I can not move services from one field to another. Which means I can not choose which services I want to make report on. Is it a known bug in the system or can I have set something up wrong. Ndbneb and merlin are loaded at startup of nagios. Greetings Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/9e74b6d4/attachment.html From perasb at op5.com Wed Sep 29 14:42:39 2010 From: perasb at op5.com (=?iso-8859-1?Q?Per_=C5sberg?=) Date: Wed, 29 Sep 2010 14:42:39 +0200 Subject: [op5-users] Testing Reporting module In-Reply-To: <7D02CF151F850C47B04B459B7BF69395026EEE5F@exbe04.exserver.dk> References: <7D02CF151F850C47B04B459B7BF69395026EEE5F@exbe04.exserver.dk> Message-ID: <0849E0BC-52FF-4905-A881-D03328B5E67E@op5.com> On Sep 29, 2010, at 14:19 EM, Alex Thomsen Leth wrote: > Hello > > I'm in the process of testing ninja with reporting module. However, I run into a problem when I press the ?trends?, I can not move services from one field to another. Which means I can not choose which services I want to make report on. Is it a known bug in the system or can I have set something up wrong. Ndbneb and merlin are loaded at startup of nagios. Sounds like a javascript issue. Do you get any errors anywhere? Tried doubleclicking and using the arrows? What browser do you use? If there are any errors available anywhere we would appreciate the ouput. Javascript error reporting from Internet Explorer is usually less helpful than what both Firefox and Chrome produces so testing in another browser might help us hunting down the issue- What version of Ninja are you using? Regards, /Per --------------------------- Per Asberg Senior Developer www.op5.com From at at commotive.com Wed Sep 29 14:48:09 2010 From: at at commotive.com (Alex Thomsen Leth) Date: Wed, 29 Sep 2010 14:48:09 +0200 Subject: [op5-users] Testing Reporting module In-Reply-To: <0849E0BC-52FF-4905-A881-D03328B5E67E@op5.com> References: <7D02CF151F850C47B04B459B7BF69395026EEE5F@exbe04.exserver.dk> <0849E0BC-52FF-4905-A881-D03328B5E67E@op5.com> Message-ID: <7D02CF151F850C47B04B459B7BF69395026EEE67@exbe04.exserver.dk> Hey again. I tried running ninja from both firefox and ie on several machines. Im getting no errors. Ive just checked the op5 sandbox and I have the same error there. Tried doubleclikking as well as the arrows. On my local machine I use ninja version 1.0.3. Regards Alex -----Oprindelig meddelelse----- Fra: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] P? vegne af Per ?sberg Sendt: 29. september 2010 14:43 Til: Mailinglist for op5's products Emne: Re: [op5-users] Testing Reporting module On Sep 29, 2010, at 14:19 EM, Alex Thomsen Leth wrote: > Hello > > I'm in the process of testing ninja with reporting module. However, I run into a problem when I press the "trends", I can not move services from one field to another. Which means I can not choose which services I want to make report on. Is it a known bug in the system or can I have set something up wrong. Ndbneb and merlin are loaded at startup of nagios. Sounds like a javascript issue. Do you get any errors anywhere? Tried doubleclicking and using the arrows? What browser do you use? If there are any errors available anywhere we would appreciate the ouput. Javascript error reporting from Internet Explorer is usually less helpful than what both Firefox and Chrome produces so testing in another browser might help us hunting down the issue- What version of Ninja are you using? Regards, /Per --------------------------- Per Asberg Senior Developer www.op5.com _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users From peter.ostlin at op5.com Wed Sep 29 15:46:09 2010 From: peter.ostlin at op5.com (=?ISO-8859-1?Q?Peter_=D6stlin?=) Date: Wed, 29 Sep 2010 15:46:09 +0200 Subject: [op5-users] SNMP Traps in Ninja In-Reply-To: References: Message-ID: Hi Michael Sorry for the extremely late answer to this question. this email was one of the things I planned to write the day I had some extra time on my hands, turns out that day never comes... ;-) We (op5) are actually involved in a project together with a customer right now where we will develop a better way of handling traps. This will, however, not be an opensource project but functionality offered as an addon to op5 customers only. At least as a start. We base this on a recent version of snmptrapd (from the net-snmp package) which insert traps into database. We then use a lua based rule engine to process the traps. Rules can, for example, change the state of a service. In addition to this we will create a kind of event/alarm view that can list traps in a simular way we list services in Ninja. If all or only a subset of the traps end up in this event view can be handled by the rule engine. The idea being that you might not want to associate all traps to a service, instead the traps will be listed and you will have the option to delete and ackowledge which turn this view into a kind of 'unhandled problems' view for traps. We are about half way through the development of the first version and I hope it to be available for op5 customers late this year. Since this right now is a one customer only implementation we are a bit short on documentation. This will improve in a month or so. When developing this we have also come across SEC, http://simple-evcorr.sourceforge.net/ which together with snmptt perhaps could be used to handle traps in Nagios. We did not really investigate SEC in that much detail and I don't know how active the project is but it might be an option if you want to develop something on your own. Regards Peter ?stlin -- Development Manager op5 AB On Mon, Aug 9, 2010 at 11:16 AM, Krebs, Michael wrote: > > Hi all, > > i?m currently at the point of integrating SNMP Traps into my nagios. > I?ve chosen the way of snmptt and nagtrap, but I'm not yet really satisfied > with my solution. ?How do you handle traps ? > > > Mit freundlichen Gr??en / Best regards > > Michael Krebs > > ------------------------------------------------- > Carl Zeiss SMT AG > Gesch?ftsbereich Lithographie-Optik > Abteilung Technologie/Mechatronik > > Telefon/Phone: +49 73 64 20 - 9635 > Fax: +49 73 64 20 - 82 52 > mailto:michael.krebs at smt.zeiss.com > http://www.zeiss.de/semiconductor > > Carl Zeiss SMT AG > Vorsitzender des Aufsichtsrates: Dr. Dieter Kurz > Vorstand: Dr. Hermann Gerlinger (Vorsitzender), Dr. Andreas Dorsel, Justus > Felix Wehmer > Sitz der Gesellschaft: 73447 Oberkochen, Deutschland > Amtsgericht Ulm, HRB 501473, USt-IdNr: DE 811119999 > > ---------------------------------------- > This message is intended for a particular addressee only and may contain > business or company secrets. If you have received this email in error, > please contact the sender and delete the message immediately. Any use of > this email, including saving, publishing, copying, replication or forwarding > of the message or the contents is not permitted. > > > _______________________________________________ > op5-users mailing list > op5-users at lists.op5.com > http://lists.op5.com/mailman/listinfo/op5-users > > -- Development Manager op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mob: +46 733-70 90 31 Fax: +46 31-774 04 32 http://www.op5.com Meet us at op5 Inspiration Day September 14 http://www.op5.com/op5/news/events/1220-op5-inspiration-day From jcasale at activenetwerx.com Wed Sep 29 19:24:50 2010 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Wed, 29 Sep 2010 17:24:50 +0000 Subject: [op5-users] SNMP Traps in Ninja In-Reply-To: References: Message-ID: >We (op5) are actually involved in a project together with a customer >right now where we will develop a better way of handling traps. This >will, however, not be an opensource project but functionality offered >as an addon to op5 customers only. At least as a start. In that case, I offer a solution I use that likely isn't as polished with the knobs to twist on a shiny gui, but it works flawlessly: On my RHEL 5 based systems, I configure snmptrapd to catch all traps and direct them to a handler. This script then uses cases to match for conditions and submit that to Nagios using a named pipe. The script I use is a very modified, generic version of the one here: http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm I have been hacking at it for a while simplifying and adding cases etc but not being a Perl programmer it's probably rather ugly. Hth, jlc From wob at swobspace.de Wed Sep 29 20:03:18 2010 From: wob at swobspace.de (Wolfgang Barth) Date: Wed, 29 Sep 2010 20:03:18 +0200 Subject: [op5-users] merlin-0.8.0-beta1 command propagation In-Reply-To: <4C97B22C.70800@op5.se> References: <4C97B22C.70800@op5.se> Message-ID: <20100929180318.GA11660@swobspace.swobspace.de> Andreas, > Bugreports and feature-complaints are, as always, most welcome. I'm playing around with command propagation in peer2peer setup. It works, but if I'm adding a comment or acknowledge a comment, I get one entry on the iniating instance and two identical entries on the second instance. For example: test: comment id 1 test2: comment id 1+2 (with the same content) On instance test: peer test2 { address = 127.0.0.1; port = 15552; # optional, since 15551 is the default } On instance test2: peer test { address = 127.0.0.1; port = 15551; # optional, since 15551 is the default } And yes, two databases merlin_test and merlin_test2, two config files, different directories for files (logs, merlind, ...) and two init scripts. merlin version from git today on both installations. Any idea? Wolfgang -- * http://www.swobspace.de From Ken.Menzel at fisglobal.com Thu Sep 30 02:22:05 2010 From: Ken.Menzel at fisglobal.com (Menzel, Ken) Date: Wed, 29 Sep 2010 19:22:05 -0500 Subject: [op5-users] NOC(ninja) console with multiple satellitepollers(merlin) In-Reply-To: <4CA32B19.6090609@dagemark.com> References: <89DF4739-9329-487A-8572-4349C312E316@gmail.com><4CA32A4E.8060507@op5.se> <4CA32B19.6090609@dagemark.com> Message-ID: I have a couple questions: First, I have a question pertaining to how Merlin interacts with NDOUtils A little background on my question: I do not like the RRD based graphing solutions (which most seem to be) as they are so sensitive to late or early checks. Instead, I use NDOUtils to populate a MySQL database. I then use NDOGrapher to generate performance data based graphs which can be anything from utilization to LCV counters. How does a multiple poller Merlin/Ninja installation work with NDO? When the checks (and performance results) are returned to the NOC, are they then passed though the event broker process so that the can be processed via the NDO module? Or do I need to have each NDOUtils running on all of the pollers? If the checks are not passed through the event broker process on the NOC, do you have any suggestions on a work around that does not involved running NDOUtils on all of the pollers? I did try this a long time ago, on like 0.5 code, and the Merlin module seemed to preempt the NDO module but Merlin has matured tremendously since then. My second question is in reference to configuration involving multiple NOCs and a series of pollers. I plan to setup 2 NOCs that are peered together (though geographically separate) and share all polling jobs with only 1 tier of pollers down below them. I would like to link each poller to both NOCs for redundancy instead of maintaining 2 separate constellations of pollers. How will Merlin handle the job distribution in this case? Will the pollers accept jobs from both NOCs at the same time or link itself to only 1? If it links itself to only one, can it fail over to the other NOC seamlessly? If it links to both NOCs, how likely is the poller to be over-saturated (while another is underutilized)? My third question combines facets of the first two. I also want to make my NDO database redundant. For this question I am assuming the Merlin module on the NOC passes the check results back to the event broker. In the case where I have 2 peered NOCs, are the check results passed to the event broker on BOTH NOCs or only one of them? This matters as it affects how I create the redundancy for that database. My fourth question is most likely going to fall in the category of feature request. Is there a way to restrict polls from specific servicegroups to specific pollers? I would like to restrict services that check response times to specific datacenters while all other polls destined to these hosts are distributed per hostgroup rules. To acquire meaning full response times that can be used to alert us to potential problems between an endpoint device and a specific DC the polls need to originate from that DC. In some cases, a single host may need response times tracked from multiple datacenters. Also, most checks that need to occur on these hosts can originate from anywhere. We have a highly redundant WAN. As such, I do not want to lose all polling on a host just because 1 DC goes down (in which case multiple pollers for redundancy at that DC won't matter). Merlin would appear to be the ideal solution to this. If Merlin is not capable of doing this I would like to add this to the feature request list. I would think you could reuse much of the code used to parse the hostgroups to accomplish this. I would try to make a patch myself but I only know enough Perl, C, and shell scripting to get myself in trouble. I am a network analyst that has only dabbled a little into programming. Assuming I somehow was able to make a patch that did work, I doubt that it would be of high enough quality to be accepted into your code base. My last question should be the easiest. Some comments I saw in the Ninja GIT tree made it appear that the reports-module will be fully integrated with Merlin in version 0.8.1 (which I do not see in the web based GIT tree yet). In which case it appears the reports module itself will not be needed as a separate component. Is this the case or did I misunderstand the commit comment? Thanks Ken -----Original Message----- From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of Johannes Dagemark Sent: Wednesday, September 29, 2010 8:04 AM To: op5-users at lists.op5.com Subject: Re: [op5-users] NOC(ninja) console with multiple satellitepollers(merlin) On 2010-09-29 14:00, Andreas Ericsson wrote: > Johannes, your original mail didn't reach the mailing list. Perhaps you > forgot to use "Reply to all"? > Noop, I have confirmation from secure sources that it actually did reach the mailing list. Perhaps _you_ forgot to remove your "put all Johannes mail's to /dev/null" filter ;) Thanks for the answer though, just what I wanted to hear :) /Johannes > On 09/29/2010 01:50 PM, Fritz wrote: > >>> >> So what happens if I issue "schedule an immediate check for this >> service" on a NOC for a service that a poller is responsible for? >> Will the NOC execute it or will it forward the command to the >> poller? >> >> > This will happen: > The master will receive the command and generate the appropriate > eventbroker event. > The merlin module receives the event and looks up the hostname to > see if a node other than itself should handle the check. If it has > peers or masters, the command will always get forwarded to those > nodes. > > The master will schedule an immediate check of the service. > The poller will schedule an immediate check of the service. > When the master tries to run the scheduled check, it generates an > eventbroker event saying "I'm about to run this check", which is > passed on to the merlin module. The merlin module again goes into > its hashtables to see if the host to which the check belongs is > supposed to be handled by a poller. If that's the case, the module > tells Nagios on the master to not bother, and the check is aborted. > The same thing happens on the poller system, but there no other > node is supposed to handle the check, so it executes it and sends > the recently checked and updated service object to the master > server. > > In short; The poller will run the check. > > -- Best regards Johannes Dagemark JD Consulting (op5 service partner) Tel: +46 733 709024 Email: johannes at dagemark.com _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100929/bf3750f2/attachment-0001.html From michael.krebs at smt.zeiss.com Thu Sep 30 07:54:15 2010 From: michael.krebs at smt.zeiss.com (Krebs, Michael) Date: Thu, 30 Sep 2010 07:54:15 +0200 Subject: [op5-users] Antwort: Re: SNMP Traps in Ninja In-Reply-To: Message-ID: Hi all, in the meantime i?m using nagtrap (http://www.nagtrap.org) in combination with snmptt and snmptrapd. Snmptrapd catches all the traps and pass them to snmptt that again writes all received and known traps into a local mysql db. A associated service for each host checks if there are traps for him. With this solution i only a notification when a trap is received but i don?t know what happened at first sight. I first have to look at nagtrap to find out what happened. It?s by far not perfect, but at least it works :) Mit freundlichen Gr??en / Best regards Michael Krebs ------------------------------------------------- Carl Zeiss SMT AG Gesch?ftsbereich Lithographie-Optik Abteilung Technologie/Mechatronik Telefon/Phone: +49 73 64 20 - 9635 Fax: +49 73 64 20 - 82 52 mailto:michael.krebs at smt.zeiss.com http://www.zeiss.de/semiconductor Carl Zeiss SMT AG Vorsitzender des Aufsichtsrates: Dr. Dieter Kurz Vorstand: Dr. Hermann Gerlinger (Vorsitzender), Dr. Andreas Dorsel, Justus Felix Wehmer Sitz der Gesellschaft: 73447 Oberkochen, Deutschland Amtsgericht Ulm, HRB 501473, USt-IdNr: DE 811119999 "Joseph L. Casale" Gesendet von: op5-users-bounces at lists.op5.com 29.09.2010 19:24 Bitte antworten an "Mailinglist for op5's products" An "Mailinglist for op5's products" Kopie Thema Re: [op5-users] SNMP Traps in Ninja >We (op5) are actually involved in a project together with a customer >right now where we will develop a better way of handling traps. This >will, however, not be an opensource project but functionality offered >as an addon to op5 customers only. At least as a start. In that case, I offer a solution I use that likely isn't as polished with the knobs to twist on a shiny gui, but it works flawlessly: On my RHEL 5 based systems, I configure snmptrapd to catch all traps and direct them to a handler. This script then uses cases to match for conditions and submit that to Nagios using a named pipe. The script I use is a very modified, generic version of the one here: http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm I have been hacking at it for a while simplifying and adding cases etc but not being a Perl programmer it's probably rather ugly. Hth, jlc _______________________________________________ op5-users mailing list op5-users at lists.op5.com http://lists.op5.com/mailman/listinfo/op5-users ---------------------------------------- This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100930/8f79a642/attachment.html From patrik.bat at cypoint.se Thu Sep 30 08:28:02 2010 From: patrik.bat at cypoint.se (Patrik =?ISO-8859-1?Q?B=E5t?=) Date: Thu, 30 Sep 2010 08:28:02 +0200 Subject: [op5-users] SNMP Traps in Ninja In-Reply-To: References: Message-ID: <1285828082.1042.22.camel@di9> Hello! We at Cypoint uses SNMPTT with the check_snmptraps.pl - nagios plugin (Copyright (C) 2007 Michael Luebben), Then i have written a GUI for this to ACK traps, its simple and ok, in a 700 host environment. As before we submitted passive traps right into nagios, this was a total flood, as our for example HP EVA SAN was flooding the duty on maintenance. Now instead we just get one alarm that we have relived CRITICAL traps. we enter the webgui and check them and after that ACK them. Keep it simple! If you interested in this setup in any way, please contact me, I like the sharing part in this community! // Patrik B?t. -----Original Message----- From: Krebs, Michael Reply-to: Mailinglist for op5's products To: op5-users at lists.op5.com Subject: [op5-users] SNMP Traps in Ninja Date: Mon, 9 Aug 2010 11:16:15 +0200 Hi all, i?m currently at the point of integrating SNMP Traps into my nagios. I?ve chosen the way of snmptt and nagtrap, but I'm not yet really satisfied with my solution. How do you handle traps ? Mit freundlichen Gr??en / Best regards Michael Krebs ------------------------------------------------- Carl Zeiss SMT AG Gesch?ftsbereich Lithographie-Optik Abteilung Technologie/Mechatronik Telefon/Phone: +49 73 64 20 - 9635 Fax: +49 73 64 20 - 82 52 mailto:michael.krebs at smt.zeiss.com http://www.zeiss.de/semiconductor Carl Zeiss SMT AG Vorsitzender des Aufsichtsrates: Dr. Dieter Kurz Vorstand: Dr. Hermann Gerlinger (Vorsitzender), Dr. Andreas Dorsel, Justus Felix Wehmer Sitz der Gesellschaft: 73447 Oberkochen, Deutschland Amtsgericht Ulm, HRB 501473, USt-IdNr: DE 811119999 ---------------------------------------- This message is intended for a particular addressee only and may contain business or company secrets. If you have received this email in error, please contact the sender and delete the message immediately. Any use of this email, including saving, publishing, copying, replication or forwarding of the message or the contents is not permitted. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100930/821c6fff/attachment.html From ae at op5.se Thu Sep 30 11:38:53 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Sep 2010 11:38:53 +0200 Subject: [op5-users] merlin-0.8.0-beta1 command propagation In-Reply-To: <20100929180318.GA11660@swobspace.swobspace.de> References: <4C97B22C.70800@op5.se> <20100929180318.GA11660@swobspace.swobspace.de> Message-ID: <4CA45AAD.2020908@op5.se> On 09/29/2010 08:03 PM, Wolfgang Barth wrote: > Andreas, > >> Bugreports and feature-complaints are, as always, most welcome. > > I'm playing around with command propagation in peer2peer setup. It works, > but if I'm adding a comment or acknowledge a comment, I get one entry on > the iniating instance and two identical entries on the second instance. For > example: > Acknowledge a comment? I take it you mean "acknowledge a host or service"? > test: comment id 1 > test2: comment id 1+2 (with the same content) > > On instance test: > peer test2 { > address = 127.0.0.1; > port = 15552; # optional, since 15551 is the default > } > > On instance test2: > peer test { > address = 127.0.0.1; > port = 15551; # optional, since 15551 is the default > } > > And yes, two databases merlin_test and merlin_test2, two config files, > different directories for files (logs, merlind, ...) and two init scripts. > merlin version from git today on both installations. > > Any idea? > It seems commands also have a START and END type. I'll make sure to modify it to only send the END commands, since that means the command has already passed through one Nagios instance's verification process. Thanks for testing and reporting this, and sorry for my sloppy research. It was a fairly easy fix, so it's amended in git and pushed to git.op5.org now. Feel free to grab the latest from there and try again. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From ae at op5.se Thu Sep 30 13:02:12 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Sep 2010 13:02:12 +0200 Subject: [op5-users] NOC(ninja) console with multiple satellitepollers(merlin) In-Reply-To: References: <89DF4739-9329-487A-8572-4349C312E316@gmail.com><4CA32A4E.8060507@op5.se> <4CA32B19.6090609@dagemark.com> Message-ID: <4CA46E34.4040301@op5.se> In the future, please don't hijack mailing list threads like this. It's quite easy to start a new one. On 09/30/2010 02:22 AM, Menzel, Ken wrote: > I have a couple questions: > > > > First, I have a question pertaining to how Merlin interacts with > NDOUtils > It doesn't. You can use them both at the same time if you like, but it might fsck NDOUtils up if Merlin blocks checks that NDOUtils have already logged an "in-progress" thing to the database for. I don't know how NDOUtils work internally though, so it might Just Work(tm). Merlin is a replacement for NDOUtils with extended capabilities. We have no interest in testing Merlin alongside NDOUtils and try to find all the potential problems one might see. > > A little background on my question: > > I do not like the RRD based graphing solutions (which most seem to be) > as they are so sensitive to late or early checks. Instead, I use > NDOUtils to populate a MySQL database. I then use NDOGrapher to generate > performance data based graphs which can be anything from utilization to > LCV counters. > > How does a multiple poller Merlin/Ninja installation work with NDO? "Try and find out" is the best answer I can give you. Like I said; We have not and will not test how Merlin works alongside NDOUtils. > When > the checks (and performance results) are returned to the NOC, are they > then passed though the event broker process so that the can be processed > via the NDO module? No. If that was the case, Merlin would play pingpong with one check result indefinitely, or jump through hoops to find out which result originated where. Not exactly an optimal solution. > Or do I need to have each NDOUtils running on all of > the pollers? Possibly. I don't know and, like I said, we have no interest in testing Merlin alongside NDOUtils. They fill (almost) the same purpose, but Merlin does it more efficiently in terms of CPU cycles, memory usage and longtime storage space. > If the checks are not passed through the event broker > process on the NOC, do you have any suggestions on a work around that > does not involved running NDOUtils on all of the pollers? > Modify Nagiosgrapher so that it works with the merlin database. I have no idea how that would work though, as Merlin only stashes a subset of the historical data. Perhaps you can invent some trickery with the showlog program and parse the logfiles to get the data you want. Or create OCSP/OCHP commands that stash the performance-data part in an NDOUtils like database. > > I did try this a long time ago, on like 0.5 code, and the Merlin module > seemed to preempt the NDO module but Merlin has matured tremendously > since then. > I should think so. v0.5 was 814 commits and more than a year ago. The output of 'git diff --stat -- *.[ch] Makefile *.sql apps' is this: 73 files changed, 15336 insertions(+), 1912 deletions(-) > > I plan to setup 2 NOCs that are peered together (though geographically > separate) and share all polling jobs with only 1 tier of pollers down > below them. I would like to link each poller to both NOCs for redundancy > instead of maintaining 2 separate constellations of pollers. > > How will Merlin handle the job distribution in this case? The normal way. You assign one or more hostgroups to each poller and send the configuration for every object related to that hostgroup to the poller, which then runs the checks configured for it and sends it to any and all masters or peers so long as it's up and running. > Will the > pollers accept jobs from both NOCs at the same time or link itself to > only 1? You've failed to understand how check distribution is handled in Merlin. Each poller will always run all checks configured on it, unless that poller has peers or pollers. If it does have peers or pollers, the normal case for master nodes applies to the check distribution. > If it links itself to only one, can it fail over to the other > NOC seamlessly? No. If you want a poller to have two masters, you need to configure both those master servers for that poller. > If it links to both NOCs, how likely is the poller to be > over-saturated (while another is underutilized)? > That depends. Since you manually distribute checks to pollers you're ultimately responsible for making sure each poller handles no more than it can cope with. > > I also want to make my NDO database redundant. For this question I am > assuming the Merlin module on the NOC passes the check results back to > the event broker. It doesn't, so the point is moot. > In the case where I have 2 peered NOCs, are the check > results passed to the event broker on BOTH NOCs or only one of them? > The poller sends checkresults to all masters and peers, but NDOUtils won't see them if they arrive via the Merlin protocol. > > Is there a way to restrict polls from specific servicegroups to specific > pollers? > Slightly untrue but actually useful answer: No. Checks are distributed to pollers via hostgroups. One or more hostgroups are assigned to each poller. I advice against assigning overlapping hostgroups unless the set of hostgroups are identical for all pollers with overlapping hostgroups and those pollers are configured as peers for each other. It's possible to do it, but the howto for it falls under the "Dark Arts" category, since you need to create a virtual 3tiered merlin network in a 2tiered topology. Completely true but not so useful answer: Yes. If your config-fu is up to scratch and you can accurately slice up your object configuration so that each poller gets configured with the checks it needs to run while no other poller has that check, and you don't mind the special nodes being configured twice in the object configuration, it is indeed possible to do this. Explaining how to do it would take a few days though, so it'd probably be faster if you got a support-contract and bought the feature outright. I have no idea what it would cost, but I think 40-50 hours of development and testing would do the trick. If you're looking for the free (as in beer) version of how to do this, I'd suggest setting up crontab entries on some remote systems and let them push passive checkresults up to your Nagios instance. Passive checkresults are also handled by Merlin (if they're not, that's a bug), so that would get you what you need for the price of a couple of hours work. > > Merlin would appear to be the ideal solution to this. If Merlin is not > capable of doing this I would like to add this to the feature request > list. I would think you could reuse much of the code used to parse the > hostgroups to accomplish this. I would try to make a patch myself but I > only know enough Perl, C, and shell scripting to get myself in trouble. > I am a network analyst that has only dabbled a little into programming. > Assuming I somehow was able to make a patch that did work, I doubt that > it would be of high enough quality to be accepted into your code base. > Parsing it out is not the hard part. The hard part is the config splitting and modifying the poller code to let it figure out that it shouldn't necessarily run the hostchecks for every host it has configured, just because that host is in a service-group it's responsible for. Or perhaps I didn't understand your question. > > Some comments I saw in the Ninja GIT tree made it appear that the > reports-module will be fully integrated with Merlin in version 0.8.1 > (which I do not see in the web based GIT tree yet). In which case it > appears the reports module itself will not be needed as a separate > component. Is this the case or did I misunderstand the commit comment? > That's correct. The reports-module is no longer necessary and should be removed from nagios/merlin/ninja installs where the merlin version is >= 0.8.0-beta2 and the ninja version is >= 1.1.0-beta2 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From d.palermo at enteautonomovolturno.it Thu Sep 30 13:47:48 2010 From: d.palermo at enteautonomovolturno.it (Dario Palermo) Date: Thu, 30 Sep 2010 13:47:48 +0200 Subject: [op5-users] dumb quesiton: merlin daemon start Message-ID: <5351C2DEBC59DC49948FB1D9D51E69C1E6BDF76108@aiolia> An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100930/09cb8b6f/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: application/octet-stream Size: 1961 bytes Desc: image001.jpg Url : http://lists.op5.com/pipermail/op5-users/attachments/20100930/09cb8b6f/attachment.obj From ae at op5.se Thu Sep 30 13:58:02 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Sep 2010 13:58:02 +0200 Subject: [op5-users] dumb quesiton: merlin daemon start In-Reply-To: <5351C2DEBC59DC49948FB1D9D51E69C1E6BDF76108@aiolia> References: <5351C2DEBC59DC49948FB1D9D51E69C1E6BDF76108@aiolia> Message-ID: <4CA47B4A.90709@op5.se> On 09/30/2010 01:47 PM, Dario Palermo wrote: > I realized that the merlin daemon wasn?t starting at boot? is it supposed to, > right? And, if it is, how? > > Trying to address the issue, I created a symlink s98merlin in rsS and it seems > to work. Bu shouldn?t had merlin install script do this (or something else) for me? > On chkconf enabled systems, it should. Otherwise it's a job for package maintainers to take care of, although I realize there aren't that many packages for late enough releases of Merlin. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From wob at swobspace.de Thu Sep 30 18:43:00 2010 From: wob at swobspace.de (Wolfgang Barth) Date: Thu, 30 Sep 2010 18:43:00 +0200 Subject: [op5-users] merlin-0.8.0 command propagation In-Reply-To: <4CA45AAD.2020908@op5.se> References: <4C97B22C.70800@op5.se> <20100929180318.GA11660@swobspace.swobspace.de> <4CA45AAD.2020908@op5.se> Message-ID: <20100930164300.GA3373@swobspace.swobspace.de> On Thu, Sep 30, 2010 at 11:38:53AM +0200, Andreas Ericsson wrote: > Acknowledge a comment? I take it you mean "acknowledge a host or service"? Sorry, I meant CMD_ACKNOWLEDGE_SVC_PROBLEM and CMD_ADD_SVC_COMMENT. > It was a fairly easy fix, so it's amended in git and pushed to git.op5.org > now. Feel free to grab the latest from there and try again. Great. I pulled the source from git (v0.8.0-beta3p41-g648299e14f0e), now it works perfectly for me. I may found an issue on removing a comment from the remote site, but this occurs only if I uses livestatus (check_mk livestatus web interface which uses its own interface for commands - not the command pipe). If I use the classic Nagios web interface (using the command pipe) I can't reproduce this problem. So it should be a problem of livestatus. Wolfgang -- * http://www.swobspace.de From Schimpke.Thomas at bhn-services.com Thu Sep 30 18:52:34 2010 From: Schimpke.Thomas at bhn-services.com (Schimpke, Dr. Thomas - bhn) Date: Thu, 30 Sep 2010 18:52:34 +0200 Subject: [op5-users] merlin with postgres database Message-ID: <137B4E3B8F30074EADD080AA8A6E2A9314F93B04D4@ZDE070.lenze.com> Good evening, I tried to setup postgres as a database backend for merlin. I thought, it should work, because there's a DBI driver for postgres... So, to setup postgres I: - created a user merlin - created a database "merlin". The User owns the database. - created a schema "merlin" within the database - hacked the script db.sql to create all the tables This all seemed to work. I can connect to the database using psql as usual. I compiled/installed merlin. Everything seemed to be fine. But merlind seems to be unable to insert records into the database. From the logs: dbi_conn_query_null(): Failed to run [UPDATE merlin.program_status SET is_running = 1, last_alive = 1285854760, program_start = 1285854754, pid = 15665, daemon_mode = 1, last_command_check = 0, last_log_rotation = 0, notifications_enabled = 1, active_service_checks_enabled = 1, passive_service_checks_enabled = 1, active_host_checks_enabled = 1, passive_host_checks_enabled = 1, event_handlers_enabled = 1, flap_detection_enabled = 1, failure_prediction_enabled = 1, process_performance_data = 1, obsess_over_hosts = 0, obsess_over_services = 0, modified_host_attributes = 0, modified_service_attributes = 0, global_host_event_handler = '', global_service_event_handler = '' WHERE instance_id = 0]: . Error-code is 0 If I copy the SQL statement into psql and execute it the record is inserted. I verified, that the merlind is connected to the database: select * from pg_stat_activity where usename='merlin'; datid | datname | procpid | usesysid | usename | current_query | waiting | xact_start | query_start | backend_start | client_addr | client_port 77221 | merlin | 4801 | 70741 | merlin | | f | | 2010-09-30 15:52:36.938928+02 | 2010-09-30 15:52:37.9961 22+02 | 192.168.87.88 | 56095 I configured the database connection as in merlin.conf like this: database { name = merlin; user = merlin; pass = merlin; host = phobos.lenze.com; type = pgsql; } Any idea what is going on here ? Kind regards, Thomas From ae at op5.se Thu Sep 30 19:22:52 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Sep 2010 19:22:52 +0200 Subject: [op5-users] merlin with postgres database In-Reply-To: <137B4E3B8F30074EADD080AA8A6E2A9314F93B04D4@ZDE070.lenze.com> References: <137B4E3B8F30074EADD080AA8A6E2A9314F93B04D4@ZDE070.lenze.com> Message-ID: <4CA4C76C.9030702@op5.se> On 09/30/2010 06:52 PM, Schimpke, Dr. Thomas - bhn wrote: > Good evening, > > I tried to setup postgres as a database backend for merlin. Cool. I've tried that too and hit some minor (and some major) snags. > I thought, > it should work, because there's a DBI driver for postgres... > So, to setup postgres I: > - created a user merlin > - created a database "merlin". The User owns the database. > - created a schema "merlin" within the database > - hacked the script db.sql to create all the tables > This all seemed to work. I can connect to the database using psql as > usual. > > I compiled/installed merlin. Everything seemed to be fine. But merlind > seems to be unable to insert records into the database. From the logs: > > dbi_conn_query_null(): Failed to run [UPDATE merlin.program_status SET > is_running = 1, last_alive = 1285854760, program_start = 1285854754, pid > = 15665, daemon_mode = 1, last_command_check = 0, last_log_rotation = 0, > notifications_enabled = 1, active_service_checks_enabled = 1, > passive_service_checks_enabled = 1, active_host_checks_enabled = 1, > passive_host_checks_enabled = 1, event_handlers_enabled = 1, > flap_detection_enabled = 1, failure_prediction_enabled = 1, > process_performance_data = 1, obsess_over_hosts = 0, > obsess_over_services = 0, modified_host_attributes = 0, > modified_service_attributes = 0, global_host_event_handler = '', > global_service_event_handler = '' WHERE instance_id = 0]: . Error-code > is 0 > > If I copy the SQL statement into psql and execute it the record is > inserted. > I doubt it. PostgreSQL doesn't support "database.table" syntax for inserts and updates, which is why it was removed in commit b17de6e31e June 18 this year. Or perhaps I've missed something and the command-line version of it does but the C api doesn't. > > Any idea what is going on here ? > You're using an old version of Merlin. The sql dialect you're describing was removed in June this year. Considering the pace of development I've kept up on Merlin, that's practically ancient. I suggest you download the latest merlin directly from git. If you're not comfortable with the commandline version, you can get a snapshot from http://git.op5.org/git/?p=nagios/merlin.git;a=summary The project page will be updated with a new release this coming monday, when Merlin will be considered feature-complete for its first production release (0.9.0). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From ae at op5.se Thu Sep 30 19:25:55 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Sep 2010 19:25:55 +0200 Subject: [op5-users] merlin-0.8.0 command propagation In-Reply-To: <20100930164300.GA3373@swobspace.swobspace.de> References: <4C97B22C.70800@op5.se> <20100929180318.GA11660@swobspace.swobspace.de> <4CA45AAD.2020908@op5.se> <20100930164300.GA3373@swobspace.swobspace.de> Message-ID: <4CA4C823.8080901@op5.se> On 09/30/2010 06:43 PM, Wolfgang Barth wrote: > On Thu, Sep 30, 2010 at 11:38:53AM +0200, Andreas Ericsson wrote: > >> Acknowledge a comment? I take it you mean "acknowledge a host or service"? > > Sorry, I meant CMD_ACKNOWLEDGE_SVC_PROBLEM and CMD_ADD_SVC_COMMENT. > >> It was a fairly easy fix, so it's amended in git and pushed to git.op5.org >> now. Feel free to grab the latest from there and try again. > > Great. I pulled the source from git (v0.8.0-beta3p41-g648299e14f0e), now it > works perfectly for me. > That's really excellent news :) Thanks for testing this. It means fewer hours spent testing for me. > I may found an issue on removing a comment from the remote site, but this > occurs only if I uses livestatus (check_mk livestatus web interface which > uses its own interface for commands - not the command pipe). If I use > the classic Nagios web interface (using the command pipe) I can't > reproduce this problem. So it should be a problem of livestatus. > Hmm. If the livestatus system talks to a module (which I suppose it must) and that module removes the comment by calling Nagios' internals directly it's quite possible that it bypasses the eventbroker api. If the "delete comment" event is created it should still be possible to remove the comment on the remote end though. At least if one assumes they have the same comment id. Unfortunately I won't have time to test that properly in the near future. We've already exceeded the beta-release date by a week, so taking more time to make sure Merlin works with a module we don't even use at op5 is not an option. Patches are ofcourse always welcome ;) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From flava_kid at hotmail.com Thu Sep 30 19:59:50 2010 From: flava_kid at hotmail.com (Flava KiD) Date: Thu, 30 Sep 2010 17:59:50 +0000 Subject: [op5-users] Disable Authentication page In-Reply-To: References: Message-ID: How do I disable authentication page? I would like to control everything through the apache ACL? we have small implementation I hate having to login everytime... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100930/ffe12aef/attachment.html From flava_kid at hotmail.com Thu Sep 30 20:02:18 2010 From: flava_kid at hotmail.com (Mike Jones) Date: Thu, 30 Sep 2010 18:02:18 +0000 Subject: [op5-users] Disable Authentication In-Reply-To: References: , Message-ID: How do I disable authentication page? I would like to control everything through the apache ACL? we have small implementation I hate having to login everytime... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.op5.com/pipermail/op5-users/attachments/20100930/128f2076/attachment.html