[Nagios-users] RE [spam?] Problems installing NRPE
Hi , Is nrpe daemon started or is xinetd installed and started ? Cheers Frank [ENVOYE PAR INTERNET] Reynier Pérez Mira rper...@uci.cu 22/09/2009 05:31 Veuillez répondre à rper...@uci.cu A Nagios-users@lists.sourceforge.net Nagios-users@lists.sourceforge.net cc Objet [spam?] [Nagios-users] Problems installing NRPE Hi every: I'm following the guide for install and configure NRPE. I have installed and working Nagios 3.2.0 in a server. I want to monitor another Linux server. For that I install NRPE in both. When I try to check the communication between Nagios Server and Remote Host to monitor I get this error: r...@monitoring:# /usr/local/nagios/libexec/check_nrpe -H myserver CHECK_NRPE: Socket timeout after 10 seconds. Can any help to solve this problem? Cheers and thanks in advance -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] NDOUtils: high mysql (cpu) Load, after moving from vmware to kvm
Hi, Denny Schierz wrote the following on 21.09.2009 23:13: but this helps only a few minutes (10-15min). So, any suggestions? Depending on your db trimming settings and the count of hosts/services you may encounter concurrent insert/update and delete statements. If your event broker options point to -1 everything from Nagios and the neb module will be sent by ndmod to ndo2db and inserted/updated into the database. But the builtin housekeeping module keeps track of old entries and may send deletes by time comparison. Those deletes will get quite huge depending how many e.g. timed events have occured within a small period of time. So for the first part, it would be interesting, which data do you really need (actual, historical, status only). Deciding upon this matching you should set the data processing option for the event broker. Either way also how often the most common tables will be cleaned (in ndo2db.cfg). Before you ask there is no key value for everyone. It's highly dependant on the rdbm (in this case only MySQL), hardware and i/o, and on the Nagios config and check intervals and generated events etc. Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedr...@univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] Re : RE [spam?] Problems installing NRPE
Bonjour, Je pense qu'il faut lui spécifier le port et le mot de passe! -p 5666 -s password, si pas de mot de passe, mettre un blanc -s Nadia Kheffache --- En date de : Mar 22.9.09, frank.bourd...@dga.defense.gouv.fr frank.bourd...@dga.defense.gouv.fr a écrit : De: frank.bourd...@dga.defense.gouv.fr frank.bourd...@dga.defense.gouv.fr Objet: [Nagios-users] RE [spam?] Problems installing NRPE À: rper...@uci.cu Cc: Nagios-users@lists.sourceforge.net Nagios-users@lists.sourceforge.net Date: Mardi 22 Septembre 2009, 8h11 Hi , Is nrpe daemon started or is xinetd installed and started ? Cheers Frank [ENVOYE PAR INTERNET] Reynier Pérez Mira rper...@uci.cu 22/09/2009 05:31 Veuillez répondre à rper...@uci.cu A Nagios-users@lists.sourceforge.net Nagios-users@lists.sourceforge.net cc Objet [spam?] [Nagios-users] Problems installing NRPE Hi every: I'm following the guide for install and configure NRPE. I have installed and working Nagios 3.2.0 in a server. I want to monitor another Linux server. For that I install NRPE in both. When I try to check the communication between Nagios Server and Remote Host to monitor I get this error: r...@monitoring:# /usr/local/nagios/libexec/check_nrpe -H myserver CHECK_NRPE: Socket timeout after 10 seconds. Can any help to solve this problem? Cheers and thanks in advance -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ 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 -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ 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 -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] Nagios Clustering for failover using drd b?
Hi list, We're looking into a some techniques to have reliable fail over capability for our Nagios server. We were thinking about an active/passive setup, with the passive one to become alive when the primary node goes down. We are looking to our options how to make sure the passive node has the latest state of the monitoring results. The documentations suggests to tackle this with nsca and ocsp (http://ussrvud-mon01/nagios/docs/redundancy.html). We are thinking to use drdb on a dedicated lan to sync the rrd's, config files and the nagios state and log files. This should, to our opinion, work relatively well. Are there any people doing something similar for the moment? If so, are there any constraints, tips or things to take into account? Thanks in advance, -- Jelle Smet http://www.smetj.net -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 [spam?] Problems installing NRPE
frank.bourd...@dga.defense.gouv.fr wrote: Is nrpe daemon started or is xinetd installed and started ? Hi: I don't know why but the problem was the firewall. I run the command /etc/init.d/iptables stop and the firewall stop fine. After that when I try to check the configuration using the command I get not response. When I open the ports 5666 to accept connections and start again the firewall all was fine. Cheers and thanks for your time -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] Problems installing NRPE
in the NRPE.CFG file, make sure you have the allowed_hosts= line set correctly. also if there is a firewall involved, make sure you open the port to allow the connection. -- Mat W. - http://www.techadre.com Date: Mon, 21 Sep 2009 23:31:11 -0400 From: rper...@uci.cu To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problems installing NRPE Hi every: I'm following the guide for install and configure NRPE. I have installed and working Nagios 3.2.0 in a server. I want to monitor another Linux server. For that I install NRPE in both. When I try to check the communication between Nagios Server and Remote Host to monitor I get this error: r...@monitoring:# /usr/local/nagios/libexec/check_nrpe -H myserver CHECK_NRPE: Socket timeout after 10 seconds. Can any help to solve this problem? Cheers and thanks in advance -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 _ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009-- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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] Problems with CGI and Nagios
Hi: I have Nagios 3.2.o up running. After try every link in the web interface I can see some problems listed below: 1. Map URL: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. 2. Trends URL: The requested URL /nagios/cgi-bin/trends.cgi was not found on this server. 3. Trend - Histogram URL: The requested URL /nagios/cgi-bin/histogram.cgi was not found on this server. Is this a configuration problem or what happen here? Cheers and thanks in advance -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 and dns
The main reason would be that DNS becomes unreliable, hence don't use 4.2.2.x. This caused alot of finger pointing to the client's ISP when in fact it was my own dumb fault. Kyle O'Donnell wrote: All, I recall reading some nagios documentation which had the reasons why using dns resolution was not a great idea, but I cannot remember where it was? Does anyone have/or can they point me to that doc? Thanks, Kyle -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.112/2388 - Release Date: 09/22/09 05:51:00 -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] Problems with CGI and Nagios
Reynier Pérez Mira wrote: Hi: I have Nagios 3.2.o up running. After try every link in the web interface I can see some problems listed below: 1. Map URL: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. 2. Trends URL: The requested URL /nagios/cgi-bin/trends.cgi was not found on this server. 3. Trend - Histogram URL: The requested URL /nagios/cgi-bin/histogram.cgi was not found on this server. Is this a configuration problem or what happen here? Cheers and thanks in advance http://support.nagios.com/knowledgebase/faqs/index.php?option=com_contentview=articleid=52catid=35faq_id=55expand=falseshowdesc=true -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 and dns
2009/9/22 Kyle O'Donnell kyleodonn...@gmail.com: All, I recall reading some nagios documentation which had the reasons why using dns resolution was not a great idea, but I cannot remember where it was? Does anyone have/or can they point me to that doc? Thanks, Kyle Put simply if your DNS servers break you don't want your monitoring to break. It is probably a good idea specifically to monitor your DNS though! I don't know what document you may have read this in, however I can tell you it's specifically mentioned in Nagios System and Network Monitoring by Wolfgang Barth 1st Ed. published by No Starch Press. ISBN 3-937514-09-0 in section 2.3 on page 44. Cheers, Jim -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] nagios notification to different email address
List, It has been stated that one can send all notification send to a different email address by using negative value for parameter.I just wanted to know would the following setup work? please advise on this. Nagios version: 3.2 Ndoutils version: 1.4.8 define hostescalation{ hostgroup_namehostgroup A, hostgroup B contact_groups nocemail first_notification -1 last_notification 0 notification_interval 15 escalation_period 24x7 escalation_options d,r } -- Cordially, Shadhin Rahman -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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] Nagios not sending any notification.
Hi, Can anybody help me to find out why my Nagios not sending any notification. We are using nagios 3.03 with Ubantu. I can see that in the logs Nagios is monitoring our our server but not sending any notification. Secondly, If I am sending a mail directly from a command line to all the users listed on commands.cfg, we all are getting e-mail. Can anybody helps me to understand the problem? _ Great events make grand headlines – read them all on MSN India http://in.msn.com-- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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] NDOUtils: high mysql (cpu) Load, after moving from vmware to kvm
Hi Michael, Am Dienstag, den 22.09.2009, 09:07 +0200 schrieb Michael Friedrich: [...] Before you ask there is no key value for everyone. It's highly dependant on the rdbm (in this case only MySQL), hardware and i/o, and on the Nagios config and check intervals and generated events etc. thanks for you're reply . I try do figure out, what i really need for entries. But its strange for me, that we don't had these problems, before moving away from Vmware. So I take a deeper look later. cu denny signature.asc Description: Dies ist ein digital signierter Nachrichtenteil -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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 not sending any notification.
On Sep 22, 2009, at 1:40 PM, Deepak Joshi wrote: Hi, Can anybody help me to find out why my Nagios not sending any notification. We are using nagios 3.03 with Ubantu. Not based on the information provided in this e-mail. I can see that in the logs Nagios is monitoring our our server but not sending any notification. Please post the log entries for the host/service around the time you expect the notification to be sent. If you see a line like HOST_NOTIFICATION or SERVICE_NOTIFICATION, check your maillog file on your nagios machine. Please also include the host{}, service{}, contactgroup{}, contact{}, host or service notification command{} and timeperiod{} definitions from objects.cache for the host/service/contact that should have notified. All of these are relevant to the issue. Secondly, If I am sending a mail directly from a command line to all the users listed on commands.cfg, we all are getting e-mail. There are many variables here, not just being able to send to an address. Did you use the exact same command as defined for that contact's notification command, substituting appropriate values for the $MACROS$, testing as the nagios user? -- Marc -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 notification to different email address
On Sep 22, 2009, at 1:04 PM, shadih rahman wrote: List, It has been stated that one can send all notification send to a different email address by using negative value for parameter.I just wanted to know would the following setup work? please advise on this. I don't recall seeing this functionality discussed, nor do I find anything glancing through the documentation. I could be dense though. Can you provide a reference? -- Marc -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] (Return code of 255 is out of bounds)
Hi -I am getting this message (Return code of 255 is out of bounds) . I have some nagios plugins which are perl programs. When i try to run them command line they run fine. But when try to run using NRPE I get the output (Return code of 255 is out of bounds) . In the website http://localhost/nagios it displays NRPE:Unable to read output. I have been trying hard on this .. Can you please help regards -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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] (Return code of 255 is out of bounds)
On Tue, 22 Sep 2009, akp geek wrote: Hi - I am getting this message (Return code of 255 is out of bounds) . I have some nagios plugins which are perl programs. When i try to run them command line they run fine. But when try to run using NRPE I get the output (Return code of 255 is out of bounds) . In the website http://localhost/nagios it displays NRPE:Unable to read output. I have been trying hard on this .. Can you please help Details. We really need details. Even the most basic details, like what you're tryiong to do and how you've configured it. Without that... nope. Probably can't help much. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 notification to different email address
Please always respond on list. More below. On Sep 22, 2009, at 2:56 PM, shadih rahman wrote: It has been stated that one can send all notification send to a different email address by using negative value for parameter.I just wanted to know would the following setup work? please advise on this. It has been mentioned here. Please advise on this. Thanks http://ideas.nagios.org/akira/dtd/12252-3955 I'm not sure how you interpreted that to mean to put a '-1' for first_notification or even how it relates to your post. Your interpretation will not work AFAIK. The post you reference is about limiting the maximum number of notifications sent to a contact. Your original question appears to be asking about how to send all notifications to 'an email address'. They appear to be opposite problem statements. Please restate your question, being as clear as you can about what you're trying to accomplish. For example, does 'all notifications' mean all notifications nagios would normally send for a specific service or a notification for every single non-OK service check? Does it mean all notifications for any host or service should all go to an arbitrary e-mail address? Does 'to an e-mail address' mean to a defined contact who is already in a contactgroup for that service or some other address? On the face of it, it seems to me you might just need to define a new contact and associate them with the host/service they should receive notifications about. P.S. I don't use escalations so be sure to respond to the list so that you expose your question to people who are more familiar with them, should escalations end up being what you need. -- Marc -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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] (Return code of 255 is out of bounds)
On Sep 22, 2009, at 2:32 PM, akp geek wrote: Hi - I am getting this message (Return code of 255 is out of bounds) . I have some nagios plugins which are perl programs. When i try to run them command line they run fine. But when try to run using NRPE I get the output (Return code of 255 is out of bounds) . The plugin that NRPE is running on the remote host is exiting (failing?) with an exit code of 255, when run as the user NRPE runs as. Did you test as that user on the remote host? Does the plugin/ script/whateveritis rely on environment variables or $PATH that likely do not exist when run by NRPE? Does the plugin/script/whateveritis rely on external programs that rely on environment variables or $PATH that might not exist or be what you expect? Does debug mode for NRPE provide anything interesting? Beyond that, you're going to have to provide more specific information about the plugin, OS, etc. -- Marc -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 notification to different email address
My problem, I am trying to send a down and recovery message to a different contact group than what is defined in host definition. Also I want to send only one email to the new contact group. In the example below host A has contact group C defined. However I want send my notification to contact group D. Thanks I have a host definiton like define host { host_name A hostgroups X alias A address A contact_groups C check_period24x7 check_interval 15 retry_interval 3 max_check_attempts 3 notification_period extended notification_interval 30 notification_optionsd,r,f notifications_enabled 1 check_command check-host-alive } I have a host escalation definition define hostescalation{ hostgroup_nameX contact_groups D first_notification -1 last_notification 1 notification_interval 0 escalation_period 24x7 escalation_options d,r } On Tue, Sep 22, 2009 at 4:14 PM, Marc Powell m...@ena.com wrote: Please always respond on list. More below. On Sep 22, 2009, at 2:56 PM, shadih rahman wrote: It has been stated that one can send all notification send to a different email address by using negative value for parameter.I just wanted to know would the following setup work? please advise on this. It has been mentioned here. Please advise on this. Thanks http://ideas.nagios.org/akira/dtd/12252-3955 I'm not sure how you interpreted that to mean to put a '-1' for first_notification or even how it relates to your post. Your interpretation will not work AFAIK. The post you reference is about limiting the maximum number of notifications sent to a contact. Your original question appears to be asking about how to send all notifications to 'an email address'. They appear to be opposite problem statements. Please restate your question, being as clear as you can about what you're trying to accomplish. For example, does 'all notifications' mean all notifications nagios would normally send for a specific service or a notification for every single non-OK service check? Does it mean all notifications for any host or service should all go to an arbitrary e-mail address? Does 'to an e-mail address' mean to a defined contact who is already in a contactgroup for that service or some other address? On the face of it, it seems to me you might just need to define a new contact and associate them with the host/service they should receive notifications about. P.S. I don't use escalations so be sure to respond to the list so that you expose your question to people who are more familiar with them, should escalations end up being what you need. -- Marc -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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 -- Cordially, Shadhin Rahman -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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 not sending any notification.
With this configuration only nagiosadmin will get the email. You need to define contact group properly. Please see the following documentation. Thanks http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact and also see contactgroup definition On Tue, Sep 22, 2009 at 4:14 PM, Deepak Joshi djos...@hotmail.com wrote: PFA, the file. Please let me know if you need anything else. -- Date: Tue, 22 Sep 2009 16:08:35 -0400 Subject: Re: [Nagios-users] Nagios not sending any notification. From: shadhi...@gmail.com To: djos...@hotmail.com Can you please provide your contact.cfg file. Thanks On Tue, Sep 22, 2009 at 4:02 PM, Deepak Joshi djos...@hotmail.com wrote: It's enabled. PFA the screen shot. Please help me to resolve this. -- Date: Tue, 22 Sep 2009 15:12:00 -0400 Subject: Re: [Nagios-users] Nagios not sending any notification. From: shadhi...@gmail.com To: djos...@hotmail.com click on tactical overview from the left hand side and see if you have nagios notification enable or disabled. On Tue, Sep 22, 2009 at 2:40 PM, Deepak Joshi djos...@hotmail.com wrote: Hi, Can anybody help me to find out why my Nagios not sending any notification. We are using nagios 3.03 with Ubantu. I can see that in the logs Nagios is monitoring our our server but not sending any notification. Secondly, If I am sending a mail directly from a command line to all the users listed on commands.cfg, we all are getting e-mail. Can anybody helps me to understand the problem? -- Get a 360o view of the world, in perspectives only MSN India can offer. Try it! http://in.msn.com -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ 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 -- Cordially, Shadhin Rahman -- One peek at MSN India brings you up to speed with what's hot in the world today Drag n' drop http://in.msn.com -- Cordially, Shadhin Rahman -- One peek at MSN India brings you up to speed with what's hot in the world today Drag n' drop http://in.msn.com -- Cordially, Shadhin Rahman -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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 notification to different email address
On Tue, Sep 22, 2009 at 2:38 PM, shadih rahman shadhi...@gmail.com wrote: My problem, I am trying to send a down and recovery message to a different contact group than what is defined in host definition. Also I want to send only one email to the new contact group. In the example below host A has contact group C defined. However I want send my notification to contact group D. Thanks Is there a reason why you can't put contact group D in host A? -Mike -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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 notification to different email address
On Tue, Sep 22, 2009 at 3:26 PM, shadih rahman shadhi...@gmail.com wrote: D can not be part of the original definition. host definition is generated via script which will only include contact C. However alert needs to go to D without bothering contactgroup C On Tue, Sep 22, 2009 at 5:19 PM, Michael Saldivar mike.saldi...@advocatecreditrepair.com wrote: On Tue, Sep 22, 2009 at 2:38 PM, shadih rahman shadhi...@gmail.comwrote: My problem, I am trying to send a down and recovery message to a different contact group than what is defined in host definition. Also I want to send only one email to the new contact group. In the example below host A has contact group C defined. However I want send my notification to contact group D. Thanks Is there a reason why you can't put contact group D in host A? -Mike Please use reply-all to keep replies on the list. Unfortunately, I do not know of any way to send notifications to to a group without defining the host to send notifications to that group. I'd lean towards fixing the script so that it writes configurations to contact the correct group, rather than having it write incorrect configs and then tweaking Nagios to compensate. Perhaps you could accomplish this by defining an escalation which skips the first notification to group C, and then sends only one notification to group D. Does your script generate the escalation configs also? -- Mike Saldivar Direct Financial Solutions Information Systems Manager Desk: 435-774-8252 Cell: 435-881-3778 -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ 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] Checking Bacula with Nagios
Hi every: I need to check Bacula status over Nagios. For that I follow the steps explained here: http://wiki.bacula.org/doku.php?id=nagios_active_checks. After get NRPE working I get this error in my Nagios: NRPE: Unable to read output. The NRPE configuration on Bacula Server is this one: command[check_bacula_baculaserver_dir]=/usr/local/nagios/libexec/check_bacula.pl -H 24 -w 2 -c 1 -j SP_SVEXPBD01-FD And the NRPE command in Nagios config is this: #Check Bacula define service{ uselocal-service host_name 10.128.50.11 service_descriptionCheck Bacula Job check_command check_nrpe!check_bacula_baculaserver_dir } Can any tell me where the problem is? Cheers and thanks in advance -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ 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