Re: [Nagios-users] .htpasswd login
On 20/03/09 16:28, Chris wrote: I like to implement .htpasswd so users can log in using their Active Directory user name and password to have a basic view of Nagios interface (as in a 'normal user') At the moment I have htpasswd.users with only one user - nagiosadmin. I would like to keep the nagiosadmin user to handle the admin. tasks. Everyone else will get a normal active directory login. You can use LDAP-authentication in Apache and file-based-authentication parallel. DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/) Options FollowSymLinks DirectoryIndex index.html AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios3/htpasswd.users # LDAP Auth AuthBasicProvider ldap file AuthzLDAPAuthoritative off AuthLDAPBindDN ACCOUNT AuthLDAPBindPassword PASSWORD AuthLDAPURL ldap://dc.foobar.de:389/ou=test,dc=foo,dc=bar,dc=de?sAMAccountName?sub?(ObjectClass=*) require valid-user /DirectoryMatch BUT all your AD-users need to be a defined contact in your Nagios configuration and one little stupid thing is: the AD doesn't care for case-sensitivity while Apache/Nagios do. So John, JOHN and john can successfully login but if Nagios knows only john, then John and JOHN wont see anything. Haven't found a solution here, I just told everyone nit to use capitals :-) - Klaus -- BOFH excuse #300: Digital Manipulator exceeding velocity parameters -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Configuration Insanity: Multiple site configurations
2009/3/20 Mark Weaver mwea...@compinfosystems.com: Hi All, I've got an insane problem that is driving me crazy and there doesn't seem to be any logical reason for it. I've attached the pertinent information concerning the insanity. I'd really appreciate it if someone could help make sense of this nonsense. thanks, Mark Error: Template 'windows-desktop' specified in host definition could not be not found (config file '/etc/nagios/objects/kfsi/kfsi-hosts.cfg', starting on line 181) Strangely enough, this error message points to where you will find your problem (or at least the beginning of it anyway). If you look in /etc/nagios/objects/kfsi/kfsi-hosts.cfg somewhere at line 181 or soon after you will find a use directive. This is trying to use a template called windows-desktop which you have not defined properly anywhere. Have a look in /etc/nagios/global/templates/templates.cfg and if you can't find the template, then define one. You can probably copy another host template which is already in that file. If, however, you think the template is already there, you might find you've forgotten to put register 0 to indicate it's a template, and you might also have put host_name windows-desktop which would be wrong for a template definition. It should be name windows-desktop. Without seeing your actual files I can't say for sure. If you're still stuck, please post the relevent parts of /etc/nagios/objects/kfsi/kfsi-hosts.cfg and /etc/nagios/global/templates/templates.cfg so we can see where the problem lies. hth, Jim -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Separate traffic type ?
I have Cisco router with interface int0. This is 10 Mb link where 2 types of traffic is: - VoIP - DATA Does Nagios is able to monitor separatly VoIP traffic and data traffic on that one interface ? Thanks, Czezz -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Configuration Insanity: Multiple site configurations
Jim Avery wrote: 2009/3/20 Mark Weaver mwea...@compinfosystems.com: Hi All, I've got an insane problem that is driving me crazy and there doesn't seem to be any logical reason for it. I've attached the pertinent information concerning the insanity. I'd really appreciate it if someone could help make sense of this nonsense. thanks, Mark Error: Template 'windows-desktop' specified in host definition could not be not found (config file '/etc/nagios/objects/kfsi/kfsi-hosts.cfg', starting on line 181) Strangely enough, this error message points to where you will find your problem (or at least the beginning of it anyway). If you look in /etc/nagios/objects/kfsi/kfsi-hosts.cfg somewhere at line 181 or soon after you will find a use directive. This is trying to use a template called windows-desktop which you have not defined properly anywhere. Have a look in /etc/nagios/global/templates/templates.cfg and if you can't find the template, then define one. You can probably copy another host template which is already in that file. If, however, you think the template is already there, you might find you've forgotten to put register 0 to indicate it's a template, and you might also have put host_name windows-desktop which would be wrong for a template definition. It should be name windows-desktop. Without seeing your actual files I can't say for sure. If you're still stuck, please post the relevent parts of /etc/nagios/objects/kfsi/kfsi-hosts.cfg and /etc/nagios/global/templates/templates.cfg so we can see where the problem lies. hth, Jim Thank you Jim... you were correct; there was no template windows-desktop defined in templates.cfg. DOH! I should have seen that. Been working at it so much I guess I need to back up and breath. Thanks again Jim for the perspective. Brain is working again. :) -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Raw check command for host 'host' was NULL - aborting
Hello I am getting this error when trying to run Check_host_alive on some of my hosts configured in nagios . I have 307 hosts in status Up and 41 in status : Pending when i try to force a host check i get the an error in the debug log . nagios.debug : Scheduling a forced, active check of host 'host'@ Fri Mar 20 11:44:15 2009 [1237549155.082602] [016.2] [pid=15384] Scheduling new host check event. [1237549155.082939] [016.0] [pid=15384] Attempting to run scheduled check of host 'host': check options=0, latency=0.082000 [1237549155.082958] [016.0] [pid=15384] ** Running async check of host 'host'... [1237549155.083001] [016.0] [pid=15384] Checking host 'host'... [1237549155.083036] [016.2] [pid=15384] Adjusting check attempt number for host 'host': current attempt=1/2, state=0, state type=1 [1237549155.083051] [016.2] [pid=15384] New check attempt number = 1 [1237549155.083085] [016.0] [pid=15384] Raw check command for host 'host' was NULL - aborting. [1237549155.083109] [016.1] [pid=15384] Unable to run scheduled host check at this time I tried to google this and got some very confusing hits on code changes need to be done . Can anyone explain in simple way how to fix this issue ? Thanks -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Raw check command for host 'host' was NULL - aborting
On Mar 20, 2009, at 6:43 AM, Assaf Flatto wrote: Hello I am getting this error when trying to run Check_host_alive on some of my hosts configured in nagios . [1237549155.083085] [016.0] [pid=15384] Raw check command for host 'host' was NULL - aborting. [1237549155.083109] [016.1] [pid=15384] Unable to run scheduled host check at this time I tried to google this and got some very confusing hits on code changes need to be done . Can anyone explain in simple way how to fix this issue ? On the face of it, this is saying that you don't have a check_command specified for the host. Can you verify and post the host{} definition and any templates it uses? -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Separate traffic type ?
On Mar 20, 2009, at 5:26 AM, czezz wrote: I have Cisco router with interface int0. This is 10 Mb link where 2 types of traffic is: - VoIP - DATA Does Nagios is able to monitor separatly VoIP traffic and data traffic on that one interface ? This is a pretty vague question. If this is just a single interface and the traffic is not separated out by vlan, then certainly no; it's all just data to the router. If it is separated out by vlan then you need to determine if the router reports them separately via SNMP as well. If it does then you need to locate a plugin that you can specify a specific OID or interface name to check; there are a few at nagiosexchange.org that can... -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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 with two view
Hi, I have nagios 3.0.3 on a FreeBsd server... I check over 700 host of which 600 of pruduction (7x7 and 24x24) and 100 development in office hours ... I wish to have two different views one for production server (ex: https://host/nagios/production) and one for development server (ex: https://host/nagios/devel)... Do you have any suggestions? Create two instance? Sorry for my english...bye -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] nagios with two view
On Mar 20, 2009, at 7:58 AM, Gian Paolo Buono wrote: Hi, I have nagios 3.0.3 on a FreeBsd server... I check over 700 host of which 600 of pruduction (7x7 and 24x24) and 100 development in office hours ... I wish to have two different views one for production server (ex: https://host/nagios/production) and one for development server (ex: https://host/nagios/devel)... Do you have any suggestions? Create two instance? No need... If you just want to have two different groupings, create two hostgroups and assign hosts to their respective group. If you want to limit the views (i.e. production contacts only see production servers), then you'll need to enable Authorization/ Authentication for nagios. When that is configured, users must log in and can only see hosts and services that they are contacts for (you can use role accounts that everyone knows). -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] NAGIOSGRAPH not graphing
I don't want to be a pest about this; I'm pulling teeth trying to get this to work. Does anyone have a clue how to get this working? I went out and bought the Nagios, System and Network Monitoring book by Wolfgang Barth last night for a reference. Chapter 19 talks about Nagiosgraph. After reading through the first few sections showing you how to set up Nagiosgraph, it looks almost identical to the INSTALL instructions that comes with the Nagsiosgraph package. After looking at the graphs again this morning, it looks like some of the hosts (like PING) had data on the graphs for a short period of time last night and, then, nothing again. What is going on? What am I missing? Why did it work for a short period of time and, then, not? Eric Chatham -Original Message- From: Eric Chatham [mailto:echat...@broadvox.net] Sent: Thursday, March 19, 2009 15:29 To: Patrick Morris Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] NAGIOSGRAPH not graphing Hi Patrick, Here are my answers. I hope they give some insight as to the problem. Thank you. Have you checked out the logs? Is there anything in them? Here is a sample of my /var/log/nagiosgraph.log file. I had the debugging level at (4). I don't see any INSERT into information though: Thu Mar 19 13:34:42 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 0.35 ms perfdata: Thu Mar 19 13:34:52 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 99.64 ms perfdata: Have you tried running the insert command manually to see what happens? When I run the insert.pl command manually I get this. [root@ ~ sbin]# /usr/local/lib/nagios/insert.pl . . . . Unquoted string procs may clash with future reserved word at (eval 1) line 139. Unquoted string procs may clash with future reserved word at (eval 1) line 140. Unquoted string smtp may clash with future reserved word at (eval 1) line 145. Unquoted string response may clash with future reserved word at (eval 1) line 146. Unquoted string swap may clash with future reserved word at (eval 1) line 152. Unquoted string swapfree may clash with future reserved word at (eval 1) line 153. Unquoted string swapwarn may clash with future reserved word at (eval 1) line 154. Unquoted string swapcrit may clash with future reserved word at (eval 1) line 155. Unquoted string swapmax may clash with future reserved word at (eval 1) line 156. Unquoted string procs may clash with future reserved word at (eval 1) line 162. Unquoted string users may clash with future reserved word at (eval 1) line 163. Unquoted string uwarn may clash with future reserved word at (eval 1) line 164. Unquoted string ucrit may clash with future reserved word at (eval 1) line 165. Unquoted string zombie may clash with future reserved word at (eval 1) line 170. Unquoted string zombies may clash with future reserved word at (eval 1) line 171. Unquoted string bps may clash with future reserved word at (eval 1) line 177. Is it creating RRD files where it's supposed to? Is there data in them? [root@ ~sbin]# ls -l /usr/local/nagios/nagiosgraph/rrd/ total 80 drwxrwxrwx 2 nagios nagios 4096 Mar 12 14:30 $ drwxrwxrwx 2 nagios nagios 4096 Mar 12 14:39 ___ drwxr-xr-x 2 apache apache 4096 Mar 13 15:48 host1 drwxr-xr-x 2 apache apache 4096 Mar 13 15:48 host2 drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 localhost drwxr-xr-x 2 apache apache 4096 Mar 13 15:48 nagiosserver drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 ny_sap01 drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 ny_sap02 drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 ny_transactional_DB drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 reach_media [root@ ~ sbin]# ls -l /usr/local/nagios/nagiosgraph/rrd/reach_media/ total 156 -rwxrwxrwx 1 nagios nagios 47624 Mar 12 15:08 PING___ping.rrd -rwxrwxrwx 1 nagios nagios 47624 Mar 12 15:08 PING___ping.rrd_max -rwxrwxrwx 1 nagios nagios 47624 Mar 12 15:08 PING___ping.rrd_min The graph template displays on the page. That's it though. There is no data displaying. According to the last modified date in reach_media, the graph was last updated on the 12th, the day I installed the program. Shouldn't the last modified date be now, since the graph continually is updated by insert.pl? Eric Chatham -Original Message- From: Patrick Morris [mailto:patrick.mor...@hp.com] Sent: Thursday, March 19, 2009 14:42 To: Eric Chatham Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] NAGIOSGRAPH not graphing Hi Eric! On Thu, 19 Mar 2009, Eric Chatham wrote: Please, can someone help me with this? I installed Nagios 3.0 and Nagiosgraph on a server with CentOS 5.1 i386 version installed. I am the point now trying to get the graphs to poll PING data. There is nothing on the graphs. What is wrong? I double checked the installation (which I followed
Re: [Nagios-users] NAGIOSGRAPH not graphing
I have some similar problem, I have run insert.pl manually and ir return this: *readline() on closed filehandle PERFLOG at /usr/local/nagios/etc/nagiosgraph/ngshared.pm line 797* I went to /usr/local/nagios/etc/nagiosgraph/ngshared.pm line 797 and it says: 788 sub inputdata () { 789 my @inputlines; 790 if ( $ARGV[0] ) { 791 @inputlines = $ARGV[0]; 792 } elsif ( defined $Config{perflog} ) { 793 if (-s $Config{perflog}) { 794 my $worklog = $Config{perflog} . .nagiosgraph; 795 rename($Config{perflog}, $worklog); 796 open PERFLOG, $worklog; 797 while (PERFLOG) { 798 push @inputlines, $_; 799 } 800 close PERFLOG; 801 unlink($worklog); 802 } I'm sure I configure logs for perfdata correctly: *service_perfdata_file* in nagios.cfg is the same file that *perflog* in nagiosgraph.conf. And I'm sure I put all path correctly in any file. I use nagiosgraph 1.2.1 -- Sergio Ariel de la Campa Saiz Administrador Red UH Eric Chatham wrote: Hi Patrick, Here are my answers. I hope they give some insight as to the problem. Thank you. Have you checked out the logs? Is there anything in them? Here is a sample of my /var/log/nagiosgraph.log file. I had the debugging level at (4). I don't see any INSERT into information though: Thu Mar 19 13:34:42 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 0.35 ms perfdata: Thu Mar 19 13:34:52 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr: PING output: PING OK - Packet loss = 0%, RTA = 99.64 ms perfdata: Have you tried running the insert command manually to see what happens? When I run the insert.pl command manually I get this. [root@ ~ sbin]# /usr/local/lib/nagios/insert.pl . . . . Unquoted string procs may clash with future reserved word at (eval 1) line 139. Unquoted string procs may clash with future reserved word at (eval 1) line 140. Unquoted string smtp may clash with future reserved word at (eval 1) line 145. Unquoted string response may clash with future reserved word at (eval 1) line 146. Unquoted string swap may clash with future reserved word at (eval 1) line 152. Unquoted string swapfree may clash with future reserved word at (eval 1) line 153. Unquoted string swapwarn may clash with future reserved word at (eval 1) line 154. Unquoted string swapcrit may clash with future reserved word at (eval 1) line 155. Unquoted string swapmax may clash with future reserved word at (eval 1) line 156. Unquoted string procs may clash with future reserved word at (eval 1) line 162. Unquoted string users may clash with future reserved word at (eval 1) line 163. Unquoted string uwarn may clash with future reserved word at (eval 1) line 164. Unquoted string ucrit may clash with future reserved word at (eval 1) line 165. Unquoted string zombie may clash with future reserved word at (eval 1) line 170. Unquoted string zombies may clash with future reserved word at (eval 1) line 171. Unquoted string bps may clash with future reserved word at (eval 1) line 177. Is it creating RRD files where it's supposed to? Is there data in them? [root@ ~sbin]# ls -l /usr/local/nagios/nagiosgraph/rrd/ total 80 drwxrwxrwx 2 nagios nagios 4096 Mar 12 14:30 $ drwxrwxrwx 2 nagios nagios 4096 Mar 12 14:39 ___ drwxr-xr-x 2 apache apache 4096 Mar 13 15:48 host1 drwxr-xr-x 2 apache apache 4096 Mar 13 15:48 host2 drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 localhost drwxr-xr-x 2 apache apache 4096 Mar 13 15:48 nagiosserver drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 ny_sap01 drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 ny_sap02 drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 ny_transactional_DB drwxrwxrwx 2 nagios nagios 4096 Mar 12 15:08 reach_media [root@ ~ sbin]# ls -l /usr/local/nagios/nagiosgraph/rrd/reach_media/ total 156 -rwxrwxrwx 1 nagios nagios 47624 Mar 12 15:08 PING___ping.rrd -rwxrwxrwx 1 nagios nagios 47624 Mar 12 15:08 PING___ping.rrd_max -rwxrwxrwx 1 nagios nagios 47624 Mar 12 15:08 PING___ping.rrd_min The graph template displays on the page. That's it though. There is no data displaying. According to the last modified date in reach_media, the graph was last updated on the 12th, the day I installed the program. Shouldn't the last modified date be now, since the graph continually is updated by insert.pl? Eric Chatham -Original Message- From: Patrick Morris [mailto:patrick.mor...@hp.com] Sent: Thursday, March 19, 2009 14:42 To: Eric Chatham Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] NAGIOSGRAPH not graphing Hi Eric! On Thu, 19
[Nagios-users] Storing Historical Data into Oracle?
Hi all, I'm new to Nagios and was wondering about possible strategies for storing service / host check results in an Oracle database. I'm aware of an Oracle extension to NDOUtils (https://www.nagiosforge.org/gf/project/ndoutils_oracle/) but I believe that it is in a pre-alpha state, which makes it unsuitable for my particular scenario (which will be the production-level monitoring of about 200 business-critical hosts with 10+ services on each). I would be happy to be corrected on this point, but as I said, I'm very new to Nagios and so I'm making some guesses here. Anyway, let's say I decide to go the route of catching the service check results into my database manually, where would be the best place to start? I'm envisioning some sort of script or service which INSERTs into the Oracle database after each service/host check is performed. Does Nagios support this sort of functionality? Thanks very much folks, I appreciate any help you can offer, Chris -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Storing Historical Data into Oracle?
On Mar 20, 2009, at 8:48 AM, Christopher McAtackney wrote: to start? I'm envisioning some sort of script or service which INSERTs into the Oracle database after each service/host check is performed. Does Nagios support this sort of functionality? Yes, nagios can run a custom script after every host/service check using the ochp and ocsp options -- http://nagios.sourceforge.net/docs/3_0/configmain.html#obsess_over_hosts http://nagios.sourceforge.net/docs/3_0/configmain.html#obsess_over_services It's most often used for Distributed Monitoring but can be used for anything. It's been very reliable in my experience. -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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 using MIBs
On Mar 19, 2009, at 5:33 PM, The Noob wrote: Hello, Someone knows how to check Failover Status On bluecoat ? In fact Bluecoat send a syslog when it changes states Master to backup but it does not send any snmp trap. SO I search an OID to pool the failover status . Can you help me ? I've done a quick search through the SGOS4 mibs and I can't find that they expose that status through SNMP. I've found it to be pretty normal that they don't expose many BlueCoat specific things... If you're sysloging to a remote host, you could use one of the check_log* plugins to monitor that log file for the alert... -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] check_smtp und SMTPS
Hi Folks, I am trying to check a mailserver using SSL: ./check_smtp -H my.server.tld -S -p 465 CRITICAL - Socket timeout after 10 seconds ./check_tcp -H my.server.tld -p 465 TCP OK - 0.002 second response time on port 465|time=0.001616s;;; 0.00;10.00 SMTPS ist in productive use on that server, as you can see check_tcp can reach the port, but check_smtp claims not to reach the SMTPS service. I have googled a lot and found that I am not the only one with this problem, but found no solution. Any takers? Thanks in advance, Dirk -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Storing Historical Data into Oracle?
Thanks Marc, I'll take a look into those options and see if I can make use of them for logging to Oracle. Cheers, Chris 2009/3/20 Marc Powell m...@ena.com: On Mar 20, 2009, at 8:48 AM, Christopher McAtackney wrote: to start? I'm envisioning some sort of script or service which INSERTs into the Oracle database after each service/host check is performed. Does Nagios support this sort of functionality? Yes, nagios can run a custom script after every host/service check using the ochp and ocsp options -- http://nagios.sourceforge.net/docs/3_0/configmain.html#obsess_over_hosts http://nagios.sourceforge.net/docs/3_0/configmain.html#obsess_over_services It's most often used for Distributed Monitoring but can be used for anything. It's been very reliable in my experience. -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Need high frequency ping checks
Hello, At my organization, our monitoring requirements for our client's WAN interfaces is to ping them once per second. I am using Nagios 2.10 (bundled with Groundwork VM 5.2.1). I have set interval_length to 1 in nagios.cfg. Nagios starts to ping once per second, but then stops for 20-25 seconds at a time before resuming. Is there any way to have Nagios ping evenly once per second? I am attaching the nagios.cfg and copying the relevant portions of it below. Thanks for your help, Todd # SLEEP TIME #sleep_time=1 sleep_time=1 # SERVICE INTER CHECK DELAY METHOD #service_inter_check_delay_method=s service_inter_check_delay_method=n # MAX SERVICE CHECK SPREAD max_service_check_spread=30 # SERVICE INTERLEAVE FACTOR #service_interleave_factor=s service_interleave_factor=1 # MAX CONCURRENT CHECKS max_concurrent_checks=0 # SERVICE REAPER FREQUENCY #service_reaper_frequency=10 service_reaper_frequency=1 # HOST INTER CHECK DELAY METHOD #host_inter_check_delay_method=s host_inter_check_delay_method=n # MAX HOST CHECK SPREAD max_host_check_spread=30 # INTERVAL LENGTH #intevel_length=60 interval_length=1 # AUTO RESCHEDULE CHECKS # auto_reschedule_checks= auto_reschedule_checks=0 # AUTO RESCHEDULING INTERVAL auto_rescheduling_interval=30 # AUTO RESCHEDULING WINDOW auto_rescheduling_window=180 # USE AGRESSIVE HOST CHECKING # use_agressive_host_checking= #use_agressive_host_checking=1 # ENABLE FLAP DETECTION # enable_flap_detection= ##GROUNDWORK# #GW #GW nagios.cfg generated 2009-03-17 13:04:14 by mbs from monarch.cgi nagios 2.x #GW ##GROUNDWORK# # LOG FILE log_file=/usr/local/groundwork/nagios/var/nagios.log # OBJECT CONFIGURATION FILE(S) cfg_file=/usr/local/groundwork/nagios/etc/check_commands.cfg cfg_file=/usr/local/groundwork/nagios/etc/contact_groups.cfg cfg_file=/usr/local/groundwork/nagios/etc/contact_templates.cfg cfg_file=/usr/local/groundwork/nagios/etc/contacts.cfg cfg_file=/usr/local/groundwork/nagios/etc/escalation_templates.cfg cfg_file=/usr/local/groundwork/nagios/etc/extended_host_info.cfg cfg_file=/usr/local/groundwork/nagios/etc/extended_host_info_templates.cfg cfg_file=/usr/local/groundwork/nagios/etc/extended_service_info.cfg cfg_file=/usr/local/groundwork/nagios/etc/extended_service_info_templates.cfg cfg_file=/usr/local/groundwork/nagios/etc/host_dependencies.cfg cfg_file=/usr/local/groundwork/nagios/etc/host_escalations.cfg cfg_file=/usr/local/groundwork/nagios/etc/host_templates.cfg cfg_file=/usr/local/groundwork/nagios/etc/hostgroups.cfg cfg_file=/usr/local/groundwork/nagios/etc/hosts.cfg cfg_file=/usr/local/groundwork/nagios/etc/misccommands.cfg cfg_file=/usr/local/groundwork/nagios/etc/service_dependencies.cfg cfg_file=/usr/local/groundwork/nagios/etc/service_dependency_templates.cfg cfg_file=/usr/local/groundwork/nagios/etc/service_escalations.cfg cfg_file=/usr/local/groundwork/nagios/etc/service_groups.cfg cfg_file=/usr/local/groundwork/nagios/etc/service_templates.cfg cfg_file=/usr/local/groundwork/nagios/etc/services.cfg cfg_file=/usr/local/groundwork/nagios/etc/time_periods.cfg # OBJECT CACHE FILE object_cache_file=/usr/local/groundwork/nagios/var/objects.cache # RESOURCE FILE resource_file=/usr/local/groundwork/nagios/etc/resource.cfg # TEMP FILE temp_file=/usr/local/groundwork/nagios/var/nagios.tmp # STATUS FILE status_file=/usr/local/groundwork/nagios/var/status.log # AGGREGATE STATUS UPDATES aggregate_status_updates=1 # STATUS UPDATE INTERVAL status_update_interval=15 # NAGIOS USER nagios_user=nagios # NAGIOS GROUP nagios_group=nagios # ENABLE NOTIFICATIONS enable_notifications=0 # EXECUTE SERVICE CHECKS execute_service_checks=1 # ACCEPT PASSIVE SERVICE CHECKS accept_passive_service_checks=1 # EXECUTE HOST CHECKS execute_host_checks=1 # ACCEPT PASSIVE HOST CHECKS accept_passive_host_checks=1 # ENABLE EVENT HANDLERS enable_event_handlers=1 # LOG ROTATION METHOD log_rotation_method=d # LOG ARCHIVE PATH log_archive_path=/usr/local/groundwork/nagios/var/archives # CHECK EXTERNAL COMMANDS check_external_commands=1 # COMMAND CHECK INTERVAL command_check_interval=1 # COMMAND FILE command_file=/usr/local/groundwork/nagios/var/spool/nagios.cmd # DOWNTIME FILE downtime_file=/usr/local/groundwork/nagios/var/nagiosdowntime.log # COMMENT FILE comment_file=/usr/local/groundwork/nagios/var/nagioscomment.log # LOCK FILE lock_file=/usr/local/groundwork/nagios/var/nagios.lock # RETAIN STATE INFORMATION retain_state_information=1 # STATE RETENTION FILE state_retention_file=/usr/local/groundwork/nagios/var/nagiosstatus.sav # RETENTION UPDATE INTERVAL retention_update_interval=60 # USE RETAINED PROGRAM STATE use_retained_program_state=1 # USE RETAINED SCHEDULING INFO use_retained_scheduling_info=1 # USE SYSLOG use_syslog=0 # LOG
Re: [Nagios-users] check_smtp und SMTPS
On Mar 20, 2009, at 9:57 AM, Dirk H. Schulz wrote: Hi Folks, I am trying to check a mailserver using SSL: ./check_smtp -H my.server.tld -S -p 465 CRITICAL - Socket timeout after 10 seconds ./check_tcp -H my.server.tld -p 465 TCP OK - 0.002 second response time on port 465|time=0.001616s;;; 0.00;10.00 SMTPS ist in productive use on that server, as you can see check_tcp can reach the port, but check_smtp claims not to reach the SMTPS service. It seems to work as advertised. What do you see with verbose mode for check_smtp -- $ ./check_smtp -H myserver -S -p 587 -v 220 myserver ESMTP Postfix SMTP OK - 0.088 sec. response time, 220 2.0.0 Ready to start TLS IPELINING 250-SIZE 5120 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN |time=0.087640s;;;0.00 -- Marc -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] Need high frequency ping checks
2009/3/20 Todd Blum to...@mbsnetinc.com: Hello, At my organization, our monitoring requirements for our client's WAN interfaces is to ping them once per second. That begs the question - why do they want to ping them once per second? If it is because they want to know the very instant a ping is dropped, you're probably best off writing your own script to do that (and forget using Nagios for it). If it's because they want detailed stats on how reliable their network is I'd approach it a different way... You could write a script which pings every second, and every minute sends a passive check to Nagios showing how many of the 60 pings in the last minute were lost. Nagios can then process these in its own time and alert on whatever criteria are appropriate. Nagios simply isn't designed for second-by-second instrumentation. It's designed for alerting within a human time-frame. hth, Jim -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] job announcement - Senior Technical Operations Leader
Senior Technical Operations Leader Location: Mountain View, CA NetBase, a well-funded, fast growing company with an impressive roster of top-tier Fortune 500 companies, seeks to grow its team with a hands-on senior technical operations leader. NetBase delivers Content Intelligence solutions that harness value and insight from any source, including the Internet, premium and enterprise content. NetBase reads every sentence inside documents, linguistically understands the content and powers breakthrough search experiences with relevant answers and insights. NetBase is being used by organizations that are recognized as global leaders in healthcare, publishing, manufacturing, consumer packaged goods and government such as Elsevier, Clorox, 3M, The U.S. Army, Pepsi and many more. We are looking for an operations leader who can establish strong cross-functional working relationships within a growing organization. Candidates should have experience hiring, growing, and managing change in an operations group. A strong business acumen and negotiation skills are essential. We seek individuals with experience in the search space and/or high-volume document processing, including experience in handling large amounts of data--up to Petabytes. We are a lean organization so candidates who share in our belief of scaling with commodity hardware will be preferred. Experience with consumer-facing web applications is a plus. Job Requirements: * 8+ years technical operations experience * Experience with large scale systems (Internet search preferred) * Demonstrated ability to build complex operations with commodity hardware * Expertise in production network planning and real-time network diagnosis * High degree of integrity and drive * MS in Computer Science or equivalent experience * Available to address operations issues on a moment's notice * Experience scaling to multiple operations centers * Excellent negotiator Technologies in Use: * Linux (Suse) * BSD Unix * nginx, apache, tomcat * Lucene * Java * Jgroups * mySQL * nagios * python Authorization to work in the US and relocation are required. To apply: Please submit a resume and cover letter via email to t...@netbase.com with the subject of Senior Technical Operations Leader. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] job announcement - Software Architect
Software Architect Location: Mountain View, CA NetBase, a well-funded, fast growing company with an impressive roster of top-tier Fortune 500 companies, seeks to grow its team with a hands-on software architect. NetBase delivers Content Intelligence solutions that harness value and insight from any source, including the Internet, premium and enterprise content. NetBase reads every sentence inside documents, linguistically understands the content and powers breakthrough search experiences with relevant answers and insights. NetBase is being used by organizations that are recognized as global leaders in healthcare, publishing, manufacturing, consumer packaged goods and government such as Elsevier, Clorox, 3M, The U.S. Army, Pepsi and many more. We seek a hands-on architect with extensive background in software development to translate business objectives into a technology vision and articulated architecture. Candidates should have a strong track record of designing and developing multi-tiered web applications that are high quality, scalable, and reliable. We prefer generalists who have driven feature development at every layer of the stack. We have a strong preference for someone with expertise in text search engines such as Lucene or FAST who have customized these systems and deployed them on a large-scale. Also preferred are candidates with experience in applying NLP and Machine Learning to solving problems for Fortune 500 end-users. Candidates should have excellent interpersonal skills and a track record of increasing responsibility. Those who are skilled in organizational needs assessment and driving change via consensus will fit in well on our team. Candidates should be able to establish credibility quickly and provide mentorship to team members. We target talented individuals who are resourceful, flexible, and aggressive about learning new things. We are an Agile development shop. We do test-driven design and rapid iterative development and are looking for a like-minded architect to help us build for the future. Requirements: * 10 years work experience with 3+ as an architect * Experience in large-scale, distributed, web-based applications * Agile development methodology * Deep knowledge of Java * MS or PhD in CS * Database design and SQL (MySQL a plus) * Excellent interpersonal and communications skills * High degree of integrity and drive * Expertise in Adobe Flex, Flash and Python are nice to have Authorization to work in the US and relocation are required. To apply: Please submit a resume and cover letter via email to t...@netbase.com with the subject of Software Architect. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] job announcement - Senior Technical Operations Leader
On Fri, Mar 20, 2009 at 15:41, Michael Osofsky mosof...@netbase.com wrote: Senior Technical Operations Leader Location: Mountain View, CA NetBase, a well-funded, fast growing company with an impressive roster of top-tier Fortune 500 companies, seeks to grow its team with a hands-on senior technical operations leader. ... How do I unsubscribe from nagios-jobs list? It doesn't seem to be split from nagios-users. (Thanks) Allan -- all...@chickenandporn.com 金鱼 http://linkedin.com/in/goldfish Sent from: New York NY United States. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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] pnp4nagios or nagiosgraph?
I wanna to graph plugin output. What do I should install? -- Sergio Ariel de la Campa Saiz Administrador Red UH -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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 or nagiosgraph?
2009/3/20 Sergio Ariel sergio.ar...@iris.uh.cu: I wanna to graph plugin output. What do I should install? pnp4nagios or you could install nagiosgraph :-) I use pnp4nagios myself. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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