Re: [Nagios-users] REPOST: Problem in Preflight Check with commands.cfg
Perhaps you added another config file that has a check_dns command? I've seen installations where people like to break out the larger config files into a directory with smaller configs. you could do something like... find /usr/local/nagios/etc |xargs grep -c check_dns which will find all the files with check_dns in it (assuming I got the command syntax right). -- Mat W. - http://www.techadre.com Date: Mon, 22 Jun 2009 07:55:58 -0400 From: ahkap...@partners.org To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] REPOST: Problem in Preflight Check with commands.cfg Hi there-- I am reposting this question due to a lack of response. I really am in need of help here, and any would be greatly appreciated. Thanks. I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server using the apt-get utility. We currently have a Nagios 2.6 server running, and I wanted to import the configuration files into the newer server. To that end, I have placed the appropriate configuration files in the /etc/nagios3/conf.d directory, and modified the nagios.cfg file to reflect the location of the configuration files. I ran the preflight check and the following error message appeared on-screen: /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'check_dns' (config file '/etc/nagios3/conf.d/commands.cfg', starting on line 90) Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' on line 91. *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I checked the commands.cfg, and several other files, and I do not see where the duplicate definition is occurring. Can someone lend a hand on this? Thanks. -Original Message- From: Kaplan, Andrew H. Sent: Friday, June 19, 2009 4:52 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem in Preflight Check with commands.cfg Hi there -- I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server using the apt-get utility. We currently have a Nagios 2.6 server running, and I wanted to import the configuration files into the newer server. To that end, I have placed the appropriate configuration files in the /etc/nagios3/conf.d directory, and modified the nagios.cfg file to reflect the location of the configuration files. I ran the preflight check and the following error message appeared on-screen: /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'check_dns' (config file '/etc/nagios3/conf.d/commands.cfg', starting on line 90) Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' on line 91. *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I checked the commands.cfg, and several other files, and I do not see where the duplicate definition is occurring. Can someone lend a hand on this? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
Re: [Nagios-users] notification
are there ALOT of checks going on? eg, when it went down, was there a backlog of checks that were firing off? for example if I have a network issue to a site, suddenly i have 100s of checks firing off in Xmin intervals. Check the logs? up the debug level? -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 10:31:24 -0400 From: prmsr...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] notification Host Status: UP (for 0d 19h 19m 15s) Status Information: FPING OK - 65.106.232.209 (loss=0%, rta=41.00 ms) Performance Data: loss=0%;80;100;0;100 rta=0.041000s;2.00;5.00;0.00 Current Attempt: 1/3 (HARD state) Last Check Time: 06-19-2009 10:13:39 Check Type: ACTIVE Check Latency / Duration: 56.436 / 2.537 seconds Next Scheduled Active Check: 06-19-2009 10:14:47 Last State Change: 06-18-2009 14:58:37 Last Notification: N/A (notification 0) Is This Host Flapping? N/A In Scheduled Downtime? NO Last Update: 06-19-2009 10:17:38 ( 0d 0h 0m 14s ago) As per above the host is scheduled to check every 1 min. The parameter in use is check_interval =1 also retry_interval=1 Then when the host went down the View alert history for this host at the left corner says : [06-18-2009 14:38:40] HOST ALERT: benroutermr;DOWN;HARD;3;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:56] HOST ALERT: benroutermr;DOWN;SOFT;2;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:40] HOST ALERT: benroutermr;DOWN;SOFT;1;FPING CRITICAL - 65.106.232.209 (loss=100% ) Why is it not checking every minutes when retry_interval=1? ? Because of this notification is getting delayed , i want the notification to be sent 3 min after the host is down. -- Best Regards Param S _ Microsoft brings you a new way to search the web. Try Bing™ now http://www.bing.com?form=MFEHPGpubl=WLHMTAGcrea=TEXT_MFEHPG_Core_tagline_try bing_1x1-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] Best Way to Catch Windows Reboots in Nagios with NSClient++
Are you opposed to adding NagEventLog with an NCSA service for the passive checks? You can write an event check filter in NagEventLog to look for the specific events in the Event logs. I don't believe the bult-in UPTIME check supports thresholds but you could wrap it in some code to do it. -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 09:40:43 -0400 From: dmor...@digitalmorris.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Best Way to Catch Windows Reboots in Nagios with NSClient++ Anybody have a good way to Catch Windows Reboots in Nagios with NSClient++. Some times nagios misses the reboot due to timing i think. -Derek -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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 _ Microsoft brings you a new way to search the web. Try Bing™ now http://www.bing.com?form=MFEHPGpubl=WLHMTAGcrea=TEXT_MFEHPG_Core_tagline_try bing_1x1-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] notification
you could try changing the host_inter_check_delay_method=n variable in nagios.cfg and see how it affects the checks. i'd keep an eye on performance and local system resources too. last thing you want is nagios crashing too. :-) -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 12:26:19 -0400 Subject: Re: [Nagios-users] notification From: prmsr...@gmail.com To: lmw94...@hotmail.com CC: nagios-users@lists.sourceforge.net Yes , there is a lot of checks going on. There are like 750 hosts with a minimum of about 6 to 7 services checks. Could this be because SERVICE INTER-CHECK DELAY METHOD HOST INTER-CHECK DELAY METHOD are set to smart calculation ? On Fri, Jun 19, 2009 at 11:23 AM, Mat W lmw94...@hotmail.com wrote: are there ALOT of checks going on? eg, when it went down, was there a backlog of checks that were firing off? for example if I have a network issue to a site, suddenly i have 100s of checks firing off in Xmin intervals. Check the logs? up the debug level? -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 10:31:24 -0400 From: prmsr...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] notification Host Status: UP (for 0d 19h 19m 15s) Status Information: FPING OK - 65.106.232.209 (loss=0%, rta=41.00 ms) Performance Data: loss=0%;80;100;0;100 rta=0.041000s;2.00;5.00;0.00 Current Attempt: 1/3 (HARD state) Last Check Time: 06-19-2009 10:13:39 Check Type: ACTIVE Check Latency / Duration: 56.436 / 2.537 seconds Next Scheduled Active Check: 06-19-2009 10:14:47 Last State Change: 06-18-2009 14:58:37 Last Notification: N/A (notification 0) Is This Host Flapping? N/A In Scheduled Downtime? NO Last Update: 06-19-2009 10:17:38 ( 0d 0h 0m 14s ago) As per above the host is scheduled to check every 1 min. The parameter in use is check_interval =1 also retry_interval=1 Then when the host went down the View alert history for this host at the left corner says : [06-18-2009 14:38:40] HOST ALERT: benroutermr;DOWN;HARD;3;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:56] HOST ALERT: benroutermr;DOWN;SOFT;2;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:40] HOST ALERT: benroutermr;DOWN;SOFT;1;FPING CRITICAL - 65.106.232.209 (loss=100% ) Why is it not checking every minutes when retry_interval=1? ? Because of this notification is getting delayed , i want the notification to be sent 3 min after the host is down. -- Best Regards Param S Microsoft brings you a new way to search the web. Try Bing™ now -- Best Regards Param S _ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] Access Control for disable notification?
cgi.cfg has the options for security access to the webUI. authorized_for_all_service_commands You can't get that much more granular out of the box I don't think. Might be some addons out there, but I haven't dug into it. -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 11:48:39 -0700 From: mlit...@stubhub.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Access Control for disable notification? Is there a way to control user access for just the controls to disable/enable notification alerts for a monitor in nagios.cfg or elsewhere? _ Bing™ brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurantsform=MLOGENpubl=WLHMTAGcrea=TEXT_MLOGEN_Core_tagline_local_1x1-- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___ 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 142 is out of bounds
there's the FAQ... http://www.nagios.org/faqs/viewfaq.php?faq_id=17 I think this can also happen when some checks returns -no- value, or return a string when expecting an integer, etc. essentially encountering something the plugin isn't expecting which could be leading to bad exit from the script. Can you recreate this from the command line? -- Mat W. - http://www.techadre.com Date: Thu, 18 Jun 2009 10:38:18 +0530 From: victor...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Return code of 142 is out of bounds Hi All, I am running Nagios 3.0.2 on FC5 server. I have been encountering this strange error intermittently on a few checks. (Return code of 142 is out of bounds) I am using the nagios with snmp (net-snmp-5.2 net-snmp-5.3) on a few servers. This normally happens with snmp-load checks or snmp-disk checks. I could not find anything related to this problem over the internet. Hoping to get a solution to this problem here. Regards, _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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 process not running or it stops spontaneously
after starting... does it appear in the process list and stay there? perhaps you're starting multiple copies and the system is not writing / reading the pid file properly. -- Mat W. - http://www.techadre.com Date: Thu, 18 Jun 2009 22:10:17 +0600 From: bibr...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios process not running or it stops spontaneously Hi there. I had installed nagios, it was working great, until i upgraded from ubuntu 8.10 to 9.04, I think the up-gradation might be he reason of the nagios not running. I have removed the nagios and reinstalled as guided in the QuickStartGuide. But the problem still remains. Also see this --- r...@biebo-laptop:/usr/local/nagios/var# service nagios start Starting nagios: done. r...@biebo-laptop:/usr/local/nagios/var# service nagios status nagios is not running -- the log file - r...@biebo-laptop:/usr/local/nagios/var# cat nagios.log [1245339292] Nagios 3.1.0 starting... (PID=25252) [1245339292] Local time is Thu Jun 18 21:34:52 PKST 2009 [1245339292] LOG VERSION: 2.0 [1245339292] Finished daemonizing... (New PID=25256) [1245339380] Nagios 3.1.0 starting... (PID=25440) [1245339380] Local time is Thu Jun 18 21:36:20 PKST 2009 [1245339380] LOG VERSION: 2.0 [1245339380] Finished daemonizing... (New PID=25443) [1245341109] Nagios 3.1.0 starting... (PID=26592) [1245341109] Local time is Thu Jun 18 22:05:09 PKST 2009 [1245341109] LOG VERSION: 2.0 [1245341109] Finished daemonizing... (New PID=26597) I donot know why it stops by itself. Or it not starts correctly. Please help me with this. Thanks -- Bibrak Qamar NUST-SEECS _ 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-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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 Reboot Notification
NagEventLog works with the Nagios NSCA server. I use NagEventLog on all our windows servers for EventLog monitoring. Works like a champ. -- Mat W. - http://www.techadre.com Date: Thu, 18 Jun 2009 13:11:59 -0700 From: teckad...@gmail.com To: cschneem...@suse.de CC: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Reboot Notification So from the looks of it, this will only work with linux/unix boxes. Is this accurate? I did a bit of research on NSCA and I see a client-side configuration needed but I see it only for Linux. I know there area few posts on this stating to use NSCA_Win32client. Has anybody ran the NSCA_Win32client? Successful? I'm still looking for some documentation and setup instructions. On Thu, Jun 18, 2009 at 4:32 AM, Christian Schneemann cschneem...@suse.de wrote: Hi, On Thursday June 11 2009 09:14:06 pm Kevin Mitnikc wrote: Hello everybody, [...] How is everybody monitoring server reboots. I've used Whats Up Gold in the past, and it would notify me right away. There has to be a way to monitor reboots and get a notification of that reboot. Many people have suggested I use scripts, but I don't know how to write scripts. Any help or direction would be much appreciated! you could monitor it by passive checks with NSCA. Simply tell the nagios server that the server is up in a regular time. And if someone triggers a reboot tell the nagios server that this happened. I assume you are asking for linux/unix servers? Then you could simply add send_nsca call to the reboot/halt script (before network will be shut down ;) and send a message to nagios, that the server reboots/shuts down. Greetings, Christian Cheers, Kevin M. -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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 _ Microsoft brings you a new way to search the web. Try Bing™ now http://www.bing.com?form=MFEHPGpubl=WLHMTAGcrea=TEXT_MFEHPG_Core_tagline_try bing_1x1-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] Time diference in Alert History
that would be the rety interval setting for your check I believe. for example... check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals -- Mat W. - http://www.techadre.com Date: Tue, 16 Jun 2009 13:08:23 -0400 From: prmsr...@gmail.com To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Time diference in Alert History Hi Nagios Experts, Below was the informatios i got from clicking view alert history for the host : [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) here the max_check_attepts = 5 If you see above the time difference between SOFT 1 state and SOFT 2 state is approx = 3 min. Is it possible to make it 1 min. Please help me find the parameter that controls that time. Thanks in adv Param _ Microsoft brings you a new way to search the web. Try Bing™ now http://www.bing.com?form=MFEHPGpubl=WLHMTAGcrea=TEXT_MFEHPG_Core_tagline_try bing_1x1-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] Time diference in Alert History
Well, it's not only the hosts, but the services and their intervals. It would depend somewhat on the spec and memory of the nagios server. Also... you may want to read up on some of these nagios.cfg options so they are optimally configured in your environment... use_large_installation_tweaks max_concurrent_checks there's one more i can't think of right now... will have to check the documentation about how nagios executes it's checks... -- Mat W. - http://www.techadre.com Date: Tue, 16 Jun 2009 13:43:35 -0400 Subject: Re: [Nagios-users] Time diference in Alert History From: prmsr...@gmail.com To: lmw94...@hotmail.com CC: nagios-users@lists.sourceforge.net Thanks for your reply, But by the way even though this is thoretically posible , practically this aint working. The recheck interval is varying . Is this because of huge number of host being monitored. ? We have around 700 hosts being monitored. On Tue, Jun 16, 2009 at 1:26 PM, Mat W lmw94...@hotmail.com wrote: that would be the rety interval setting for your check I believe. for example... check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals -- Mat W. - http://www.techadre.com Date: Tue, 16 Jun 2009 13:08:23 -0400 From: prmsr...@gmail.com To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Time diference in Alert History Hi Nagios Experts, Below was the informatios i got from clicking view alert history for the host : [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) here the max_check_attepts = 5 If you see above the time difference between SOFT 1 state and SOFT 2 state is approx = 3 min. Is it possible to make it 1 min. Please help me find the parameter that controls that time. Thanks in adv Param Microsoft brings you a new way to search the web. Try Bing™ now _ Bing™ brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurantsform=MLOGENpubl=WLHMTAGcrea=TEXT_MLOGEN_Core_tagline_local_1x1-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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] Configuration files obfuscation
if the idea is for others not to see it... why not just ensure proper file ownership and limited permissions? Assuming only Root and Nagios users can read the file... I'd think anyone that could become those users should be able to read them anyway. -- Mat W. - http://www.techadre.com Date: Tue, 16 Jun 2009 11:53:11 -0400 From: ebadd...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Configuration files obfuscation Hi, is ther a way to obfuscate configuration files? edward _ Bing™ brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurantsform=MLOGENpubl=WLHMTAGcrea=TEXT_MLOGEN_Core_tagline_local_1x1-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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 Reboot Notification
One way to check on a system reboot I've used before is with NagEventLog. We use NagEventLog to look for certain errors posted to the system/app eventlogs. Note these are passive checks so how soon you get notified will depend on the configuration of said passive checks as well as Nagios config. NagEventLog is reasonably configurable to filter our or only look for specific events such as an unexpected shutdown. -- Mat W. http://www.techadre.com Date: Thu, 11 Jun 2009 16:29:40 -0700 From: teckad...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Reboot Notification Marc, I don't think this will work for me ...reason being Nagios will do its check, lets say every minute. If the server reboots unexpectedly and comes up in between that check period, Nagios will never see the reboot. I could be wrong, but is that not accurate? Other application will notify you as soon as the server shuts down or reboots. Is this because its being monitored differently or different checks are being executed. As a Nagios newb, it seems that Nagios has cycles of running checks that the user defines. But I would like to try you suggestion. Will I simply add the define command in the commands.cfg config file and then reference that with the check_command in the hosts.cfg file? Thanks, Kevin M. _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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_nrpe, check_ssh, snmp
My production nagios server is within my production datacenter. Since it is inside the security perimeter of our deployment, I use NRPE over SSL with only the servers local nrpe.cfg file with allowed_hosts configured for only the internal nagios server. -- Mat W. - lmw94...@hotmail.com Date: Mon, 15 Jun 2009 16:41:22 +0200 From: jerome.me...@baldata.ch To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_nrpe, check_ssh, snmp Hi For the control of the servers I used in nagios(test) the command check_nrpe and that running well…. So, now for the nagios(productive), I’m thinking which is the best solutions: check_nrpe, check_ssh or SNMP? Someone says that for security ground we should only use SNMP? Which should I use? What does the expert advise me? Best regards jerome _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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_mailq, nrpe, and root perms on client
hrm, i don't run check_mem as root and it works fine. Is the check_mem script owned by the nagios user and/or executable by the nagios user? As for mailq, I would suggest SUDO as the best route. You can configure very specific sudo permissions to only allow the Nagios user to run very specific commands. -- Mat W. - http://www.techadre.com Date: Mon, 15 Jun 2009 10:59:10 -0700 From: kfre...@sendmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_mailq, nrpe, and root perms on client Greetings!!! Errata: Nagios 3.0 I have nrpe running quite well on several clients, but I am having some problems with running root-perm'd commands on the client via nrpe. The critical one I need is check_mailq, which calls the standard UNIX mailq command, but there are also others (check_mem, check_log) The problem is that mailq requires root priv's to do this. Since I run nrpe in daemon mode under the nagios user, it fails with: CRITICAL: Error code 78 returned from /usr/bin/mailq Just for sanity check, I su'd into the nagios user and tried to run it, and it fails. I was able to get it working with sudo by adding the user nagios to the client's sudoers with only that command, and then adding the appropriate sudo in front of the check_mailq command in nrpe.cfg: command[check_mailq]=sudo /usr/local/nagios/libexec/check_mailq -w 50 -c 75 It also works on the client as the nagios user. However, as sudo is designed to do, it logs every command run under it, so I wind up getting an email for every instance the check is made. Multiply that times several servers and services, and I am now getting flooded with emails that are essentially unnecessary. I also thought of: -- running nrpe as root (not comfortable with that) -- SUID on check_mailq -- chown'ing check_mailq root:root I'm stumped Any ideas are greatly appreciated! Thanks in advance!! k -=-=-=- Kevin Freels Director of Information Technology Sendmail, Inc. kfre...@sendmail.com 510/594.5572 -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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 _ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009-- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ 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