[Nagios-users] Fwd: hi
dear sir i am use the mutt command .i am receive the mail but nagios not send the mail .please send me the solution of nagios 3.0 -- Forwarded message -- From: root r...@nagios1.localdomain Date: Tue, May 12, 2009 at 11:43 AM Subject: hi To: harishtyagi...@gmail.com, anoop.si...@lancogroup.com this is a test mail anoopaaayy this is a test mail anoopaaayy this is a test mail anoopaaayy this is a test mail anoopaaayy thir is a test mail anoopaaayy ass -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] Monitoring hosts/services in seconds
2009/5/12 Ales Rikovsky ales.rikov...@upol.cz: Is it possible to monitor hosts/services in interval specified in second? Seems that interval could be given in minutes. Am I right or not? Or is there another way to monitor/be informed/have history of suspected switch, host or printer dropouts more accurately? You can reduce the interval length in the main configuration file. See http://nagios.sourceforge.net/docs/3_0/configmain.html#interval_length You will also need to look at various other configuration directives to see how this will affect various aspects of the Nagios system. Another option is you can configure a cron job to run every few seconds (yes that is possible, you create a script running every minute which does, for example foo ; sleep 15 ; foo ; sleep 15 ...). The cron job can submit passive results back to nagios either by writing the command file directly or via nsca. Personally, I consider that it is unlikely that anyone will respond to an alert in only a few seconds so a minute interval length seems quite reasonable to me. In fact, I rarely use one-minute check intervals, most in my system are configured at two, five or even more minute intervals. hth, Jim -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Fwd: hi
2009/5/12 harish tyagi harishtyagi...@gmail.com: dear sir i am use the mutt command .i am receive the mail but nagios not send the mail .please send me the solution of nagios 3.0 Assuming it is possible to send an email through mutt using a script, you will need to modify your notify-host-by-email and notify-service-by-email command definitions to use mutt rather than /usr/bin/mail. See: http://nagios.sourceforge.net/docs/3_0/notifications.html -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Problem in configuring NSClient ++
Hi, I configured NSClient on Windows server, as menitoned in Nagios Documentation. Now, when i restarted the Nagios service on my Nagios Server, i gave me the following error,Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lockWhen i started the nagios service it gave,Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.I tried to verify the nagios configuration it gave me the below error.Nagios 3.0.6Copyright (c) 19992008 Ethan Galstad (http://www.nagios.org)Last Modified: 12012008 License: GPLReading configuration data... Error: Template 'windowsserver' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25)*** 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 t hat 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. Can anyone guide me whats going wrong in my configuration. I followed all the steps mentioned in NSCLient++ site. I want to montior my Windows Server (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. Please help.Dear nagiosusers! Get Yourself a cool, short @in.com Email ID now! -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] Problem in configuring NSClient ++
2009/5/12 Sundar V S sunnywa...@in.com: Hi, I configured NSClient on Windows server, as menitoned in Nagios Documentation. Now, when i restarted the Nagios service on my Nagios Server, i gave me the following error, Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock When i started the nagios service it gave, Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration. I tried to verify the nagios configuration it gave me the below error. Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Error: Template 'windows-server' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) *** 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. Can anyone guide me whats going wrong in my configuration. I followed all the steps mentioned in NSCLient++ site. I want to montior my Windows Server (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. Please help. Hi Sundar, Check your etc/objects/templates.cfg file and make sure that the following default template is defined; define host{ namewindows-server ; The name of this host template use generic-host; Inherit default values from the generic-host template check_period24x7; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each server 10 times (max) check_command check-host-alive; Default command to check if servers are alive notification_period 24x7; Send notification out at any time - day or night notification_interval 30 ; Resend notifications every 30 minutes notification_optionsd,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default hostgroups windows-servers ; Host groups that Windows servers should be a member of register0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } This should be there by default, but it sounds like your configuration is missing this definition for some reason. It may be commented out by default, I can't remember - but if so, just uncomment it. Chris -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Problem in configuring NSClient ++
It seems you used a template when you created your host definition into Nagios, but you hadn't created it. Try create the 'windows-server' template (I think you can also find it in some configuration file samples with your distribution of Nagios) or remove the template of your host definition if you don't need it. Marc-André - Mail Original - De: Sundar V S sunnywa...@in.com À: nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 11h07:10 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Problem in configuring NSClient ++ Hi, I configured NSClient on Windows server, as menitoned in Nagios Documentation. Now, when i restarted the Nagios service on my Nagios Server, i gave me the following error, Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock When i started the nagios service it gave, Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration . I tried to verify the nagios configuration it gave me the below error. Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad ( http://www.nagios.org ) Last Modified: 12-01-2008 License: GPL Reading configuration data... Error: Template 'windows-server' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) *** 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. Can anyone guide me whats going wrong in my configuration. I followed all the steps mentioned in NSCLient++ site. I want to montior my Windows Server (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. Please help. Dear nagios-users! Get Yourself a cool, short @in.com Email ID now! -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] report : Insufficient Data
Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% UndeterminedInsufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this insufficient data? How Nagios calculate this availability report? Give any some Lectures about how interpreted Nagios graphs ? How do we must considered these messages? Any Ideas? jerome -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] Understanding Nagios Setup
Dear All, I need some help on Understanding the Existing Nagios setup in one of our client system. a.How to check what all plugins installed? b.To check versions of all plugins, integrated patches, or any other packages like NDutils,PNP etc... c. Need some document or questionnaire for checking the above points and investigating the Nagios setup. Please help... Looking for some useful suggestions. Thanks Regards, Chethan M N, Sr Engineer - EMS -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] report : Insufficient Data
To create its graphs, Nagios parses its log files. So if you delete them (or they are lost), it will be like Nagios wouldn't have been running for the period missing from the log file. For example, if the log files from May the 2nd to May the 4th are missing, you won't have any data on the status, the check results, etc... Nagios would have ran, and so no graphs either. Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] report : Insufficient Data Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this insufficient data? How Nagios calculate this availability report? Give any some Lectures about « how interpreted Nagios graphs » ? How do we must considered these messages? Any Ideas? jerome -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Problem in configuring NSClient ++
Hi chris, Thanks for the update, as mentioned byyou, my default template.cfg is in the path, /usr/local/nagios/etc/objects/template.cfg. The default host definition is intact and uncommented. No # in any part of the file. Is there any alternate way to cross check the configuration, am i specifying anything wrong in the configuration. Do tell me if you require any .cfg file from me to verify. Regards,Sundar Original message From:Christopher McAtackney crist...@gmail.com Date: 12 May 09 14:54:05Subject: Re: [Nagiosusers] Problem in configuring NSClient ++To: Sundar V S 2009/5/12 Sundar V S : Hi, I configured NSClient on Windows server, as menitoned in Nagios Documentation. Now, when i restarted the Nagios service on my Nagios Server, i gave me the following error, Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock When i started the nagios service it gave, Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration. I tried to verify the nagios configuration it gave me the below error. Nagios 3.0.6 Copyright (c) 19992008 Ethan Galstad (http://www.nagios.org) Last Modified: 12012008 License: GPL Reading configuration data... Error: Template 'windowsserver' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 25) *** 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. Can anyone guide me whats going wrong in my configuration. I followed all the steps mentioned in NSCLient++ site. I want to m ontior my Windows Server (10.180.117.172) on my Nagios Server (10.180.117.171) having OS RHEL 4. Please help.Hi Sundar,Check your etc/objects/templates.cfg file and make sure that thefollowing default template is defined;define host{name windowsserver ; The name of this host templateuse generichost ; Inherit default values from the generichost templatecheckperiod 24x7 ; By default, Windows servers are monitored round the clockcheckinterval 5 ; Actively check the server every 5 minutesretryinterval 1 ; Schedule host check retries at 1 minute intervalsmaxcheckattempts 10 ; Check each server 10 times (max)checkcommand checkhostalive ; Default command to check if serversare alivenotificationperiod 24x7 ; Send notification out at any time day or nightnotificationinterval 30 ; Resend notifications every 30 minutesnotificationoptions d,r ; Only send notifications for specific host statescontactgroups admins ; Notifications get sent to the admins by defaulthostgroups windowsser vers ; Host groups that Windows servers shouldbe a member ofregister 0 ; DONT REGISTER THIS ITS JUST A TEMPLATE}This should be there by default, but it sounds like your configurationis missing this definition for some reason. It may be commented out bydefault, I can't remember but if so, just uncomment it.ChrisGet Yourself a cool, short @in.com Email ID now! -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] Quick Question Time
Is there a site around that lists out all of Nagios's Host/Service problem types, I need to quick glance sheet for our monitoring people. Thanks Craig -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Quick Question Time
cr...@hooters-uk.com wrote: Is there a site around that lists out all of Nagios's Host/Service problem types, I need to quick glance sheet for our monitoring people. For hosts: UP, DOWN, UNREACHABLE Services : OK, WARNING, CRITICAL, UNKNOWN Both can also have PENDING, for when they haven't been checked yet. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] bzipping Nagios archives (was: Monitoring hosts/services in seconds)
2009/5/12 Ales Rikovsky ales.rikov...@upol.cz: I have to agree, but the reason is not to react so quickly, but to have host/service performance written in history. I have suspicion that same host has blackouts Anyway it maybe the goal for specialized switch monitoring software... You might be better off looking at a tool dedicated to recording performance information, for example Cacti or mrtg. I would however recommend that you configure your switches to send snmp traps to your Nagios server - these will often point to where the problem lies if a connection is dropping intermittently. There are various ways you can receive traps in Nagios, the easiest, but probably not the most efficient is to use snmptt with NagTrap. But I'd like to ask you one more question. Please do, but remember it's always best to post to the nagios-users email list so everyone can benefit from the answer (or can disagree with it if it's wrong). I don't provide personal support! Can I get rid of bzipping archives so I can have an access to all stats? Or is is safe to unzip it manualy, but next week Nagios will zip it again? Nagios itself does not bzip the archives under /usr/local/nagios/var/archives/ (assuming those are the ones you mean). I expect you have a cron job running somewhere to do that. Have a look in the files under /etc/cron.* and under /var/spool/cron/crontabs . I wouldn't normally zip any of the archives unless you absolutely have to, as Nagios uses them for reporting. Cheers, Jim -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Remote Acknowledge
Hi Group I'm trying to find a way of letting our users acknowledge their own servers faults without the need to log in to Nagios, I have seen that there are remote commands you can issue which allow this to happen, but this is where I need a little instruction on how to use them. http://www.nagios.org/developerinfo/externalcommands/commandin fo.php?command_id=39 In the Nagios book I have been reading it mention's the use of Ticket Systems and making sure that Nagios can integrate with them and when I goggled the question the one of the results I got was OTRS. I guess that means I can raise a ticket by injecting Nagios info into it, but would I be able to use ACK's from within too, if not do you know of a solution that could do this. Thanks Craig Did you find any information on this subject Craig? -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Understanding Nagios Setup
2009/5/12 chethan@wipro.com: Dear All, I need some help on Understanding the Existing Nagios setup in one of our client system. a. How to check what all plugins installed? Usually, plugins are found under /usr/local/nagios/libexec/ . If the Nagios system uses passive checks, you might also find plugins installed (almost anywhere) on the monitored servers too. If the Nagios system was installed using the distro's repositories, you might find some packages if you query aptittude, yum or whatever package manager you use. b. To check versions of all plugins, integrated patches, or any other packages like NDutils,PNP etc… Plugins will often allow you to use the --version argument to show the version. For example, from the command line, you can enter: /usr/local/nagios/libexec/check_snmp --version Alternatively, if the plugin is written in perl,bash,ksh or whatever you can examine the script itself to see if there are any version numbers. You can check the version of Nagios similarly: /usr/local/nagios/bin/nagios --version c. Need some document or questionnaire for checking the above points and investigating the Nagios setup. Most of the Nagios config can be investigated by starting with /usr/local/nagios/etc/nagios.cfg and /usr/local/nagios/etc/cgi.cfg and working from there. You'll find references to ndo and PNP in there if they're installed. I recommend the book Nagios by Wolfgang Barth to give you a good start in understanding Nagios and most of the commonly implemented add-ons. Cheers, Jim -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] PNP4nagios-Implementing drraw
Hi Jim, I am getting following error while accessing URL http://IP Address/drraw after following your suggested steps. ___ Software error: Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl) at /var/www/drraw/drraw.cgi line 48 Compilation failed in require at /var/www/drraw/drraw.cgi line 48. BEGIN failed--compilation aborted at /var/www/drraw/drraw.cgi line 48. For help, please send mail to the webmaster (y...@example.com), giving this error message and the time and date of the error. ___ However I have made below changes in drraw.cgi to use RRDs : use lib '/usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris'; use RRDs; RRDs.pm is also available in mentioned location # cd /usr/local/rrdtool-1.2.19/lib/perl/5.8.7/sun4-solaris/ #ls RRDs.pmauto ntmake.pl perllocal.pod following packages are installed on sun box: Perl 5.8.4 Apache/2.2.11 RRDtool 1.2.19 Please help me. Mohandas Kudva K Jim Avery j...@jimavery.me.uk Sent by: avery...@gmail.com 05/11/2009 08:40 PM To mohanda...@tcs.com cc nagios-users@lists.sourceforge.net Subject Re: [Nagios-users] PNP4nagios-Implementing drraw 2009/5/11 mohanda...@tcs.com: Hi, I am currently working on drraw but i have been finding it very difficult to configure the same. So can anyone please help me to implement it. Any help would be appreciated. Regards, Mohandas Kudva K Mailto: mohanda...@tcs.com I doubt I've remembered everything, but hopefully these notes might help... I downloaded the tarball drraw-2.2b2.tar.gz from http://web.taranis.org/drraw/#download I extracted it under /var/www, then renamed the directory from drraw-2.2bd to drraw. I editted the file /var/www/drraw/drraw.conf to set the datadirs like so: %datadirs = ('/usr/local/nagios/share/perfdata-nagios2' = '[Nagios2] ', '/usr/local/nagios/share/perfdata' = '[Nagios3] ', ); You probably only need the one datadir - I have some old .rrds in perfdata-nagios2 I like to be able to look at too. I set variables for the working directories for drraw like so: $saved_dir = '/usr/local/drraw/saved'; $tmp_dir = '/usr/local/drraw/tmp'; These already existed on my system from a previous install - you may need to create them. Put them wherever you think is suitable and make sure they are writeable by apache (on my system permissions on these are drwxr-xr-x 2 www-data www-data). I create the file /etc/apache2/conf.d/drraw.conf like so: # ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Alias /drraw /var/www/drraw Directory /var/www/drraw DirectoryIndex drraw.cgi # SSLRequireSSL Options +ExecCGI AddHandler cgi-script .cgi AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName Nagios Access AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Directory and restarted the apache daemon to make it take effect. I hope this helps. If you're still having trouble, please be a bit more specific about what you are having a problem with. Cheers, Jim ForwardSourceID:NT2F1A =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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
Re: [Nagios-users] nagios and mysql
Thiery, how does your ndomod.cfg and ndo2db.cfg looks like? Thanks On Sat, May 9, 2009 at 6:37 PM, Thierry Granier th.gran...@free.fr wrote: Hello i have installed NDOutils and i can run ndo2db-3x but i have this message in the log: ndomod: Error writing to data sink! Some output may get lost. 3996 queued items to flush. The database nagios is empty Thanks for your help Thierry -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] Required RPMs for Nagios 2.5
If you are using RHEL machine. The followings are probably basic pre-recs 1) perl-Net-SNMP 2) perl-Socket6 3) perl-Crypt-DES 4) fping On Mon, May 11, 2009 at 9:14 PM, jmose...@corp.xanadoo.com wrote: If you've installed everything, including Nagios, via RPM/yum/up2date, then you should get a warning if upgrading some packages will interfere with Nagios. Assuming you've installed Nagios via RPM/up2date, then you can do: rpm -qa | grep nagios To see what Nagios-related packages you have installed. Then do a: rpm -qR nagios package name to see what packages Nagios requires. That's actually going to show what libraries and binaries are needed by Nagios, not the actual package names. If you installed Nagios by source, then you'll need to find a Nagios 2.5.x RPM, download it (don't install it)t, and do a: rpm -qpR rpm file to find out what it requires. Better yet, go to the package maintainers website and find the spec file that was used to build the RPM to find out what packages are required to install the RPM. James Moseley Karen Tsai hyt...@stanford.edu wrote: Hi, We are running Nagios 2.5 on Linux x86. We would like to get a list of RPMs required for Nagios if there are any. We are trying to get this information in preparation for the Linux up2date patching, in order to evaluate if the up2date patching would possibly impact the Nagios. Does anyone know if there are any required RPMs? -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] report : Insufficient Data
Thanks you Marc-André for your email! Ok but does that means that it will be impossible to eliminate all undetermined data ? Now, I'm still in a test phase and when I'll starting Nagios in production phase, I don't like to have any zombies or unknown datas! It isn't any solutions? jérôme -Ursprüngliche Nachricht- Von: MAD [mailto:sri.lu...@free.fr] Gesendet: Dienstag, 12. Mai 2009 12:44 An: Meyer Jerome Cc: Nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] report : Insufficient Data To create its graphs, Nagios parses its log files. So if you delete them (or they are lost), it will be like Nagios wouldn't have been running for the period missing from the log file. For example, if the log files from May the 2nd to May the 4th are missing, you won't have any data on the status, the check results, etc... Nagios would have ran, and so no graphs either. Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] report : Insufficient Data Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this insufficient data? How Nagios calculate this availability report? Give any some Lectures about « how interpreted Nagios graphs » ? How do we must considered these messages? Any Ideas? jerome - - The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] hostescalation and default contact_groups
Hi everybody, I just wanted to know if the following is expected behaviour: I created a hostescalation definition telling that a special contact group should be notified with the first notification and now the default contact_groups do not get notified anymore. notification_interval is set to 0, so i cannot use first_notification set to anything above 1. I now added the default contact_groups (which should EVER be notified) to the hostescalation too to get it working. Is there any better way doing this? thanks, best regards, Sebastian -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Centreon
Hi Simon, Sorry, just realised that I had forgotten to reply to you. I got Centreon working perfectly in the end. My centstorage service wasn't running for some reason, but once it started, the graphs started becoming populated with data as expected. I've had it running for about 10 days now and haven't encountered any problems with it at all. One thing I was wondering about though, is if anyone has experience with redundancy strategies for Centreon. With Nagios alone, it seemed simple enough (consolidate the log files), but Centreon's database usage makes things somewhat more complicated. Have you got a strategy in place for synchronising your primary server from a secondary server's database if the primary should go down for any reason? I'll admit I haven't looked too deeply into Centreon's schema, so I'm not sure how feasible this task is. Cheers, Chris 2009/5/7 Simon Finch fin...@stgeorge.com.au: Hi Chris, First does the file /etc/centreon/conf.pm exist ? It should have the database hostname, dbname, dbuser and dbpassword in it. Who owns the /var/lib/centreon directory structure ? The apache user that centreon runs as needs full rights to this directory and the directories below it. These dirs should have been created by the centreon install, what version on centreon did you install and did the install run smoothly ? Thanks, Simon Simon Finch | ESM Specialist Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 (+61 2 9952 2574 7 +61 412 256 814 Email: fin...@stgeorge.com.au www.stgeorge.com.au __ St.George Bank IT - Good with people. Good with monitoring. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] report : Insufficient Data
You need to keep all the of the .log files in (nagios)/var, the only historical data nagios stores stays in those files. I use rsync every day to back up these files offsite, as we've got 18 months of data. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News -Original Message- From: Meyer Jerome [mailto:jerome.me...@baldata.ch] Sent: 12 May 2009 14:56 To: MAD Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] report : Insufficient Data Thanks you Marc-André for your email! Ok but does that means that it will be impossible to eliminate all undetermined data ? Now, I'm still in a test phase and when I'll starting Nagios in production phase, I don't like to have any zombies or unknown datas! It isn't any solutions? jérôme -Ursprüngliche Nachricht- Von: MAD [mailto:sri.lu...@free.fr] Gesendet: Dienstag, 12. Mai 2009 12:44 An: Meyer Jerome Cc: Nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] report : Insufficient Data To create its graphs, Nagios parses its log files. So if you delete them (or they are lost), it will be like Nagios wouldn't have been running for the period missing from the log file. For example, if the log files from May the 2nd to May the 4th are missing, you won't have any data on the status, the check results, etc... Nagios would have ran, and so no graphs either. Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] report : Insufficient Data Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this insufficient data? How Nagios calculate this availability report? Give any some Lectures about « how interpreted Nagios graphs » ? How do we must considered these messages? http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] hostescalation and default contact_groups
2009/5/12 Sebastian Cabrera scabr...@portachtzig.de: Hi everybody, I just wanted to know if the following is expected behaviour: I created a hostescalation definition telling that a special contact group should be notified with the first notification and now the default contact_groups do not get notified anymore. notification_interval is set to 0, so i cannot use first_notification set to anything above 1. I now added the default contact_groups (which should EVER be notified) to the hostescalation too to get it working. Is there any better way doing this? Configure notification_interval to 0 in your host definition then configure the host escalation only to send one escalation notification (first_notification 2) if that's what you want. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] NSCA - Command file does not exist
Do you have Linux SE or AppArmor that might block access for nsca? Otherwise, I'm pretty much out of ideas :-( Joan Tugores wrote: Manually feed works!! but stopstart nagios not solves the problem. Kevin Keane escribió: Yes, this looks good. Besides, I only just noticed that you did the ls -lah * as user nagios, so we now have double confirmation that this works. Another question: what happens when you manually feed a command into nagios.cmd? echo xxx /usr/local/nagios/var/rw/nagios.cmd It should basically succeed without any message. If you look in your nagios log files, you'll probably see an invalid command xxx being logged. Finally, you could try stopping nagios, deleting the nagios.cmd file if it stayed around, and restarting nagios. It should get recreated. This just in case it is somehow messed up. Joan Tugores wrote: drwxr-xr-x 15 root root 4,0K abr 29 13:07 /usr drwxr-xr-x 14 root root 4,0K abr 29 13:58 /usr/local drwxrwxr-x 9 nagios nagiosgrb 4,0K abr 29 14:16 /usr/local/nagios drwxrwxr-x 5 nagios nagiosgrb 4,0K may 11 11:07 /usr/local/nagios/var drwxrwxr-x 2 nagios nagiosgrb 4,0K may 8 13:22 /usr/local/nagios/var/rw I think is all ok. Kevin Keane escribió: How about ls -lahd /usr/local/nagios/var/rw /usr/local/nagios/var /usr/local/nagios /usr/local /usr They should all at a minimum have X permission for either the nagios user or the group or for world. ? Joan Tugores wrote: [nag...@dcserverbd2 rw]$ ls -lah * prw-rw 1 nagios nagiosgrb0 may 8 13:22 nagios.cmd -rwxrwxr-x 1 nagios nagiosgrb 4,0K may 11 09:20 nsca.dump seems to be well. Kevin Keane escribió: Does the nsca user or group have access to every single directory along the path? Easy way to try: su - nagios cd /usr/local/nagios/var/rw ls -lah * Note: the above won't work if user nagios has /bin/false as a shell. In that case, try su -s /bin/bash - nagios It should list nagios.cmd (and probably some other files) Joan Tugores wrote: I think that not using chroot jail, this is my nsca.cfg: pid_file=/var/run/nsca.pid server_port=5667 #server_address=192.168.1.1 nsca_user=nagios nsca_group=nagiosgrb #nsca_chroot=/usr/local/nagios/var/rw/ debug=1 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 #password= decryption_method=1 Kevin Keane escribió: Does nsca run in a chroot jail? I'm not sure if it can do that. If that's the case, nsca may think that /usr/local/nagios is really the root of the file system, and anything above that directory is essentially hidden. In that case, you'd have to change the nsca.cfg configuration to use /var/rw/nagios.cmd (or strip out whatever the root of the chroot jail is). Joan Tugores wrote: Hi all, When I send a packet to ncsa server this not processed. In /var/log/messages: Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output But nagios.cmd exists and the permissions are good. prw-rw 1 nagios nagiosgrb0 may 5 09:59 nagios.cmd Regards, Joan -- -- -- -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] report : Insufficient Data
Unfortunately, I don't know a solution to this problem. Perhaps, you may generate some fake log files to replace the ones you erased but this is just some awkward hack. An other way to hide this is to set the initial state of your nagios items to be OK (or UP). There is a value to put in your definition files that can force Nagios to assume the state is OK (for example) when it has no data about the object. I don't remember right now the name of the option. Anyway, once your system will be in production, the percentage of unknown data will eventually decrease. Besides you will always have some unknown data from time to time (reboot of your serveur, etc...). Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: MAD sri.lu...@free.fr Cc: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 15h55:35 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: AW: [Nagios-users] report : Insufficient Data Thanks you Marc-André for your email! Ok but does that means that it will be impossible to eliminate all undetermined data ? Now, I'm still in a test phase and when I'll starting Nagios in production phase, I don't like to have any zombies or unknown datas! It isn't any solutions? jérôme -Ursprüngliche Nachricht- Von: MAD [mailto:sri.lu...@free.fr] Gesendet: Dienstag, 12. Mai 2009 12:44 An: Meyer Jerome Cc: Nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] report : Insufficient Data To create its graphs, Nagios parses its log files. So if you delete them (or they are lost), it will be like Nagios wouldn't have been running for the period missing from the log file. For example, if the log files from May the 2nd to May the 4th are missing, you won't have any data on the status, the check results, etc... Nagios would have ran, and so no graphs either. Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] report : Insufficient Data Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this insufficient data? How Nagios calculate this availability report? Give any some Lectures about « how interpreted Nagios graphs » ? How do we must considered these messages? Any Ideas? jerome - - The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] report : Insufficient Data
Thanks fort the trick and the help... I'll try to set the initial state to UP! Best regards jérôme -Ursprüngliche Nachricht- Von: MAD [mailto:sri.lu...@free.fr] Gesendet: Dienstag, 12. Mai 2009 16:18 An: Meyer Jerome Cc: Nagios-users@lists.sourceforge.net Betreff: Re: AW: [Nagios-users] report : Insufficient Data Unfortunately, I don't know a solution to this problem. Perhaps, you may generate some fake log files to replace the ones you erased but this is just some awkward hack. An other way to hide this is to set the initial state of your nagios items to be OK (or UP). There is a value to put in your definition files that can force Nagios to assume the state is OK (for example) when it has no data about the object. I don't remember right now the name of the option. Anyway, once your system will be in production, the percentage of unknown data will eventually decrease. Besides you will always have some unknown data from time to time (reboot of your serveur, etc...). Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: MAD sri.lu...@free.fr Cc: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 15h55:35 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: AW: [Nagios-users] report : Insufficient Data Thanks you Marc-André for your email! Ok but does that means that it will be impossible to eliminate all undetermined data ? Now, I'm still in a test phase and when I'll starting Nagios in production phase, I don't like to have any zombies or unknown datas! It isn't any solutions? jérôme -Ursprüngliche Nachricht- Von: MAD [mailto:sri.lu...@free.fr] Gesendet: Dienstag, 12. Mai 2009 12:44 An: Meyer Jerome Cc: Nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] report : Insufficient Data To create its graphs, Nagios parses its log files. So if you delete them (or they are lost), it will be like Nagios wouldn't have been running for the period missing from the log file. For example, if the log files from May the 2nd to May the 4th are missing, you won't have any data on the status, the check results, etc... Nagios would have ran, and so no graphs either. Marc-André - Mail Original - De: Meyer Jerome jerome.me...@baldata.ch À: Nagios-users@lists.sourceforge.net Envoyé: Mardi 12 Mai 2009 12h26:40 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] report : Insufficient Data Hi Last week on Thursday I've stopped NAGIOS, deleted files under /var/nagios and restart it (NAGIOS)! Yesterday Nagios gives me Infos like these (when I choose report period : Last Week) : UP Total:3d 10h 17m 9s Total_Time:48.98% Known_Time:100% Undetermined Insufficient Data:3d 13h 42m Total_Time:51s 51.02% All Total:7d 0h 0m 0s What means this insufficient data? How Nagios calculate this availability report? Give any some Lectures about « how interpreted Nagios graphs » ? How do we must considered these messages? Any Ideas? jerome --- -- - The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Mail help needed
I have found a provider that will convert Email to Voice but they use $START$ and $END$ for their system to understand the mails. I have altered my mail script as below /usr/bin/printf %b $START$ Alert\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ $END$ | /usr/bin/mailx -s $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$ But when I send a test mail I get which just adds a single $ at the beginning and the end, is there a way to do this or is this happening because Nagios users the $ itself, sorry for what may seem a dumb question to you but I just do not know the answer $ Alert Notification Type: PROBLEM Service: FTP Host: test Address: 8x.1x.9x.2x State: CRITICAL Date/Time: Tue May 12 15:53:40 BST 2009 Additional Info: CRITICAL - Socket timeout after 10 seconds$ Cheers Martyn -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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] Mail help needed
-Original Message- From: Martyn [mailto:mar...@chetnet.co.uk] Sent: Tuesday, May 12, 2009 11:31 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Mail help needed I have found a provider that will convert Email to Voice but they use $START$ and $END$ for their system to understand the mails. I have altered my mail script as below /usr/bin/printf %b $START$ Alert\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ $END$ | /usr/bin/mailx -s $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$ But when I send a test mail I get which just adds a single $ at the beginning and the end, is there a way to do this or is this happening because Nagios users the $ itself, sorry for what may seem a dumb question to you but I just do not know the answer $ Alert Notification Type: PROBLEM Service: FTP Host: test Address: 8x.1x.9x.2x State: CRITICAL Date/Time: Tue May 12 15:53:40 BST 2009 Additional Info: CRITICAL - Socket timeout after 10 seconds$ Cheers Martyn --- This is because $START$ and $END$ aren't defined in commands.cfg , that is they contain no variable data so it shows as a blank $ - if you need to send those explicitly with no variable in your email/notification, you will likely have to escape the $'s such as: \$START\$ And \$END\$ Hth, Cheers, Jamie -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] Mail help needed
-Original Message- From: James Pratt [mailto:jpr...@norwich.edu] Sent: 12 May 2009 16:44 To: Martyn; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Mail help needed -Original Message- From: Martyn [mailto:mar...@chetnet.co.uk] Sent: Tuesday, May 12, 2009 11:31 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Mail help needed I have found a provider that will convert Email to Voice but they use $START$ and $END$ for their system to understand the mails. I have altered my mail script as below /usr/bin/printf %b $START$ Alert\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ $END$ | /usr/bin/mailx -s $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$ But when I send a test mail I get which just adds a single $ at the beginning and the end, is there a way to do this or is this happening because Nagios users the $ itself, sorry for what may seem a dumb question to you but I just do not know the answer $ Alert Notification Type: PROBLEM Service: FTP Host: test Address: 8x.1x.9x.2x State: CRITICAL Date/Time: Tue May 12 15:53:40 BST 2009 Additional Info: CRITICAL - Socket timeout after 10 seconds$ Cheers Martyn --- This is because $START$ and $END$ aren't defined in commands.cfg , that is they contain no variable data so it shows as a blank $ - if you need to send those explicitly with no variable in your email/notification, you will likely have to escape the $'s such as: \$START\$ And \$END\$ Hth, Cheers, Jamie Jamie thanks so much, this worked a treat and again something else I have learnt from this fantastic group again. Martyn -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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] My issue with Nagios
Hi, I'm facing an issue with the Nagios 1.3 version, which is not having an windows.cfg file in /usr/local/nagios/etc/objects to start monitoring a windows server CPU. Please suggest! Thanks, Venu-- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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 and Windows DFS replication
[Disclaimer: I am not the Nagios administrator, just an end-user] We are using DFS-R on a number of Windows servers. Nagios is already being used to monitor these servers (NSCLIENT++ 0.3.1). It is possible to schedule some tasks to run a DFSRDIAG or DFSRADMIN report on the status of the replication folders and e-mail the results, but I am wondering if anyone is using Nagios to monitor DFS-R and, if so, how. Tom Kustner MCSE, CNE Inside: 68728 Outside: 414-906-8728 Mobile: 414-559-0889 The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ 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