[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.ukmailto:and...@fulgent.co.uk www.fulgent.co.ukhttp://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
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] How to route data from multiple nagios core nodes to a nagiosxi node?
On 11/10/2011 1:32 PM, Mike Lindsey wrote: On 11/8/11 6:06 PM, Benjamin wrote: I have about ten nagios core machines that I currently monitor collectively using MNTOS. Is there a way to feed the data from my nagios core machines to a nagiosXI machine that makes it possible to use the nagiosXI features like the visualization/dashboards/reporting for the services/hosts being monitored by the nagios core nodes? I basically want to replace MNTOS w/ a nagiosXI machine — so that I can utilize its features as a dashboard and reporting node for all the data I receive at each nagios core server. Basically, I want to set up a hub and spoke w/ a nagiosXI machine at the hub and all my nagios core boxes as spokes. I looked into DNX but this looks like it distributes the checks in a different way. Any ideas? I'm not as familiar with XI as I'd like, but based on the demos and the docs, I think NSCA will do just fine. I believe the configuration would be exactly the same as with a normal Nagios Core install. If you want to simply forward all of your results to a Nagios XI machine, you can define an OCSP command for all of your services and forward them along to the XI box. Nagios XI has a feature in the Admin-Unconfigured Objects menu that allows you to automatically add passive hosts and services that are inbound. Here are some docs with more details. http://nagios.sourceforge.net/docs/3_0/distributed.html http://assets.nagios.com/downloads/nagiosxi/guides/administrator/advanced.php#passivechecks If you've got additional Nagios XI specific questions, go ahead and post them to our forum. http://support.nagios.com/forum/viewforum.php?f=6 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguth...@nagios.com Web:www.nagios.com -- 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
[Nagios-users] service checks could not be rescheduled properly.
Hi - does anyone know the answer to the following errors I'm getting in the nagios.log for a handful of hosts that have a specific timeperiod for checks set. [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS02' could not be rescheduled properly. Scheduling check for next week... [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS01' could not be rescheduled properly. Scheduling check for next week... Obviously this is causing major issues as checks are just not being carried out as expected, the hosts / services are defined as follows: define host{ use unix_host_template ; Name of host template to use icon_image win40.jpg host_name TDUKUBS01 address 192.168.75.84 alias TDUKUBS01 192.168.75.84 } define service{ use ubs-service hostgroup_name ubsdealservers service_description DEAL SERVER SERVICE TCP 4099 check_command check_ubs!4099 check_periodubs4099hours } define service{ nameubs-service is_volatile 0 max_check_attempts 5 normal_check_interval 1 notification_interval 5 retry_check_interval1 contact_groups dtns-ooh active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile register0 } define timeperiod{ timeperiod_name ubs4099hours alias UBS 4099 Dealserver Monitoring Hours monday 23:46-20:30 tuesday 23:46-20:30 wednesday 23:46-20:30 thursday23:46-20:30 friday 23:46-20:30 } It all looks ok to me, if I manually re-schedule the check above it will run fine but when it comes to the check being carried out as defined by the timeperiod above again it will not run and then get scheduled for the following week. Any help would be appreciated. Thanks - Julian. Julian Grunnell | Unix Analyst, Infrastructure | TD Waterhouse T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 ___ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality: This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank). Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863. Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791). Incorporated in the Netherlands and registered as a branch in
Re: [Nagios-users] service checks could not be rescheduled properly.
Check out this bug report on the nagios.org bug tracker: http://tracker.nagios.org/view.php?id=31 On 11/11/2011 10:39 AM, julian_grunn...@tdwh.co.uk wrote: Hi - does anyone know the answer to the following errors I'm getting in the nagios.log for a handful of hosts that have a specific timeperiod for checks set. [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS02' could not be rescheduled properly. Scheduling check for next week... [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS01' could not be rescheduled properly. Scheduling check for next week... Obviously this is causing major issues as checks are just not being carried out as expected, the hosts / services are defined as follows: define host{ use unix_host_template ; Name of host template to use icon_image win40.jpg host_name TDUKUBS01 address 192.168.75.84 alias TDUKUBS01 192.168.75.84 } define service{ use ubs-service hostgroup_name ubsdealservers service_description DEAL SERVER SERVICE TCP 4099 check_command check_ubs!4099 check_period ubs4099hours } define service{ name ubs-service is_volatile 0 max_check_attempts 5 normal_check_interval 1 notification_interval 5 retry_check_interval 1 contact_groups dtns-ooh active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile register 0 } define timeperiod{ timeperiod_name ubs4099hours alias UBS 4099 Dealserver Monitoring Hours monday 23:46-20:30 tuesday 23:46-20:30 wednesday 23:46-20:30 thursday 23:46-20:30 friday 23:46-20:30 } It all looks ok to me, if I manually re-schedule the check above it will run fine but when it comes to the check being carried out as defined by the timeperiod above again it will not run and then get scheduled for the following week. Any help would be appreciated. Thanks - Julian. Julian Grunnell | Unix Analyst, Infrastructure | TD Waterhouse T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 Consider the environment. Please don't print this e-mail unless you really need to. Confidentiality: This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank). Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863. Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791). Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. -- 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 -- RSA(R) Conference 2012 Save $700 by Nov 18
[Nagios-users] nagios timeout checks
hello, this is my first email I've just installed nagios 3.2.3 And i would like to know if is there a way to configurate nagios to send time-out cheks to other group of users. The problem is that if some times the monitoring service works fine... but once or twice a day it does time out exception. Can i config a way to if the monitoring works fine send normally the email, if it happends a time out exception send this erro for me to see what happends. thakou in advanced and sorry for my bad english, hope you undarstand :) -- -- Atenciosamente, Gustavo de Araujo Lima Machado Telefone: +55 +21 *** Celular: +55+21 84588122 E-Mail: g.macha...@gmail.com.br @gmachado1 Residência : -- 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
Re: [Nagios-users] nagios timeout checks
On 11 November 2011 16:11, Gustavo g.macha...@gmail.com wrote: hello, this is my first email I've just installed nagios 3.2.3 And i would like to know if is there a way to configurate nagios to send time-out cheks to other group of users. The problem is that if some times the monitoring service works fine... but once or twice a day it does time out exception. Can i config a way to if the monitoring works fine send normally the email, if it happends a time out exception send this erro for me to see what happends. thakou in advanced and sorry for my bad english, hope you undarstand :) If the timeout errors result in an UNKNOWN state, then you can configure your ordinary users (for example) to receive only WARNING, CRITICAL and RECOVERY notifications, but your Nagios administrator users only to receive UNKNOWN and FLAPPING notifications. That is set for all notifications for that contact though. For example: define contact { contact_name luciano_lanza aliasordinary user Luciano Lanza host_notification_options d,r service_notification_options w,c,r email lla...@hotmael.com } define contact { contact_name gustavo_machado alias Nagios Admin G. Machado host_notification_options u,f service_notification_options u,f email gmach...@hotmael.com } Note that the check_nt plugin will only result in UNKNOWN on timeout if you specify the -u or --unknown-timeout option. Unfortunately some other plugins do set status to UNKNOWN on timeout but others don't. With some checks, it helps to set max_check_attempts to 3 or more so that if the plugin times out only once or twice then Nagios will not send a notification. Cheers, and welcome! Jim -- 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
Re: [Nagios-users] nagios timeout checks
On 11.11.2011 17:11, Gustavo wrote: hello, this is my first email I've just installed nagios 3.2.3 And i would like to know if is there a way to configurate nagios to send time-out cheks to other group of users. The problem is that if some times the monitoring service works fine... but once or twice a day it does time out exception. if it's a timeout generated catched by alarm signal on the core, there might be a possibility. but still this would require some code patching in nagios itsself. Can i config a way to if the monitoring works fine send normally the email, if it happends a time out exception send this erro for me to see what happends. below [1] is a mail to nagios-devel about 2 years ago (one of those long lasting patches for nagios never been applied), which allows to change the default state. if you happen to change that to unknown, you could assign special contacts only to be notified on unknown state - beware: all other unknowns get to them too - and therefore being notified on service check timeouts. a native vanilla solution might be a wrapper around the notification script to check if $SERVICEOUTPUT$ contains Timeout or similar, and check that against $NOTIFICATIONRECEPIENTS$. current problem is that $NOTIFICATIONRECIPIENTS$ macro holds the wrong information about notified contacts (instead all contacts are placed in there). if core devs resolve #98 (patch already sent - see [0]) this might be a possible solution to create a proxy wrapper and only pass timeout notifications to some contacts based on the notification receipients. kind regards, michael [0] http://tracker.nagios.org/view.php?id=98 [1] Original Message Subject: [Nagios-devel] [PATCH] add service_check_timeout_state configuration variable Date: Tue, 09 Feb 2010 13:34:36 -0500 From: Bill McGonigleb...@bfccomputing.com Reply-To: Nagios Developers Listnagios-de...@lists.sourceforge.net Organization: BFC Computing, LLC To: nagios-de...@lists.sourceforge.net Hi, all, This patch adds a variable called 'service_check_timeout_state' which allows the admin to define the state that is returned when a service check times out. I look after a handful of nagios installations and the #1 complaint is of 'false alarms', which typically result from the machine that nagios is running on getting bogged down by some unrelated process (backups, etc., nagios doesn't usually get its own machine in a small business) and thus a 'critical' state is thrown, and too often everybody gets paged in the middle of the night (we page on critical). Nagios has had the #ifdef SERVICE_CHECK_TIMEOUTS_RETURN_UNKNOWN available for re-compiling, which works, but then those users are unable to keep up with their distro's updates and it may be beyond the skill of many. This patch moves that idea into a variable, allows any of four states to be chosen ('critical' remaining the default), and does away with the #ifdef (which should be obsolete now). I've been running with my in-house nagios set to 'u', and so far no late-nite false alarms, though I can't say it's had extensive field testing. This is also the first time I've done any nagios hacking (though I don't do much in c these days, the code was very easy to follow - kudos). Here's some suggested text for the sample config file: ---8---8---8 # SERVICE CHECK TIMEOUT STATE # This setting determines the state Nagios will report when a # service check times out - that is does not respond within # service_check_timeout seconds. This can be useful if a # machine is running at too high a load and you do not want # to consider a failed service check to be critical (the default). # Valid settings are: # c - Critical (default) # u - Unknown # w - Warning # o - OK service_check_timeout_state=c ---8---8---8 and the patch follows (the format I have in my rpm file, not sure how to use git yet). Thanks, -Bill ---8---8---8 diff -ur nagios-3.2.0/base/config.c nagios-3.2.0-bfc/base/config.c --- nagios-3.2.0/base/config.c2009-05-17 08:54:28.0 -0400 +++ nagios-3.2.0-bfc/base/config.c2010-02-08 18:47:21.0 -0500 @@ -73,6 +73,7 @@ extern int log_passive_checks; extern int service_check_timeout; +extern int service_check_timeout_state; extern int host_check_timeout; extern int event_handler_timeout; extern int notification_timeout; @@ -722,6 +723,23 @@ break; } } + +else if(!strcmp(variable,service_check_timeout_state)){ + +if(!strcmp(value,o)) +service_check_timeout_state=STATE_OK; +else if(!strcmp(value,w)) +service_check_timeout_state=STATE_WARNING; +else if(!strcmp(value,c)) +
[Nagios-users] limt privilages on fusion
Hi guys, Is there a way to NOT have a user access any nagios XI servers from a nagios Fusion server? I set up a test user and when I log in as hiom and navigate over to the server credentials page he can log into the XI servers as the nagiosadmin. -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue New York NY 10003-5527 office: 212-998-1110 email:robert.mole...@nyu.edu robert.mole...@nyu.edu -- 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
Re: [Nagios-users] Logging issues
Hi, Am Donnerstag 10 November 2011, 05:50:32 schrieb Alex: I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching the server and no firewall rules are involved. Other services, such as checking port 25, work successfully. [...] server_address=127.0.0.1 ... You bound nrpe on your loopback interface. You have to enter the IP of your network interface connected to the rest of the world and restart nrpe. Yes, I was experimenting and realized this afterwards. The real problem turned out to be an incorrect firewall rule blocking access. The problem I'm still having now, however, is with logging on the client. I have debug=1, but there is nothing written to syslog. It writes the startup messages, but never any messages indicating the server had queried it: Nov 10 20:02:58 fc14 nrpe[606]: Caught SIGTERM - shutting down... Nov 10 20:02:58 fc14 nrpe[606]: Daemon shutdown Nov 10 20:02:58 fc14 nrpe[9330]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Nov 10 20:02:58 fc14 nrpe[9331]: Starting up daemon Nov 10 20:02:58 fc14 nrpe[9331]: Listening for connections on port 5666 Nov 10 20:02:58 fc14 nrpe[9331]: Allowing connections from: 127.0.0.1,64.XX.XX.2 Is there something further that needs to be done for it to log other status messages? Thanks, Alex -- 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