Re: [Nagios-users] set customized email/sms alert
Yep you can, you should create a different contact and a different notification type. After, you should apply this contact with this notification type to the service or host you want. Regards, David Ribeiro De: Kaushal Shriyan kaushalshri...@gmail.com À: nagios Mailinglist nagios-users@lists.sourceforge.net Envoyé: Mercredi 25 Juillet 2012 05:51:58 Objet: Re: [Nagios-users] set customized email/sms alert On Tue, Jul 24, 2012 at 5:05 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, Is there a way i can set customized email/sms alert for a specific service/host with specific subject line? Regards, Kaushal Hi, Can someone please reply on my earlier post to this Mailing list. Regards, Kaushal -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 Ce message et toutes les pieces jointes (ci-apres le message ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the message) are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] Re SMS notification
Hello, Test with gsm-tools (gsm-utils under Debian/Ubuntu or gammu). Maybe useful : http://en.doc.centreon.com/HowToSendSMSWithGammu The difficulty is to run the modem on your hardware http://www.techonia.com/install-huawei-usb-modem-fedora http://forums.fedora-fr.org/viewtopic.php?id=27105 After, the sms notification you will found in nagios should work. Good Luck David Ribeiro - Mail original - De: Alex Griffin agrif...@nagios.com À: Nagios Users List nagios-users@lists.sourceforge.net Envoyé: Mercredi 25 Avril 2012 17:58:04 Objet: Re: [Nagios-users] Re SMS notification Unfortunately, this task is different for different hardware and I was unable to find an existing plugin that would work. Hopefully I'm wrong, but I believe you will need to create a custom notification plugin for this. Alex Griffin --- Tech Team agrif...@nagios.com Nick Price wrote: Can anyone tell me how to configure the huawei E220 GSM modem to send out notification emails via SMS. I am using fedora 16 with Nagios 3.3.1 plugins 1.4.15 Thanks Nick Price -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 Ce message et toutes les pieces jointes (ci-apres le message ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the message) are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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_openmanage: Physical Disk ... Undefined value 4096
Hello, I had the same issue the last week. My disk didn't want to rebuild in the RAID1, i have change the disk by a spare And 10 hours after (don't panic if your disk disappear for several hours), the controller have finished to verify and rebuild the disk into his RAID. Dell support have changed the disk with a new. This appeared on a PowerEdge R610 and i use the check_openmanage 3.6.5 Sincerly, David - Mail original - De: Helmut Wollmersdorfer helmut.wollmersdor...@fixpunkt.de À: Nagios Users List nagios-users@lists.sourceforge.net Envoyé: Mercredi 1 Février 2012 16:46:21 Objet: [Nagios-users] check_openmanage: Physical Disk ... Undefined value 4096 Hi, since some days I get Physical Disk 0:0:0 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096br/Physical Disk 0:0:1 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096br/Physical Disk 0:0:2 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096br/Physical Disk 0:0:3 [Dell WDC WD1003FBYX-18Y7B0, 1.0TB] on ctrl 0 needs attention: Undefined value 4096 On the console of the server: # /opt/dell/srvadmin/bin/omreport storage pdisk controller=0 vdisk=0 List of Physical Disks belonging to VD10A Controller PERC H700 Integrated (Slot 4) Span 0 ID: 0:0:0 Status: Unknown Name : Physical Disk 0:0:0 State : Unknown Power Status : Spun Up Bus Protocol : SATA Media : HDD Revision : 01.01V02 Failure Predicted : No Certified : Yes Encryption Capable: No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : 0 Capacity : 931.00 GB (999653638144 bytes) Used RAID Disk Space : 931.00 GB (999653638144 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL Product ID: WDC WD1003FBYX-18Y7B0 Serial No.: WD-WCAW3145836558365 Part Number : TH0V8FCR1255213BC4RGA00 Negotiated Speed : 3.00 Gbps Capable Speed : 3.00 Gbps Manufacture Day : Not Available Manufacture Week : Not Available Manufacture Year : Not Available SAS Address : 443322110700 [same for all 4 disks of the array] Thus it seems that check_openmanage works correctly. Also the disk- array seems to work correctly (no error messages in the logs). Is this some sort of wrong diagnostic from the firmware/controller? TIA Helmut Wollmersdorfer -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ 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 Ce message et toutes les pieces jointes (ci-apres le message ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the message) are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or falsified. -- Keep Your Developer Skills
Re: [Nagios-users] Nagios Core and SMS alerts (or lack of) through Nagios
Hi Andrew, # 'notify-host-by-sms' command definition define command{ command_name notify-host-by-sms command_line /usr/bin/printf %.120s * Nagios * $NOTIFICATIONTYPE$: Host $HOSTALIAS$ is $HOSTSTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line /usr/bin/printf %.120 * Nagios * $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } Maybe the last ? David Ribeiro De: Andrew Thompson and...@fulgent.co.uk À: nagios-users@lists.sourceforge.net Envoyé: Vendredi 11 Novembre 2011 10:30:23 Objet: [Nagios-users] Nagios Core and SMS alerts (or lack of) through Nagios Hi all, Im at my wits end. Spent 2 days now trying to get Nagios to SMS me through gnokii but a lunar eclipse is a more frequent event! So i have Ubuntu 11.04 installed using postfix to email me alerts (works flawlessly) Now i also want a text message as a failover incase my Exchange server or internet line goes down. I have installed and configured gnokii to what i think is at a functioning level. I have a Nokia 6301 mobile hooked up to Ubuntu via USB cable. I can send a text message out through the phone via the CLI no issue at all with both my admin user logged in and also when i log in as the nagios user so i know i have the correct permissions on the ttyACM0 port that is assigned to the 6301. Will Nagios send an SMS - will it f*£$!! Here is my command.cfg relevant part # 'notify-host-by-sms' command definition define command{ command_name notify-host-by-sms command_line /usr/bin/printf %.120s * Nagios * $NOTIFICATIONTYPE$: Host $HOSTALIAS$ is $HOSTSTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line /usr/bin/printf %.120 * Nagios * $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } Here is my contact.cfg define contact{ contact_name MYNAME use generic-contact alias MYNAME host_notification_options d,u,r,f service_notification_options w,u,c,r,f email MYEMAIL pager +44X host_notification_period 24x7 service_notification_period 24x7 host_notification_commands notify-host-by-email,notify-host-by-sms service_notification_commands notify-service-by-email,notify-service-by-sms Here is my templates.cfg define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s host_notification_options d,u,r,f,s service_notification_commands notify-service-by-email, notify-service-by-sms host_notification_commands notify-host-by-email, notify-host-by-sms register 0 } what can be going on – why will nagios not SMS me? Its got to be a nagios config issue and not gnokii error as I can send text through CLI fine, Please help me, im going insane Thanks Kind Regards Andrew T: 01386 834000 F: 01386 834100 and...@fulgent.co.uk www.fulgent.co.uk Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ 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 Ce message et toutes les pieces jointes (ci-apres le message ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie
Re: [Nagios-users] Next check jumps from 5min to 24h
Hy all, I had the same problem on my supervision with a Nagios 3.2.0 from Ubuntu Repository. I'm in France, my supervision stop Sunday at 23h00. Regards, David - Mail original - De: Deborah Martin deborah.mar...@kognitio.com À: Nagios-Users nagios-users@lists.sourceforge.net Envoyé: Lundi 31 Octobre 2011 12:34:45 Objet: Re: [Nagios-users] Next check jumps from 5min to 24h Folks, I had exactly the same problem with the same version on SLES10 SP2, when I came in this morning and realised that the last_check time was wrong for most checks. I had to jump start Nagios by disabling all active checks and reenabling them. This is weird problem but wondered if it was anything to do with the clocks changing over the weekend in the UK ? Perhaps it isn't if people in a non-UK timezone had the same problem ? Regards, Deborah -Original Message- From: MAD [mailto:m...@b-care.net] Sent: 31 October 2011 11:28 To: Nagios-Users Subject: [Nagios-users] Next check jumps from 5min to 24h Hi list, Something strange happened last night. At about 23:00 the 30th of October, all checks (hosts and services) were scheduled to run the 31st of October at 23:00 instead of the usual 5min later. I had to rescheduled all checks manually this morning to restart my monitoring. I'm running Nagios 3.2.0 Have someone heard about a similar issue? Thanks in advance, Marc-André -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World#153; now supports Android#153; Apps for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Complimentary Events and Webinars on In-Memory, Massively Parallel Processing and 'In the Cloud' - for more information click here This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World#153; now supports Android#153; Apps for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Ce message et toutes les pieces jointes (ci-apres le message ) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire sans en conserver de copie et d'en avertir immediatement l'expediteur. Internet ne permettant pas de garantir l'integrite de ce message, AltitudeInfrastructure decline toute responsabilite au titre de ce message s'il a ete modifie, altere, deforme ou falsifie. This message and any attachments (the message) are confidential and intended solely for the addressees. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you receive this message in error, please delete it without storing any evidence and immediately notify the sender. Internet can not guarantee the integrity of this message, neither AltitudeInfrastructure shall be liable for the message if modified, altered, changed or
Re: [Nagios-users] NagVis Apache Help
You need to modify the file /etc:nagvis/nagvis.ini.php Put this : ; path options [paths] ; absolute physical NagVis path base=/usr/share/nagvis/ ; absolute html NagVis path htmlbase=/nagios3/nagvis ; absolute html NagVis cgi path htmlcgi=/nagios3/cgi-bin David Ribeiro De: Andrew Fay andrew@ajl.co.uk À: Nagios Users List nagios-users@lists.sourceforge.net Envoyé: Jeudi 6 Janvier 2011 15:53:31 Objet: [Nagios-users] NagVis Apache Help hi, I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click on a host in Nagvis I get : The requested URL /nagios/cgi-bin/status.cgi was not found on this server. http://server/nagios/cgi-bin/status.cgi?host=localhost it should be http://server/nagios3/cgi-bin/status.cgi?host=localhost Basically The CGI's work for standard Nagios but not for NagVis, so how can I tell NagVis where to look for the CGI's? This is the apache cfg for nagvis : # NagVis Apache2 sample configuration file # # # Alias /nagvis /etc/nagvis/share Directory /etc/nagvis/share Options FollowSymLinks AllowOverride None Order allow,deny Allow from all # To enable Nagios basic auth on NagVis use the following options # Just uncomment it. Maybe you need to adjust the path to the # Auth user file. # # If you use the NagVis internal auth mechanism based on the web # for you won't need this. # #AuthName NagVis Access #AuthType Basic #AuthUserFile /etc/nagios3/etc/htpasswd.users #Require valid-user # With installed and enabled mod_rewrite there are several redirections # available to fix deprecated and/or wrong urls. None of those rules is # mandatory to get NagVis working. IfModule mod_rewrite.c RewriteEngine On RewriteBase /nagvis # Use mod_rewrite for old url redirection even if there are php files which # redirect the queries itselfs. In some cases the mod_rewrite redirect # is better than the php redirect. RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 [R=301,L] RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] # Redirect old regular map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Mapact=viewshow=%1 [R=301,L] # Redirect old wui map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/wui/index.php?mod=Mapact=editshow=%1 [R=301,L] # Redirect old rotation calls RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} !mod RewriteCond %{QUERY_STRING} rotation=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Rotationact=viewshow=%1 [R=301,L] /IfModule /Directory Nagios apache config : # apache configuration for nagios 3.x # note to users of nagios 1.x and 2.x: # throughout this file are commented out sections which preserve # backwards compatibility with bookmarks/config for older nagios versios. # simply look for lines following nagios 1.x: and nagios 2.x comments. ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 1.x: #ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 2.x: #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 # Where the stylesheets (config files) reside Alias /nagios3/stylesheets /etc/nagios3/stylesheets # nagios 1.x: #Alias /nagios/stylesheets /etc/nagios3/stylesheets # nagios 2.x: #Alias /nagios2/stylesheets /etc/nagios3/stylesheets # Where the HTML pages live Alias /nagios3 /usr/share/nagios3/htdocs # nagios 2.x: #Alias /nagios2 /usr/share/nagios3/htdocs # nagios 1.x: #Alias /nagios /usr/share/nagios3/htdocs DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets) Options FollowSymLinks DirectoryIndex index.php AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users # nagios 1.x: #AuthUserFile /etc/nagios/htpasswd.users require valid-user /DirectoryMatch # Enable this ScriptAlias if you want to enable the grouplist patch. # See http://apan.sourceforge.net/download.html for more info # It allows you to see a clickable list of all hostgroups in the # left pane of the Nagios web interface # XXX This is not tested for nagios 2.x use at your own peril #ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi # nagios 1.x: #ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi Thanks --- Andrew Disclaimer statement by ABERDEEN JOURNALS LTD - 6/1