[Nagios-users-br] RES: Nagios SMTP
David, Qual é o aplicativo que você usa no Nagios prá enviar os email? (exim, etc). Posta aqui prá gente poder ajudar. Diramos -Mensagem original- De: David Marques Garcia [mailto:da...@orsegups.com.br] Enviada em: quarta-feira, 30 de novembro de 2011 14:51 Para: nagios-users-br@lists.sourceforge.net Assunto: [Nagios-users-br] Nagios SMTP Boa tarde amigos, Estou com uma duvida referente a configuração smtp do Nagios. Mudei meu SMTP recentemente e o Nagios parou de enviar e-mail. Não acho o arquivo de configuração para fazer alterações. Alguém teria uma dica? Grato pela ajuda. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -- 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] notification emails
Hello I am not sure if this is a bug or config issue. I have a clean install of fedora 16 32 bit with a manual install of nagios 3.3.1 and nagios plugins 1.4.15. I see in the debug log Notification viability test failed. No notification will be sent out. I can send test emails from this server using sendmail and that bit works Is there a solution for this. Regards Nick -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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] Error building check_swap en OpenIndiana
On Tue, Nov 29, 2011 at 12:49 AM, Daniel Bareiro daniel-lis...@gmx.netwrote: Hi all! I'm trying to compile Nagios plugins (nagios-plugins-1.4.15.tar.gz) on OpenIndiana (build 151a), but the compilation does not generate the check_swap plugin. When I do a make config, I get the error shown below in the config.log: I have not build on OpenIndiana but on Solaris I find using gmake is the only way forward. Not sure it will help with this issue but worth a try. Ritchie, -- -- http://23.me.uk/2 -- --Time flies like an arrow; fruit flies like a banana. -- --- /usr/include/sys/swap.h:51:2: #error Cannot use swapctl in the large files compilation environment configure:20249: checking whether swapctl is declared /usr/include/sys/swap.h:51:2: #error Cannot use swapctl in the large files compilation environment | #ifndef swapctl | (void) swapctl; /usr/include/sys/swap.h:51:2: #error Cannot use swapctl in the large files compilation environment /usr/include/sys/swap.h:51:2: #error Cannot use swapctl in the large files compilation environment /usr/include/sys/swap.h:51:2: #error Cannot use swapctl in the large files compilation environment /usr/include/sys/swap.h:51:2: #error Cannot use swapctl in the large files compilation environment ac_cv_have_decl_swapctl=no --- I get the same result with nagios-plugins-HEAD.tar.gz. Has anyone experienced this error and was able to resolve in any way? Thanks in advance. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk7ULC8ACgkQZpa/GxTmHTflsACePTOQHqwVL2mR/uRpUJJILGO2 yNsAnirWmKKalQ0G4ZSZd2Xyb+I+nIgk =W0hF -END PGP SIGNATURE- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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] notification emails
Did you check the command which is used to send notifications in command.cfg or checkcommand.cfg ? Maybe you don't have the binary or you need to rename the command. By default it uses /usr/bin/printf and /usr/bin/mail if I'm not mistaken. On Wed, Nov 30, 2011 at 9:23 AM, Nick Price np...@hotmail.com wrote: Hello I am not sure if this is a bug or config issue. I have a clean install of fedora 16 32 bit with a manual install of nagios 3.3.1 and nagios plugins 1.4.15. I see in the debug log Notification viability test failed. No notification will be sent out. I can send test emails from this server using sendmail and that bit works Is there a solution for this. Regards Nick -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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] Can you add custom commands to the 2 standard notify-host-by-xxx and notify-service-by-xxx commands?
You can build a new contact group that is gets alert only from this commands . Or you can split the templates and build a new one that uses this alerting for the new service . You need to think of the process of the alerts and define what alerts to send . I know many people think that adding new (insert nagios item ) is trouble , but i found that if some thing breaks my conventions or is an exemption , it is best to build the templates for it and make it modular - as it is most likely will happen again , and that way you'll have the definition ready . Assaf - Original Message - From: Andrew Thompson and...@fulgent.co.uk To: nagios-users@lists.sourceforge.net Sent: Wednesday, 30 November, 2011 11:37:10 AM Subject: [Nagios-users] Can you add custom commands to the 2 standard notify-host-by-xxx and notify-service-by-xxx commands? Hi all. Is it possible to add your own custom commands to add to the 2 standard notify commands? At the moment I have # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf %b * Nagios says its broken *\n\nNotification Type: $NOTIFICATIONTYPE$\n\n$HOSTOUTPUT$\n\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $HOSTSTATE$\n\nDate/Time: $LONGDATETIME$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ ** $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf %b * Nagios says its broken *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nInfo :$SERVICEOUTPUT$\n\n Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } This is fine for the hosts that I manage by PING. Now I have started to manage my websites for both availability and also to navigate through the site using 2 separate scripts. Id like separate notifications for the website checks as id like to add more text into the subject line. For eg if 1 of my sites has an issues and 1 of the pages it navigates for is not available or returns something different to what it should id like: # 'notify-website-service-by-email' command definition define command{ command_name notify-website-service-by-email command_line /usr/bin/printf %b * Nagios says its broken *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nInfo :$SERVICEOUTPUT$\n\n Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert: Website content cannot be found at $HOSTALIAS$ and is in a $SERVICESTATE$ state** $CONTACTEMAIL$ } But if I create this and add it to my Critical website template which tells it to to email the admin email contact group which has me and another admin in it then its going to send both the original “notify-service-by-email” and the new “notify-website-service-by-email Any way I can get around this. Apologies if it’s a really simple answer by the way…. Thankyou -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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] unregister
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30/11/11 09:59, Patrick Plattner wrote: unregister Fail. (Good humour intended.) Regards, Adam Sweet - -- http://blog.adamsweet.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7WQp0ACgkQRi1ZcmvD37cVGACeLhirileVmmwy9xfwQBDV11dw LlYAn0Vqu5BE4BnObKyNpUZorU51YosC =PtTw -END PGP SIGNATURE- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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] notification emails
The defaults are there. I didecho 'this is a test' | /bin/mail -s test_email em...@mydomain.com That went out Ok What to look at next From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] Sent: Wednesday, November 30, 2011 12:37 To: Nagios Users List Subject: Re: [Nagios-users] notification emails Did you check the command which is used to send notifications in command.cfg or checkcommand.cfg ? Maybe you don't have the binary or you need to rename the command. By default it uses /usr/bin/printf and /usr/bin/mail if I'm not mistaken. On Wed, Nov 30, 2011 at 9:23 AM, Nick Price np...@hotmail.com wrote: Hello I am not sure if this is a bug or config issue. I have a clean install of fedora 16 32 bit with a manual install of nagios 3.3.1 and nagios plugins 1.4.15. I see in the debug log Notification viability test failed. No notification will be sent out. I can send test emails from this server using sendmail and that bit works Is there a solution for this. Regards Nick -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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] unsubscribe
Please remove me from this user list. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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] Changing the version of nagios that appears in the e-mail notifications
Hi there -- We are running a Nagios 3.3.1 that had been successfully upgraded from the version 3.1.2 release. The e-mail notifications are working properly, but I did notice one unusual condition. The version of Nagios that is mentioned in the message indicates an earlier Nagios release. An excerpt from one such e-mail is shown below: * Nagios 2.6 * Notification Type: PROBLEM I would like to change the version that is displayed to reflect that of the release that is currently on the server. What file(s) do I need to modify in order to accomplish this? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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] Changing the version of nagios that appears in the e-mail notifications
I would like to change the version that is displayed to reflect that of the release that is currently on the server. What file(s) do I need to modify in order to accomplish this? Your email notifications are just another command, so you need to update the definition of that command. It may be in misccommands.cfg, but really, you're the only one that can answer that one as it could be in *any* of the config files. :) 'grep -r' would be your friend here. Benny -- Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision. -- Unknown -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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