Re: [Nagios-users-br] Customização do layout do na gios
Rejaine, Provavelmente é problema de permissão de arquivo, normalmente TMP... faça um phpinfo e veja aonde está apontado o php.ini uma vez me ocorreu isto, e era pq eu estava alterando o php.ini errado :D Abs[] Em 03/10/07, Rejaine Monteiro [EMAIL PROTECTED] escreveu: Ola Jose Augusto, Vi sua msg na lista Nagios-BR Vc usa o Oreon, correto? A alguns dias atrás eu postei uma msg na lista sobre o Oreon (Centreon) . Será que vc poderia me ajudar? A msg foi essa: Estou instalando o Oreon 1.4.1 (Centreon 1.4.1) Toda a instalação transcorreu normalmente, sem qualquer problema, alerta ou mensagem de durante o processo.. Tudo deu OK (banco de dados criado com sucesso, testes executados com sucesso, etc) Só que ao entrar com login do administrador criado, aparece simplesmente uma página em branco e mais nada... Estou usando Suse Linux 10.2 com apache2-2.2.3 e php5-5.2.0 No meu error.log do Apache aparece isso: [Mon Sep 24 09:49:46 2007] [error] [client 127.0.0.1] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/oreon/www/class/Session.class.php on line 29, referer: http://localhost/oreon/ [Mon Sep 24 09:49:46 2007] [error] [client 127.0.0.1] PHP Notice: A session had already been started - ignoring session_start() in /usr/local/oreon/www/class/Session.class.php on line 29, referer: http://localhost/oreon/ Pesquisei no fórum do Oreon e vi várias ocorrências para blank page, porém nenhum dos casos parece ser igual ao meu (onde o erro que aparece no log é esse aí em cima) Desde já agradeço se puder dar uma dica!! Valeu !! Jose Augusto escreveu: Atualmente eu customizo o OREON, além de ser um front-end para o Nagios, gera relatório gráficos, o que ajuda e muito!! Abs[] Em 03/10/07, Linux [EMAIL PROTECTED] escreveu: Sim. Tudo isso que você quer são página html normais. Olhe no diretório do nagios e você verá os arquivos .html Nos temos na nossa empresa um nagios personalisado até com o logo da nossa empresa e slide menus. Oscar -- -- -- Segurança da Informação se faz com tecnologia, processos e pessoas, e a formação destas exige mais que uma seqüência de treinamentos. Porque você treina macacos. Pessoas,você educa. Se a gente se lança sem vigor, sete de dez ações tomadas não dão certo. É extremamente difícil tomar decisões num estado de agitação. Por outro lado, se sem se preocupar com as conseqüências menores, abordamos os problemas com o espíito afiado como uma lâmina, sempre encontramos a solução em menos tempo do que é necessáio para respirar sete vezes. Nabeshima Naoshige (1538-1618) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
[Nagios-users-br] Nagios sem mandar email
Seguinte pessoal, acho que é erro com a configuração do meu sendmail, estou entrando pelo webmin e fazendo teste mandando email por lá mesmo, dai esta dessa forma: Quando vo compor um email ele já puxa desta forma nome da maquina [EMAIL PROTECTED] desse jeito da erro no envio e desta forma ele entrega o email normalmente [EMAIL PROTECTED] Teria como eu mudar isso para ele puxar sempre por essa segunda opição?? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users] notifications 3.0b3 not working.
This problem has been solved. There was no issue at all with my config or setup. What I did was decided to move onto release 3.0b4 from 3. As soon as I started the service after the upgrade my service and host notifications came straight through. On another note. I really do appreciate those of you who read my email and replied trying to assist. This is what mailing lists are about. I do understand that a lot of the time you get people that do not do things themselves and expect all the answers for no work. I am not one of those people. I appreciate the apology Andreas thank you On the other hand, I am confused by Arno's reply. If you read my first and second and then third post you may have not rambled on in a totally unhelpful and I think embarrassing way. On the first point. I was not bitter at not getting any replies, you get that in this situation. I was actually a little annoyed at a post that suggested that I stop wasting everyone's time if I was not prepared to try things. I ended up getting an apology for that which I was grateful. I think that this will be my last post on this list, I have found that only two replies were in good faith, the remainder were.uncalled for. I think we should think to ourselves, if we have nothing good to say, don't reply. On that note I will take my own advice and go off to enjoy my notifications working. - Ken Lee (kenlee) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=4896 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] What's wrong with this timeperiod definition?
define timeperiod{ timeperiod_name offhours alias Non-Office Hours, 7 Days A Week sunday 00:00-24:00 monday 16:30-09:00 tuesday 16:30-09:00 wednesday 16:30-09:00 thursday16:30-09:00 friday 16:30-09:00 saturday00:00-24:00 } monday 00:00-09:00,16:30-24:00 etc. My Guess is that you cannot specify 16:30-09:00 (The 09:00 would be Tuesday, not Monday etc...) Your explanation is actually the correct syntax, Check http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod Specifically the example: Example Definition: define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00:00-24:00 } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] No email alerts ??
On Wed, 3 Oct 2007, Nedim Bicic wrote: Hey sounds good but what exctly am i exucuting at the commadn line is this the line i am executing: i replaced $CONTACTEMAIL$ with my email address but says cant find directory i tried executing from root: su nagios s /bin/sh but says cant find directory ?? help please Where did you leave all those dashes? I said: su - nagios -s /bin/sh */bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! [EMAIL PROTECTED] Loose the $ signs. They mark variables.so they are most definitly wrong around your email address. PS: Uberquotes sucks ;-) -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Some men see computers as they are and say Windows I use computers with Linux and say Why Windows? (Thanks JFK, for this quote of George Bernard Shaw.) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] notifications 3.0b3 not working.
Ken Lee wrote: This problem has been solved. There was no issue at all with my config or setup. What I did was decided to move onto release 3.0b4 from 3. As soon as I started the service after the upgrade my service and host notifications came straight through. On another note. I really do appreciate those of you who read my email and replied trying to assist. This is what mailing lists are about. I do understand that a lot of the time you get people that do not do things themselves and expect all the answers for no work. I am not one of those people. I appreciate the apology Andreas thank you On the other hand, I am confused by Arno's reply. If you read my first and second and then third post you may have not rambled on in a totally unhelpful and I think embarrassing way. I believe he fell into the same trap I did, by only reading my reply to you and the mail I replied to. For future reference, replying to your own email to make sure issues haven't just been overlooked would have made me see my error before hitting that send-button the first time, which would have saved me the embarrassment of assuming too much and you the annoyance of getting an undeserved rude reply. Again, my apologies. On the first point. I was not bitter at not getting any replies, you get that in this situation. I was actually a little annoyed at a post that suggested that I stop wasting everyone's time if I was not prepared to try things. I ended up getting an apology for that which I was grateful. I think that this will be my last post on this list, I have found that only two replies were in good faith, the remainder were.uncalled for. I think we should think to ourselves, if we have nothing good to say, don't reply. On that note I will take my own advice and go off to enjoy my notifications working. Wise words. Check back in if you need a hand later :) -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] What's wrong with this timeperiod definition?
That's correct.. the time period can not be 16:30-9:00 for a day...its reverse. I think the range should be between 00:00-24:00 in the same order. Regards, Tatyaso -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Coochey Sent: Thursday, October 04, 2007 2:13 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] What's wrong with this timeperiod definition? define timeperiod{ timeperiod_name offhours alias Non-Office Hours, 7 Days A Week sunday 00:00-24:00 monday 16:30-09:00 tuesday 16:30-09:00 wednesday 16:30-09:00 thursday16:30-09:00 friday 16:30-09:00 saturday00:00-24:00 } monday 00:00-09:00,16:30-24:00 etc. My Guess is that you cannot specify 16:30-09:00 (The 09:00 would be Tuesday, not Monday etc...) Your explanation is actually the correct syntax, Check http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod Specifically the example: Example Definition: define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00:00-24:00 } - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_by_ssh - please clarify.
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Live Great Sent: Wednesday, October 03, 2007 2:02 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_by_ssh - please clarify. If I want to set Nagios distribution architecture, can I still use check_by_ssh with NSCA server? eg. Nagios central server -- NSCA ---execute ssh-- host 1 in this sense, NSCA will gather information from host 1 using check_by_ssh, and send back the collected data to the Nagios central server. Is this possible? how to setup the monitoring architecture like this? If you haven't guessed, what you're trying to accomplish isn't clear. The question, as you've put it, doesn't make sense. About the only case I can think of that you might need to use NSCA and check_by_ssh together were if you were checking a third host that was only accessible from a second host, neither of which are directly accessible by your nagios server (i.e. firewalled, or other). send_nsca can be run on a remote host to send check results executed by an external program (nagios on that remote host or your own script), back to another nagios machine running NSCA. This is a passive check for nagios. Nagios doesn't 'call' or 'run' nsca or send_nsca. The Distributed Monitoring documentation, while specific to running a distributed nagios instance, talks about how this is accomplished. check_by_ssh is a plugin that is actively run by your nagios machine that will ssh into a remote host, execute a nagios plugin installed there and return the results to nagios as an active check. If you have direct access to the monitored machine and don't mind setting up key-based authentication for this purpose, this is probably the easiest way to go. Another option might be NRPE. Both accomplish the pretty much the same thing, just in very different ways. -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problem: Picking up wrong server hostname withcheck_http
Dennis Hünseler wrote: Hi Rob, /usr/local/nagios/libexec/check_http -H relibase.ebi.ac.uk HTTP OK HTTP/1.1 200 OK - 419 bytes in 0.198 seconds |time=0.198169s;;;0.00 size=419B;;;0 Thanks guys, that's fixed it. -Rob -- Giving the Linus Torvalds Award to the Free Software Foundation is a bit like giving the Han Solo Award to the Rebel Alliance. -- Richard Stallman - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problem: Picking up wrong server hostname with check_http
trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk HTTP WARNING: HTTP/1.1 404 Not Found Try with the -H switch. # /usr/lib/nagios/plugins/check_http -H relibase.ebi.ac.uk HTTP OK HTTP/1.1 200 OK - 419 bytes in 0.246 seconds |time=0.246498s;;;0.00 size=419B;;; - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problem: Picking up wrong serverhostname withcheck_http
Hi Rob, try /usr/local/nagios/libexec/check_http -H relibase.ebi.ac.uk HTTP OK HTTP/1.1 200 OK - 419 bytes in 0.198 seconds |time=0.198169s;;;0.00 size=419B;;;0 kind regards, Dennis On Thu, 04 Oct 2007 14:30:20 +0100, Robert Hulme [EMAIL PROTECTED] wrote: I am trying to use the check_http plugin in Nagios 3 to see if relibase.ebi.ac.uk is OK. When I call it from the command prompt I get this: trueman% /usr/local/nagios/libexec/check_http relibase HTTP WARNING: HTTP/1.1 404 Not Found trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk HTTP WARNING: HTTP/1.1 404 Not Found trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk. HTTP WARNING: HTTP/1.1 404 Not Found However if I access relibase in Firefox (or with wget) the index page is returned normally. A little digging later has revealed that there are two relibases: trueman% dig relibase ; DiG 9.3.4 relibase ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 12743 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;relibase. IN A ;; Query time: 0 msec ;; SERVER: 172.22.2.11#53(172.22.2.11) ;; WHEN: Thu Oct 4 14:24:29 2007 ;; MSG SIZE rcvd: 26 trueman% dig relibase.ebi.ac.uk ; DiG 9.3.4 relibase.ebi.ac.uk ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 28374 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;relibase.ebi.ac.uk.IN A ;; ANSWER SECTION: relibase.ebi.ac.uk. 454 IN CNAME www4.ebi.ac.uk. www4.ebi.ac.uk. 2612IN A 193.62.197.14 ;; Query time: 0 msec ;; SERVER: 172.22.2.11#53(172.22.2.11) ;; WHEN: Thu Oct 4 14:24:31 2007 ;; MSG SIZE rcvd: 71 Is there a way to force check_http to use the correct one? It seems to be resolving the first one rather than the second one. If I try to access http://relibase/; from my desktop I get The web server you are trying to contact has closed down. For further information, please contact [EMAIL PROTECTED] which is not what I get if I access http://relibase.ebi.ac.uk/;. I'm going to try to get the systems deparment here to fix this so that both queries, but is there a work around? (other than using www4 or the IP directly). Thanks -Rob -- Think of how stupid the average person is, and realize half of them are stupider than that. -- George Carlin - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- kind regards, Dennis H?nseler - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Problem: Picking up wrong server hostname with check_http
I am trying to use the check_http plugin in Nagios 3 to see if relibase.ebi.ac.uk is OK. When I call it from the command prompt I get this: trueman% /usr/local/nagios/libexec/check_http relibase HTTP WARNING: HTTP/1.1 404 Not Found trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk HTTP WARNING: HTTP/1.1 404 Not Found trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk. HTTP WARNING: HTTP/1.1 404 Not Found However if I access relibase in Firefox (or with wget) the index page is returned normally. A little digging later has revealed that there are two relibases: trueman% dig relibase ; DiG 9.3.4 relibase ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: SERVFAIL, id: 12743 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;relibase. IN A ;; Query time: 0 msec ;; SERVER: 172.22.2.11#53(172.22.2.11) ;; WHEN: Thu Oct 4 14:24:29 2007 ;; MSG SIZE rcvd: 26 trueman% dig relibase.ebi.ac.uk ; DiG 9.3.4 relibase.ebi.ac.uk ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 28374 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;relibase.ebi.ac.uk.IN A ;; ANSWER SECTION: relibase.ebi.ac.uk. 454 IN CNAME www4.ebi.ac.uk. www4.ebi.ac.uk. 2612IN A 193.62.197.14 ;; Query time: 0 msec ;; SERVER: 172.22.2.11#53(172.22.2.11) ;; WHEN: Thu Oct 4 14:24:31 2007 ;; MSG SIZE rcvd: 71 Is there a way to force check_http to use the correct one? It seems to be resolving the first one rather than the second one. If I try to access http://relibase/; from my desktop I get The web server you are trying to contact has closed down. For further information, please contact [EMAIL PROTECTED] which is not what I get if I access http://relibase.ebi.ac.uk/;. I'm going to try to get the systems deparment here to fix this so that both queries, but is there a work around? (other than using www4 or the IP directly). Thanks -Rob -- Think of how stupid the average person is, and realize half of them are stupider than that. -- George Carlin - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] service dependency question
I have a hostgroup defined for my application database servers. I have a service defined for the group that checks the database server process itself. I have additional services defined for the group that check the space used and other validity tests in our various databases. I'd like to setup service dependencies so the individual database checks don't happen when the main service isn't there. Is there a way to avoid having to enter all the service dependencies individually? With a dozen hosts and half a dozen databases on each one, it's getting ugly and error prone. Paul -- Paul Dugas, Computer EngineerDugas Enterprises, LLC [EMAIL PROTECTED]phone: 404-932-1355 522 Black Canyon Park http://dugas.ccfax: 866-751-6494 Canton, GA 30114 USA -- This e-mail and any attachments are confidential. If you receive this message in error or are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy the e-mail and any attachments or copies. signature.asc Description: This is a digitally signed message part - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Errors from check_nagios -v
-Original Message- From: John Tabasz (jtabasz) [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 5:17 PM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Errors from check_nagios -v Here is the output of the check_nagios -v /opt/nagios/etc/nagios.cfg: Checking services... Checked 10 services. Checking hosts... Warning: Host 'atest11idev1' has no services associated with it! Warning: Host 'dev5b' has no services associated with it! Warning: Host 'dev5e' has no services associated with it! Warning: Host 'dev5i' has no services associated with it! Warning: Host 'dev5k' has no services associated with it! Warning: Host 'dev5v' has no services associated with it! I think if you correct the service template name problem mentioned by others that I missed you should be OK. -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL
Bizarrely, I used ./configure --with-mysql-lib=/usr/lib and everything worked fine. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 9:08 AM To: Wheeler, JF (Jonathan) Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL I have found the issue. The RPMs from mysql do not contain the proper shared objects. Installing MySQL from source solved the issue. I now have NDOUtils, NagVis, and various other customizations running flawlessly. Thank you all for the suggestions. [EMAIL PROTECTED] wrote on 10/02/2007 08:27:02 AM: -Original Message- From: [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 02 October 2007 14:17 I have been trying this for a day now and it is time to ask for some help. I have included the full output of the configure, as well as RPM output and directory listings. Any help would be greatly appreciated. It seems that NDO cannot find what it is looking for in regards to mysql yet AFAIK everything is there. Please advise if something is missing, or if I should compile mysql from source, or any other fix. Here is all the relevant information I can think of this morning: ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql Use the following make command: ./configure --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --disable-pgsql Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ [attachment ATT4488962.txt deleted by Mark Potter/IS/Academy] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service dependency question
Hi Paul, On Thu, 4 Oct 2007, Paul Dugas wrote: I have a hostgroup defined for my application database servers. I have a service defined for the group that checks the database server process itself. I have additional services defined for the group that check the space used and other validity tests in our various databases. I'd like to setup service dependencies so the individual database checks don't happen when the main service isn't there. Is there a way to avoid having to enter all the service dependencies individually? With a dozen hosts and half a dozen databases on each one, it's getting ugly and error prone. Paul I asked a simelar question about services which use SSH to run plugins on remote hosts, depending on a check for SSH. Here is that thread so far: http://sourceforge.net/mailarchive/forum.php?thread_name=20071002123309.L30065%40tnetnzry.hgf.qh.rqhforum_name=nagios-users The one addition I have to this topic, is the possibility of using a script to automate the creation of individual service dependencies, given a set of hosts and services which you want to depend on your database process. This is also something I'm looking into, I know others are using something like this. Thanks, Ivan. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] different contact_groups not used
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dirk H. Schulz wrote: Hi folks, we are running Nagios 2.3.1 and use different email contacts that are consolidated in different contact_groups which are used within the host definitions. Are you doing any templating for your host or service objects? It sounds like you are overriding your contact_group definition at some point, so you're going to have to figure out where that is occurring. But ALL email notifications are sent to the same contact(_group), not minding which contact_group is used in the host/service definition that email is concerned about. I have tried to find a fault in nagios.cfg and in the several other cfg files, but there seems to be none. Any help or hint is appreciated. Dirk It's hard to tell what you have defined without looking over your config file(s), but for starters, what does the command nagios -v /path/to/nagios_config_file show? Are there any contact errors? Cheers, - -=Tom Nail -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHBQmq1zsLRjt/NQ0RAtsBAJwMgDlT1jv3Lns55DBBLQduSzNK/ACcDfow aImKZDCWJZtIqdfiBSPSe6w= =zB4/ -END PGP SIGNATURE- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NC_Net.EventLog.Receiving error codes.Could I receive more info from the EventLog?
Hello, Thanks to Hugo and Roger help I've been able to check Windows 2003 EventLog from the Nagios server. My idea is to audit access to some objects in the Windows 2003 machine as for example, a confidential document. And I want to see an alert in Nagios when I receive this information from the Windows EventLog Plugin (check_nt -v EVENTLOG). But, now, I'm receiving only the error codes and I want to receive more info detailed in the EventLog as for example the object name (filename in my case). Is this possible? And I wanted to say that I'm using NC_Net in a Spanish installation Windows 2003 installation and it seems to run ok. -- Florencio Cano Gabarda - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Status Map Error
On 10/4/07, Joel Roberts [EMAIL PROTECTED] wrote: I've installed Nagios on a Debian Linux Etch server. 3-D Status Map works fine, but Status Map returns the following error: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Anyone else run into the same thing and found a fix to this? FAQ. Mostly, you didn't have all the deps when you built. See http://www.nagios.org/faqs/viewfaq.php?faq_id=55 -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] different contact_groups not used
Hello Tom, thanks for helping. --On 4. Oktober 2007 10:41:30 -0500 Tom Nail [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dirk H. Schulz wrote: Hi folks, we are running Nagios 2.3.1 and use different email contacts that are consolidated in different contact_groups which are used within the host definitions. Are you doing any templating for your host or service objects? It sounds like you are overriding your contact_group definition at some point, so you're going to have to figure out where that is occurring. That is the point. I do not use templating yet, but I have mixed several hosts with different contact_groups in the same service definitions with only one contact_group. That is simply stupid - the more since I am hunting down the problem for a long time now Thanks for your help and for directing me to the solution. Dirk - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_nt services not responding
I've installed Nagios on a Debian Etch server and it seems to be working well, just a couple of things. Monitoring a Windows box, I've installed the NSClient++, for some reason there's no icon in the SysTray, but the service is up and running. Most of the Services respond, except the following: Drive space, CPU Load, Explorer and W3SVC I've verified the configuration file, but the Status Info in Nagios returns the following: Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] Here are the entries in the windows.cfg file, Memory Usage works, Drive Space does not: define service{ use generic-service host_name lwsyslog1 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } define service{ use generic-service host_name lwsyslog1 service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-1 c -w 80 -c 90 } Thanks in advance, Joel - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Status Map Error
I've installed Nagios on a Debian Linux Etch server. 3-D Status Map works fine, but Status Map returns the following error: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Anyone else run into the same thing and found a fix to this? Thanks in advance, Joel - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Status Map Error
Look on the faq page of the nagios site. you have some libs missing. There is a faq that addresses this exact question. Regards Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joel Roberts Sent: 04 October 2007 18:10 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Status Map Error I've installed Nagios on a Debian Linux Etch server. 3-D Status Map works fine, but Status Map returns the following error: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Anyone else run into the same thing and found a fix to this? Thanks in advance, Joel - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_nt services not responding
That did it, thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Thursday, October 04, 2007 11:25 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_nt services not responding -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Joel Roberts Sent: Thursday, October 04, 2007 12:15 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_nt services not responding I've verified the configuration file, but the Status Info in Nagios returns the following: Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] check_command check_nt!USEDDISKSPACE!-1 c -w 80 -c 90 } You meant to use '-l' (el), not -1 (number) above. -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_nt services not responding
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Joel Roberts Sent: Thursday, October 04, 2007 12:15 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_nt services not responding I've verified the configuration file, but the Status Info in Nagios returns the following: Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] check_command check_nt!USEDDISKSPACE!-1 c -w 80 -c 90 } You meant to use '-l' (el), not -1 (number) above. -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Errors from check_nagios -v
I was hoping that would be the case as well. If we're talking about the error I made by omitting the template string in use-generic-template line in the services.cfg file. I fixed that and rechecked the config files using nagios -s nagios.cfg and restarted the nagios process. Still get the no services associated with $hostname messages. Still no automatic running of the ping_check command. Do I need to specify a check_command argument in the host declaration in hosts.cfg? Is my services.cfg file looking the way it is supposed to? Do I need to include the hosts in a service group? Thanks, John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Thursday, October 04, 2007 7:19 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Errors from check_nagios -v -Original Message- From: John Tabasz (jtabasz) [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 5:17 PM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Errors from check_nagios -v Here is the output of the check_nagios -v /opt/nagios/etc/nagios.cfg: Checking services... Checked 10 services. Checking hosts... Warning: Host 'atest11idev1' has no services associated with it! Warning: Host 'dev5b' has no services associated with it! Warning: Host 'dev5e' has no services associated with it! Warning: Host 'dev5i' has no services associated with it! Warning: Host 'dev5k' has no services associated with it! Warning: Host 'dev5v' has no services associated with it! I think if you correct the service template name problem mentioned by others that I missed you should be OK. -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Latency
Benjamin, just out of curiosity : do you use ndomod ? I experience similar problems; I had a healthy Nagios install (1200 host, 7000 services, active+passive) with nagios 2.3 After upgrading to Nagios 2.9 with ndo-utils, I have 'latency-peaks' every day/few days. I'm in the middle of testing if it's related to the new Nagios version or the extra system load from ndo-utils, or a bug in ndo-utils. I'll keep the list informed. Frederik Benjamin Cleyet-Marrel wrote: Hi Andreas, Thanks for answering . I have more or less followed the documentation on how to tune nagios. service_reaper_frequency=2 max_concurrent_checks=0 service_interleave_factor=s host_inter_check_delay_method=s The host check command is check_icmp We use nagios 2.7.1 The nagios server is not overloaded 4Go RAM and dual core 3GHz. But still the nagios latency is increasing for no particular reason ... see the graph attached. Cheers Ben Andreas Ericsson wrote: Benjamin Cleyet-Marrel wrote: Hi, I am experiencing problems with Nagios latency that I can't understand. Upon Nagios startup or upon Nagios restart, the latency is bellow 0.1second which is fine. After a couple of days, without any change, and even though the execution time and the Nagios server load remain the same the latency slowly increase. It seems that it is an exponential growth. All the checks kicks in later and later, no exception. Usually after a week the latency is up to 60seconds and after 2 week up to 5 minutes. I have currently set up a Nagios restart every monday, but I would like to find a better solution and understand why does the latency keeps increasing. We monitor over 50 hosts and have over 1400 checks every 5 minutes. The nagios server is quite big and is not really loaded. Any Idea would be appreciated Three things to check: service_reaper_frequency check_interleave_factor max_parallell_something_something I haven't done my morning routine yet, so you'll have to figure out the real variable names in case my memory is a bit off (which it no doubt is). Other than that.. What nagios version are you running, and how is your host check command defined? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] No email alerts ??
So what do you think about me execting from the command line i still cant get it to execute from the nagios I will check out this manaul link On 10/4/07, Jim Perrin [EMAIL PROTECTED] wrote: On 10/4/07, Nedim Bicic [EMAIL PROTECTED] wrote: OK check this out..funny thing is regarding the path /bin/mail doesnt exist anywhere from the root i tryed tracing back so i tryed executing this from the command line and i am able to recieve the email which now at least i know MTA is defintly working: I didnt put any argumetns as u can see this is just to test usr/bin/sendmail -s [EMAIL PROTECTED] works from command line but not from commands.cfg?? Now i editted the commands.cfg file copy and pasted the same exact above line, but doesnt send anything when i take down the host, I also had to tweak the linux firewall to allolw 25 in and out of that port. I did add nagios user and group that was when i configured apache and to accept external commands I cant answer that last question i dont even know wat kselinux is not to mention enabled , in one sentence wat is it and how does this affect emails for nagios on my issue https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/ It is a security context that is enabled by default on RHEL4+. It prevents programs from doing things the system thinks it shouldn't be allowed to do. See the link. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] tips before integrating Nagios and Splunk?
Googling for stuff on integrating Nagios and Splunk, I stumbled across these resources http://www.splunk.com/doc/2.2/admin/integratenagios http://www.splunk.com/doc/3.0.1/admin/Splunk2Nagios Anyone have any suggestions or comments on this sort of integration? -- Nagios, it's what's for breakfast! http://www.NagiosWiki.com Email me personally: mailto:[EMAIL PROTECTED] http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Host searching
Is there a way to search for a host in Nagios? For example, I have a number of hosts set up named freenasxxx, where xxx is the three- letter designator for the location. I would like to be able to type freenas and get a list of all of them. Or if I named one xxx-freenas for some reason, but don't remember that, I would like to be able to do the same thing and get that one as well. The show host box in the default sidebar only shows the first result for a partial match, which is almost useless. I did find http://www.nagiosexchange.org/ Misc.36.0.html?tx_netnagext_pi1[p_view]=553 , which almost works, but has the problem of inserting two tabs before the hostname when you choose one of the options, which makes the search return no results. You can delete the tabs, of course, but this brings up the choice list again with the first item selected, so when you hit enter you get the tabs back. It also shows each host twice for some reason (I'm using the php script version). Any suggestions would be appreciated. Thanks! --- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 --- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] No email alerts ??
On Thu, 4 Oct 2007, Nedim Bicic wrote: OK check this out..funny thing is regarding the path /bin/mail doesnt exist anywhere from the root i tryed tracing back so i tryed executing this from the command line and i am able to recieve the email which now at least i know MTA is defintly working: I didnt put any argumetns as u can see this is just to test usr/bin/sendmail -s [EMAIL PROTECTED] works from command line but not from commands.cfg?? Wether it is sloppiness or a typo is not clear to me. But /usr/bin/sendmail is something entirely different from usr/bin/sendmail The second option will only happen to work if you happen to be in the root directory. It will fail from any other directory. Please be a 1000% more accurate. Because it will get back at you with in ways you do not seem to comprehend yet. Hugo. -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say Windows I use computers with Linux and say Why Windows? (Thanks JFK, for this quote of George Bernard Shaw.) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_by_ssh - please clarify.
Hi, Thank you for the explanation. I read through the Distributed Monitoring Document in the following link: http://nagios.sourceforge.net/docs/2_0/distributed.html In the last section Performing Host Checks, It mentions ochp command can be used for processing host check. Can I use check_by_ssh in the ochp command? The reason of using check_by_ssh is that my clients don't want to have an *Agent* installed in their server. If I can use check_by_ssh with ochp, my goal is accomplished. Thanks Sam - Original Message From: Marc Powell [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Thursday, October 4, 2007 11:02:17 PM Subject: Re: [Nagios-users] check_by_ssh - please clarify. -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Live Great Sent: Wednesday, October 03, 2007 2:02 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_by_ssh - please clarify. If I want to set Nagios distribution architecture, can I still use check_by_ssh with NSCA server? eg. Nagios central server -- NSCA ---execute ssh-- host 1 in this sense, NSCA will gather information from host 1 using check_by_ssh, and send back the collected data to the Nagios central server. Is this possible? how to setup the monitoring architecture like this? If you haven't guessed, what you're trying to accomplish isn't clear. The question, as you've put it, doesn't make sense. About the only case I can think of that you might need to use NSCA and check_by_ssh together were if you were checking a third host that was only accessible from a second host, neither of which are directly accessible by your nagios server (i.e. firewalled, or other). send_nsca can be run on a remote host to send check results executed by an external program (nagios on that remote host or your own script), back to another nagios machine running NSCA. This is a passive check for nagios. Nagios doesn't 'call' or 'run' nsca or send_nsca. The Distributed Monitoring documentation, while specific to running a distributed nagios instance, talks about how this is accomplished. check_by_ssh is a plugin that is actively run by your nagios machine that will ssh into a remote host, execute a nagios plugin installed there and return the results to nagios as an active check. If you have direct access to the monitored machine and don't mind setting up key-based authentication for this purpose, this is probably the easiest way to go. Another option might be NRPE. Both accomplish the pretty much the same thing, just in very different ways. -- Marc - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] No email alerts ??
Your definitly right about only sending from the root (usr/bin/sendmail) not a typo i tried that since /bin/mail didnt work for me so i thought i would try it out cause thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission but now i think i played way to much with mail and sendmail i screwed it up big time with the permissions.wat i think will end up doing is reinstalling nagios again..crap I didnt know that sendmail and mail are two different i guess i was wrong .. i mean i did installation word by word as written in manaul i have everything working expet email ? one small question is bin/mail a relay client ? and where is $contactemail$ defined anywhere except commands.cfg i see in the nagios.log file as mention in my eearlier posts that i see its trying to send it out but keeps getting line code error 127 unkown email address (which is my gmail) On 10/4/07, Hugo van der Kooij [EMAIL PROTECTED] wrote: On Thu, 4 Oct 2007, Nedim Bicic right about only sending from the root casue thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission OK check this out..funny thing is regarding the path /bin/mail doesnt exist anywhere from the root i tryed tracing back so i tryed executing this from the command line and i am able to recieve the email which now at least i know MTA is defintly working: I didnt put any argumetns as u can see this is just to test usr/bin/sendmail -s [EMAIL PROTECTED] works from command line but not from commands.cfg?? Wether it is sloppiness or a typo is not clear to me. But /usr/bin/sendmail is something entirely different from usr/bin/sendmail The second option will only happen to work if you happen to be in the root directory. It will fail from any other directory. Please be a 1000% more accurate. Because it will get back at you with in ways you do not seem to comprehend yet. Hugo. -- [EMAIL PROTECTED]http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say Windows I use computers with Linux and say Why Windows? (Thanks JFK, for this quote of George Bernard Shaw.) - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] No email alerts ??
For the love of god please stop top-posting. On 10/4/07, Nedim Bicic [EMAIL PROTECTED] wrote: Your definitly right about only sending from the root (usr/bin/sendmail) not a typo i tried that since /bin/mail didnt work for me so i thought i would try it out cause thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission but now i think i played way to much with mail and sendmail i screwed it up big time with the permissions.wat i think will end up doing is reinstalling nagios again..crap Did you check that /bin/mail actually exists? If it doesn't, you might consider installing the package which provides it. I didnt know that sendmail and mail are two different i guess i was wrong .. i mean i did installation word by word as written in manaul i have everything working expet email ? Just because you followed the nagios install guide word for word doesn't mean you did it properly. If the system you're building nagios on isn't sane, then you're going to have many other issues no matter how closely you follow the nagios directions. Since you're on RHEL, why are you building nagios from scratch? Why not use the rpms which are built for RHEL and listed on the download section of the nagios page? one small question is bin/mail a relay client ? and where is $contactemail$ defined anywhere except commands.cfg The $contactemail$ variable is defined in your contact definition, and is set by (of all magical options) the 'email' section. i see in the nagios.log file as mention in my eearlier posts that i see its trying to send it out but keeps getting line code error 127 unkown email address (which is my gmail) No. The error you referenced earlier stated that nagios didn't have permission to, or could not find /bin/mail or /usr/bin/printf Did you check the mail log for sendmail to see if it actually got the message but failed to send, or are you simply looking at the nagios.log? Given the vast amounts of typos and misplacings of the /, I would very much recommend that you go back over your configs and make sure you haven't typed them as accurately as you've formed your emails. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Switching to passive checks instead of active ones?
Hello Ivan, I believe the host check can only be done via a Nagios agent installed in the remote host or via check_by_ssh. You said you want to replace check_by_ssh, why are you doing so? Most customer don't want a specific monitoring agent installed in their server (a remote host in Nagios' slang). Thanks Sam. - Original Message From: Ivan Fetch [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Friday, October 5, 2007 1:40:45 PM Subject: [Nagios-users] Switching to passive checks instead of active ones? Hello, I'm wondering whether anyone has used send_nsca as a primary transport for service checks, and has any experience and recommendations? We're looking at using send_nsca to submit passive service checks in place of check_by_ssh or NRPE for active checks and would like some feedback on the sanity for doing this. The plan is to 1. Run a script from cron, which iterates through a list of checks (plugins to run, with parameters), and runs each check. There would need to be a timeout mechanism, to reap checks which hang - does anyone have something they use for this with send_nsca (not all plugins have builtin timeouts)? 2. Each plugin is run via a wrapper script (nsca_wrapper) which runs the plugin and passes the results to send_nsca. IF send_nsca returns an error, the wrapper script logs to the local syslog. I'm starting with a wrapper script from here: http://www.nagiosexchange.org/Check_Plugins.21.0.html?tx_netnagext_pi1%5Bp_view%5D=980 3. Nagios' freshness checking will alert us if Nagios stops hearing from any of these passive checks. Some of the motivations for switching to this method for running checks are: * System logs are not cluttered with frequent SSH logins by Nagios * A new system service (NRPE) is not added to systems, some of which are particularly tightened and narrow in purpose * Thresholds for checks (disk space percentages, mail queue volume) are moved to the client, not defined in Nagios checks - some admins like the ability to adjust these locally I'm looking for folks doing something like this, or reasons why this might be a particularly bad idea. Perhaps Nagios triggering checks has so much sanity built in, that moving checks to the push-to-Nagios model is a bad idea? Thanks all, Ivan Fetch. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null