From sghosh at sghosh.org Wed Jun 1 01:17:08 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 31 May 2005 19:17:08 -0400 (EDT) Subject: Monitoring the rpc.statd processes In-Reply-To: <429CA079.5020005@its-lehmann.de> References: <9C63A4713C4E3342B90428CE44806A73EC3656@PHSXMB5.partners.org> <429CA079.5020005@its-lehmann.de> Message-ID: use check_rpc to see what services are being reported by portmapper as running. Uses rpcinfo under the hood. -sg On Tue, 31 May 2005, Arno Lehmann wrote: > Hello, > > Kaplan, Andrew H. wrote: > >> Thanks for your reply. The command syntax that I used was the following: >> >> check_procs -s -w 60 -c 120 rpc.statd >> >> The output that I encountered onscreen was as follows: >> >> OK - 0 processes running with STATE = -w >> >> If I am reading this properly, the check_procs plugin verified that >> rpc.statd >> was running and a positive response was returned within one minute. If that >> is >> the case, will the plugin return a critical response if there is no >> response >> from the daemon within two minutes? > > You should try check_procs --help. > > Here (plugins v. 1.4) I read the help quite differently. > > And, if you want to check a remote network service, check_procs won't help > you. In that case, either checking via snmp or ssh or a simple shell scrip > using rpcinfo could give you the necessary info. > > Arno >> -----Original Message----- >> From: Andreas Ericsson [mailto:ae at op5.se] Sent: Tuesday, May 31, 2005 10:39 >> AM >> To: Kaplan, Andrew H. >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Monitoring the rpc.statd processes >> >> Kaplan, Andrew H. wrote: >> >>> Hi there - >>> >>> >>> >>> I want to monitor the rpc.statd process and be notified if it isn't >>> running. >> >> The >> >>> process is started via the /etc/init.d/nfslock >>> script. What plugin can I use to accomplish this? Thanks. >>> >> >> >> check_procs >> > > -- ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rick.vandermieden at orangemail.nl Wed Jun 1 09:44:32 2005 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Wed, 1 Jun 2005 09:44:32 +0200 Subject: exclude host in services.cfg?? Message-ID: <88001FC5C453764CA6597FB29874249402F430ED@SVEX03.dutchtone.nl> I succesfully upgraded to Nagios 2.0b3 yesterday, and it is indeed working as I wanted. Regards, Rick -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Tuesday, May 31, 2005 16:44 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] exclude host in services.cfg?? jeff vier wrote: > On Mon, 2005-05-30 at 16:40 +0200, Mieden, Rick van der wrote: > >> Hmmm, I'm working with nagios 1.2, and it's not working with your >> solution. (It'comes with an error that he can't find host !xyz :) ) >> > > > not "! xyz" but "!xyz" > > no spaces, ever, in host_names or hostgroup_names This functionality was introduced with Nagios 2, so it won't work in versions prior to that. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 =========================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email. The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email. =========================================================== ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jun 1 11:45:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Jun 2005 11:45:05 +0200 Subject: GPL Licencing In-Reply-To: <035c01c5668c$79d2a630$c26710ac@sneftechnologies.fr> References: <035c01c5668c$79d2a630$c26710ac@sneftechnologies.fr> Message-ID: <429D83A1.6040305@op5.se> Davy Gaussen wrote: > Hi, > > I would like to know how exactly Nagios can be sell, or more > precisely, the Nagios configuration sell. Therefore, can I modify the > main page of the Nagios Web Interface for my client (like replace > Nagios logo by its own, change colors, etc) ? > Yes you can. The GPL explicitly states that such things must be allowed (it's a freedom). Deviations from this requires addendums to the GPL for the package itself. Nagios has no such addendums, and any and all such addendums violates the GPL, making a whole bunch of legalese necessary to make other parts of the GPL apply. What you cannot do is to make changes to the sourcecode, sell the altered version and not make the changed sources available through the same distribution media as the non-source package. HTML, being a non-compiled visrep-language is always in source-code form so this doesn't apply. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagiosadmin at snef.fr Wed Jun 1 11:29:57 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Wed, 1 Jun 2005 11:29:57 +0200 Subject: GPL Licencing Message-ID: <035c01c5668c$79d2a630$c26710ac@sneftechnologies.fr> Hi, I would like to know how exactly Nagios can be sell, or more precisely, the Nagios configuration sell. Therefore, can I modify the main page of the Nagios Web Interface for my client (like replace Nagios logo by its own, change colors, etc) ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernd at firmix.at Wed Jun 1 12:39:27 2005 From: bernd at firmix.at (Bernd Petrovitsch) Date: Wed, 01 Jun 2005 12:39:27 +0200 Subject: GPL Licencing In-Reply-To: <035c01c5668c$79d2a630$c26710ac@sneftechnologies.fr> References: <035c01c5668c$79d2a630$c26710ac@sneftechnologies.fr> Message-ID: <1117622367.6885.22.camel@tara.firmix.at> On Wed, 2005-06-01 at 11:29 +0200, Davy Gaussen wrote: [...] > Therefore, can I modify the main page of the Nagios Web Interface for > my client (like replace Nagios logo by its own, change colors, etc) ? Yes, you can change anything you want. However you must provide the changes to your customer (as well as the original code etc.) either on your own or at the customer's request without significant additional costs. Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mailinglists at belfin.ch Wed Jun 1 14:34:44 2005 From: mailinglists at belfin.ch (Philipp Snizek) Date: Wed, 1 Jun 2005 14:34:44 +0200 Subject: Web GUI view customizable per admin contact ? Message-ID: Hi I've seen that Nagios can handle multiple admin contacts. is it possible to configure Nagios in a way that on the web gui it only displays the hosts/services/hostgroups/servicegroups that belong to that particluar administrator? Or does nagios show the whole world to a successfully logged on admin no matter what hosts he is configured contact for? Thank you & regards Philipp ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Wed Jun 1 16:24:23 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 1 Jun 2005 10:24:23 -0400 Subject: A call for your nagios configs! Message-ID: I'm one of "those people" who separate every single component of every single configuration file into a bunch of config files in multiple directories. Is that still useful for your project, or are you looking for the classic-style configuration files? Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Taylor Dondich Sent: May 29, 2005 12:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A call for your nagios configs! You may know me as the creator of Fruity, a popular nagios configuration tool (http://fruity.sf.net). Well, because Fruity is growing, and the backbone of the current import utility uses the archaic naupy tool, I now need to write a new configuration file parser to import more attributes found in nagios configuration files. Since configuration files differ greatly across different people's installations, I'm asking for people's configuration files. If you'd like, go ahead and change address lines or any other specific identification tags in there so as not to give any network information away. The big part is in the design of the file and the tricks everyone uses. This will help Fruity and other tools obtain a strong parser that can import configuration data effectively. Thanks! Taylor ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From RLAdams at Kelsey-Seybold.com Wed Jun 1 16:42:32 2005 From: RLAdams at Kelsey-Seybold.com (Adams, Russell L.) Date: Wed, 1 Jun 2005 09:42:32 -0500 Subject: A call for your nagios configs! In-Reply-To: References: Message-ID: <20050601144232.GC20128@pingu.ksnet.com> Send yours in, not everyone is into monolithic config files. Most of my stuff is config directories, and NACE depends on the config directory idea. Russell On Wed, Jun 01, 2005 at 10:24:23AM -0400, Daniel maher wrote: > I'm one of "those people" who separate every single component of every single configuration file into a bunch of config files in multiple directories. > > Is that still useful for your project, or are you looking for the classic-style configuration files? > > > Daniel Maher > System Engineer > ACE TECHNOLOGY INC. > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Taylor Dondich > Sent: May 29, 2005 12:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] A call for your nagios configs! > > You may know me as the creator of Fruity, a popular nagios > configuration tool (http://fruity.sf.net). Well, because Fruity is > growing, and the backbone of the current import utility uses the > archaic naupy tool, I now need to write a new configuration file > parser to import more attributes found in nagios configuration files. > > Since configuration files differ greatly across different people's > installations, I'm asking for people's configuration files. If you'd > like, go ahead and change address lines or any other specific > identification tags in there so as not to give any network information > away. The big part is in the design of the file and the tricks > everyone uses. > > This will help Fruity and other tools obtain a strong parser that can > import configuration data effectively. > > Thanks! > > Taylor > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From davidj at synaq.com Wed Jun 1 17:01:08 2005 From: davidj at synaq.com (David Jacobson) Date: Wed, 01 Jun 2005 17:01:08 +0200 Subject: Last Check time 1970 ? In-Reply-To: <59B15593F41BD24591D59436E7226EAD01F65B07@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD01F65B07@Khiphx2.khimetrics.com> Message-ID: <1117638068.30488.33.camel@jakes.synaq.com> Hi Nathan, That was exactly it. You sometimes miss the obvious when you cut and paste 1000's of hosts and one was bad. Thanks a lot :) Regards, David On Wed, 2005-06-01 at 08:00 -0700, Nathan Oyler wrote: > I had this problem when I had other people adding hosts into the config > files, and they forgot to add a check_command. > > Drove me nuts for awhile when I missed the obvious. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of David Jacobson > > Sent: Monday, May 30, 2005 6:37 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Last Check time 1970 ? > > > > Hi There, > > > > I have been trying to troubleshoot a problem for weeks where network > > outages would not work with some servers but others would work okay. > > > > I think I have finally spotted this problem : > > > > For some of my host checks I see : > > > > Last Check Time: 01-01-1970 02:00:00 > > > > Those hosts are configured exactly the same as other hosts which have > > been checked recently and I for the life of me cannot figure out why > > this host will not be checked? I am using Nagios 2.0.2b3 any > > comments/suggestions would be appreciated. > > > > -- > > Regards, > > > > David Jacobson > > Technical Director > > SYNAQ (Pty) Ltd > > > > Tel: 0860 0 SYNAQ (79627) > > Direct: 011 290 6388 > > Fax: 011 290 6389 > > Cell: 083 235 0760 > > Mail: davidj at synaq.com > > Web: http://www.synaq.com > > > > Key Fingerprint > > 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Regards, David Jacobson Technical Director SYNAQ (Pty) Ltd Tel: 0860 0 SYNAQ (79627) Direct: 011 290 6388 Fax: 011 290 6389 Cell: 083 235 0760 Mail: davidj at synaq.com Web: http://www.synaq.com Key Fingerprint 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From marc at ena.com Wed Jun 1 17:00:00 2005 From: marc at ena.com (Marc Powell) Date: Wed, 1 Jun 2005 10:00:00 -0500 Subject: Web GUI view customizable per admin contact ? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Philipp Snizek > Sent: Wednesday, June 01, 2005 7:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Web GUI view customizable per admin contact ? > > Hi > > I've seen that Nagios can handle multiple admin contacts. is it > possible to configure Nagios in a way that on the web gui it only > displays the hosts/services/hostgroups/servicegroups that belong to > that particluar administrator? Or does nagios show the whole world to > a successfully logged on admin no matter what hosts he is configured > contact for? With CGI authorization enabled logged in users are only able to see hosts and services that they are contacts for. http://nagios.sourceforge.net/docs/1_0/cgiauth.html Authenticated contacts* are granted the following permissions for each service for which they are contacts (but not for services for which they are not contacts)... * Authorization to view service status information * Authorization to view service configuration information * Authorization to view history and notifications for the service * Authorization to issue service commands Authenticated contacts* are granted the following permissions for each host for which they are contacts (but not for hosts for which they are not contacts)... * Authorization to view host status information * Authorization to view host configuration information * Authorization to view history and notifications for the host * Authorization to issue host commands * Authorization to view status information for all services on the host * Authorization to view configuration information for all services on the host * Authorization to view history and notification information for all services on the host * Authorization to issue commands for all services on the host -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From noyler at khimetrics.com Wed Jun 1 17:00:19 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 1 Jun 2005 08:00:19 -0700 Subject: Last Check time 1970 ? Message-ID: <59B15593F41BD24591D59436E7226EAD01F65B07@Khiphx2.khimetrics.com> I had this problem when I had other people adding hosts into the config files, and they forgot to add a check_command. Drove me nuts for awhile when I missed the obvious. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of David Jacobson > Sent: Monday, May 30, 2005 6:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Last Check time 1970 ? > > Hi There, > > I have been trying to troubleshoot a problem for weeks where network > outages would not work with some servers but others would work okay. > > I think I have finally spotted this problem : > > For some of my host checks I see : > > Last Check Time: 01-01-1970 02:00:00 > > Those hosts are configured exactly the same as other hosts which have > been checked recently and I for the life of me cannot figure out why > this host will not be checked? I am using Nagios 2.0.2b3 any > comments/suggestions would be appreciated. > > -- > Regards, > > David Jacobson > Technical Director > SYNAQ (Pty) Ltd > > Tel: 0860 0 SYNAQ (79627) > Direct: 011 290 6388 > Fax: 011 290 6389 > Cell: 083 235 0760 > Mail: davidj at synaq.com > Web: http://www.synaq.com > > Key Fingerprint > 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From blakekrone at gmail.com Wed Jun 1 18:18:45 2005 From: blakekrone at gmail.com (Blake Krone) Date: Wed, 1 Jun 2005 10:18:45 -0600 Subject: WMI: Ok from command line, fails from Nagios (NC_Net v2.26 check_nt_net v1.22) In-Reply-To: References: Message-ID: ./check_nt_net -H $HOSTNAME$ -v WMICHECK -l "cimv2^UserName^Win32_ComputerSystem" That command works from the command line when I run it with an IP, but when it gets executed out of Nagios it does not work, gives "Client - ERROR: Cannot Process use * for root namespace list." Basically what I want to eventually do is check to see if "admin" is logged in or not, we have a few processes that require admin to be actually logged into the machine. Thanks in advance! ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Wed Jun 1 18:07:07 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 1 Jun 2005 12:07:07 -0400 Subject: monitor memory usage on w2k/2k3 server? Message-ID: Hello all, I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin fails entirely, while Manubulon's only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. Does anybody have any ideas? Thanks! Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com HYPERLINK "http://www.acetechnology.com"www.acetechnology.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomvanoverbeke at yahoo.co.uk Wed Jun 1 18:27:32 2005 From: tomvanoverbeke at yahoo.co.uk (tom van overbeke) Date: Wed, 1 Jun 2005 17:27:32 +0100 (BST) Subject: cpu load: difference between uptime and vmstat output Message-ID: <20050601162732.88795.qmail@web26504.mail.ukl.yahoo.com> Hi, I thought that using the check_load monitor, my monitoring was safe with respect to the responsiveness of the server, but i was apparently wrong. I just had a case (checkpoint firewall running on solaris 8) where the box was unbearably slow ( a firewall rule that triggered too many packets or somesuch), while the output from the 'check_load' monitor (which uses the output from uptime) was showing quite normal results. however, we did see afterwards on our mrtg monitoring that the % user time spent by the cpu was abnormally high. Are some of you relying solely on the check_load monitor, or are you using other checks as well, and if so, which ones ? thanks, Tom. ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Bill_Akins at emoryhealthcare.org Wed Jun 1 18:38:34 2005 From: Bill_Akins at emoryhealthcare.org (Bill Akins) Date: Wed, 01 Jun 2005 12:38:34 -0400 Subject: monitor memory usage on w2k/2k3 server? Message-ID: You may want to look at Nagios WSC (http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=137) Requires no client. You may want to check the archives, I vaguely remember a thread about security implications using wmi about 3 months ago... >>> "Daniel maher" 6/1/2005 12:07 PM >>> Hello all, I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin fails entirely, while Manubulon's only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. Does anybody have any ideas? Thanks! Daniel MaherSystem EngineerACE TECHNOLOGY INC.100, boul. Alexis-Nihon, suite 593St-Laurent (Qu?bec) H4M 2P1Tel: 514-485-2307Fax: 514-485-3494dmaher at acetechnology.comwww.acetechnology.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailinglists at belfin.ch Wed Jun 1 18:30:23 2005 From: mailinglists at belfin.ch (Philipp Snizek) Date: Wed, 1 Jun 2005 18:30:23 +0200 Subject: Web GUI view customizable per admin contact ? Message-ID: > http://nagios.sourceforge.net/docs/1_0/cgiauth.html Thanks a lot! Configured it! Great! Just great! Philipp ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From blakekrone at gmail.com Wed Jun 1 18:42:46 2005 From: blakekrone at gmail.com (Blake Krone) Date: Wed, 1 Jun 2005 10:42:46 -0600 Subject: WMI: Ok from command line, fails from Nagios (NC_Net v2.26 check_nt_net v1.22) In-Reply-To: References: Message-ID: Just ran another check, when I run the command from the CLI logged in as nagios it does not work, I can get like the NC_Net client version and other items, but not WMI queries. Are there permissions that I need to set on the NC_Net client side of things to allow these? -Blake On 6/1/05, Blake Krone wrote: > I'm running it on CLI as root, but the permissions are the same as > every other check command > > -blake > > On 6/1/05, Bill Akins wrote: > > Are you running the command as root at the CLI or as the user nagios runs > > under? Could be a rights issue. > > > > >>> Blake Krone 6/1/2005 12:18 PM >>> > > > > ./check_nt_net -H $HOSTNAME$ -v WMICHECK -l > > "cimv2^UserName^Win32_ComputerSystem" > > > > That command works from the command line when I run it with an IP, but > > when it gets executed out of Nagios it does not work, gives "Client - > > ERROR: Cannot Process use * for root namespace list." > > > > Basically what I want to eventually do is check to see if "admin" is > > logged in or not, we have a few processes that require admin to be > > actually logged into the machine. > > > > Thanks in advance! > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! directly into your own > > Applications - visit > > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From blakekrone at gmail.com Wed Jun 1 18:35:46 2005 From: blakekrone at gmail.com (Blake Krone) Date: Wed, 1 Jun 2005 10:35:46 -0600 Subject: WMI: Ok from command line, fails from Nagios (NC_Net v2.26 check_nt_net v1.22) In-Reply-To: References: Message-ID: I'm running it on CLI as root, but the permissions are the same as every other check command -blake On 6/1/05, Bill Akins wrote: > Are you running the command as root at the CLI or as the user nagios runs > under? Could be a rights issue. > > >>> Blake Krone 6/1/2005 12:18 PM >>> > > ./check_nt_net -H $HOSTNAME$ -v WMICHECK -l > "cimv2^UserName^Win32_ComputerSystem" > > That command works from the command line when I run it with an IP, but > when it gets executed out of Nagios it does not work, gives "Client - > ERROR: Cannot Process use * for root namespace list." > > Basically what I want to eventually do is check to see if "admin" is > logged in or not, we have a few processes that require admin to be > actually logged into the machine. > > Thanks in advance! > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Wed Jun 1 18:51:05 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 1 Jun 2005 12:51:05 -0400 Subject: monitor memory usage on w2k/2k3 server? Message-ID: Thank you for your suggestion; unfortunately, it requires that additional software be installed on a Windows machine in order to function. The plugin calls a .NET-enabled webserver, where a series of specially-crafted asp / vb scripts (included with the plugin) are located. The .NET webserver then performs the queries on behalf of the plugin, and returns the results. So while it does not require a client to be installed on each machine, it does require additional software to be installed on a system which is not the Nagios box. Unfortunately, this doesn't work for me either. I basically cannot modify any machine except the Nagios box. Good idea, though! Daniel Maher System Engineer ACE TECHNOLOGY INC. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bill Akins Sent: June 1, 2005 12:39 PM To: Daniel maher; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? You may want to look at Nagios WSC (HYPERLINK "http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1%5bp_view%5d=137"http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=137) Requires no client. You may want to check the archives, I vaguely remember a thread about security implications using wmi about 3 months ago... >>> "Daniel maher" 6/1/2005 12:07 PM >>> Hello all, I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin fails entirely, while Manubulon's only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. Does anybody have any ideas? Thanks! Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com HYPERLINK "http://www.acetechnology.com"www.acetechnology.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From blakekrone at gmail.com Wed Jun 1 19:15:41 2005 From: blakekrone at gmail.com (Blake Krone) Date: Wed, 1 Jun 2005 11:15:41 -0600 Subject: WMI: Ok from command line, fails from Nagios (NC_Net v2.26 check_nt_net v1.22) In-Reply-To: References: Message-ID: silly typo, nevermind! Now if I could only get it to do a warn/critical if a user is not logged in. On 6/1/05, Blake Krone wrote: > Just ran another check, when I run the command from the CLI logged in > as nagios it does not work, I can get like the NC_Net client version > and other items, but not WMI queries. > > Are there permissions that I need to set on the NC_Net client side of > things to allow these? > > -Blake > > On 6/1/05, Blake Krone wrote: > > I'm running it on CLI as root, but the permissions are the same as > > every other check command > > > > -blake > > > > On 6/1/05, Bill Akins wrote: > > > Are you running the command as root at the CLI or as the user nagios runs > > > under? Could be a rights issue. > > > > > > >>> Blake Krone 6/1/2005 12:18 PM >>> > > > > > > ./check_nt_net -H $HOSTNAME$ -v WMICHECK -l > > > "cimv2^UserName^Win32_ComputerSystem" > > > > > > That command works from the command line when I run it with an IP, but > > > when it gets executed out of Nagios it does not work, gives "Client - > > > ERROR: Cannot Process use * for root namespace list." > > > > > > Basically what I want to eventually do is check to see if "admin" is > > > logged in or not, we have a few processes that require admin to be > > > actually logged into the machine. > > > > > > Thanks in advance! > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by Yahoo. > > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > > Search APIs Find out how you can build Yahoo! directly into your own > > > Applications - visit > > > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at 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 > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jun 1 18:53:53 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Jun 2005 18:53:53 +0200 Subject: monitor memory usage on w2k/2k3 server? In-Reply-To: References: Message-ID: <429DE821.3050106@op5.se> Daniel maher wrote: > Hello all, > > > > I am looking for a way to monitor the usage of physical RAM on > Windows 2000 (and 2003) servers. I have tried Xavier Dusart's > check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. > Dusart's plugin fails entirely, while Manubulon's only appears to > pull out the virtual memory, not the physical RAM. What makes this > tricky (I suppose), is that I cannot install any agents on the > Windows servers; this means no NSClient or any such thing. > > > > Does anybody have any ideas? > Modify check_snmp_storage.pl to require the proper OID's. > > > Thanks! > > > > > > Daniel Maher > > System Engineer > > ACE TECHNOLOGY INC. > > 100, boul. Alexis-Nihon, suite 593 > > St-Laurent (Qu?bec) H4M 2P1 > > Tel: 514-485-2307 > > Fax: 514-485-3494 > > HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com > > HYPERLINK "http://www.acetechnology.com"www.acetechnology.com > > > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Wed Jun 1 19:13:38 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 1 Jun 2005 13:13:38 -0400 Subject: monitor memory usage on w2k/2k3 server? Message-ID: Modifying check_snmp_storage.pl was, of course, my first instinct as well. Unfortunately, it is apparently easier said than done. To explain; A quick reference at mibDepot.com for storage-related items reveals the hrStorage object group, which is exactly where one would expect to find storage-related items. Items of note include the hrStorageSize and hrStorageUsed tabs. So far so good, as these are the key items that check_snmp_storage.pl uses to poll for data. Here's where the problem lies, however. An snmpwalk of a number of Windows machines in-house reveals hrStorage entries for the physical hard disks, as well as for virtual memory - but not for physical memory. Another interesting item is the hrMemorySize scalar, which does in fact report the total size of the physical memory, but does not appear to have a "usage" counterpart anywhere. Thus, determining the total amount of RAM is easy, but figuring out how much of that is being used - that's the kicker. Finally, the hrStorageRam object, while vaguely tantalising, does not appear at all during an snmpwalk of any of the target machines.. thus it remains a mystery entirely. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: June 1, 2005 12:54 PM To: Daniel maher Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? > > Does anybody have any ideas? > Modify check_snmp_storage.pl to require the proper OID's. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From zsitfa at axelero.hu Wed Jun 1 19:30:41 2005 From: zsitfa at axelero.hu (Horvath Tamas) Date: Wed, 1 Jun 2005 19:30:41 +0200 Subject: Question about NagVis Message-ID: <200506011730.j51HUfHH070792@dio.mail.t-online.hu> Hi List! I know that my question is not related exactly Nagios, but I don't speak German, so I don't read information on NagVis site. I installed Nagvis 0.2.1. My system is Debian 3.1 and I use Apache2-mpm-worker. When I tried to access it I got a pop up window to download the demo map file. I think I need some kind of PHP package. But there is no requirements section of Nagvis documentation. Can somebody tell me what PHP Debian package do I need to use NagVis? Thanks in advance, Tamas! ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Wed Jun 1 19:30:57 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 1 Jun 2005 13:30:57 -0400 (EDT) Subject: monitor memory usage on w2k/2k3 server? In-Reply-To: References: Message-ID: Without installing any client - you are dependent on getting access to the WMI provider on the box to retrieve the performance data for Win32_PerfFormattedData_PerfOS_Memory object. It provied AvailableBytes, AvailableKBytes, and AvailableMBytes. To get to WMI, you will need a Nagios client (NRPE_NT or NC_NET) on a Windows system (not the target) and appropriate authorization from this proxy system to the target. (Domain/AD membership eases this a bit.) -sg On Wed, 1 Jun 2005, Daniel maher wrote: > Thank you for your suggestion; unfortunately, it requires that > additional software be installed on a Windows machine in order to > function. The plugin calls a .NET-enabled webserver, where a series of > specially-crafted asp / vb scripts (included with the plugin) are > located. The .NET webserver then performs the queries on behalf of the > plugin, and returns the results. > > > > So while it does not require a client to be installed on each machine, > it does require additional software to be installed on a system which is > not the Nagios box. Unfortunately, this doesn't work for me either. I > basically cannot modify any machine except the Nagios box. > > > > Good idea, though! > > > > > > Daniel Maher > > System Engineer > > ACE TECHNOLOGY INC. > > > > > > _____ > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bill Akins > Sent: June 1, 2005 12:39 PM > To: Daniel maher; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? > > > > You may want to look at Nagios WSC (HYPERLINK "http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1%5bp_view%5d=137"http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=137) Requires no client. You may want to check the archives, I vaguely remember a thread about security implications using wmi about 3 months ago... > > >>>> "Daniel maher" 6/1/2005 12:07 PM >>> > > Hello all, > > > > I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin fails entirely, while Manubulon's only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. > > > > Does anybody have any ideas? > > > > Thanks! > > > > > > Daniel Maher > > System Engineer > > ACE TECHNOLOGY INC. > > 100, boul. Alexis-Nihon, suite 593 > > St-Laurent (Qu?bec) H4M 2P1 > > Tel: 514-485-2307 > > Fax: 514-485-3494 > > HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com > > HYPERLINK "http://www.acetechnology.com"www.acetechnology.com > > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 > > > > -- From dmaher at acetechnology.com Wed Jun 1 19:33:19 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 1 Jun 2005 13:33:19 -0400 Subject: monitor memory usage on w2k/2k3 server? Message-ID: Basically, what I'm looking for is a pure SNMP way to tell how much RAM is being used on a Windows box. No WMI provision, no proxying, no nothing - just good old fashioned SNMP. That's it. :) Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: June 1, 2005 1:31 PM To: Daniel maher Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] monitor memory usage on w2k/2k3 server? Without installing any client - you are dependent on getting access to the WMI provider on the box to retrieve the performance data for Win32_PerfFormattedData_PerfOS_Memory object. It provied AvailableBytes, AvailableKBytes, and AvailableMBytes. To get to WMI, you will need a Nagios client (NRPE_NT or NC_NET) on a Windows system (not the target) and appropriate authorization from this proxy system to the target. (Domain/AD membership eases this a bit.) -sg On Wed, 1 Jun 2005, Daniel maher wrote: > Thank you for your suggestion; unfortunately, it requires that > additional software be installed on a Windows machine in order to > function. The plugin calls a .NET-enabled webserver, where a series of > specially-crafted asp / vb scripts (included with the plugin) are > located. The .NET webserver then performs the queries on behalf of the > plugin, and returns the results. > > > > So while it does not require a client to be installed on each machine, > it does require additional software to be installed on a system which is > not the Nagios box. Unfortunately, this doesn't work for me either. I > basically cannot modify any machine except the Nagios box. > > > > Good idea, though! > > > > > > Daniel Maher > > System Engineer > > ACE TECHNOLOGY INC. > > > > > > _____ > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bill Akins > Sent: June 1, 2005 12:39 PM > To: Daniel maher; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? > > > > You may want to look at Nagios WSC (HYPERLINK "http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1%5bp_view%5d=137"http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=137) Requires no client. You may want to check the archives, I vaguely remember a thread about security implications using wmi about 3 months ago... > > >>>> "Daniel maher" 6/1/2005 12:07 PM >>> > > Hello all, > > > > I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin fails entirely, while Manubulon's only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. > > > > Does anybody have any ideas? > > > > Thanks! > > > > > > Daniel Maher > > System Engineer > > ACE TECHNOLOGY INC. > > 100, boul. Alexis-Nihon, suite 593 > > St-Laurent (Qu?bec) H4M 2P1 > > Tel: 514-485-2307 > > Fax: 514-485-3494 > > HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com > > HYPERLINK "http://www.acetechnology.com"www.acetechnology.com > > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 > > > > -- -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.0 - Release Date: 30/05/2005 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Wed Jun 1 19:43:56 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 1 Jun 2005 13:43:56 -0400 (EDT) Subject: monitor memory usage on w2k/2k3 server? In-Reply-To: References: Message-ID: With M$ implementation of snmp, you may be SOL... How come the restriction on remote WMI? you get a lot more data through it that snmp. -sg On Wed, 1 Jun 2005, Daniel maher wrote: > > Basically, what I'm looking for is a pure SNMP way to tell how much RAM > is being used on a Windows box. No WMI provision, no proxying, no > nothing - just good old fashioned SNMP. > > That's it. :) > > > Daniel Maher > System Engineer > ACE TECHNOLOGY INC. > > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: June 1, 2005 1:31 PM > To: Daniel maher > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] monitor memory usage on w2k/2k3 server? > > > Without installing any client - you are dependent on getting access to the > WMI provider on the box to retrieve the performance data for > Win32_PerfFormattedData_PerfOS_Memory object. It provied AvailableBytes, > AvailableKBytes, and AvailableMBytes. > > To get to WMI, you will need a Nagios client (NRPE_NT or NC_NET) on a > Windows system (not the target) and appropriate authorization from > this proxy system to the target. (Domain/AD membership eases this a bit.) > > -sg > > > On Wed, 1 Jun 2005, Daniel maher wrote: > >> Thank you for your suggestion; unfortunately, it requires that >> additional software be installed on a Windows machine in order to >> function. The plugin calls a .NET-enabled webserver, where a series of >> specially-crafted asp / vb scripts (included with the plugin) are >> located. The .NET webserver then performs the queries on behalf of the >> plugin, and returns the results. >> >> >> >> So while it does not require a client to be installed on each machine, >> it does require additional software to be installed on a system which is >> not the Nagios box. Unfortunately, this doesn't work for me either. I >> basically cannot modify any machine except the Nagios box. >> >> >> >> Good idea, though! >> >> >> >> >> >> Daniel Maher >> >> System Engineer >> >> ACE TECHNOLOGY INC. >> >> >> >> >> >> _____ >> >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bill Akins >> Sent: June 1, 2005 12:39 PM >> To: Daniel maher; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? >> >> >> >> You may want to look at Nagios WSC (HYPERLINK "http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1%5bp_view%5d=137"http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=137) Requires no client. You may want to check the archives, I vaguely remember a thread about security implications using wmi about 3 months ago... >> >> >>>>> "Daniel maher" 6/1/2005 12:07 PM >>> >> >> Hello all, >> >> >> >> I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin fails entirely, while Manubulon's only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. >> >> >> >> Does anybody have any ideas? >> >> >> >> Thanks! >> >> >> >> -- ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sxanrr at yahoo.com Wed Jun 1 19:46:06 2005 From: sxanrr at yahoo.com (Sxan) Date: Wed, 1 Jun 2005 10:46:06 -0700 (PDT) Subject: NRPE Agent and Setup Message-ID: <20050601174606.28896.qmail@web32204.mail.mud.yahoo.com> Hey all, I'm just about to start trying to use the NRPE agent for monitoring some remote servers (Linux right now and maybe Windows in the future), but I'm just not clear on how it works. Does the NRPE Agent run on the remote server and then executes plug ins on that remote server, while the Nagios server connects to the remote server and gets the results? Or I guess, I just want to know exactly what has to be installed where for me to be able to use the NRPE agent. i.e. 1) NRPE Agent gets installed on the remote server 2) 3) 4) Restart the Nagios process and it's done. etc... Just something like that is really what is needed, the configuration details I'm sure I could figure out. It's just unclear as to what goes where in order for this to work. I'd be happy if someone could just point me to a decent how-to also, thanks in advace. ~Jim __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Jun 1 20:25:39 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 1 Jun 2005 14:25:39 -0400 (EDT) Subject: NRPE Agent and Setup In-Reply-To: <20050601174606.28896.qmail@web32204.mail.mud.yahoo.com> References: <20050601174606.28896.qmail@web32204.mail.mud.yahoo.com> Message-ID: On Wed, 1 Jun 2005, Sxan wrote: > > > Hey all, > > I'm just about to start trying to use the NRPE agent for monitoring some remote > servers (Linux right now and maybe Windows in the future), but I'm just not clear on > how it works. Does the NRPE Agent run on the remote server and then executes > plug ins on that remote server, while the Nagios server connects to the remote server > and gets the results? Or I guess, I just want to know exactly what has to be installed > where for me to be able to use the NRPE agent. > i.e. > > 1) NRPE Agent gets installed on the remote server > 2) > 3) > 4) Restart the Nagios process and it's done. > etc... > > Just something like that is really what is needed, the configuration details I'm sure > I could figure out. It's just unclear as to what goes where in order for this to work. I'd be > happy if someone could just point me to a decent how-to also, thanks in advace. > > ~Jim > 1. install check_nrpe on the nagios server with the other plugins 2. install NRPE on the target 3. install plugins on the target 4. configure nrpe.cfg on target for allowed commands and nagios servers 5. run check_nrpe against target to verify functionality 6. add check_nrpe based commands inthe nagios' configuration to monitor target -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 1 20:39:55 2005 From: marc at ena.com (Marc Powell) Date: Wed, 1 Jun 2005 13:39:55 -0500 Subject: NRPE Agent and Setup Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sxan > Sent: Wednesday, June 01, 2005 12:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE Agent and Setup > > > > Hey all, > > I'm just about to start trying to use the NRPE agent for monitoring some > remote > servers (Linux right now and maybe Windows in the future), but I'm just > not clear on > how it works. Does the NRPE Agent run on the remote server and then > executes > plug ins on that remote server, while the Nagios server connects to the > remote server > and gets the results? Or I guess, I just want to know exactly what has to > be installed > where for me to be able to use the NRPE agent. > i.e. > > 1) NRPE Agent gets installed on the remote server > 2) > 3) > 4) Restart the Nagios process and it's done. > etc... 1) NRPE and desired nagios plugins installed on remote host 2) check_nrpe installed on nagios server 3) appropriate check_nrpe commands are added to nagios commands/service definitions 4) nagios calls check_nrpe command for service which contacts NRPE daemon on remote host which runs the plugin and returns the result to check_nrpe which returns the result to nagios. > Just something like that is really what is needed, the configuration > details I'm sure > I could figure out. It's just unclear as to what goes where in order for > this to work. I'd be > happy if someone could just point me to a decent how-to also, thanks in > advace. It's not challenging... The section titled "Configuring Things On The Nagios Host" in the README and the sample nrpe.cfg are pretty straightforward. If you have difficulties understanding particular activities you can always search google or ask here. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hokie99cpe at gmail.com Wed Jun 1 20:28:56 2005 From: hokie99cpe at gmail.com (Dan Davis) Date: Wed, 1 Jun 2005 14:28:56 -0400 Subject: monitor memory usage on w2k/2k3 server? In-Reply-To: References: Message-ID: I was never able to find a pure out-of-the-box SNMP method for getting useful information from Win2k servers. I use http://www.wtcs.org/informant/download.htm now to get access to that data. I know, from your previous emails, that this is not likely to be an option, just wanted to put it out there. -Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wim at karowim.org Wed Jun 1 22:38:26 2005 From: wim at karowim.org (Wim De Geeter) Date: Wed, 1 Jun 2005 22:38:26 +0200 Subject: (no subject) Message-ID: <20050601223826.1d858ylko4g0s848@wim.dyns.be> Hello, Small question. Is it possible to have a Parent Host without checking anything for this host. Only the child hosts need to be checked. Thanks ---------------------------------------------------------------- http://www.karowim.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Jun 1 23:07:58 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 1 Jun 2005 17:07:58 -0400 (EDT) Subject: (no subject) In-Reply-To: <20050601223826.1d858ylko4g0s848@wim.dyns.be> References: <20050601223826.1d858ylko4g0s848@wim.dyns.be> Message-ID: On Wed, 1 Jun 2005, Wim De Geeter wrote: > > > Hello, > > Small question. Is it possible to have a Parent Host without > checking anything for this host. Only the child hosts need to be > checked. > > Thanks No - all hosts need at least one service. You can use check_dummy to always return true for theis service... -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tonye at billy.demon.nl Wed Jun 1 21:13:24 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Wed, 01 Jun 2005 21:13:24 +0200 Subject: NRPE Agent and Setup In-Reply-To: <20050601174606.28896.qmail@web32204.mail.mud.yahoo.com> References: <20050601174606.28896.qmail@web32204.mail.mud.yahoo.com> Message-ID: <1117653204.5724.102.camel@localhost> ons, 01.06.2005 kl. 19.46 skrev Sxan: > I'm just about to start trying to use the NRPE agent for monitoring > some remote > servers (Linux right now and maybe Windows in the future), but I'm > just not clear on > how it works. Does the NRPE Agent run on the remote server and then > executes > plug ins on that remote server, while the Nagios server connects to > the remote server > and gets the results? Just what isn't clear from the (somewhat limited) docs? The daemon on a remote note runs the nrpe daemon, the client runs the client with a call to the demon at the remote host, remote daemon carries out a check_* command, returns it to the calling client. All can be guarded with host/client access. Supposedly with SSL, but that last bit surpasses my understanding (it don't work, according to Ethereal, but the rest does). Client m/c has to have all the check_* modules in the default places, with /usr/local/nagios/etc determining where that is. Much configuration, but only one config per remote node and muc pleasure :) > Or I guess, I just want to know exactly what has to be installed > where for me to be able to use the NRPE agent. > i.e. > > 1) NRPE Agent gets installed on the remote server > 2) > 3) > 4) Restart the Nagios process and it's done. > etc... > > Just something like that is really what is needed, the configuration > details I'm sure > I could figure out. It's just unclear as to what goes where in order > for this to work. I'd be > happy if someone could just point me to a decent how-to also, thanks > in advace. [...] > 1) NRPE Agent gets installed on the remote server > 2) > 3) > 4) Restart the Nagios process and it's done. > etc... > > Just something like that is really what is needed, the configuration > details I'm sure > I could figure out. It's just unclear as to what goes where in order > for this to work. I'd be > happy if someone could just point me to a decent how-to also, thanks > in advace. AFAIK there's no howto. Hmmm ... - how did I ever get to know that ... services.cfg? Calling check_command? O.k., the command has first to be entered into check_command, after that then into services.cfg. In all of the above, I've found nagiosQL (web interface) an invaluable tool, but not for defining command infrastructure. Without a test machine I'd obviously never hat been to implement anything. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl Eg er bergenser og, eg, men, Trondheims-ordf?rer Marvin Wiseth: ?Bergenserne er flinke til ? gj?re mye ut av lite? (uttalte seg over 17. mai feiringen i?r, men gjelder sannsynligvis og dette mel mitt). ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stalkert at gmail.com Thu Jun 2 10:26:12 2005 From: stalkert at gmail.com (Joost Saanen) Date: Thu, 2 Jun 2005 10:26:12 +0200 Subject: check if host is alive with check_ssh Message-ID: <5aaf3959050602012626efaa78@mail.gmail.com> hi there, Anyone have an solution to monitor several servers behind a firewall? The only port which nagios may go through is the SSH port (port 22). At the moment I use the command 'check_ssh' to check if a host is alive, this doesn't work pretty good, because sometimes I get an host down alert: ***** Nagios ********************************* Notification Type: PROBLEM Host: testserver State: DOWN Address: 95.135.65.229 Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Thu Mar 31 09:24:42 CEST 2005 ************************************************ When I go to check the server there is no problem (the host is up). Also I never get any host up alert email. Anyone have a solution or know what goed wrong here? Thanks in advance .. regards, Joost ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Thu Jun 2 10:42:52 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 2 Jun 2005 10:42:52 +0200 Subject: AW: check if host is alive with check_ssh Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9149@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, the "Problem" with never getting a host UP Alert, has to be a setting in your contacts.cfg or your services.cfg oor your host.cfg, look at the manual for possible notification options. One possibility to check hosts behind a firewall, is to set up a dedicated Nagios behind this firewall, and use nsca to send to check results to your central Nagios. But the check_ssh thing should work, too. Are you using check_ssh in your host.cfg for check_host_alive? Maybe it's a IDS on your Firewall, that blocks the IP of your Nagios server, when there are to many connections? Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von Joost Saanen > Gesendet: Donnerstag, 2. Juni 2005 10:26 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] check if host is alive with check_ssh > > hi there, > > Anyone have an solution to monitor several servers behind a firewall? > The only port which nagios may go through is the SSH port (port 22). > At the moment I use the command 'check_ssh' to check if a host is > alive, this doesn't work pretty good, because sometimes I get an host > down alert: > > ***** Nagios ********************************* > > Notification Type: PROBLEM > Host: testserver > State: DOWN > Address: 95.135.65.229 > Info: CRITICAL - Plugin timed out after 10 seconds > > Date/Time: Thu Mar 31 09:24:42 CEST 2005 > ************************************************ > > When I go to check the server there is no problem (the host is up). > Also I never get any host up alert email. Anyone have a solution or > know what goed wrong here? Thanks in advance .. > > regards, > Joost > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vincent at kenic.or.ke Thu Jun 2 11:23:33 2005 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 02 Jun 2005 12:23:33 +0300 Subject: monitoring Root Partition.... Message-ID: <1117704213.1084.36.camel@vince> Hi All, I have two problems here: ) I'm using the 'check_local_disk' command to monitor the disk space on remote machines.... The problem is that I get the same value for all the remote servers....what could be the problem or what plugin/command should I use? Is there a plugin like check_remote_disk or should I come up with one? ) Defining a command on the service description: While defining a command, there's a line that reads: "command_line" and another that reads: "command_name", While defining a service, there's a line that reads: "check_command" How do you define a "check_command" given a "command_line"? e.g: given the "command_line": $USER1$/check_pop -H $HOSTADDRESS$, what would be the corresponding "check_command"? Do you use the command_name, which is "check_pop" in the above case? -- -vincent.... ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tonye at billy.demon.nl Thu Jun 2 11:04:12 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Thu, 02 Jun 2005 11:04:12 +0200 Subject: check if host is alive with check_ssh In-Reply-To: <5aaf3959050602012626efaa78@mail.gmail.com> References: <5aaf3959050602012626efaa78@mail.gmail.com> Message-ID: <1117703052.24008.7.camel@localhost> tor, 02.06.2005 kl. 10.26 skrev Joost Saanen: > Anyone have an solution to monitor several servers behind a firewall? > The only port which nagios may go through is the SSH port (port 22). > At the moment I use the command 'check_ssh' to check if a host is > alive, this doesn't work pretty good, because sometimes I get an host > down alert: > > ***** Nagios ********************************* > > Notification Type: PROBLEM > Host: testserver > State: DOWN > Address: 95.135.65.229 > Info: CRITICAL - Plugin timed out after 10 seconds > > Date/Time: Thu Mar 31 09:24:42 CEST 2005 > ************************************************ > > When I go to check the server there is no problem (the host is up). > Also I never get any host up alert email. Anyone have a solution or > know what goed wrong here? Thanks in advance .. nrpe? daemon + plugins on each remote server, check_nrpe plugin on the client, one port open in the firewall. This is no good for checking printers, switches or suchlike. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tonye at billy.demon.nl Thu Jun 2 12:11:56 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Thu, 02 Jun 2005 12:11:56 +0200 Subject: monitoring Root Partition.... In-Reply-To: <1117704213.1084.36.camel@vince> References: <1117704213.1084.36.camel@vince> Message-ID: <1117707116.24008.29.camel@localhost> tor, 02.06.2005 kl. 11.23 skrev Vincent Ngundi: > I have two problems here: > > ) I'm using the 'check_local_disk' command to monitor the disk space > on remote machines.... > > The problem is that I get the same value for all the remote > servers....what could be the problem or what plugin/command should I > use? Is there a plugin like check_remote_disk or should I come up > with one? You can't use Nagios to check remote machines without an auxiliary utility. Download and check out nrpe - it'll do what you need. > ) Defining a command on the service description: > > While defining a command, there's a line that reads: "command_line" > and another that reads: "command_name", > While defining a service, there's a line that reads: "check_command" > > How do you define a "check_command" given a "command_line"? In checkcommands.cfg command_line is the actual path to the plugin and the command parameters. command_name is the name it's known as in services.cfg. > e.g: given the "command_line": $USER1$/check_pop -H $HOSTADDRESS$, > what would be the corresponding "check_command"? in my checkcommands.cfg: define command { command_name check_pop command_line $USER1$/check_pop -H $HOSTADDRESS$ } > Do you use the command_name, which is "check_pop" in the above case? Yes, in services.cfg, possibly with extra parameters when needed. All of this is extensively documented and grepping and lessing around in the original install config directories will get you very far - it's how I learned. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pla at softflare.com Thu Jun 2 13:09:43 2005 From: pla at softflare.com (Paul L. Allen) Date: Thu, 02 Jun 2005 12:09:43 +0100 Subject: check if host is alive with check_ssh In-Reply-To: <5aaf3959050602012626efaa78@mail.gmail.com> References: <5aaf3959050602012626efaa78@mail.gmail.com> Message-ID: <20050602110943.25367.qmail@mullet.softflare.net> Joost Saanen writes: > Anyone have an solution to monitor several servers behind a firewall? > The only port which nagios may go through is the SSH port (port 22). > At the moment I use the command 'check_ssh' to check if a host is > alive, this doesn't work pretty good, because sometimes I get an host > down alert: Check_by_ssh is the obvious way to monitor services in this situation. However, there are some slight security risks to your monitored servers if somebody can become nagios on your monitoring server. Another solution is NSCA. For that to work you'll have to install nagios on a server behind the firewall and it uses NSCA to submit passive checks to your monitoring server. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ralf.strandell at auriamail.net Thu Jun 2 13:21:35 2005 From: ralf.strandell at auriamail.net (Ralf Strandell) Date: Thu, 2 Jun 2005 14:21:35 +0300 (EEST) Subject: Monitoring tool for a large enterprice? Is Nagios suitable to any degree? Message-ID: <24087666.1117711295809.JavaMail.dynamo@tetsuro.loopm.com> Hi, I'm new to Nagios and currently evaluating it's suitability for my professional needs. I have searched the internet for monitoring tools, but almost everything I can find seems to belong to the "simple yet powerful" category. I need something better. I have been using a heavily extended Big Brother monitoring system and it is not flexible and powerfull enough. Nagios might do. I don't know. I don't know how well Nagios works with MIBs and SNMP traps or whether it supports compound events etc. The documentation is extensive, but it's hard to find the relevant information. Thus I need to ask you. Sorry for a long email... What I need to monitor: ------------------------------------------------------ 1) NETWORK I need to monitor hundreds of Juniper/Cisco/Microsoft/other devices including routers, switches, firewalls, vpn gateways, dsl/isdn, dns-servers, dhcp-servers and uninterruptible power supplies using SNMP. I need to know about connectivity, reboots, uptime, cpu load, memory, bandwidth utilization (octets/time and % of max), traffic distribution *changes* (by protocol, by port), up/down interfaces and VPN tunnels, routing *changes* and alarms (traps) and UPS battery and electricity status. 2) HOSTS I need to monitor server parameters including connectivity, reboots, uptime, cpu load, memory, swapping, disk I/O, diskspace and services 3) APPLICATIONS Including databases (deadlocks, logs, free space...) and everything one could find in a modern big enterprises data center. 4) SERVICE LEVEL I also want to monitor the point-to-point bandwidth and response time (ping roundtrip, http response, general tcp connect, database connections). 5) BUSINESS PROCESSES (ABSTRACTION LAYER) I want some basic root cause analysis capability (ie. unreachable vs. down) and an abstraction layer between polls/traps and alerts. I want to define compound events that happen when several events coincide. Examples: Disk is more than 90% full more than 10 minutes. Primary network connection has been lost for more than 10 minutes or both the primary and backup connections have been down more than three minutes. Event A and B happened, but not C, and all this has lasted for more than 10 minutes and it is not sunday between 1am and 2am. These rules/scripts/compound events are important for my monitoring needs. I need to monitor a big enterprise with several data centers, complicated network topology and business systems comprising of several servers working together. ---------------------------------------------------------------- Plus... All this collected or deducted data should be stored in an event database and used for history reports, snapshot reports, service level reports, trends/graphics,... everything. Naturally it needs a web user interface with at least two user levels (admin, monitor) and several views (network view, business view...). Flexibility and manageability are more important than instant ease of use. These requirements rule out about 100% of the monitoring tools I have found. Please help. I'm lost. This would be used as a professional monitoring tool. It's a day job. Usually 5 x 8hrs, so I don't need anything "simple yet powerfull". It can also cost a bit. It can be hard to learn - no problem. So, do I have any other choice than HP OpenView or Tivoli Enterprise Console? What can nagios do for me? From stalkert at gmail.com Thu Jun 2 13:31:06 2005 From: stalkert at gmail.com (Joost Saanen) Date: Thu, 2 Jun 2005 13:31:06 +0200 Subject: schedule downtime every day/week Message-ID: <5aaf395905060204313a363718@mail.gmail.com> Hi. I know how I can schedule a downtime in Nagios. But I can't find how i configure a periodic downtime like: server A is going down for 10 minutes every friday at 5:00 pm. Anyone know if this is possible in Nagios? -- Met vriendelijke groeten, Joost Saanen ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From volker.aust at premiere.de Thu Jun 2 13:37:41 2005 From: volker.aust at premiere.de (vol) Date: Thu, 02 Jun 2005 13:37:41 +0200 Subject: monitor memory usage on w2k/2k3 server? In-Reply-To: References: Message-ID: <6.1.1.1.2.20050602132208.02806660@p-hh-ux05.premiere.de> Am 18:07 01.06.2005 schrieb Daniel maher: >Hello all, > >I am looking for a way to monitor the usage of physical RAM on Windows >2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl >plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin >fails entirely, while Manubulon's only appears to pull out the virtual >memory, not the physical RAM. What makes this tricky (I suppose), is that >I cannot install any agents on the Windows servers; this means no NSClient >or any such thing. > >Does anybody have any ideas? Hello Daniel, you can query W2K3 Server for physical memory. There is a table of storage entries (disks, virtual memory, physical memory) in the host resource MIB: 1.3.6.1.2.1.25.2.3.1.2.index hrStorageType 1.3.6.1.2.1.25.2.3.1.3.index hrStorageDesc 1.3.6.1.2.1.25.2.3.1.4.index hrStorageAllocUnits 1.3.6.1.2.1.25.2.3.1.5.index hrStorageSize 1.3.6.1.2.1.25.2.3.1.6.index hrStorageUsed with the type 25.2.1.2 type = physical mem for physical memory. You have to search for "25.2.1.2" in the "Type" field to get the index. Then you have to query "AllocUnits", "Size" and "Used" for this index and multiply "AllocUnits" and "Size" to get the physical memory size (IIRC in Bytes). By multiply "AllocUnits" and "Used" you get the used physical memory (IIRC in Bytes). This method unfortunately does not work for W2K. -vol -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidj at synaq.com Thu Jun 2 13:21:28 2005 From: davidj at synaq.com (David Jacobson) Date: Thu, 02 Jun 2005 13:21:28 +0200 Subject: Weird NSClient connectivity issues Message-ID: <1117711288.2990.20.camel@jakes.synaq.com> Hi There, I have one particular Windows server running NSClient that I can connect to on 1248/tcp 1 out of 5 times (roughly). So the service constantly flaps and none of the check results have ever gone through. On first thought, I assumed there may be another service using the port from time to time, but after further investigation I noticed I can connect to the server from other hosts perfectly besides the actual server that monitors the system. I have also somewhat ruled out networking issues as PING is extremely quick and passes through immediately from the Nagios box, anyone have a similar issue or know where I can start looking to debug this? Thanks in advance. -- Regards, David Jacobson Technical Director SYNAQ (Pty) Ltd Tel: 0860 0 SYNAQ (79627) Direct: 011 290 6388 Fax: 011 290 6389 Cell: 083 235 0760 Mail: davidj at synaq.com Web: http://www.synaq.com Key Fingerprint 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From al at its-lehmann.de Thu Jun 2 13:52:59 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 02 Jun 2005 13:52:59 +0200 Subject: Monitoring tool for a large enterprice? Is Nagios suitable to any degree? In-Reply-To: <24087666.1117711295809.JavaMail.dynamo@tetsuro.loopm.com> References: <24087666.1117711295809.JavaMail.dynamo@tetsuro.loopm.com> Message-ID: <429EF31B.4030500@its-lehmann.de> Hello, Ralf Strandell wrote: > Hi, > > I'm new to Nagios and currently evaluating it's suitability for my professional needs. Fine. > What I need to monitor: > ------------------------------------------------------ > 1) NETWORK > I need to monitor hundreds of Juniper/Cisco/Microsoft/other devices including routers, switches, firewalls, vpn gateways, dsl/isdn, dns-servers, dhcp-servers and uninterruptible power supplies using SNMP. Ok. > I need to know about connectivity, reboots, uptime, cpu load, memory, bandwidth utilization (octets/time and % of max), traffic distribution *changes* (by protocol, by port), up/down interfaces and VPN tunnels, routing *changes* and alarms (traps) and UPS battery and electricity status. Ok, as long as you plan to invest some efforts even in programming on your own. > > 2) HOSTS > I need to monitor server parameters including connectivity, reboots, uptime, cpu load, memory, swapping, disk I/O, diskspace and services Ok. > > 3) APPLICATIONS > Including databases (deadlocks, logs, free space...) and everything one could find in a modern big enterprises data center. Ok, but this might need some programming by yourself, too. > > 4) SERVICE LEVEL > I also want to monitor the point-to-point bandwidth and response time (ping roundtrip, http response, general tcp connect, database connections). Ok, to my knowledge, although I never applied those. > > 5) BUSINESS PROCESSES (ABSTRACTION LAYER) > I want some basic root cause analysis capability (ie. unreachable vs. down) and an abstraction layer between polls/traps and alerts. I want to define compound events that happen when several events coincide. Examples: Disk is more than 90% full more than 10 minutes. Primary network connection has been lost for more than 10 minutes or both the primary and backup connections have been down more than three minutes. Event A and B happened, but not C, and all this has lasted for more than 10 minutes and it is not sunday between 1am and 2am. These rules/scripts/compound events are important for my monitoring needs. I need to monitor a big enterprise with several data centers, complicated network topology and business systems comprising of several servers working together. Well, this might need some work, but seeing that nagios can be extended by any sort of event scripts and you can access the (relatively) raw data from its logs this should be possible. > ---------------------------------------------------------------- > > Plus... > > All this collected or deducted data should be stored in an event database and used for history reports, snapshot reports, service level reports, trends/graphics,... everything. Naturally it needs a web user interface with at least two user levels (admin, monitor) and several views (network view, business view...). Flexibility and manageability are more important than instant ease of use. Ok, to my knowledge - never tried this, but you can preocess the check outputs to insert them into a database. > > These requirements rule out about 100% of the monitoring tools I have found. Please help. I'm lost. :-) > This would be used as a professional monitoring tool. It's a day job. Usually 5 x 8hrs, so I don't need anything "simple yet powerfull". It can also cost a bit. It can be hard to learn - no problem. So, do I have any other choice than HP OpenView or Tivoli Enterprise Console? What can nagios do for me? Well, looking at your needs and your job description (and budget) I'd say it like this: Nagios can provide an extensive framework for your higher-level needs and supply almost all of the basic functionality. Now, I'm not billing you as a consultant :-) but after such a short description I'd say that given the above it should be possible to implement something that offers everything you need. You will need to spend some time studying nagios, discussing with the developers, and doing some scripting yourself. You will need to set up a number of monitoring hosts to distribute the workload (depending, of course, on the temporal detail you need). You will need - assuming you work alone - about two months for the basic monitoring and load distribution, and after that comes the setup of compound events and the sort of reporting you need. You will need a mangement that understands that its requests need funding, time, and discussion. In the end, you will have done a lot of the necessary work yourself, but you will have something that fits to your business, that was most probably less expensive in license costs and does not require more support than something commercial. And, even better, you will have given some valuable experiences and work to all Nagios users :-) To sum up - I think you can use nagios. Try it with one testing machine and set up some monitoring. Implement reports, notifications, and distributed monitoring in small steps. Spend the necessary time and money. Read and use the mailing lists. After some relatively short time you can decide yourself. Arno > > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Thu Jun 2 13:54:36 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 02 Jun 2005 13:54:36 +0200 Subject: schedule downtime every day/week In-Reply-To: <5aaf395905060204313a363718@mail.gmail.com> References: <5aaf395905060204313a363718@mail.gmail.com> Message-ID: <429EF37C.5010500@its-lehmann.de> Hello, Joost Saanen wrote: > Hi. > > I know how I can schedule a downtime in Nagios. But I can't find how i > configure a periodic downtime like: server A is going down for 10 > minutes every friday at 5:00 pm. Anyone know if this is possible in > Nagios? Not in Nagios itself, but you can use a simple script to supply the necessary data to the command file. his script could be run by cron, and it could take its input from some sort of database. There are examples around, iirc you will find something in nagiosexchange.org Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jstevensog at gmail.com Thu Jun 2 14:42:30 2005 From: jstevensog at gmail.com (John Stevens) Date: Thu, 2 Jun 2005 22:42:30 +1000 Subject: Probably I am missing something obvious..... Message-ID: Hi All, I have just installed nagios on a CentOS 4 box and I have a problem with check_ping and check_http plugins. When run as the nagios user they time out. If I run them sudo -u nagios as root, they work. What is the obvious thing I am missing here? Thanks in advance. ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stalkert at gmail.com Thu Jun 2 14:52:54 2005 From: stalkert at gmail.com (Joost Saanen) Date: Thu, 2 Jun 2005 14:52:54 +0200 Subject: schedule downtime every day/week In-Reply-To: <429EF37C.5010500@its-lehmann.de> References: <5aaf395905060204313a363718@mail.gmail.com> <429EF37C.5010500@its-lehmann.de> Message-ID: <5aaf39590506020552414f2560@mail.gmail.com> When I run sched_downtime I get the error: "Could not open Nagios Command Line." in the sched_downtime file i put this in the variabele NagiosCMD: $NagiosCMD = "/usr/bin"; Anyone could tell me what the commandline exactly is? On 6/2/05, Arno Lehmann wrote: > Hello, > > Joost Saanen wrote: > > > Hi. > > > > I know how I can schedule a downtime in Nagios. But I can't find how i > > configure a periodic downtime like: server A is going down for 10 > > minutes every friday at 5:00 pm. Anyone know if this is possible in > > Nagios? > > Not in Nagios itself, but you can use a simple script to supply the > necessary data to the command file. his script could be run by cron, and > it could take its input from some sort of database. There are examples > around, iirc you will find something in nagiosexchange.org > > Arno > > > -- > IT-Service Lehmann al at its-lehmann.de > Arno Lehmann http://www.its-lehmann.de > -- Met vriendelijke groeten, Joost Saanen ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lnaves at asc.edu Thu Jun 2 15:06:57 2005 From: lnaves at asc.edu (Larry Naves) Date: Thu, 2 Jun 2005 08:06:57 -0500 Subject: Probably I am missing something obvious..... In-Reply-To: References: Message-ID: <200506021306.j52D6ues003018@mail.asc.edu> Don't use check_ping it is too slow. Use check_icmp and don't forget to do the following: su - root chown root:root check_icmp chmod 4755 check_icmp su - nagios ./check_icmp -H localhost Larry Wayne Naves, Jr. "Jay" Systems Analyst Computer Sciences Corporation / Alabama Supercomputer Authority -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John Stevens Sent: Thursday, June 02, 2005 7:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Probably I am missing something obvious..... Hi All, I have just installed nagios on a CentOS 4 box and I have a problem with check_ping and check_http plugins. When run as the nagios user they time out. If I run them sudo -u nagios as root, they work. What is the obvious thing I am missing here? Thanks in advance. ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr______________________________________________ _ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From j.karsch at radeberger-gruppe.de Thu Jun 2 15:16:42 2005 From: j.karsch at radeberger-gruppe.de (Karsch, Jonas) Date: Thu, 2 Jun 2005 15:16:42 +0200 Subject: AW: schedule downtime every day/week Message-ID: Hi, if you dont realy need a scheduled downtime, you can define special time periods for those hosts: define timeperiod{ timeperiod_name 24x7rebootFriday22h alias 24 Hours A Day, 7 Days A Week, Reboot on Friday 22h 10 minutes sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-22:00,22:10-24:00 saturday 00:00-24:00 } and for your host: check_period 24x7rebootFriday22h Mit freundlichen Gr??en Jonas Karsch IT-Service Tel.: +49 - (0)30 - 68992 - 254 > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Joost > Saanen > Gesendet: Donnerstag, 2. Juni 2005 13:31 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] schedule downtime every day/week > > > Hi. > > I know how I can schedule a downtime in Nagios. But I can't find how i > configure a periodic downtime like: server A is going down for 10 > minutes every friday at 5:00 pm. Anyone know if this is possible in > Nagios? > > -- > Met vriendelijke groeten, > > Joost Saanen > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jun 2 15:41:39 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 2 Jun 2005 09:41:39 -0400 (EDT) Subject: Probably I am missing something obvious..... In-Reply-To: References: Message-ID: On Thu, 2 Jun 2005, John Stevens wrote: > Hi All, > I have just installed nagios on a CentOS 4 box and I have a problem > with check_ping and check_http plugins. When run as the nagios user > they time out. If I run them sudo -u nagios as root, they work. > > What is the obvious thing I am missing here? > > Thanks in advance. Both run fine on RHEL4 as normal users with SELinux set to WARN. Haven't tried it with SELinux set to Active -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jun 2 15:37:42 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 2 Jun 2005 09:37:42 -0400 (EDT) Subject: Monitoring tool for a large enterprice? Is Nagios suitable to any degree? In-Reply-To: <24087666.1117711295809.JavaMail.dynamo@tetsuro.loopm.com> References: <24087666.1117711295809.JavaMail.dynamo@tetsuro.loopm.com> Message-ID: On Thu, 2 Jun 2005, Ralf Strandell wrote: > Hi, > > I'm new to Nagios and currently evaluating it's suitability for my > professional needs. > > I have searched the internet for monitoring tools, but almost everything > I can find seems to belong to the "simple yet powerful" category. I need > something better. I have been using a heavily extended Big Brother > monitoring system and it is not flexible and powerfull enough. Nagios > might do. I don't know. I don't know how well Nagios works with MIBs and > SNMP traps or whether it supports compound events etc. The documentation > is extensive, but it's hard to find the relevant information. > > Thus I need to ask you. Sorry for a long email... > > What I need to monitor: > ------------------------------------------------------ 1) NETWORK I need > to monitor hundreds of Juniper/Cisco/Microsoft/other devices including > routers, switches, firewalls, vpn gateways, dsl/isdn, dns-servers, > dhcp-servers and uninterruptible power supplies using SNMP. > > I need to know about connectivity, reboots, uptime, cpu load, memory, > bandwidth utilization (octets/time and % of max), traffic distribution > *changes* (by protocol, by port), up/down interfaces and VPN tunnels, > routing *changes* and alarms (traps) and UPS battery and electricity > status. > > 2) HOSTS I need to monitor server parameters including connectivity, > reboots, uptime, cpu load, memory, swapping, disk I/O, diskspace and > services > > 3) APPLICATIONS Including databases (deadlocks, logs, free space...) and > everything one could find in a modern big enterprises data center. > > 4) SERVICE LEVEL I also want to monitor the point-to-point bandwidth and > response time (ping roundtrip, http response, general tcp connect, > database connections). > > 5) BUSINESS PROCESSES (ABSTRACTION LAYER) I want some basic root cause > analysis capability (ie. unreachable vs. down) and an abstraction layer > between polls/traps and alerts. I want to define compound events that > happen when several events coincide. Examples: Disk is more than 90% > full more than 10 minutes. Primary network connection has been lost for > more than 10 minutes or both the primary and backup connections have > been down more than three minutes. Event A and B happened, but not C, > and all this has lasted for more than 10 minutes and it is not sunday > between 1am and 2am. These rules/scripts/compound events are important > for my monitoring needs. I need to monitor a big enterprise with several > data centers, complicated network topology and business systems > comprising of several servers working together. > ---------------------------------------------------------------- > > Plus... > > All this collected or deducted data should be stored in an event > database and used for history reports, snapshot reports, service level > reports, trends/graphics,... everything. Naturally it needs a web user > interface with at least two user levels (admin, monitor) and several > views (network view, business view...). Flexibility and manageability > are more important than instant ease of use. > > These requirements rule out about 100% of the monitoring tools I have > found. Please help. I'm lost. > > This would be used as a professional monitoring tool. It's a day job. > Usually 5 x 8hrs, so I don't need anything "simple yet powerfull". It > can also cost a bit. It can be hard to learn - no problem. So, do I have > any other choice than HP OpenView or Tivoli Enterprise Console? What can > nagios do for me? > > > > Even with HPOV you will need additional tools sets to accomplish all the level of details you are looking for. For most of these categories there are best-of-breed application. For host and network fault monitoring - Nagios For link traffic/app response times - MRTG/Cricket/Cacti with alerts to Nagios For link ping response times - SmokePing For protocol distribution - Netflow from routers/ntop and FlowScan For routing changes - custom plugin that looks at nexthop for specific routes For router config management - RANCID - could probably define an alert/trap to feed into Nagios For business process abstraction - service dependencies in Nagios is great - it is pretty close to HPOV's service manager in design functions You will probabaly want to write you own web interface to integrate the various data sets. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jstevensog at gmail.com Thu Jun 2 15:47:10 2005 From: jstevensog at gmail.com (John Stevens) Date: Thu, 2 Jun 2005 23:47:10 +1000 Subject: Probably I am missing something obvious..... In-Reply-To: <200506021306.j52D6ues003018@mail.asc.edu> References: <200506021306.j52D6ues003018@mail.asc.edu> Message-ID: Hi Larry and All, I discovered my Obvious something. My CentOS 4 has selinux enabled and targeted. I simply added the file /etc/selinux/targeted/contexts/users/nagios with the following content, and all works now. The content is: system_r:unconfined_t system_r:unconfined_t Not being an expert on selinux, I am not precisely sure of what this means, but it is the same as root. Prior to this change, nagios user could not ping to the eth0 of my box. Now it can. With that out of the way, I can get on with monitoring the rest of the network ;-) Regards On 6/2/05, Larry Naves wrote: > Don't use check_ping it is too slow. Use check_icmp and don't forget to do > the following: > > su - root > chown root:root check_icmp > chmod 4755 check_icmp > su - nagios > ./check_icmp -H localhost > > > Larry Wayne Naves, Jr. "Jay" > Systems Analyst > Computer Sciences Corporation / > Alabama Supercomputer Authority > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John Stevens > Sent: Thursday, June 02, 2005 7:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Probably I am missing something obvious..... > > Hi All, > I have just installed nagios on a CentOS 4 box and I have a problem with > check_ping and check_http plugins. When run as the nagios user they time > out. If I run them sudo -u nagios as root, they work. > > What is the obvious thing I am missing here? > > Thanks in advance. > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr______________________________________________ > _ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bhuffman at incyte.com Thu Jun 2 16:03:12 2005 From: bhuffman at incyte.com (Brian Huffman) Date: Thu, 2 Jun 2005 10:03:12 -0400 Subject: more granular notification Message-ID: All, I've been looking for some time around the net, on nagiosexchange, etc. and so far have not found a method to do more granular notification in nagios. I remember that Big Brother had a configuration file in which you could specify exactly who should be emailed / paged and when it should happen. It could be split out according to host / service as well as severity and it was fairly flexible. Wildcards could be used, so it was easy to specify downtimes for a group of hosts or one host depending on your needs. Is there any such thing for nagios? I could write a shim that is specified as the host/service notification commands, but I'd like to be sure that nothing currently exists. Thanks, Brian ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jun 2 16:18:46 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 2 Jun 2005 10:18:46 -0400 (EDT) Subject: more granular notification In-Reply-To: References: Message-ID: On Thu, 2 Jun 2005, Brian Huffman wrote: > All, > > I've been looking for some time around the net, on nagiosexchange, etc. > and so far have not found a method to do more granular notification in > nagios. I remember that Big Brother had a configuration file in which > you could specify exactly who should be emailed / paged and when it > should happen. It could be split out according to host / service as > well as severity and it was fairly flexible. Wildcards could be used, > so it was easy to specify downtimes for a group of hosts or one host > depending on your needs. Is there any such thing for nagios? I could > write a shim that is specified as the host/service notification > commands, but I'd like to be sure that nothing currently exists. > > Thanks, > Brian for each service/host there is a contact group. you can add as many or as few contacts to each contact group. It is quite flexible and granular. Don't see what is missing here. downtimes are different from notifications. flexibility in downtime scheduling requires a little script writing to make the appropriate entries. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 2 16:16:18 2005 From: marc at ena.com (Marc Powell) Date: Thu, 2 Jun 2005 09:16:18 -0500 Subject: more granular notification Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brian Huffman > Sent: Thursday, June 02, 2005 9:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] more granular notification > > All, > > I've been looking for some time around the net, on nagiosexchange, etc. > and so far have not found a method to do more granular notification in > nagios. I remember that Big Brother had a configuration file in which > you could specify exactly who should be emailed / paged and when it > should happen. It could be split out according to host / service as > well as severity and it was fairly flexible. Wildcards could be used, What you're describing seems to pretty much be basic Nagios functionality. Each host or service can have multiple independent contacts that can be notified 24 hours a day or only during certain timeperiods (on a per-contact basis). Notification escalations can be used to escalate an issue if it hasn't been worked by the primary contact, etc. I'm not sure what you mean by severity but the notification command can be any script or program you like so you can easily extend the functionality of that feature to your hearts content. > so it was easy to specify downtimes for a group of hosts or one host > depending on your needs. Is there any such thing for nagios? I could You can easily schedule downtime for services, hosts and/or hostgroups (and probably servicegroups in 2.0) through the web interface. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 2 16:20:34 2005 From: marc at ena.com (Marc Powell) Date: Thu, 2 Jun 2005 09:20:34 -0500 Subject: schedule downtime every day/week Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joost Saanen > Sent: Thursday, June 02, 2005 7:53 AM > To: Arno Lehmann > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] schedule downtime every day/week > > When I run sched_downtime I get the error: > "Could not open Nagios Command Line." > > in the sched_downtime file i put this in the variabele NagiosCMD: > $NagiosCMD = "/usr/bin"; > > Anyone could tell me what the commandline exactly is? I don't use this program but I can be confident that this should be set to the value of 'command_file=' in nagios.cfg. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Thu Jun 2 16:19:29 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 02 Jun 2005 16:19:29 +0200 Subject: schedule downtime every day/week In-Reply-To: <5aaf39590506020552414f2560@mail.gmail.com> References: <5aaf395905060204313a363718@mail.gmail.com> <429EF37C.5010500@its-lehmann.de> <5aaf39590506020552414f2560@mail.gmail.com> Message-ID: <429F1571.6000104@its-lehmann.de> Hi, Joost Saanen wrote: > When I run sched_downtime I get the error: > "Could not open Nagios Command Line." > > in the sched_downtime file i put this in the variabele NagiosCMD: > $NagiosCMD = "/usr/bin"; > > Anyone could tell me what the commandline exactly is? Well, I don't know that script by heart... basically, you will have to modify it so it fits to your installation. I guess what is needed is the path of Ngios' command file (the pipe in the rw directory...), so you go looking for it in Nagios' main configuration file. Arno > On 6/2/05, Arno Lehmann wrote: > >>Hello, >> >>Joost Saanen wrote: >> >> >>>Hi. >>> >>>I know how I can schedule a downtime in Nagios. But I can't find how i >>>configure a periodic downtime like: server A is going down for 10 >>>minutes every friday at 5:00 pm. Anyone know if this is possible in >>>Nagios? >> >>Not in Nagios itself, but you can use a simple script to supply the >>necessary data to the command file. his script could be run by cron, and >>it could take its input from some sort of database. There are examples >>around, iirc you will find something in nagiosexchange.org >> >>Arno >> >> >>-- >>IT-Service Lehmann al at its-lehmann.de >>Arno Lehmann http://www.its-lehmann.de >> > > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jun 2 16:22:25 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 2 Jun 2005 10:22:25 -0400 (EDT) Subject: monitoring Root Partition.... In-Reply-To: <1117704213.1084.36.camel@vince> References: <1117704213.1084.36.camel@vince> Message-ID: On Thu, 2 Jun 2005, Vincent Ngundi wrote: > Hi All, > > I have two problems here: > > ) I'm using the 'check_local_disk' command to monitor the disk space > on remote machines.... > > The problem is that I get the same value for all the remote > servers....what could be the problem or what plugin/command should I > use? Is there a plugin like check_remote_disk or should I come up > with one? Note the plugin is called check_disk, the command_name is called check_local_disk. check_disk can only check disks on the system that it is running. To check local disks on remote systems, you have to execute the plugin on the remote system. To do that - install the plugins on the remote system and use either NRPE or check_by_ssh to retrieve the results of the check. > > ) Defining a command on the service description: > > While defining a command, there's a line that reads: "command_line" > and another that reads: "command_name", > While defining a service, there's a line that reads: "check_command" > > How do you define a "check_command" given a "command_line"? > > e.g: given the "command_line": $USER1$/check_pop -H $HOSTADDRESS$, > what would be the corresponding "check_command"? > > Do you use the command_name, which is "check_pop" in the above case? > > > > -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bhuffman at incyte.com Thu Jun 2 16:26:13 2005 From: bhuffman at incyte.com (Brian Huffman) Date: Thu, 2 Jun 2005 10:26:13 -0400 Subject: more granular notification Message-ID: Here's a scenario: We monitor printers and from Nagios' perspective, they're just another "host". However, I don't want printer down/up notifications to go to my pager, but I would like them to go to my email. However I *do* want UNIX systems host notifications to go to my pager. I don't know of a simple way to do this in Nagios w/o creating a separate contact. In Big Brother it would have been easier. If all my printers had a similar name prefix, I could just say "print*:conn:" (or something like that - don't remember the syntax exactly) and specify that those events should go to email. Thanks! Brian -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, June 02, 2005 10:19 AM To: Brian Huffman Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] more granular notification On Thu, 2 Jun 2005, Brian Huffman wrote: > All, > > I've been looking for some time around the net, on nagiosexchange, etc. > and so far have not found a method to do more granular notification in > nagios. I remember that Big Brother had a configuration file in which > you could specify exactly who should be emailed / paged and when it > should happen. It could be split out according to host / service as > well as severity and it was fairly flexible. Wildcards could be used, > so it was easy to specify downtimes for a group of hosts or one host > depending on your needs. Is there any such thing for nagios? I could > write a shim that is specified as the host/service notification > commands, but I'd like to be sure that nothing currently exists. > > Thanks, > Brian for each service/host there is a contact group. you can add as many or as few contacts to each contact group. It is quite flexible and granular. Don't see what is missing here. downtimes are different from notifications. flexibility in downtime scheduling requires a little script writing to make the appropriate entries. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From SrvFaucon at cslaval.qc.ca Thu Jun 2 17:59:09 2005 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 02 Jun 2005 11:59:09 -0400 Subject: Nagios vs SNMP traps... Message-ID: Hi all, early this year, someone ask me if someone had any kind of Nagios with SNMP traps implemented. Unfortunatly, the project wont be look at for now, but will be soon. So my question his : Is there someone who have a full SNMP traps implementation with Nagios and how? I know about the FAQ, but I would like to know if someone actually made it work :) Thanks. --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Thu Jun 2 18:20:23 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 2 Jun 2005 12:20:23 -0400 Subject: monitor memory usage on w2k/2k3 server? Message-ID: Thanks to you and to everybody else that had some helpful suggestions. It would appear that I?m out of luck on the 2000 servers ? oh well! Daniel Maher System Engineer ACE TECHNOLOGY INC. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of vol Sent: June 2, 2005 7:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? Am 18:07 01.06.2005 schrieb Daniel maher: Hello all, I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart?s check_mem_2k.pl plugin, as well as Manubulon?s check_snmp_storage.pl. Dusart?s plugin fails entirely, while Manubulon?s only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. Does anybody have any ideas? Hello Daniel, you can query W2K3 Server for physical memory. There is a table of storage entries (disks, virtual memory, physical memory) in the host resource MIB: 1.3.6.1.2.1.25.2.3.1.2.index hrStorageType 1.3.6.1.2.1.25.2.3.1.3.index hrStorageDesc 1.3.6.1.2.1.25.2.3.1.4.index hrStorageAllocUnits 1.3.6.1.2.1.25.2.3.1.5.index hrStorageSize 1.3.6.1.2.1.25.2.3.1.6.index hrStorageUsed with the type 25.2.1.2 type = physical mem for physical memory. You have to search for "25.2.1.2" in the "Type" field to get the index. Then you have to query "AllocUnits", "Size" and "Used" for this index and multiply "AllocUnits" and "Size" to get the physical memory size (IIRC in Bytes). By multiply "AllocUnits" and "Used" you get the used physical memory (IIRC in Bytes). This method unfortunately does not work for W2K. -vol -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 01/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 01/06/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From eford at nexusenergy.com Thu Jun 2 18:30:28 2005 From: eford at nexusenergy.com (Edward Ford) Date: Thu, 2 Jun 2005 12:30:28 -0400 Subject: monitor memory usage on w2k/2k3 server? In-Reply-To: References: Message-ID: I finally got mine working with the nsclient program. I was getting nothing and no luck from the net-snmp program.. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel maher Sent: Thursday, June 02, 2005 12:20 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] monitor memory usage on w2k/2k3 server? Thanks to you and to everybody else that had some helpful suggestions. It would appear that I?m out of luck on the 2000 servers ? oh well! Daniel Maher System Engineer ACE TECHNOLOGY INC. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of vol Sent: June 2, 2005 7:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? Am 18:07 01.06.2005 schrieb Daniel maher: Hello all, I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart?s check_mem_2k.pl plugin, as well as Manubulon?s check_snmp_storage.pl. Dusart?s plugin fails entirely, while Manubulon?s only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. Does anybody have any ideas? Hello Daniel, you can query W2K3 Server for physical memory. There is a table of storage entries (disks, virtual memory, physical memory) in the host resource MIB: 1.3.6.1.2.1.25.2.3.1.2.index hrStorageType 1.3.6.1.2.1.25.2.3.1.3.index hrStorageDesc 1.3.6.1.2.1.25.2.3.1.4.index hrStorageAllocUnits 1.3.6.1.2.1.25.2.3.1.5.index hrStorageSize 1.3.6.1.2.1.25.2.3.1.6.index hrStorageUsed with the type 25.2.1.2 type = physical mem for physical memory. You have to search for "25.2.1.2" in the "Type" field to get the index. Then you have to query "AllocUnits", "Size" and "Used" for this index and multiply "AllocUnits" and "Size" to get the physical memory size (IIRC in Bytes). By multiply "AllocUnits" and "Used" you get the used physical memory (IIRC in Bytes). This method unfortunately does not work for W2K. -vol -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 01/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 01/06/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfriedel at copweb.com Thu Jun 2 18:51:49 2005 From: pfriedel at copweb.com (Patrick Friedel) Date: Thu, 02 Jun 2005 11:51:49 -0500 Subject: Monitoring tool for a large enterprice? Is Nagios suitable to any degree? In-Reply-To: References: <24087666.1117711295809.JavaMail.dynamo@tetsuro.loopm.com> Message-ID: <429F3925.9000906@copweb.com> Subhendu Ghosh wrote: > For link traffic/app response times - MRTG/Cricket/Cacti with alerts > to Nagios Could you or someone else please expound a bit on this? I'm running Cacti and Nagios, and the other day an event cropped up that I wasn't explicitly monitoring for in Nagios. A single PVC went down but the other PVC picked up the load so Nagios remained blissfully unaware of the damage. (I'm monitoring the interfaces individually now. :) In the post-event reporting, I checked Cacti and saw that it had noticed the individual interface went down. In the grand scheme of things it probably isn't a huge deal to have both Cacti and Nagios checking SNMP iface stats every 5 minutes, but it might be a problem for others depending on their network complexity. (And I'm borderline - our FR cloud is only 56k with about 20 sites, so I have to balance immediacy of reporting versus soaking up a sizable percentage of the could's total available bandwidth just in making sure it's still there. Cacti came along to help me tweak the interval_length.) Cacti's forums rumble about doing this, but I haven't managed to find a clear picture about it yet. Or are you just thinking about something like user-developed glue to check the RRDs and give Nagios a holler if the data indicates it should? ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Thu Jun 2 19:00:34 2005 From: andrew at profitability.net (Andrew Cruse) Date: Thu, 2 Jun 2005 13:00:34 -0400 Subject: Monitoring tool for a large enterprice? Is Nagios suitable to any degree? In-Reply-To: <429F3925.9000906@copweb.com> References: <429F3925.9000906@copweb.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Subhendu Ghosh wrote: > >> For link traffic/app response times - MRTG/Cricket/Cacti with alerts >> to Nagios > > > Could you or someone else please expound a bit on this? > I'm running Cacti and Nagios, and the other day an event > cropped up that I wasn't explicitly monitoring for in Nagios. > A single PVC went down but the other PVC picked up the load > so Nagios remained blissfully unaware of the damage. (I'm > monitoring the interfaces individually now. :) In the > post-event reporting, I checked Cacti and saw that it had > noticed the individual interface went down. In the grand > scheme of things it probably isn't a huge deal to have both > Cacti and Nagios checking SNMP iface stats every 5 minutes, > but it might be a problem for others depending on their > network complexity. (And I'm borderline - our FR cloud is > only 56k with about 20 sites, so I have to balance immediacy > of reporting versus soaking up a sizable percentage of the > could's total available bandwidth just in making sure it's > still there. Cacti came along to help me tweak the interval_length.) > > Cacti's forums rumble about doing this, but I haven't > managed to find a clear picture about it yet. > > Or are you just thinking about something like > user-developed glue to check the RRDs and give Nagios a > holler if the data indicates it should? There's two ways that I do it, depending on the situation. If it's an item that only needs to be polled every 5 minutes or less, I let Cacti do the polling, and then use the check_rrd plugin (google should turn it up) to check the values Cacti gets and alert based on those values. If I need polling more often than every 5 minutes, I do the polling in Nagios and uses Nagiostat to create the RRD and then use Cacti to display graphs from the RRD files created by Nagiostat. Andrew ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eford at nexusenergy.com Thu Jun 2 19:51:13 2005 From: eford at nexusenergy.com (Edward Ford) Date: Thu, 2 Jun 2005 13:51:13 -0400 Subject: send out notifications by e-mail Message-ID: How do I get nagios to send out alert by e-mail? Do I also have to have another program installed on Linux with nagios.. Where is the configuration for e-mail notification? How does one do it.. Thanks; Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Thu Jun 2 20:16:55 2005 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 02 Jun 2005 14:16:55 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20RE:=20[Nagios-users]=20monitor=20mem?= =?ISO-8859-1?Q?ory=20usage=20on=20w2k/2k3=20server=3F?= Message-ID: Hi Daniel, I had this in my old files... ** COMPAQ ** mibcpqHoPhysicalMemorySize=.1.3.6.1.4.1.232.11.2.13.1.0 cpqHoPhysicalMemoryFree =.1.3.6.1.4.1.232.11.2.13.2.0 This is only good if you have some COMPAQ SNMP agent running on Windows 2000, since as I was searching the web, Windows 2000 alone seems to now really report correctly the memory usage. --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> "Daniel maher" 2005-06-02 12:20:23 >>> Thanks to you and to everybody else that had some helpful suggestions. It would appear that I'm out of luck on the 2000 servers * oh well! Daniel Maher System Engineer ACE TECHNOLOGY INC. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of vol Sent: June 2, 2005 7:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitor memory usage on w2k/2k3 server? Am 18:07 01.06.2005 schrieb Daniel maher: Hello all, I am looking for a way to monitor the usage of physical RAM on Windows 2000 (and 2003) servers. I have tried Xavier Dusart's check_mem_2k.pl plugin, as well as Manubulon's check_snmp_storage.pl. Dusart's plugin fails entirely, while Manubulon's only appears to pull out the virtual memory, not the physical RAM. What makes this tricky (I suppose), is that I cannot install any agents on the Windows servers; this means no NSClient or any such thing. Does anybody have any ideas? Hello Daniel, you can query W2K3 Server for physical memory. There is a table of storage entries (disks, virtual memory, physical memory) in the host resource MIB: 1.3.6.1.2.1.25.2.3.1.2.index hrStorageType 1.3.6.1.2.1.25.2.3.1.3.index hrStorageDesc 1.3.6.1.2.1.25.2.3.1.4.index hrStorageAllocUnits 1.3.6.1.2.1.25.2.3.1.5.index hrStorageSize 1.3.6.1.2.1.25.2.3.1.6.index hrStorageUsed with the type 25.2.1.2 type = physical mem for physical memory. You have to search for "25.2.1.2" in the "Type" field to get the index. Then you have to query "AllocUnits", "Size" and "Used" for this index and multiply "AllocUnits" and "Size" to get the physical memory size (IIRC in Bytes). By multiply "AllocUnits" and "Used" you get the used physical memory (IIRC in Bytes). This method unfortunately does not work for W2K. -vol -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 01/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 01/06/2005 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jun 2 20:19:53 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 02 Jun 2005 20:19:53 +0200 Subject: send out notifications by e-mail In-Reply-To: References: Message-ID: <429F4DC9.1070906@op5.se> Edward Ford wrote: > How do I get nagios to send out alert by e-mail? Do I also have to have > another program installed on Linux with nagios.. > Where is the configuration for e-mail notification? How does one do it.. > The answers to these and a dozen other questions are in the docs. Read them. You'll be glad you did once you have. > Thanks; > Eddie > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jstevensog at gmail.com Thu Jun 2 22:14:12 2005 From: jstevensog at gmail.com (John Stevens) Date: Fri, 3 Jun 2005 06:14:12 +1000 Subject: Probably I am missing something obvious..... In-Reply-To: References: <200506021306.j52D6ues003018@mail.asc.edu> Message-ID: Hmmmm. Seems I was premature. The change I made only affects when I run the commands from the console su'ed as nagios. The daemon still cannot run them correctly. I would appreciate any further ideas. Thanks and Regards On 6/2/05, John Stevens wrote: > Hi Larry and All, > I discovered my Obvious something. My CentOS 4 has selinux enabled > and targeted. I simply added the file > /etc/selinux/targeted/contexts/users/nagios with the following > content, and all works now. The content is: > system_r:unconfined_t system_r:unconfined_t > > Not being an expert on selinux, I am not precisely sure of what this > means, but it is the same as root. Prior to this change, nagios user > could not ping to the eth0 of my box. Now it can. With that out of > the way, I can get on with monitoring the rest of the network ;-) > Regards > > On 6/2/05, Larry Naves wrote: > > Don't use check_ping it is too slow. Use check_icmp and don't forget to do > > the following: > > > > su - root > > chown root:root check_icmp > > chmod 4755 check_icmp > > su - nagios > > ./check_icmp -H localhost > > > > > > Larry Wayne Naves, Jr. "Jay" > > Systems Analyst > > Computer Sciences Corporation / > > Alabama Supercomputer Authority > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of John Stevens > > Sent: Thursday, June 02, 2005 7:43 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Probably I am missing something obvious..... > > > > Hi All, > > I have just installed nagios on a CentOS 4 box and I have a problem with > > check_ping and check_http plugins. When run as the nagios user they time > > out. If I run them sudo -u nagios as root, they work. > > > > What is the obvious thing I am missing here? > > > > Thanks in advance. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! directly into your own > > Applications - visit > > http://developer.yahoo.net/?fr______________________________________________ > > _ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005 > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Anti-Virus. > > Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005 > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! directly into your own > > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pfriedel at copweb.com Thu Jun 2 22:13:01 2005 From: pfriedel at copweb.com (Patrick Friedel) Date: Thu, 02 Jun 2005 15:13:01 -0500 Subject: Monitoring tool for a large enterprice? Is Nagios suitable to any degree? In-Reply-To: References: Message-ID: <429F684D.2010302@copweb.com> Andrew Cruse wrote: >There's two ways that I do it, depending on the situation. If it's an >item that only needs to be polled every 5 minutes or less, I let Cacti >do the polling, and then use the check_rrd plugin (google should turn it >up) to check the values Cacti gets and alert based on those values. If >I need polling more often than every 5 minutes, I do the polling in >Nagios and uses Nagiostat to create the RRD and then use Cacti to >display graphs from the RRD files created by Nagiostat. > >Andrew > > Well, it didn't _entirely_ work (had to scrounge for it from nagiosexchange), but it gave me enough insight into how the system works to brave writing my own plugin that reads rrdtool data and alerts based on traffic floors I designate. Thankfully I can use Cacti's polling interval, as this is only for scenarios where I can go to my telco vendor and have them fix the minor problem before it becomes a major problem, so it doesn't have to be immediate, just before the other PVC croaks and puts us up the proverbial creek. Thanks for the direction! ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bhuffman at incyte.com Thu Jun 2 22:25:04 2005 From: bhuffman at incyte.com (Brian Huffman) Date: Thu, 2 Jun 2005 16:25:04 -0400 Subject: Anyone using syslog-ng / sec for host log monitoring? Message-ID: If so, are you running sec locally for each host or are you using syslog-ng to consolidate all logs on one central host and then running sec there? I am currently consolidating all syslogs on one server (my nagios server) and then using sec to parse all messages as they come in. I'm finding that it's a little trickier to write the match strings when you have to take the server name into account. Thanks, Brian ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Thu Jun 2 22:25:44 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 2 Jun 2005 16:25:44 -0400 Subject: how to send a single alert to one contact, and multiple to another? Message-ID: Hi all, I am wondering if there is a way to send a single alert to one contact, but multiple alerts to another. To explain further; If "service A" goes critical it will generate alerts to the associated contact based on the "notification_interval" setting. No problem there - that's normal operation. What I'd also like is to have a single alert sent out to a pager gateway as well. I was thinking that I could define a service escalation for "service A", with both "first_notification" and "last_notification" set to 1, so that when the alert is triggered, it will send out one alert to the pager, and then the escalation is done. What I'm not sure about is whether it will default back to the normal alerting method (non-escalated) after that single iteration. Or, is there another way? Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 HYPERLINK "mailto:dmaher at acetechnology.com"dmaher at acetechnology.com HYPERLINK "http://www.acetechnology.com"www.acetechnology.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.5.0 - Release Date: 02/06/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sudhirmahalein at yahoo.co.uk Thu Jun 2 22:33:41 2005 From: sudhirmahalein at yahoo.co.uk (Sudhir Mahale) Date: Thu, 2 Jun 2005 21:33:41 +0100 (BST) Subject: re-alert or escalate after problem acknowledgement Message-ID: <20050602203342.13449.qmail@web86909.mail.ukl.yahoo.com> Can nagios be configured to send an alert after a certain time has passed after a contact acknowledges of the problem alert. This can be helpful to re-alert/escalate the problem if it has been acknoledged by a contact and not been attended to ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tjl at topdanmark.dk Thu Jun 2 23:03:38 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Thu, 2 Jun 2005 23:03:38 +0200 Subject: Vedr.: Nagios vs SNMP traps... Message-ID: Yes I made work with Netsaint / cricket.sh I then made at total new installatin with Nagios and newer got to that part again. I now uses SNMP to get all kind of status from our servers. I ask quite often - every 5 -10 minutes. Diskspace every hour The problem with getting these traps is if they don't get to your NagiosBOX - then you don't have any value. That is whay I like to ask for values via snmp and put some retry value in the service.cfg. Also if you get a value that says something failed - but don't get anothe value saying I'm OK - then the service windows tell you that there is an error but the error is actually gone. So you have to check both ways to be sure. The good thing about traps is that you get tha value change when it happens. So you don't have to ask for every 5-10 minutes. The best whay could be a combination of both You can make some fantastic shell script-plugins to handle all kind of snmpvalues. I ask for cpu's , diskspace left on the servers, deadmails, mailwaiitng, antivrus-dat-files age, cluster-queue, all kind of tasks on the servers, uptime if someone or if the system self booted.... Best regard Thomas Lauritsen "Serveur-Faucon Surveillance" Til: Sendt af: cc: nagios-users-admin at lists.sour Vedr.: [Nagios-users] Nagios vs SNMP traps... ceforge.net 02-06-2005 17:59 Hi all, early this year, someone ask me if someone had any kind of Nagios with SNMP traps implemented. Unfortunatly, the project wont be look at for now, but will be soon. So my question his : Is there someone who have a full SNMP traps implementation with Nagios and how? I know about the FAQ, but I would like to know if someone actually made it work :) Thanks. --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Thu Jun 2 23:07:29 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 2 Jun 2005 17:07:29 -0400 Subject: Anyone using syslog-ng / sec for host log monitoring? Message-ID: I've currently got a site set up where numerous Windows and Linux machines are reporting to the Nagios box, which is running syslog-ng. I've got syslog-ng set up to pipe each log stream to a separate file, which helps to keep things nice and segregated; this, of course, also means that I don't have to worry about writing match strings with the server name, since each server has it's own file. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian Huffman Sent: June 2, 2005 4:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Anyone using syslog-ng / sec for host log monitoring? If so, are you running sec locally for each host or are you using syslog-ng to consolidate all logs on one central host and then running sec there? I am currently consolidating all syslogs on one server (my nagios server) and then using sec to parse all messages as they come in. I'm finding that it's a little trickier to write the match strings when you have to take the server name into account. Thanks, Brian ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From slaw at frontbridge.com Fri Jun 3 03:22:45 2005 From: slaw at frontbridge.com (Steve) Date: Fri, 3 Jun 2005 01:22:45 +0000 (UTC) Subject: looking for snmpwalk plugin Message-ID: Hi all: I am new to Nagios. I understand that there is snmp plug-in for snmpget command but is there any plug-in in C language which can do snmpwalk function? Please let me know if there is one or where I can get it if possible. Thanks Steve ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adam at networkdr.net Fri Jun 3 04:50:32 2005 From: adam at networkdr.net (Adam Stern) Date: Thu, 2 Jun 2005 22:50:32 -0400 Subject: Installation Woes Message-ID: I installed nagios with all the defaults, made sure all my cfg files were happy, and every time I click on a link on the web, I get the "Error: Could not read object configuration data!" page. I ran the nagios -v nagios.cfg command and there were no errors found. My nagios.log is empty. Where am I going wrong? Please help! - Adam ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From b00mer at gmx.net Fri Jun 3 07:28:56 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Fri, 03 Jun 2005 07:28:56 +0200 Subject: looking for snmpwalk plugin In-Reply-To: References: Message-ID: <429FEA98.5020104@gmx.net> Steve schrieb: >Hi all: > > Hi alone, >I am new to Nagios. I understand that there is snmp plug-in for snmpget >command but is there any plug-in in C language which can do snmpwalk function? > > >Please let me know if there is one or where I can get it if possible. > > > There are quiet two must haves for plugin development: 1. The return codes must be right for OK, Warning, Critical and so on 2. The Output that the plugins gives back to nagios are limited to one line. So, an snmpwalk plugin with more lines cannot be parsed by nagios. For what do you want to have a walk plugin? Perhaps there are other ways to check what you want have. >Thanks >Steve > > > Regards, Hendrik > >------------------------------------------------------- >This SF.Net email is sponsored by Yahoo. >Introducing Yahoo! Search Developer Network - Create apps using Yahoo! >Search APIs Find out how you can build Yahoo! directly into your own >Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > > > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vincent at kenic.or.ke Fri Jun 3 08:35:32 2005 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 03 Jun 2005 09:35:32 +0300 Subject: monitoring Root Partition.... In-Reply-To: <1117707116.24008.29.camel@localhost> References: <1117704213.1084.36.camel@vince> <1117707116.24008.29.camel@localhost> Message-ID: <1117780532.1108.1.camel@vince> Hi Tony, Thanks for the quick response, I'll look into it and get back to the list...... -vincent.... On Thu, 2005-06-02 at 13:11, Tony Earnshaw wrote: > tor, 02.06.2005 kl. 11.23 skrev Vincent Ngundi: > > > I have two problems here: > > > > ) I'm using the 'check_local_disk' command to monitor the disk space > > on remote machines.... > > > > The problem is that I get the same value for all the remote > > servers....what could be the problem or what plugin/command should I > > use? Is there a plugin like check_remote_disk or should I come up > > with one? > > You can't use Nagios to check remote machines without an auxiliary > utility. Download and check out nrpe - it'll do what you need. > > > > ) Defining a command on the service description: > > > > While defining a command, there's a line that reads: "command_line" > > and another that reads: "command_name", > > While defining a service, there's a line that reads: "check_command" > > > > How do you define a "check_command" given a "command_line"? > > In checkcommands.cfg command_line is the actual path to the plugin and > the command parameters. command_name is the name it's known as in > services.cfg. > > > e.g: given the "command_line": $USER1$/check_pop -H $HOSTADDRESS$, > > what would be the corresponding "check_command"? > > in my checkcommands.cfg: > > define command { > command_name check_pop > command_line $USER1$/check_pop -H $HOSTADDRESS$ > } > > > Do you use the command_name, which is "check_pop" in the above case? > > Yes, in services.cfg, possibly with extra parameters when needed. > > All of this is extensively documented and grepping and lessing around in > the original install config directories will get you very far - it's how > I learned. > > --Tonni -- -vincent.... ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From anxoasi at yahoo.es Fri Jun 3 08:37:37 2005 From: anxoasi at yahoo.es (Anxo) Date: Fri, 3 Jun 2005 08:37:37 +0200 (CEST) Subject: nagios database?? Message-ID: <20050603063737.14087.qmail@web53107.mail.yahoo.com> hi, anybody know where nagios v 2.x save the results about the checks. Is in a database, in a file ????? thaks for all. Anxo. Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From anxoasi at yahoo.es Fri Jun 3 08:37:44 2005 From: anxoasi at yahoo.es (Anxo) Date: Fri, 3 Jun 2005 08:37:44 +0200 (CEST) Subject: nagios database?? Message-ID: <20050603063744.92548.qmail@web53103.mail.yahoo.com> hi, anybody know where nagios v 2.x save the results about the checks. Is in a database, in a file ????? thaks for all. Anxo. Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik.kiruba at inmail.tranquilmoney.com Fri Jun 3 09:15:19 2005 From: karthik.kiruba at inmail.tranquilmoney.com (karthik.kiruba at inmail.tranquilmoney.com) Date: Fri, 3 Jun 2005 12:45:19 +0530 (IST) Subject: nagios startup error Message-ID: <35337.192.168.100.25.1117782919.squirrel@192.168.100.200> Hi, I had installed Nagios-1.2 version - had no problem with the installation . everything went smooth. But on starting nagios as #nagios -d -v /usr/local/nagios/etc/nagios.cfg , I get the following error displayed. #./nagios -d -v ../etc/nagios.cfg Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Checked 4 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 12 ***> One or more problems was encountered while running the pre-flight check... Please advice - how to solve this. Thanks in advance, Karthik.k CONFIDENTIALITY NOTICE: This e-mail and its attachments may contain PRIVILEGED and CONFIDENTIAL INFORMATION and/or PROTECTED PATIENT HEALTH INFORMATION intended solely for the use of Tranquilmoney Inc. it's clients and the recipient(s) named above. If you are not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any review, dissemination, distribution, printing, or copying of this e-mail message and/or any attachments is strictly prohibited. If you have received this transmission in error, please notify the sender immediately and permanently delete this e-mail [shred the document] and any attachments. ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vincent at kenic.or.ke Fri Jun 3 09:28:21 2005 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 03 Jun 2005 10:28:21 +0300 Subject: Problem Monitoring DNS... Message-ID: <1117783700.1108.31.camel@vince> Hi All, I'm using Nagios (check_dns command) to monitor two dns servers, one which is non-recursive while the other is recursive. The problem is that I get the following error from the non-recursive dns server: "DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address". The recursive dns server returns no error... I'm using www.google.co.ke as the host (-H). What could be the problem? The servers are running FreeBSD and Nagios 2.03b.... -- -vincent.... ===== "It's not the bullet with my name on it that worries me. It's the one that says 'To whom it may concern'." ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tonye at billy.demon.nl Fri Jun 3 10:22:54 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Fri, 03 Jun 2005 10:22:54 +0200 Subject: Problem Monitoring DNS... In-Reply-To: <1117783700.1108.31.camel@vince> References: <1117783700.1108.31.camel@vince> Message-ID: <1117786973.32121.5.camel@localhost> fre, 03.06.2005 kl. 09.28 skrev Vincent Ngundi: > I'm using Nagios (check_dns command) to monitor two dns servers, one > which is non-recursive while the other is recursive. > > The problem is that I get the following error from the non-recursive dns > server: "DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited > with no address". The recursive dns server returns no error... Create a command which has your non-recursive server look up a host in a zone for which it is responsible (e.g. NOT www.yahoo.com) and use that command in the service that you use to monitor that server. > I'm using www.google.co.ke as the host (-H). > > What could be the problem? A non-recursive DNS server will not return an address for www.yahoo.com (unless it's yahoo's). --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From barbereau at gmail.com Fri Jun 3 11:46:59 2005 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Fri, 3 Jun 2005 11:46:59 +0200 Subject: Nagios vs SNMP traps... In-Reply-To: References: Message-ID: <4e0e33ee050603024610aca163@mail.gmail.com> Hi, I've been using traps with snmptt for some time now. Have a look at http://snmptt.sourceforge.net/docs/snmptt.shtml#Nagios-Netsaint On 6/2/05, Serveur-Faucon Surveillance wrote: > > Hi all, > > early this year, someone ask me if someone had any kind of Nagios with > SNMP traps implemented. > > Unfortunatly, the project wont be look at for now, but will be soon. > > So my question his : Is there someone who have a full SNMP traps > implementation with Nagios and how? > > I know about the FAQ, but I would like to know if someone actually made it > work :) > > Thanks. > > > --------------------------------------------------- > Alexandre Racine - www.gardienvirtuel.com > Montr?al, Qu?bec, Canada > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?froffad-ysdn-ostg-q22005 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ck at nmmn.com Fri Jun 3 12:03:41 2005 From: ck at nmmn.com (Christoph =?iso-8859-1?q?Kl=FCnter?=) Date: Fri, 3 Jun 2005 12:03:41 +0200 Subject: Recover notifications to escalated contacts Message-ID: <200506031203.42020.ck@nmmn.com> Hi all I searched the archives and found the question I wanted to ask, but no answer: http://sourceforge.net/mailarchive/message.php?msg_id=9527852 So here comes the same question again: I am using escalation to many mails but only one sms. But I never get the recover notification via sms. I did the following as stated in the post above: > One group with down/unreachable/etc defined + escalations. > The other with recover only + no escalations. > Both definitions using the same contact information. But nagios now complains: Warning: Host recovery notification option for contact 'recovery-sms' doesn't make any sense - specify down and/or unreachable options as well And I still don't get any recovery notifications. Any hints ? Cheers Christoph Heres my config: escalations.cfg: # Server-RZ Bei der ersten Benachrichtigung noch keine SMS: define hostgroupescalation { hostgroup_name Server-RZ first_notification 1 last_notification 0 notification_interval 5 contact_groups admin-email } define hostgroupescalation { hostgroup_name Server-RZ first_notification 2 last_notification 2 notification_interval 5 contact_groups admin-sms } define contactgroup { contactgroup_name admin-recovery-sms alias Administrator-recovery at sms (no work) members christoph-recovery-sms } define contactgroup { contactgroup_name admin-sms alias Administrator at sms (no work) members christoph-sms } define contact { contact_name christoph-sms alias sms at sms.nmmn.com service_notification_period 24x7 host_notification_period 24x7 service_notification_commands notify-by-sms host_notification_commands host-notify-by-sms email sms at sms.mmn.com service_notification_options c,r host_notification_options d,u,r } define contact { contact_name christoph-recovery-sms alias sms at sms.nmmn.com service_notification_period 24x7 host_notification_period 24x7 service_notification_commands notify-by-sms host_notification_commands host-notify-by-sms email sms at sms.nmmn.com service_notification_options r host_notification_options r } define hostgroup { hostgroup_name Server-RZ alias RZ contact_groups admin-email,admin-recovery-sms members test } -- NMMN - New Media Markets & Networks GmbH - http://www.nmmn.com Gasstrasse 18, Haus 1 - 22761 Hamburg Tel.: +49 40 284 118-0 - Fax: +49 40 284 118-999 - Techn. Hotline -700 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alfeijoo at cesga.es Fri Jun 3 14:12:17 2005 From: alfeijoo at cesga.es (Alejandro Feijoo) Date: Fri, 3 Jun 2005 14:12:17 +0200 (CEST) Subject: nagios & sge Message-ID: <37333.193.144.44.66.1117800737.squirrel@webmail.cesga.es> hi, i have nagios 2.0b3 and nrpe 2 on Rocks linux over 81 nodes I need known the queue state that running with sge (sun grid engine) but i dont know how do that Any can help me?? at nagios web i found a check_sge.py but dont work correctly say fail on line 159 ++-------------------------++ Alejandro Feij?o Fraga Tecnico de Sistemas. Centro de supercomputaci?n de Galicia Avda. de Vigo s/n. Campus Sur. 15705 - Santiago de Compostela. Spain Tlfn.: 981 56 98 10 Extension: 274 Fax: 981 59 46 16 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From F.Giavedoni at sfig.fr Fri Jun 3 14:56:39 2005 From: F.Giavedoni at sfig.fr (Florent GIAVEDONI) Date: Fri, 3 Jun 2005 14:56:39 +0200 Subject: Two nagios problems In-Reply-To: <20050603122842.7D78DF8AA@sc8-sf-spam2.sourceforge.net> References: <20050603122842.7D78DF8AA@sc8-sf-spam2.sourceforge.net> Message-ID: Hello all, I have a very strange problem with my nagios binary. About a mounth ago, I installed nagios on a test server and it seems to work fine but I realized that I forgot the --with-perlcache option before the compilation, so I configured and compiled it again but the new binary is not creating the status.dat file when I run nagios in daemon mode. Not in daemon mode, the file is created but the service check are not executed. I make a another binary whithout the caching option and I get the same problem. I tried to compile nagios on an other machine, the problem is still here. The second problem is about service notfications which are not sent. Hosts notifications works fine but nagios is not generating any notification for services. I check my configuration twice and its ok. I can that some of you have the same problem. I'm running nagios 2.0b3 on a debian woddy system. Can someone help me ? Thanks. Regards Florent -------------- next part -------------- An HTML attachment was scrubbed... URL: From bhuffman at incyte.com Fri Jun 3 15:09:26 2005 From: bhuffman at incyte.com (Brian Huffman) Date: Fri, 3 Jun 2005 09:09:26 -0400 Subject: Anyone using syslog-ng / sec for host log monitoring? Message-ID: What do you use to do the actual filtering / pattern matching? Currently I have syslog-ng running on my nagios box but with two destinations: 1 file per machine and then one stream which I pipe to sec. This works, but makes it tricky to maintain a configuration file for sec, which takes into account differences in each server. Thanks, Brian -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel maher Sent: Thursday, June 02, 2005 5:07 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Anyone using syslog-ng / sec for host log monitoring? I've currently got a site set up where numerous Windows and Linux machines are reporting to the Nagios box, which is running syslog-ng. I've got syslog-ng set up to pipe each log stream to a separate file, which helps to keep things nice and segregated; this, of course, also means that I don't have to worry about writing match strings with the server name, since each server has it's own file. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian Huffman Sent: June 2, 2005 4:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Anyone using syslog-ng / sec for host log monitoring? If so, are you running sec locally for each host or are you using syslog-ng to consolidate all logs on one central host and then running sec there? I am currently consolidating all syslogs on one server (my nagios server) and then using sec to parse all messages as they come in. I'm finding that it's a little trickier to write the match strings when you have to take the server name into account. Thanks, Brian ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Fri Jun 3 15:21:23 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 3 Jun 2005 15:21:23 +0200 Subject: AW: nagios database?? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9212@SYGOMAIL.GOE.AD.SYCOR.DE> > hi, > anybody know where nagios v?2.x?save the results about the checks. > Is in a database, in a file ????? Nagios itself saves everything in a file. Database support as known as in 1.2 is been dropped, but still possible. I'm using perfparse to store the results in an mysql db...though perfparse isn't very good for long time storage, because there is no "real" database schema... my database is about 30GB after 6 Months, with only Binary Data saved (~200hosts and 2400 services with average Interval of 3min) > thaks for all. > Anxo. Np. Philipp ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Fri Jun 3 15:20:32 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Fri, 3 Jun 2005 09:20:32 -0400 Subject: Anyone using syslog-ng / sec for host log monitoring? Message-ID: Well, I can't speak to your configuration (i.e. sec), but what worked for me was just writing a little script (as a plugin) to check the logs for whatever given pattern. Basically, I pass two variables to the script from the plugin definition: the target log file (i.e. host), and the pattern I'm interested in, such as "[CRITICAL] Backup Exec failed!" (or whatever), via a simple regex. The script maintains a tiny flat-file with the names of the logs it has read, and the last byte it read from them. It then reads the log from the next character, looking for the pattern. It then returns the appropriate error code and message, updates the flat-file, and that's that. I'm sure I could have used check_log, but at the time, I was pretty new to Nagios, and I didn't know it existed. :P Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Brian Huffman [mailto:bhuffman at incyte.com] Sent: June 3, 2005 9:09 AM To: Daniel maher; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Anyone using syslog-ng / sec for host log monitoring? What do you use to do the actual filtering / pattern matching? Currently I have syslog-ng running on my nagios box but with two destinations: 1 file per machine and then one stream which I pipe to sec. This works, but makes it tricky to maintain a configuration file for sec, which takes into account differences in each server. Thanks, Brian -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel maher Sent: Thursday, June 02, 2005 5:07 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Anyone using syslog-ng / sec for host log monitoring? I've currently got a site set up where numerous Windows and Linux machines are reporting to the Nagios box, which is running syslog-ng. I've got syslog-ng set up to pipe each log stream to a separate file, which helps to keep things nice and segregated; this, of course, also means that I don't have to worry about writing match strings with the server name, since each server has it's own file. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian Huffman Sent: June 2, 2005 4:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Anyone using syslog-ng / sec for host log monitoring? If so, are you running sec locally for each host or are you using syslog-ng to consolidate all logs on one central host and then running sec there? I am currently consolidating all syslogs on one server (my nagios server) and then using sec to parse all messages as they come in. I'm finding that it's a little trickier to write the match strings when you have to take the server name into account. Thanks, Brian ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 3 16:37:40 2005 From: marc at ena.com (Marc Powell) Date: Fri, 3 Jun 2005 09:37:40 -0500 Subject: nagios database?? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Anxo > Sent: Friday, June 03, 2005 1:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios database?? > > hi, > anybody know where nagios v 2.x save the results about the checks. > Is in a database, in a file ????? It's wherever you told it to be in nagios.cfg. It's the first directive in the nagios.cfg documentation at http://nagios.sourceforge.net/docs/2_0/configmain.html#log_file -- "Format: log_file= Example: log_file=/usr/local/nagios/var/nagios.log This variable specifies where Nagios should create its main log file. This should be the first variable that you define in your configuration file, as Nagios will try to write errors that it finds in the rest of your configuration data to this file. If you have log rotation enabled, this file will automatically be rotated every hour, day, week, or month." ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 3 16:49:28 2005 From: marc at ena.com (Marc Powell) Date: Fri, 3 Jun 2005 09:49:28 -0500 Subject: Recover notifications to escalated contacts Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Christoph Kl?nter > Sent: Friday, June 03, 2005 5:04 AM > To: Nagios Users List > Subject: [Nagios-users] Recover notifications to escalated contacts > > Hi all > > I searched the archives and found the question I wanted to ask, but no > answer: > http://sourceforge.net/mailarchive/message.php?msg_id=9527852 > > So here comes the same question again: > > I am using escalation to many mails but only one sms. > But I never get the recover notification via sms. > > I did the following as stated in the post above: > > One group with down/unreachable/etc defined + escalations. > > The other with recover only + no escalations. > > Both definitions using the same contact information. > > But nagios now complains: > Warning: Host recovery notification option for contact 'recovery-sms' > doesn't > make any sense - specify down and/or unreachable options as well > > And I still don't get any recovery notifications. Any hints ? I don't use escalations but the warning above and the very explicit text at http://nagios.sourceforge.net/docs/1_0/notifications.html#filters (Service and Host Filters) explains your problem -- "Note: Notifications about host or service recoveries are only sent out if a notification was sent out for the original problem. It doesn't make sense to get a recovery notification for something you never knew was a problem." If you don't want the outage notifications to go out you'll need to edit your sms notify script to ignore them. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 3 16:42:17 2005 From: marc at ena.com (Marc Powell) Date: Fri, 3 Jun 2005 09:42:17 -0500 Subject: nagios startup error Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of > karthik.kiruba at inmail.tranquilmoney.com > Sent: Friday, June 03, 2005 2:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios startup error > > Hi, > > I had installed Nagios-1.2 version - had no problem with the installation > . everything went smooth. > > But on starting nagios as > #nagios -d -v /usr/local/nagios/etc/nagios.cfg , I get the following error > displayed. > > #./nagios -d -v ../etc/nagios.cfg > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 38 services. > Checking hosts... > Checked 15 hosts. > Checking host groups... > Checked 6 host groups. > Checking contacts... > Checked 2 contacts. > Checking contact groups... > Checked 6 contact groups. > Checking service escalations... > Checked 2 service escalations. > Checking host group escalations... > Checked 2 host group escalations. > Checking service dependencies... > Checked 4 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 22 commands. > Checking time periods... > Checked 4 time periods. > Checking for circular paths between hosts... > Checking for circular service execution dependencies... > Checking global event handlers... > Checking obsessive compulsive service processor command... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 12 > > ***> One or more problems was encountered while running the pre-flight > check... I've never seen nagios fail in this way but I've also never seen anyone try to run with two not-so-compatible command line flags (-d and -v). You should test your config with -v first, then if everything checks out, run with -d -- /path/to/nagios -v /usr/local/nagios/etc/nagios.cfg /path/to/nagios -d /usr/local/nagios/etc/nagios.cfg -- Marc ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eford at nexusenergy.com Fri Jun 3 20:14:43 2005 From: eford at nexusenergy.com (Edward Ford) Date: Fri, 3 Jun 2005 14:14:43 -0400 Subject: nagios and sendmail Message-ID: I finally got sendmail working on the computer that nagios is installed on. Now how do I get nagios to talk to sendmail, is it with external commands? Any good and useful responses would be appreciated. Thank You; -------------- next part -------------- An HTML attachment was scrubbed... URL: From cguo at at-sd.com Fri Jun 3 20:26:46 2005 From: cguo at at-sd.com (Chris Guo) Date: Fri, 3 Jun 2005 11:26:46 -0700 Subject: nagios and sendmail In-Reply-To: References: Message-ID: <000601c56869$cd09e640$df03a8c0@archnet2.atgsd.com> Nagios use /bin/mail to send the notification to it's user. You can check the misccommands.cfg file to see how nagios use /bin/mail to send the notification to it's users -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Edward Ford Sent: Friday, June 03, 2005 11:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios and sendmail I finally got sendmail working on the computer that nagios is installed on. Now how do I get nagios to talk to sendmail, is it with external commands? Any good and useful responses would be appreciated. Thank You; -------------- next part -------------- An HTML attachment was scrubbed... URL: From eford at nexusenergy.com Fri Jun 3 21:01:08 2005 From: eford at nexusenergy.com (Edward Ford) Date: Fri, 3 Jun 2005 15:01:08 -0400 Subject: nagios and sendmail In-Reply-To: References: Message-ID: These are examples that are indeed in the configuration files.. If you can read them.. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell Sent: Friday, June 03, 2005 2:45 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios and sendmail > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Ford > Sent: Friday, June 03, 2005 1:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios and sendmail > > I finally got sendmail working on the computer that nagios is installed > on. Now how do I get nagios to talk to sendmail, is it with external > commands? A couple of examples -- # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/echo -e 'Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios *****\n\nNotification Type: $NOT IFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/ mail Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /bin/echo -e "Subject: $NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHos t: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail $CONTACTEMAIL$ } # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHo st: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ al ert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } > Any good and useful responses would be appreciated. Unless I'm being very dense, these, and many other command definitions are created if you install the sample config files. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 3 20:45:04 2005 From: marc at ena.com (Marc Powell) Date: Fri, 3 Jun 2005 13:45:04 -0500 Subject: nagios and sendmail Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Ford > Sent: Friday, June 03, 2005 1:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios and sendmail > > I finally got sendmail working on the computer that nagios is installed > on. Now how do I get nagios to talk to sendmail, is it with external > commands? A couple of examples -- # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/echo -e 'Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios *****\n\nNotification Type: $NOT IFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/ mail Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /bin/echo -e "Subject: $NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHos t: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail $CONTACTEMAIL$ } # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHo st: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ al ert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } > Any good and useful responses would be appreciated. Unless I'm being very dense, these, and many other command definitions are created if you install the sample config files. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eford at nexusenergy.com Fri Jun 3 21:15:01 2005 From: eford at nexusenergy.com (Edward Ford) Date: Fri, 3 Jun 2005 15:15:01 -0400 Subject: nagios and sendmail In-Reply-To: References: Message-ID: Thought you may have been onto something. The command below is getting errors with the syntax in the notify by email section. Does not like the alert word, and rearranging this will not result in the same response.. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Edward Ford Sent: Friday, June 03, 2005 3:01 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios and sendmail These are examples that are indeed in the configuration files.. If you can read them.. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell Sent: Friday, June 03, 2005 2:45 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios and sendmail > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Ford > Sent: Friday, June 03, 2005 1:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios and sendmail > > I finally got sendmail working on the computer that nagios is installed > on. Now how do I get nagios to talk to sendmail, is it with external > commands? A couple of examples -- # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/echo -e 'Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios *****\n\nNotification Type: $NOT IFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/ mail Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /bin/echo -e "Subject: $NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHos t: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail $CONTACTEMAIL$ } # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHo st: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ al ert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } > Any good and useful responses would be appreciated. Unless I'm being very dense, these, and many other command definitions are created if you install the sample config files. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 3 21:24:13 2005 From: marc at ena.com (Marc Powell) Date: Fri, 3 Jun 2005 14:24:13 -0500 Subject: nagios and sendmail Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Ford > Sent: Friday, June 03, 2005 2:01 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios and sendmail > > These are examples that are indeed in the configuration files.. If you can > read them.. For each contact you specify two notification options -- (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact) host_notification_commands command_name service_notification_commands command_name Using my examples below they would look like -- define contact{ contact_name example alias Real Name service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands service-notify-by-email host_notification_commands host-notify-by-email email email at example.foo } The command definitions themselves are extremely simple, consisting of only two commands chained together. You have 'echo' and you have 'mail'. Everything else is just filler that's included in the email. Use 'man echo' and 'man mail' to understand those basic commands better. The documentation on notifications might also be useful to you at http://nagios.sourceforge.net/docs/1_0/notifications.html. -- Marc (p.s. top-posting makes email hard to read in context and discourages responses). > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell > Sent: Friday, June 03, 2005 2:45 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios and sendmail > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Edward Ford > > Sent: Friday, June 03, 2005 1:15 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios and sendmail > > > > I finally got sendmail working on the computer that nagios is > installed > > on. Now how do I get nagios to talk to sendmail, is it with external > > commands? > > A couple of examples -- > > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /bin/echo -e 'Subject: ** $NOTIFICATIONTYPE$ > alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios > *****\n\nNotification Type: $NOT > IFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/ > mail Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME > $CONTACTEMAIL$ > } > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /bin/echo -e "Subject: $NOTIFICATIONTYPE$ alert > - Host $HOSTNAME$ is $HOSTSTATE$\n\n***** Nagios *****\n\nNotification > Type: $NOTIFICATIONTYPE$\nHos > t: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail $CONTACTEMAIL$ > } > > # 'service-notify-by-email' command definition > define command{ > command_name service-notify-by-email > command_line /bin/echo -e "Subject: Service $SERVICEDESC$ > $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHo > st: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: > $HOSTADDRESS$\n\nService: $SERVICEDESC$\nInfo: $OUTPUT$\n\nDate/Time: > $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ al > ert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ > } > > > Any good and useful responses would be appreciated. > > Unless I'm being very dense, these, and many other command definitions > are created if you install the sample config files. > > -- > Marc > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jun 3 21:26:40 2005 From: marc at ena.com (Marc Powell) Date: Fri, 3 Jun 2005 14:26:40 -0500 Subject: nagios and sendmail Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Ford > Sent: Friday, June 03, 2005 2:15 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios and sendmail > > Thought you may have been onto something. The command below is getting > errors with the syntax in the notify by email section. Does not like the > alert word, and rearranging this will not result in the same response.. > They were taken directly from my nagios config files. Did you copy them as they were munged by the email clients or did you remove the newlines from the command_line? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Fri Jun 3 21:57:22 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Fri, 3 Jun 2005 14:57:22 -0500 Subject: Pending status Message-ID: When I checked the archives, I found a lot of threads regarding this "pending" status and "Host has not been checked yet" messages that users have been getting on a fresh install. But unfortunately none of the suggestions (at least most of them) did not work for me. Hence I am posting my question (again?) - How do I get the Nagios to actually check the services? What am I missing? Here is the config details: -v option Checking services... Checked 5 services. Checking hosts... Warning: Host 'win_box' has no services associated with it! Checked 2 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 23 commands. Checking time periods... Checked 1 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 1 Total Errors: 0 -s option: SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 5 Total scheduled services: 5 Service inter-check delay method: SMART Average service check interval: 300.00 sec Inter-check delay: 60.00 sec Interleave factor method: SMART Average services per host: 2.50 Service interleave factor: 3 Max service check spread: 30 min First scheduled check: Fri Jun 3 13:26:06 2005 Last scheduled check: Fri Jun 3 13:30:06 2005 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Jun 3 22:46:51 2005 From: marc at ena.com (Marc Powell) Date: Fri, 3 Jun 2005 15:46:51 -0500 Subject: Pending status Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Aditya Ivaturi > Sent: Friday, June 03, 2005 2:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Pending status > > > When I checked the archives, I found a lot of threads regarding this > "pending" status and "Host has not been checked yet" messages that users > have been getting on a fresh install. But unfortunately none of the > suggestions (at least most of them) did not work for me. Hence I am > posting my question (again?) - How do I get the Nagios to actually check > the services? What am I missing? Service definitions for nagios to check. > Here is the config details: -v option > > Checking services... > Checked 5 services. > Checking hosts... > Warning: Host 'win_box' has no services associated with it! > Checked 2 hosts. Nagios is primarily a service monitor. Hosts without associated service definitions will _never_ be checked. Hosts with service definitions will only be checked when a service on that host fails (they'll say 'assumed to be up' otherwise). The services themselves will be checked according to their normal_check_interval. win_box will always remain in a PENDING state with your current configuration. Are the services on your other host being checked? If no, please post the host, service and command definitions in question as well as nagios version and plugins version. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eford at nexusenergy.com Fri Jun 3 23:13:18 2005 From: eford at nexusenergy.com (Edward Ford) Date: Fri, 3 Jun 2005 17:13:18 -0400 Subject: nagios and sendmail In-Reply-To: References: Message-ID: I am still unable to send email from nagios to myself.. Any ideas would be appreciated. I am using ::: # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line echo "Message" | mail -s "subject" email at domain.com } This is what I have put into the misccommands.cfg for notify-by-email. I am getting no email. When I type in Echo "Message" | mail -s "subject" email at domain.com from the linux command prompt I do get my e-mail which is coming from a different server. The linux sendmail looks like it is working but for some reason or other nagios is not sending email alerts. I am not sure what is going on. I believe that the contacts are correct and service_notification_commands point to notify_by_email, I enabled notifications within services with notifications_enabled 1 (just in case). I also changed the time with notification_interval 120 What am I missing.. Thanks; -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell Sent: Friday, June 03, 2005 3:24 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios and sendmail > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Ford > Sent: Friday, June 03, 2005 2:01 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios and sendmail > > These are examples that are indeed in the configuration files.. If you can > read them.. For each contact you specify two notification options -- (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact) host_notification_commands command_name service_notification_commands command_name Using my examples below they would look like -- define contact{ contact_name example alias Real Name service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands service-notify-by-email host_notification_commands host-notify-by-email email email at example.foo } The command definitions themselves are extremely simple, consisting of only two commands chained together. You have 'echo' and you have 'mail'. Everything else is just filler that's included in the email. Use 'man echo' and 'man mail' to understand those basic commands better. The documentation on notifications might also be useful to you at http://nagios.sourceforge.net/docs/1_0/notifications.html. -- Marc (p.s. top-posting makes email hard to read in context and discourages responses). > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell > Sent: Friday, June 03, 2005 2:45 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nagios and sendmail > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Edward Ford > > Sent: Friday, June 03, 2005 1:15 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios and sendmail > > > > I finally got sendmail working on the computer that nagios is > installed > > on. Now how do I get nagios to talk to sendmail, is it with external > > commands? > > A couple of examples -- > > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /bin/echo -e 'Subject: ** $NOTIFICATIONTYPE$ > alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios > *****\n\nNotification Type: $NOT > IFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/ > mail Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME > $CONTACTEMAIL$ > } > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /bin/echo -e "Subject: $NOTIFICATIONTYPE$ alert > - Host $HOSTNAME$ is $HOSTSTATE$\n\n***** Nagios *****\n\nNotification > Type: $NOTIFICATIONTYPE$\nHos > t: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail $CONTACTEMAIL$ > } > > # 'service-notify-by-email' command definition > define command{ > command_name service-notify-by-email > command_line /bin/echo -e "Subject: Service $SERVICEDESC$ > $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHo > st: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: > $HOSTADDRESS$\n\nService: $SERVICEDESC$\nInfo: $OUTPUT$\n\nDate/Time: > $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ al > ert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ > } > > > Any good and useful responses would be appreciated. > > Unless I'm being very dense, these, and many other command definitions > are created if you install the sample config files. > > -- > Marc > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Fri Jun 3 23:23:33 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Fri, 3 Jun 2005 16:23:33 -0500 Subject: Pending status In-Reply-To: References: Message-ID: > Service definitions for nagios to check. Yup I realized that. I think there was a similar thread on the archives where someone mentioned that Nagios doesn't check host without services. So I defined 5 services on the localhost. But it was always in Pending state. Also there was another suggestion to go ahead and disable all service checks and then reenable them through the interface. That didn't work either. > Are the services on your other > host being checked? If no, please post the host, service and command > definitions in question as well as nagios version and plugins version. Nope, as I said earlier, services on itself were not being checked. Here are the details (all of them are modified version of sample configs that come with fresh install of Nagios v2.0b3 and Nagios-plugin v1.4 on Redhat 7.3): Host: define host{ use generic-host ; Name of host template to use host_name localhost alias moya address 127.0.0.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } SERVICES: define service{ use generic-service ; Name of service template to use host_name localhost service_description Root Partition is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_disk!20%!10%!/ } # Define a service to check the load on the local machine. define service{ use generic-service ; Name of service template to use host_name localhost service_description Current Load is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } # Define a service to check the number of currently running procs # on the local machine. Warning if > 250 processes, critical if # > 400 users. define service{ use generic-service ; Name of service template to use host_name localhost service_description Total Processes is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_procs!250!400 } # Define a service to check the number of currently logged in # users on the local machine. Warning if > 20 users, critical # if > 50 users. define service{ use generic-service ; Name of service template to use host_name localhost service_description Current Users is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_local_users!20!50 } # Define a service to "ping" the local machine define service{ use generic-service ; Name of service template to use host_name localhost service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } # Generic service definition template - This is NOT a real service, just a template! define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE. } COMMANDS: # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } # 'check_local_users' command definition define command{ command_name check_local_users command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ } # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ } -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lugonzalez at grupo-uno.com Sat Jun 4 00:06:42 2005 From: Lugonzalez at grupo-uno.com (=?iso-8859-1?Q?Diego_Gonz=E1lez_Briones?=) Date: Fri, 3 Jun 2005 16:06:42 -0600 Subject: Check_tcp Message-ID: Hi all, I'm trying to configure a new service with check_tcp plugin on services.cfg file. There is a definition for ping monitoring like this and it is working good: define service{ use generic-service ; Name of service template to use host_name SLT_CRC service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!900.0,20%!1500.0,60% } I want to monitor port 5000 that is for Sybase Sql Service for the same server, but to be honest I don't have any idea how to do this with check_tcp. I was trying some parameters like: check_command check_tcp -p 5000 but there is an error that advices that the parameter is bad and if I leave just: check_command check_tcp there is another advice that the service is null. Can you help me? I'm very dummie with this. Thanks. Luis Diego Gonz?lez Briones. Telecommunications Technical Support. EDS-Prosix Phone (506) 209-0800. Fax No. (506) 209-0817 AVISO DE CONFIDENCIALIDAD: La informaci?n de este documento y sus anexos es confidencial. Est? dirigida ?nicamente para el uso por parte del destinatario que se indica. Dado que las comunicaciones por Internet no son seguras, EDS Prosix no acepta responsabilidad legal por el contenido de este mensaje. Si usted no es el destinatario de este documento, por favor notifique a EDS Prosix de inmediato y luego borre el documento. Se advierte que est? prohibido revelar el contenido de este documento a cualquier otra persona, ni copiarlo. La violaci?n al mandato de este aviso puede dar lugar a responsabilidades legales. CONFIDENTIALITY NOTICE: The information in this document and attachments is confidential. It is intended only for the use of the named recipient. Internet commmunications are not secure and therefore the EDS Prosix does not accept legal responsibility for the contents of this message. If you are not the intended recipient, please notify to EDS Prosix immediately and then delete this document. Do not disclose the contents of this document to any other person, nor take any copies. Violation of this notice may be unlawful. < >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From sabol at alderaan.gsfc.nasa.gov Sat Jun 4 00:37:51 2005 From: sabol at alderaan.gsfc.nasa.gov (Edward J. Sabol) Date: Fri, 3 Jun 2005 18:37:51 -0400 Subject: Check_tcp In-Reply-To: (Lugonzalez@grupo-uno.com) References: Message-ID: <200506032237.j53MbpZ7001508@alderaan.gsfc.nasa.gov> > I want to monitor port 5000 that is for Sybase Sql Service for the same > server, but to be honest I don't have any idea how to do this with > check_tcp. I was trying some parameters like: > check_command check_tcp -p 5000 > but there is an error that advices that the parameter is bad and if I leave > just: > check_command check_tcp > there is another advice that the service is null. > Can you help me? I'm very dummie with this. I suggest that you download and use the check_sybase plugin instead. http://www.net-man.at/software/check_sybase-LATEST.zip It requires that you have the DBI and DBD::Sybase Perl modules installed. # Check to see whether Sybase is accessible. define command { command_name check_sybase_connection command_line $USER1$/check_sybase -S $HOSTNAME$ -U your_sybase_user -P your_sybase_password -D your_sybase_database_name --checktype=CONNECT } ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tonye at billy.demon.nl Sat Jun 4 01:25:28 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Sat, 04 Jun 2005 01:25:28 +0200 Subject: nagios and sendmail In-Reply-To: References: Message-ID: <1117841128.27941.48.camel@localhost> fre, 03.06.2005 kl. 23.13 skrev Edward Ford: > I am still unable to send email from nagios to myself.. Any ideas would be > appreciated. I am using ::: > # 'notify-by-email' command definition > > define command{ > > > > command_line echo "Message" | mail -s "subject" > email at domain.com > } > This is what I have put into the misccommands.cfg for notify-by-email. This is all wrong. What do you have in contacts.cfg? Like I have: define contact { contact_name nagios-admin alias Nagios Admin host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email nagios-admin at tru.leerlingen } And in my smtp aliases file I have nagios-admin points to me. So I get mail for nagios-admin. misccommands.cfg does noppies for me, nohow. Forget it. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From slaw at frontbridge.com Sat Jun 4 02:06:22 2005 From: slaw at frontbridge.com (Steve) Date: Sat, 4 Jun 2005 00:06:22 +0000 (UTC) Subject: looking for snmpwalk plugin References: <429FEA98.5020104@gmx.net> Message-ID: Hendrik Baecker gmx.net> writes: > > Steve schrieb: > > >Hi all: > > > > > Hi alone, > > >I am new to Nagios. I understand that there is snmp plug-in for snmpget > >command but is there any plug-in in C language which can do snmpwalk function? > > > > > >Please let me know if there is one or where I can get it if possible. > > > > > > > There are quiet two must haves for plugin development: > > 1. The return codes must be right for OK, Warning, Critical and so on > 2. The Output that the plugins gives back to nagios are limited to one line. > > So, an snmpwalk plugin with more lines cannot be parsed by nagios. > > For what do you want to have a walk plugin? Perhaps there are other ways > to check what you want have. > > >Thanks > >Steve > > > > > > > Regards, > Hendrik > Hi, I want to walk my MIB table to get the OIDs first so that I can use them in my individual SNMP get requests later. The MIB table with 2 indexes. One of the indexes is PID (process ID which changes with each run of the process being monitored). The OID will contain PID. Therefore, I need to know all the PIDs given the value of a second index (whose value does not change). Since Nagios cannot provide that function, do you have any other suggestions to achieve the same function? I can use some kind of snmpwalk command/tool easily on managed node. But it will be better if we can do that on the client (Nagios) node itself. Thanks Steve ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From milindyn at yahoo.com Sat Jun 4 10:02:06 2005 From: milindyn at yahoo.com (Milind Nanal) Date: Sat, 4 Jun 2005 01:02:06 -0700 (PDT) Subject: Monitor shell scripts.... In-Reply-To: <20050530183555.21201.qmail@web32515.mail.mud.yahoo.com> References: <20050530183555.21201.qmail@web32515.mail.mud.yahoo.com> Message-ID: <20050604080206.10012.qmail@web32505.mail.mud.yahoo.com> How do I check multiple scripts running of different terminal console. The shell sctips are visible in ps -aef command. How do I link it with check_pros Quick response is appriciated Regards, Milind __________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jstevensog at gmail.com Sun Jun 5 06:23:18 2005 From: jstevensog at gmail.com (John Stevens) Date: Sun, 5 Jun 2005 14:23:18 +1000 Subject: Probably I am missing something obvious..... In-Reply-To: References: <200506021306.j52D6ues003018@mail.asc.edu> Message-ID: Hi All, Yes I was definitely premature. I have expanded my config to check ping several devices on the network and all fail with a timout error. " CRITICAL - Plugin timed out after 10 seconds". Even disabling SELinux did not help the situation. As stated previously, I can now ping and check_ping the hosts from a console session su'ed as nagios user. But the tests just don't work. Any help on this would be appreciated. Regards John ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From spdesai at gnvfc.net Sun Jun 5 20:15:46 2005 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Sun, 5 Jun 2005 23:45:46 +0530 Subject: mysql - Nagios not talknig Message-ID: <1117995346.42a341527b56e@mail.gnvfc.net> Hello I have configured mysql in nagios in cgi.cfg and resourse.cfg... also created the required tables in mysql...with all privilages..as per below.. xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=noc xsddb_password=noc xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=noc xcddb_password=noc xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=noc xdddb_password=noc and mysql configuration are as below.. mysql> show tables; +------------------+ | Tables_in_nagios | +------------------+ | hostcomments | | hostdowntime | | hostextinfo | | hostretention | | hoststatus | | programretention | | programstatus | | servicecomments | | servicedowntime | | serviceextinfo | | serviceretention | | servicestatus | +------------------+ 12 rows in set (0.00 sec) and given all privilages to noc user for all tables GRANT ALL PRIVILEGES on *.* to noc; But mysql and nagios not talking with eachother.. Kindly give me the solutions.. thanks in advance -suhag. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From anxoasi at yahoo.es Mon Jun 6 09:13:04 2005 From: anxoasi at yahoo.es (Anxo) Date: Mon, 6 Jun 2005 09:13:04 +0200 (CEST) Subject: Database!!! Message-ID: <20050606071304.15252.qmail@web53105.mail.yahoo.com> Hello, how can i configure nagios to use postgresql as database ?? Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From barry.maclean at shaw.ca Mon Jun 6 06:38:13 2005 From: barry.maclean at shaw.ca (barry.maclean) Date: Sun, 05 Jun 2005 22:38:13 -0600 Subject: Nagios Compile Solaris 9 mysql Message-ID: <0IHN00F29BNI5O@l-daemon> I'm trying to compile nagios with mysql support but not having much luck. Mysql is installed but I receive the following error. Any help would be great Many Thanks Barry gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o ddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfd .c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon Jun 6 10:26:56 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 06 Jun 2005 10:26:56 +0200 Subject: Database!!! In-Reply-To: <20050606071304.15252.qmail@web53105.mail.yahoo.com> References: <20050606071304.15252.qmail@web53105.mail.yahoo.com> Message-ID: <42A408D0.8080509@op5.se> Anxo wrote: > Hello, > how can i configure nagios to use postgresql as database ?? > You can't. Use nagios-db for that, or write your own neb-module. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jun 6 10:28:29 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 06 Jun 2005 10:28:29 +0200 Subject: Nagios Compile Solaris 9 mysql In-Reply-To: <0IHN00F29BNI5O@l-daemon> References: <0IHN00F29BNI5O@l-daemon> Message-ID: <42A4092D.1020902@op5.se> barry.maclean wrote: > I'm trying to compile nagios with mysql support but not having much luck. > Mysql is installed but I receive the following error. > ./configure --help | grep mysql will tell you how to specify it. Note that database support is out from Nagios 2.x. > > > Any help would be great > > > > Many Thanks Barry > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o commands.o > flapping.o logging.o notifications.o sehandlers.o utils.o > > ddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c > ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfd > > .c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From anxoasi at yahoo.es Mon Jun 6 16:26:59 2005 From: anxoasi at yahoo.es (Anxo) Date: Mon, 6 Jun 2005 16:26:59 +0200 (CEST) Subject: Database!!! In-Reply-To: <42A408D0.8080509@op5.se> References: <42A408D0.8080509@op5.se> Message-ID: <20050606142659.46882.qmail@web53105.mail.yahoo.com> but where i configure nagios to acept postgresql?? --- in nagios.cfg??? and where i can download nagios-db?? i?m working with nagios 2.0b3. Thanks for all. Anxo Andreas Ericsson escribi?: Anxo wrote: > Hello, > how can i configure nagios to use postgresql as database ?? > You can't. Use nagios-db for that, or write your own neb-module. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jun 6 16:28:39 2005 From: marc at ena.com (Marc Powell) Date: Mon, 6 Jun 2005 09:28:39 -0500 Subject: Pending status Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Aditya Ivaturi > Sent: Friday, June 03, 2005 4:24 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Pending status > > > > > > > Service definitions for nagios to check. > > Yup I realized that. I think there was a similar thread on the archives > where someone mentioned that Nagios doesn't check host without services. > So I defined 5 services on the localhost. But it was always in Pending > state. Also there was another suggestion to go ahead and disable all > service checks and then reenable them through the interface. That didn't > work either. What does your scheduling queue show for Next Check? > > Are the services on your other > > host being checked? If no, please post the host, service and command > > definitions in question as well as nagios version and plugins version. > > Nope, as I said earlier, services on itself were not being checked. Here > are the details (all of them are modified version of sample configs that > come with fresh install of Nagios v2.0b3 and Nagios-plugin v1.4 on Redhat > 7.3): > > Host: > > define host{ > use generic-host ; Name of host > template to use > host_name localhost > alias moya > address 127.0.0.1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > > > SERVICES: > define service{ > use generic-service ; Name of > service template to use > host_name localhost > service_description Root Partition > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 960 > notification_period 24x7 > check_command check_local_disk!20%!10%!/ > } > # Define a service to check the load on the local machine. > > define service{ > use generic-service ; Name of > service template to use > host_name localhost > service_description Current Load > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 960 > notification_period 24x7 > check_command > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 [service/command definitions snipped] All these look good. To simplify things for troubleshooting, I'd disable these in your generic-service template -- passive_checks_enabled obsess_over_service check_freshness event_handler_enabled failure_prediction_enabled process_perf_data retain_status_information retain_nonstatus_information I would also, if you have it enabled, disable retain_state_information in nagios.cfg, stop nagios, verify that all processes are dead, remove the state_retention_file and restart nagios. Finally, check nagios.log for any interesting output that might indicate a problem. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 6 16:28:16 2005 From: marc at ena.com (Marc Powell) Date: Mon, 6 Jun 2005 09:28:16 -0500 Subject: Database!!! Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Anxo > Sent: Monday, June 06, 2005 9:27 AM > To: nagios usuarios > Subject: Re: [Nagios-users] Database!!! > > but where i configure nagios to acept postgresql?? --- in nagios.cfg??? You'll need to follow the nagios-db installation instructions. > and where i can download nagios-db?? > i?m working with nagios 2.0b3. Google's a great resource when you can't find something. http://sourceforge.net/projects/nagios-db/ -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Mon Jun 6 17:15:46 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Mon, 6 Jun 2005 10:15:46 -0500 Subject: Pending status In-Reply-To: References: Message-ID: > What does your scheduling queue show for Next Check? localhost Current Load N/A 06-06-2005 09:47:44 ENABLED Disable Active Checks Of This Service Re-schedule This Service Check localhost Root Partition N/A 06-06-2005 09:48:44 ENABLED Disable Active Checks Of This Service Re-schedule This Service Check localhost Current Users N/A 06-06-2005 09:49:44 ENABLED Disable Active Checks Of This Service Re-schedule This Service Check localhost Total Processes N/A 06-06-2005 09:50:44 ENABLED Disable Active Checks Of This Service Re-schedule This Service Check localhost PING N/A 06-06-2005 09:51:44 ENABLED Disable Active Checks Of This Service Re-schedule This Service Check > All these look good. To simplify things for troubleshooting, I'd disable > these in your generic-service template -- > passive_checks_enabled > obsess_over_service > check_freshness > event_handler_enabled > failure_prediction_enabled > process_perf_data > retain_status_information > retain_nonstatus_information Done. > I would also, if you have it enabled, disable retain_state_information > in nagios.cfg, stop nagios, verify that all processes are dead, remove > the state_retention_file and restart nagios. Done. > Finally, check nagios.log for any interesting output that might indicate > a problem. This is the log: [1118069264] Nagios 2.0b3 starting... (PID=7137) [1118069264] LOG VERSION: 2.0 [1118069264] Warning: Host 'emyn-muil' has no services associated with it! No more errors or warnings. And the services check still in pending state. Any more suggestions? --Turi -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From eford at nexusenergy.com Mon Jun 6 17:18:49 2005 From: eford at nexusenergy.com (Edward Ford) Date: Mon, 6 Jun 2005 11:18:49 -0400 Subject: Who owns NnClient Message-ID: When I goto http://nsclient.ready2run.nl/ I am seeing/reading information from Feb 2004. I also see a link on http://www.tsmgsoftware.com/ which pulls up no site at all. I also see a site in France that supposedly supports NsClient but when I go there no site is pulling up. Who supports nsclient. I would like to see some source code and also get more information on nsclient. Any information would be appreciated. Thank You; Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: From funraps at yahoo.com Mon Jun 6 17:33:56 2005 From: funraps at yahoo.com (funraps too) Date: Mon, 6 Jun 2005 08:33:56 -0700 (PDT) Subject: My nagios won't work any more, STRANGE Message-ID: <20050606153356.33735.qmail@web32010.mail.mud.yahoo.com> Good Morning, I had Nagios working fine then I installed Monarch and it was still working, then it just stopped! There are no errors when I issue nagios -v but the service will not start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios --------------------------------- Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out! -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagiosmail at gmail.com Mon Jun 6 19:42:20 2005 From: nagiosmail at gmail.com (Nagios Mail) Date: Mon, 6 Jun 2005 12:42:20 -0500 Subject: monitoring backup In-Reply-To: References: Message-ID: <9ea59a10506061042632ba336@mail.gmail.com> What veritas backup product are you using? netbackup or Backup Exec? If you are using Netbackup I have a script that runs after the completion of everyjob on the backup server and submit them to the nagios server. Anyhow let me know. On 5/26/05, Richard Overton (OmniBus - Stanford) wrote: > > > > Guys > > > > How do I go about monitoring Veritas backup on my 2k servers using Nagios? V > 1 > > > > > Regards, > > Rich Overton > > Network Administrator > > Omnibus Systems Ltd > > Loughborough > > Leicestershire > > LE12 5PY > > UK > > T: 08705 004379 > > M: 07970134379 > > E: richard.overton at omnibus.co.uk > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagiosmail at gmail.com Mon Jun 6 19:47:11 2005 From: nagiosmail at gmail.com (Nagios Mail) Date: Mon, 6 Jun 2005 12:47:11 -0500 Subject: monitoring backup In-Reply-To: <9ea59a10506061042632ba336@mail.gmail.com> References: <9ea59a10506061042632ba336@mail.gmail.com> Message-ID: <9ea59a10506061047148a5439@mail.gmail.com> BTW, If it is Veritas Netbackup you are using, I add this to the backup_exit_notify.cmd script at the bottom... (located in root_install_dir\veritas\netbackup\bin\) [another note, I am assuming you monitor the boxes you back up, if not thats ok, nagios will just have a one line complaint for every host that it does not know about, shouldnt harm anything] ------------------------------------------------------------------------------------------------------------- @setlocal @set nsca_server=theoracle.starkinvestments.com @set nsca_port=5667 @set nsca_com=c:\progra~1\veritas\netbackup\bin\send_nsca.exe @set nsca_conf=c:\progra~1\veritas\netbackup\bin\send_nsca.cfg @IF %5 == 0 goto :status_ok @IF %5 == 1 goto :status_partial @IF %5 == 150 goto :status_canceled @IF %5 GEQ 3 goto :status_bad goto :EndMain :status_ok @echo %1.Netbackup Job.0.Backup Success | %nsca_com% -H %nsca_server% -c %nsca_conf% -p %nsca_port% -d . @goto :EndMain :status_partial @echo %1.Netbackup Job.0.Backup Partial | %nsca_com% -H %nsca_server% -c %nsca_conf% -p %nsca_port% -d . @goto :EndMain :status_canceled @echo %1.Netbackup Job.1.Backup Canceled | %nsca_com% -H %nsca_server% -c %nsca_conf% -p %nsca_port% -d . @goto :EndMain :status_bad @echo %1.Netbackup Job.2.Backup Failed | %nsca_com% -H %nsca_server% -c %nsca_conf% -p %nsca_port% -d . @goto :EndMain :EndMain @endlocal ------------------------------------------------------------------------------------------------------------------- On 6/6/05, Nagios Mail wrote: > What veritas backup product are you using? netbackup or Backup Exec? > > If you are using Netbackup I have a script that runs after the > completion of everyjob on the backup server and submit them to the > nagios server. > > Anyhow let me know. > > > > > On 5/26/05, Richard Overton (OmniBus - Stanford) > wrote: > > > > > > > > Guys > > > > > > > > How do I go about monitoring Veritas backup on my 2k servers using Nagios? V > > 1 > > > > > > > > > > Regards, > > > > Rich Overton > > > > Network Administrator > > > > Omnibus Systems Ltd > > > > Loughborough > > > > Leicestershire > > > > LE12 5PY > > > > UK > > > > T: 08705 004379 > > > > M: 07970134379 > > > > E: richard.overton at omnibus.co.uk > > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aaronhcarr at gmail.com Mon Jun 6 20:29:48 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Mon, 6 Jun 2005 14:29:48 -0400 Subject: Irix monitoring/check_by_ssh Message-ID: How is everyone doing their monitoring of Irix machines? I have no issues with getting Nagios set up for Linux and Solaris, but Irix is presenting a problem. Regarding check by ssh, the ssh-agent isn't working with the Nagios user. I can only assume that's because the Nagios daemon doesn't have a logon account on the monitoring box. After su from root to Nagios, I start the ssh-agent, then when I attempt to add a key, I get the error "Could not open a connection to your authentication agent." I've looked through the documentation, but didn't see any detailed info about check_by_ssh changes. Any help here would be appreciated. Aaron ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BStover at NorcalMutual.com Mon Jun 6 21:00:40 2005 From: BStover at NorcalMutual.com (Stover, Beth) Date: Mon, 6 Jun 2005 12:00:40 -0700 Subject: sms_client Problem - Modem Locked? Message-ID: Hi, I tried posting to the sms_client user group, but no response. I'm hoping someone can help me here. My sms alerts stopped working a few days ago. When I try to run it from the command line, I get the following error: /usr/local/etc/sms (root) $ sms_client 1111111111'testing' Dialing SMSC 2222222222... Another program is using the modem. Waiting... There's a lock file in the modem lock directory, but it's empty: /var/lock/LCK..cuaa4 I'm using Freebsd ver 4.4 and sms_client 2.0.8y. Can someone help? Beth Stover Systems Administrator 415.395.8768 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jun 6 21:06:52 2005 From: marc at ena.com (Marc Powell) Date: Mon, 6 Jun 2005 14:06:52 -0500 Subject: Irix monitoring/check_by_ssh Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Aaron Carr > Sent: Monday, June 06, 2005 1:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Irix monitoring/check_by_ssh > > How is everyone doing their monitoring of Irix machines? > > I have no issues with getting Nagios set up for Linux and Solaris, but > Irix is presenting a problem. Can't help here... > > Regarding check by ssh, the ssh-agent isn't working with the Nagios > user. I can only assume that's because the Nagios daemon doesn't have > a logon account on the monitoring box. After su from root to Nagios, I > start the ssh-agent, then when I attempt to add a key, I get the error > "Could not open a connection to your authentication agent." Why are you trying to use the agent? Why not just generate a key as the nagios user on your source host and add it to authorized_keys for the destination user/host? Ssh over once to accept the host key then you should be good to go. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aaronhcarr at gmail.com Mon Jun 6 21:15:53 2005 From: aaronhcarr at gmail.com (Aaron Carr) Date: Mon, 6 Jun 2005 15:15:53 -0400 Subject: Irix monitoring/check_by_ssh In-Reply-To: References: Message-ID: The agent will need to have the key loaded on the monitoring host in order to have passwordless sessions for checks, will it not? On 6/6/05, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Aaron Carr > > Sent: Monday, June 06, 2005 1:30 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Irix monitoring/check_by_ssh > > > > How is everyone doing their monitoring of Irix machines? > > > > I have no issues with getting Nagios set up for Linux and Solaris, but > > Irix is presenting a problem. > > Can't help here... > > > > > Regarding check by ssh, the ssh-agent isn't working with the Nagios > > user. I can only assume that's because the Nagios daemon doesn't have > > a logon account on the monitoring box. After su from root to Nagios, I > > start the ssh-agent, then when I attempt to add a key, I get the error > > "Could not open a connection to your authentication agent." > > Why are you trying to use the agent? Why not just generate a key as the > nagios user on your source host and add it to authorized_keys for the > destination user/host? Ssh over once to accept the host key then you > should be good to go. > > -- > Marc > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dveldhuisen at bartlesville.oilfield.slb.com Mon Jun 6 21:33:33 2005 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Mon, 06 Jun 2005 14:33:33 -0500 Subject: sms_client Problem - Modem Locked? In-Reply-To: References: Message-ID: <6.1.1.1.2.20050606143108.035586b0@pop.nam.slb.com> Beth: You might try using the command: lsof /dev/xxxx xxx is your modem line. The command should give you what it thinks is using your modem device. All else fails, you recycle the machine, you might have a program running your not aware of and this might kill it off. Doug At 02:00 PM 6/6/2005, Stover, Beth wrote: >Hi, > >I tried posting to the sms_client user group, but no response. I'm hoping >someone can help me here. > >My sms alerts stopped working a few days ago. When I try to run it from >the command line, I get the following error: > > >/usr/local/etc/sms (root) $ sms_client 1111111111'testing' > >Dialing SMSC 2222222222... > >Another program is using the modem. > >Waiting... > >There's a lock file in the modem lock directory, but it's empty: > >/var/lock/LCK..cuaa4 >I'm using Freebsd ver 4.4 and sms_client 2.0.8y. > >Can someone help? > >Beth Stover >Systems Administrator >415.395.8768 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jun 6 21:35:04 2005 From: marc at ena.com (Marc Powell) Date: Mon, 6 Jun 2005 14:35:04 -0500 Subject: Irix monitoring/check_by_ssh Message-ID: Nope. If the source key exists in the authorized_hosts file on the remote host then passwordless access is allowed w/o the agent. 'man 8 sshd' and search for authorized keys for additional limitations that you can employ. I've been doing this for as long as I can remember and have never used the agent. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Aaron Carr > Sent: Monday, June 06, 2005 2:16 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Irix monitoring/check_by_ssh > > The agent will need to have the key loaded on the monitoring host in > order to have passwordless sessions for checks, will it not? > > On 6/6/05, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > > admin at lists.sourceforge.net] On Behalf Of Aaron Carr > > > Sent: Monday, June 06, 2005 1:30 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Irix monitoring/check_by_ssh > > > > > > How is everyone doing their monitoring of Irix machines? > > > > > > I have no issues with getting Nagios set up for Linux and Solaris, but > > > Irix is presenting a problem. > > > > Can't help here... > > > > > > > > Regarding check by ssh, the ssh-agent isn't working with the Nagios > > > user. I can only assume that's because the Nagios daemon doesn't have > > > a logon account on the monitoring box. After su from root to Nagios, I > > > start the ssh-agent, then when I attempt to add a key, I get the error > > > "Could not open a connection to your authentication agent." > > > > Why are you trying to use the agent? Why not just generate a key as the > > nagios user on your source host and add it to authorized_keys for the > > destination user/host? Ssh over once to accept the host key then you > > should be good to go. > > > > -- > > Marc > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > > a projector? How fast can you ride your desk chair down the office luge > track? > > If you want to score the big prize, get to know the little guy. > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BStover at NorcalMutual.com Mon Jun 6 21:44:23 2005 From: BStover at NorcalMutual.com (Stover, Beth) Date: Mon, 6 Jun 2005 12:44:23 -0700 Subject: sms_client Problem - Modem Locked? Message-ID: Hi Doug, I don't have lsof installed. I've tried rebooting the server, but I still get the same error. Beth Stover Systems Administrator 415.395.8768 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Doug Veldhuisen Sent: Monday, June 06, 2005 12:34 PM To: Stover, Beth; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] sms_client Problem - Modem Locked? Beth: You might try using the command: lsof /dev/xxxx xxx is your modem line. The command should give you what it thinks is using your modem device. All else fails, you recycle the machine, you might have a program running your not aware of and this might kill it off. Doug At 02:00 PM 6/6/2005, Stover, Beth wrote: Hi, I tried posting to the sms_client user group, but no response. I'm hoping someone can help me here. My sms alerts stopped working a few days ago. When I try to run it from the command line, I get the following error: /usr/local/etc/sms (root) $ sms_client 1111111111'testing' Dialing SMSC 2222222222... Another program is using the modem. Waiting... There's a lock file in the modem lock directory, but it's empty: /var/lock/LCK..cuaa4 I'm using Freebsd ver 4.4 and sms_client 2.0.8y. Can someone help? Beth Stover Systems Administrator 415.395.8768 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dveldhuisen at bartlesville.oilfield.slb.com Mon Jun 6 21:59:26 2005 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Mon, 06 Jun 2005 14:59:26 -0500 Subject: sms_client Problem - Modem Locked? In-Reply-To: References: Message-ID: <6.1.1.1.2.20050606145425.035b8008@pop.nam.slb.com> Beth; Are you familiar with the Freebsd ports packages? You might want to attempt to install the lsof, very very handy program. However in lieu of that program, you might do a ps -aewx and post it, if its not a too large. maybe we can spot something. Doug At 02:44 PM 6/6/2005, Stover, Beth wrote: >Hi Doug, > >I don't have lsof installed. I've tried rebooting the server, but I still >get the same error. > >Beth Stover >Systems Administrator >415.395.8768 >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Doug Veldhuisen >Sent: Monday, June 06, 2005 12:34 PM >To: Stover, Beth; nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] sms_client Problem - Modem Locked? > > >Beth: > >You might try using the command: lsof /dev/xxxx >xxx is your modem line. The command should give you what it thinks is >using your modem device. > >All else fails, you recycle the machine, you might have a program running >your not aware of and this might kill it off. > >Doug > > > >At 02:00 PM 6/6/2005, Stover, Beth wrote: > >Hi, > >I tried posting to the sms_client user group, but no response. I'm hoping >someone can help me here. > >My sms alerts stopped working a few days ago. When I try to run it from >the command line, I get the following error: > > >/usr/local/etc/sms (root) $ sms_client 1111111111'testing' > >Dialing SMSC 2222222222... > >Another program is using the modem. > >Waiting... > >There's a lock file in the modem lock directory, but it's empty: > >/var/lock/LCK..cuaa4 >I'm using Freebsd ver 4.4 and sms_client 2.0.8y. > >Can someone help? > >Beth Stover >Systems Administrator >415.395.8768 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Mon Jun 6 22:11:08 2005 From: benny at bennyvision.com (C. Bensend) Date: Mon, 6 Jun 2005 15:11:08 -0500 (CDT) Subject: sms_client Problem - Modem Locked? In-Reply-To: <6.1.1.1.2.20050606145425.035b8008@pop.nam.slb.com> References: <6.1.1.1.2.20050606145425.035b8008@pop.nam.slb.com> Message-ID: <3357.134.244.169.17.1118088668.squirrel@webmail.stinkweasel.net> >>Another program is using the modem. >> >>Waiting... >> >>There's a lock file in the modem lock directory, but it's empty: >> >>/var/lock/LCK..cuaa4 >>I'm using Freebsd ver 4.4 and sms_client 2.0.8y. What's the time stamp on that lockfile? If you've rebooted and it's still having issues, it's likely that something locked the modem, and then exitted uncleanly, leaving the lockfile behind. If it's old, you might remove it (it'd be a good idea to reboot then too, to make sure nothing re-locks it), and try again. HTH, Benny -- "You come from a long line of scary women." -- Ranger, "Three To Get Deadly" ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kex604 at gmail.com Mon Jun 6 22:20:42 2005 From: kex604 at gmail.com (Fred Reinthaler) Date: Mon, 6 Jun 2005 16:20:42 -0400 Subject: serviceextinfo Message-ID: <541c888d05060613205f938f1d@mail.gmail.com> Hi, I'm trying to add extended service information so I can have an icon linking to a graph after installing nagiosgraph (also tried nagiostat). The problem is I can't get the icon to display besides the service. I have the following line in cgi.cfg: xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg And my serviceextinfo.cfg file contains: define serviceextinfo { host_name ewams service_description PING notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ icon_image graph.gif icon_image_alt View graphs } My icon is in /usr/share/nagios/htdocs/images/logos and I've got the correct permissions set for it. I've spent the past couple of days trying to troubleshoot this but I cannot figure it out. I'm not getting any errors in the logs either. Any ideas on what the problem might be? I'm using the Debian package of Nagios version 1.3 with Mysql. thanks, fred ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adam at networkdr.net Mon Jun 6 22:27:28 2005 From: adam at networkdr.net (Adam Stern) Date: Mon, 6 Jun 2005 16:27:28 -0400 Subject: Web error Message-ID: I installed nagios with all the defaults and copied and configured my .cfg files. Every time I click on a link on the web, I get the: "Error: Could not read object configuration data!" page. I ran the nagios -v nagios.cfg command and there were no errors found. My nagios.log is empty. Where am I going wrong? Please help! Adam Stern Systems Engineer Network Doctor 580 Sylvan Ave P: (201) 837-0514 F: (201) 871-0831 -------------- next part -------------- An HTML attachment was scrubbed... URL: From BStover at NorcalMutual.com Mon Jun 6 22:34:51 2005 From: BStover at NorcalMutual.com (Stover, Beth) Date: Mon, 6 Jun 2005 13:34:51 -0700 Subject: sms_client Problem - Modem Locked? Message-ID: That did it. I removed the lock file, and worked. The strange thing was that I had deleted it before, but it still didn't work. The 2nd time was a charm. Thanks! Beth Stover Systems Administrator 415.395.8768 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of C. Bensend Sent: Monday, June 06, 2005 1:11 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] sms_client Problem - Modem Locked? >>Another program is using the modem. >> >>Waiting... >> >>There's a lock file in the modem lock directory, but it's empty: >> >>/var/lock/LCK..cuaa4 >>I'm using Freebsd ver 4.4 and sms_client 2.0.8y. What's the time stamp on that lockfile? If you've rebooted and it's still having issues, it's likely that something locked the modem, and then exitted uncleanly, leaving the lockfile behind. If it's old, you might remove it (it'd be a good idea to reboot then too, to make sure nothing re-locks it), and try again. HTH, Benny -- "You come from a long line of scary women." -- Ranger, "Three To Get Deadly" ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jun 6 23:22:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 06 Jun 2005 23:22:09 +0200 Subject: Who owns NnClient In-Reply-To: References: Message-ID: <42A4BE81.4080602@op5.se> Edward Ford wrote: > When I goto http://nsclient.ready2run.nl/ I am seeing/reading information > from Feb 2004. I also see a link on http://www.tsmgsoftware.com/ which pulls > up no site at all. I also see a site in France that supposedly supports > NsClient but when I go there no site is pulling up. > > Who supports nsclient. Nobody, as it were. Two new projects are replacing it. NSClient++ and NC_Net. NSClient++ seems cleaner to me, but NC_Net has some nice features that goes well with the MS philosophy, "bloat all you can". > I would like to see some source code and also get > more information on nsclient. > nsclient++ is a sourceforge project. I have no idea where nc_net can be found, but they're both GPL'd (I think). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rhall at HealthVision.com Mon Jun 6 23:29:55 2005 From: rhall at HealthVision.com (Rusty Hall) Date: Mon, 6 Jun 2005 16:29:55 -0500 Subject: Who owns NnClient Message-ID: NC_NET can be found here: http://www.shatterit.com/nc_net/ -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Monday, June 06, 2005 4:22 PM To: Edward Ford Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Who owns NnClient Edward Ford wrote: > When I goto http://nsclient.ready2run.nl/ I am seeing/reading information > from Feb 2004. I also see a link on http://www.tsmgsoftware.com/ which pulls > up no site at all. I also see a site in France that supposedly supports > NsClient but when I go there no site is pulling up. > > Who supports nsclient. Nobody, as it were. Two new projects are replacing it. NSClient++ and NC_Net. NSClient++ seems cleaner to me, but NC_Net has some nice features that goes well with the MS philosophy, "bloat all you can". > I would like to see some source code and also get > more information on nsclient. > nsclient++ is a sourceforge project. I have no idea where nc_net can be found, but they're both GPL'd (I think). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From teng at dataway.com Mon Jun 6 23:50:11 2005 From: teng at dataway.com (Tedman Eng) Date: Mon, 6 Jun 2005 14:50:11 -0700 Subject: serviceextinfo Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7517@dw-mail.dataway.com> Your example shows you trying to use config files. You said you're using a mysql-compiled version of nagios. Please see documentation on database configuration for nagios: http://nagios.sourceforge.net/docs/1_0/xdata-db.html "Extended Data Tables: There are two tables (named hostextinfo and serviceextinfo) you need to create in order to store extended data in a database. One table is used to store extended host information and the other for extended service information (used by the CGIs). The CGIs need SELECT privileges on these tables. The main Nagios process does not access these tables at all. " (If you're not already knee-deep into using Nagios, I'd recommend you recompile w/o database, since 2.0 does not include database support natively) -----Original Message----- From: Fred Reinthaler [mailto:kex604 at gmail.com] Sent: Monday, June 06, 2005 1:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] serviceextinfo Hi, I'm trying to add extended service information so I can have an icon linking to a graph after installing nagiosgraph (also tried nagiostat). The problem is I can't get the icon to display besides the service. I have the following line in cgi.cfg: xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg And my serviceextinfo.cfg file contains: define serviceextinfo { host_name ewams service_description PING notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ icon_image graph.gif icon_image_alt View graphs } My icon is in /usr/share/nagios/htdocs/images/logos and I've got the correct permissions set for it. I've spent the past couple of days trying to troubleshoot this but I cannot figure it out. I'm not getting any errors in the logs either. Any ideas on what the problem might be? I'm using the Debian package of Nagios version 1.3 with Mysql. thanks, fred ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lgetschel at denver.westerngeco.slb.com Tue Jun 7 01:30:23 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Mon, 06 Jun 2005 17:30:23 -0600 Subject: Monitor shell scripts.... In-Reply-To: <20050604080206.10012.qmail@web32505.mail.mud.yahoo.com> References: <20050604080206.10012.qmail@web32505.mail.mud.yahoo.com> Message-ID: <42A4DC8F.7020904@denver.westerngeco.slb.com> Try something like I have here (checking for exactly one copy of cupsd owned by root) command_line $USER1$/check_procs -c 1:1 -u root -C cupsd Milind Nanal wrote: >How do I check multiple scripts running of different >terminal console. The shell sctips are visible in ps >-aef command. How do I link it with check_pros > >Quick response is appriciated > >Regards, > >Milind > > > > > >__________________________________ >Discover Yahoo! >Stay in touch with email, IM, photo sharing and more. Check it out! >http://discover.yahoo.com/stayintouch.html > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >a projector? How fast can you ride your desk chair down the office luge track? >If you want to score the big prize, get to know the little guy. >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frederik.vanhee at perso.be Tue Jun 7 07:59:48 2005 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Tue, 07 Jun 2005 07:59:48 +0200 Subject: Nagios 2.0b3 external command check suddenly stops Message-ID: <42A537D4.9010804@perso.be> Hello, I'm running Nagios 2.0b3 on a Suse Linux 8.2 in a distributed environment with nsca for the acceptance of passive service checks. When I restart my Nagios server from scratch (deleting retention.dat), the program starts and after 12 minutes, it doesn't check the external command file anymore. This is based on what I see on the process info page under 'Last external command check'. I had the same phenomenon under 2.0b1, but it remains unchanged under 2.0b3. Frederik ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jun 7 09:20:52 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Jun 2005 09:20:52 +0200 Subject: Nagios 2.0b3 external command check suddenly stops In-Reply-To: <42A537D4.9010804@perso.be> References: <42A537D4.9010804@perso.be> Message-ID: <42A54AD4.2010903@op5.se> Frederik Vanhee wrote: > Hello, > > I'm running Nagios 2.0b3 on a Suse Linux 8.2 in a distributed > environment with nsca for the acceptance of passive service checks. > > When I restart my Nagios server from scratch (deleting retention.dat), > the program starts and after 12 minutes, it doesn't check the external > command file anymore. > > This is based on what I see on the process info page under 'Last > external command check'. > > I had the same phenomenon under 2.0b1, but it remains unchanged under > 2.0b3. > Some bugs were in the code that turned out to be 2.0b3. Check out latest from CVS and re-compile. > Frederik > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. Play to > win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.simon at free.fr Tue Jun 7 09:43:03 2005 From: alan.simon at free.fr (alan.simon at free.fr) Date: Tue, 7 Jun 2005 09:43:03 +0200 Subject: service escalation problems Message-ID: <1118130183.42a55007adea9@imp6-q.free.fr> Hi all, I'am using nagios 1.2 on a RedHat EL3. I'd like to have 3 notifications for an unhandled probleme 1 when the probleme occure a second 10 minutes later and the third one hour after the probleme I've try a lot's off different config and I get itch time first notification, the second one one minute later and the third 5 minutes later, even if i change the interval values thanks for help here's a config sample : interval_length=60 define service{ name service_ active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 0 is_volatile 0 notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 check_period 24x7 max_check_attempts 5 normal_check_interval 2 retry_check_interval 1 notification_interval 10 notification_period 24x7 notification_options w,u,r,c register 0 } define service{ use service_ hostgroup_name router service_description CPU contact_groups admins check_command snmp_cpu_cisco!70,68,65!90,88,85 } define serviceescalation{ hostgroup_name router service_description CPU first_notification 2 last_notification 3 notification_interval 50 contact_groups sms } define serviceescalation{ hostgroup_name router service_description CPU first_notification 3 last_notification 3 notification_interval 0 contact_groups admins } ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From anxoasi at yahoo.es Tue Jun 7 13:38:29 2005 From: anxoasi at yahoo.es (Anxo) Date: Tue, 7 Jun 2005 13:38:29 +0200 (CEST) Subject: NRPE - MEMORY Message-ID: <20050607113829.95270.qmail@web53110.mail.yahoo.com> Hi, i?m using nagios 2.0b3 and nrpe on a windows 2003 server, i?m monitoring pc?s memory, hdd, some process as explorer, but i want monitoring how much memory is using this process, anybody know how can i do??? thanks. Anxo Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagiosadmin at snef.fr Tue Jun 7 13:39:42 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 7 Jun 2005 11:39:42 +0000 (UTC) Subject: =?iso-8859-1?B?UulmLiA6IFtOYWdpb3MtdXNlcnNdIE5hZ2lvcyB2cyBTTk1QIHRyYXBzLi4u?= References: Message-ID: <42A587A3.000001.03772@GAUSSEN> Hi, Do you still need some tools in SNMP traps implementation in Nagios ? I made a little prog included here : trap you have to configure the /etc/snmp/snmptrapd.conf file like that : traphandle default /root/trap PATTERN_STRING where pattern string is used to separate log files depending string matches in traps. Hope it will be convenient for you. -------Message original------- De : Serveur-Faucon Surveillance Date : 06/02/05 18:48:17 A : nagios-users at lists.sourceforge.net Sujet : [Nagios-users] Nagios vs SNMP traps... Hi all, early this year, someone ask me if someone had any kind of Nagios with SNMP traps implemented. Unfortunatly, the project wont be look at for now, but will be soon. So my question his : Is there someone who have a full SNMP traps implementation with Nagios and how? I know about the FAQ, but I would like to know if someone actually made it work :) Thanks. --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo net/?fr_______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMSTP.gif Type: image/gif Size: 9428 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: trap Type: unknown/unknown Size: 400 bytes Desc: not available URL: From james at jolt.co.uk Tue Jun 7 14:58:04 2005 From: james at jolt.co.uk (James Davis) Date: Tue, 07 Jun 2005 13:58:04 +0100 Subject: Problems with check_http appearing to time out Message-ID: <42A599DC.3090804@jolt.co.uk> (apologies to the person I mis-addressed this e-mail to previously!) I've just setup my first nagios installation using the nagios-text package from Debian testing. The web interface is up and appears to be running correctly. I've defined a single host with a single service that uses check_http to see if the Apache instance on 192.168.50.10 is still running. However the webinterface claims that the http plugin is timing out. "CRITICAL - Socket timeout after 10 seconds". Running the plugin as the nagios user I get the following. nagios at omega-alpha:/home/james$ /usr/lib/nagios/plugins/check_http 192.168.50.10 HTTP OK HTTP/1.1 200 OK - 1901 bytes in 0.003 seconds |time=0.002917s;;;0.000000 size=1901B;;;0 So I'm not sure why it's not working correctly. Any ideas? I've not been able to find anything helpful on the web or in the documentation. Thanks, James ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Tue Jun 7 16:14:06 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Tue, 7 Jun 2005 10:14:06 -0400 Subject: is there a way to send both single and multiple alerts? Message-ID: Hello all, I am wondering if there is a way to send a single alert to one contact, but multiple alerts to another. To explain further; If "service A" goes critical it will generate alerts to the associated contact based on the "notification_interval" setting. No problem there - that's normal operation. What I'd also like is to have a single alert sent out to a pager gateway as well. I was thinking that I could define a service escalation for "service A", with both "first_notification" and "last_notification" set to 1, so that when the alert is triggered, it will send out one alert to the pager, and then the escalation is done. What I'm not sure about is whether it will default back to the normal alerting method (non-escalated) after that single iteration. Or, is there another way? p.s. Please accept my apologies if the list receives this message twice. Our mail server was playing games for a bit! Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 dmaher at acetechnology.com www.acetechnology.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at networkdr.net Tue Jun 7 16:36:32 2005 From: adam at networkdr.net (Adam Stern) Date: Tue, 7 Jun 2005 10:36:32 -0400 Subject: [Nagious-users] Web error Message-ID: All users have read access to all files and directories in the nagios directory, and execute privs on the etc directory in nagios. ________________________________ From: Edward Ford [mailto:eford at nexusenergy.com] Sent: Monday, June 06, 2005 4:33 PM To: Adam Stern Subject: RE: [Nagios-users] Web error Permissions to web? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Adam Stern Sent: Monday, June 06, 2005 4:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Web error I installed nagios with all the defaults and copied and configured my .cfg files. Every time I click on a link on the web, I get the: "Error: Could not read object configuration data!" page. I ran the nagios -v nagios.cfg command and there were no errors found. My nagios.log is empty. Where am I going wrong? Please help! Adam Stern Systems Engineer Network Doctor 580 Sylvan Ave P: (201) 837-0514 F: (201) 871-0831 Adam Stern Systems Engineer Network Doctor 580 Sylvan Ave P: (201) 837-0514 F: (201) 871-0831 -------------- next part -------------- An HTML attachment was scrubbed... URL: From org_nagios at L93.com Tue Jun 7 17:17:45 2005 From: org_nagios at L93.com (D.S.) Date: Tue, 07 Jun 2005 11:17:45 -0400 Subject: check_dummy keeps timing out Message-ID: <42A5BA99.9030408@L93.com> I have some hosts behind a firewall that do not allow pings.. So I am trying to use check_dummy for a host check(is there a way to eliminate any sort of check at the host level, and just do services?) The host keeps going down due to "No output!"... There must be something wrong with my check command? Any advise would be appreciated. --David ----------Config files below---- check command: define command{ command_name dummy command_line $USER1$/check-dummy 0 "Not Checked" } Host: define host{ use generic-d host_name dns1 alias DNS Server(Bill) address 38.112.193.47 parents rw-pix } define host{ name generic-d ; The name of this host template - referenced in other host notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts check_command dummy parents rw-pix max_check_attempts 10 # check_interval 0 notification_interval 120 notification_period 24x7 notification_options d,u,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jun 7 17:27:43 2005 From: marc at ena.com (Marc Powell) Date: Tue, 7 Jun 2005 10:27:43 -0500 Subject: check_dummy keeps timing out Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of D.S. > Sent: Tuesday, June 07, 2005 10:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_dummy keeps timing out > > I have some hosts behind a firewall that do not allow pings.. So I am > trying to use check_dummy for a host check(is there a way to eliminate > any sort of check at the host level, and just do services?) The host Sure, don't specify a check_command for your hosts. > keeps going down due to "No output!"... There must be something wrong > with my check command? Any advise would be appreciated. > > --David > > > ----------Config files below---- > > check command: > > define command{ > command_name dummy > command_line $USER1$/check-dummy 0 "Not Checked" > } Shouldn't this be check_dummy? I would have expected you to see a different error though. If that is indeed correct, are there resource problems on your host that cause the plugin to take longer than 10 seconds to execute? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From org_nagios at L93.com Tue Jun 7 19:15:48 2005 From: org_nagios at L93.com (D.S.) Date: Tue, 07 Jun 2005 13:15:48 -0400 Subject: check_dummy keeps timing out In-Reply-To: References: Message-ID: <42A5D644.5040803@L93.com> Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of D.S. >>Sent: Tuesday, June 07, 2005 10:18 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] check_dummy keeps timing out >> >>I have some hosts behind a firewall that do not allow pings.. So I am >>trying to use check_dummy for a host check(is there a way to eliminate >>any sort of check at the host level, and just do services?) The host >> >> > >Sure, don't specify a check_command for your hosts. > > Great! I'll just do this as there is really no way to check the host except by it's services. Thank you so much :) > > >>keeps going down due to "No output!"... There must be something wrong >>with my check command? Any advise would be appreciated. >> >>--David >> >> >>----------Config files below---- >> >>check command: >> >>define command{ >> command_name dummy >> command_line $USER1$/check-dummy 0 "Not Checked" >> } >> >> > >Shouldn't this be check_dummy? I would have expected you to see a >different error though. If that is indeed correct, are there resource >problems on your host that cause the plugin to take longer than 10 >seconds to execute? > > > Yes, it should of been check_dummy.. I've corrected this as well. It was silly of me to miss it but sometimes you go over things so many times it starts to seem correct. >-- >Marc > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lgetschel at denver.westerngeco.slb.com Tue Jun 7 19:20:47 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Tue, 07 Jun 2005 11:20:47 -0600 Subject: is there a way to send both single and multiple alerts? In-Reply-To: References: Message-ID: <42A5D76F.5040101@denver.westerngeco.slb.com> It looks like you asked this question last week, with a different subject line, too... Unless that's the mailserver too I did it with multiple "serviceescalation" definitions too, (one for my helpdesk to see for awhile (theirs start at 2 and don't stop), then one to me if they don't act on it (mine only runs on the 7th, this lets them see it for 5 hours, before I do it). As far as I can tell that's the only way to do it. Lewis Daniel maher wrote: > Hello all, > > I am wondering if there is a way to send a /single/ alert to one > contact, but multiple alerts to another. To explain further; > > If ?service A? goes critical it will generate alerts to the associated > contact based on the ?notification_interval? setting. No problem there > ? that?s normal operation. What I?d also like is to have a /single/ > alert sent out to a pager gateway as well. > > I was thinking that I could define a service escalation for ?service > A?, with both ?first_notification? and ?last_notification? set to 1, > so that when the alert is triggered, it will send out one alert to the > pager, and then the escalation is done. What I?m not sure about is > whether it will default back to the normal alerting method > (non-escalated) after that single iteration. > > Or, is there another way? > > p.s. Please accept my apologies if the list receives this message > twice. Our mail server was playing games for a bit! > > **Daniel Maher** > > System Engineer > > **ACE TECHNOLOGY INC.** > > 100, boul. Alexis-Nihon, suite 593 > > St-Laurent (Qu?bec) H4M 2P1 > > Tel: 514-485-2307 > > Fax: 514-485-3494 > > dmaher at acetechnology.com > > www.acetechnology.com > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BConrad at passkey.com Tue Jun 7 19:26:16 2005 From: BConrad at passkey.com (Ben Conrad) Date: Tue, 7 Jun 2005 13:26:16 -0400 Subject: NRPE - MEMORY Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3CB1@eagle.passkey.com> You can look in Task manager, on my machine it has been running for 120+ hours using 3MB: Name Pid Pri Thd Hnd Mem User Time Kernel Time Elapsed Time NRPE_NT 2232 8 2 80 3016 0:01:17.687 0:03:19.546 120:38:52.295 -----Original Message----- From: Anxo [mailto:anxoasi at yahoo.es] Sent: Tuesday, June 07, 2005 7:38 AM To: nagios usuarios Subject: [Nagios-users] NRPE - MEMORY Hi, i?m using nagios 2.0b3 and nrpe on a windows 2003 server, i?m monitoring pc?s memory, hdd, some process as explorer, but i want monitoring how much memory is using this process, anybody know how can i do??? thanks. Anxo Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC _____ Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmaher at acetechnology.com Tue Jun 7 20:19:43 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Tue, 7 Jun 2005 14:19:43 -0400 Subject: is there a way to send both single and multiple alerts? Message-ID: Haha, no, I did in fact ask it last week, with a different topic. This morning was our anti-spam server deciding to eat outgoing mail on a seemingly random basis. :P Anyhoo, thanks for the tidbit. I'll set it up and report on the results when I can! Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Lewis Getschel [mailto:lgetschel at denver.westerngeco.slb.com] Sent: June 7, 2005 1:21 PM To: Daniel maher Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] is there a way to send both single and multiple alerts? It looks like you asked this question last week, with a different subject line, too... Unless that's the mailserver too I did it with multiple "serviceescalation" definitions too, (one for my helpdesk to see for awhile (theirs start at 2 and don't stop), then one to me if they don't act on it (mine only runs on the 7th, this lets them see it for 5 hours, before I do it). As far as I can tell that's the only way to do it. Lewis Daniel maher wrote: > Hello all, > > I am wondering if there is a way to send a /single/ alert to one > contact, but multiple alerts to another. To explain further; > > If "service A" goes critical it will generate alerts to the associated > contact based on the "notification_interval" setting. No problem there > - that's normal operation. What I'd also like is to have a /single/ > alert sent out to a pager gateway as well. > > I was thinking that I could define a service escalation for "service > A", with both "first_notification" and "last_notification" set to 1, > so that when the alert is triggered, it will send out one alert to the > pager, and then the escalation is done. What I'm not sure about is > whether it will default back to the normal alerting method > (non-escalated) after that single iteration. > > Or, is there another way? > > p.s. Please accept my apologies if the list receives this message > twice. Our mail server was playing games for a bit! > > **Daniel Maher** > > System Engineer > > **ACE TECHNOLOGY INC.** > > 100, boul. Alexis-Nihon, suite 593 > > St-Laurent (Qu?bec) H4M 2P1 > > Tel: 514-485-2307 > > Fax: 514-485-3494 > > dmaher at acetechnology.com > > www.acetechnology.com > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kex604 at gmail.com Tue Jun 7 21:21:32 2005 From: kex604 at gmail.com (Fred Reinthaler) Date: Tue, 7 Jun 2005 15:21:32 -0400 Subject: service notifications Message-ID: <541c888d0506071221466a431c@mail.gmail.com> Hi, I have a bunch of services that show they are configured to disabled when I look at them in the Nagios GUI. I tried to enable them by setting "notifications_enabled" to 1 in the template I am using but that did not seem, to change anything. I also tried to set it specifically for a service but no change there either. The only way I seem to be able to enable the notification is through the GUI by selecting "Enable Notifications For This Service". What am I missing? thanks, fred ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.simon at free.fr Tue Jun 7 23:01:05 2005 From: alan.simon at free.fr (alan) Date: Tue, 7 Jun 2005 22:1:5 +0100 Subject: service notifications Message-ID: Hi, I may be wrong, but do you restart nagios after your manual modification? >Hi, > >I have a bunch of services that show they are configured to disabled >when I look at them in the Nagios GUI. I tried to enable them by >setting "notifications_enabled" to 1 in the template I am using but >that did not seem, to change anything. I also tried to set it >specifically for a service but no change there either. > >The only way I seem to be able to enable the notification is through >the GUI by selecting "Enable Notifications For This Service". > >What am I missing? > >thanks, > >fred > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >a projector? How fast can you ride your desk chair down the office luge track? >If you want to score the big prize, get to know the little guy. >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jun 7 22:00:59 2005 From: marc at ena.com (Marc Powell) Date: Tue, 7 Jun 2005 15:00:59 -0500 Subject: service notifications Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Fred Reinthaler > Sent: Tuesday, June 07, 2005 2:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] service notifications > > Hi, > > I have a bunch of services that show they are configured to disabled > when I look at them in the Nagios GUI. I tried to enable them by > setting "notifications_enabled" to 1 in the template I am using but > that did not seem, to change anything. I also tried to set it > specifically for a service but no change there either. > > The only way I seem to be able to enable the notification is through > the GUI by selecting "Enable Notifications For This Service". > > What am I missing? I am presuming that when you say they are 'disabled' that you do not mean that active_checks_enabled is set to 0 and are truly talking about notifications only. If you have retention enabled -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html "Retention Notes It is important to point out that several directives in host and service definitions may not be picked up by Nagios when you change them. Host and service directives that can exhibit this behavior are marked with an asterisk (*). The reason for this behavior is due to the fact that Nagios chooses to honor values stored in the state retention file over values found in the config files, assuming you have state retention enabled on a program-wide basis. One way to get around this problem is to disable the retention of non-status information using the retain_nonstatus_information directive in the host and service definitions. Disabling this directive will cause Nagios to take the initial values for these directives from your config files, rather than from the state retention file when it (re)starts. Using this option is not recommended, as it may result in some unexpected (from your point of view) results. Alternatively, you can issue the appropriate external command or change the value of the host or service directive via the web interface, so that it matches what you've changed it to in the config files. This is usually done by using the extended information CGI. This option takes a bit more work, but is preferable to disabling the retention of non-status information (mentioned above)." http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service "notifications_enabled *: This directive is used to determine whether or not notifications for this service are enabled. Values: 0 = disable service notifications, 1 = enable service notifications." -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy.Pavleck at capella.edu Tue Jun 7 22:13:38 2005 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy) Date: Tue, 7 Jun 2005 15:13:38 -0500 Subject: Simple question! Message-ID: <0F1A5F3993566D4883C596CB56E59B9A039A74D5@mspmail02.int.capella.lan> Hello, Just a simple question here but it will go a long ways in helping me figure this all out. I have an install of 2.03b and would like to add hosts to it. I see all these configs, and managed to add a couple. My simple question is - exactly what configs do I need to work with if I want to add a host with a check? Just trying to get this done right, so I don't have to go and rework everything after theres several thousand entries because I didn't clarify myself now. Thanks. Jeremy Pavleck Senior Systems Administrator - Systems Management IT Operations Direct Line: 612-977-5881 Toll Free: 1-888-CAPELLA ext. 5881 Fax: 612-977-5053 E-mail: jeremy.pavleck at capella.edu Capella University 225 South 6th Street, 9th Floor Minneapolis, MN 55402 www.capella.edu ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kex604 at gmail.com Tue Jun 7 22:31:10 2005 From: kex604 at gmail.com (Fred Reinthaler) Date: Tue, 7 Jun 2005 16:31:10 -0400 Subject: service notifications In-Reply-To: References: Message-ID: <541c888d0506071331630fb92f@mail.gmail.com> Yes I was talking about notifications only. So can Nagios be expected to read information from the state retetntion file at some point even though the state retention option is enabled? I was able to force it by stopping Nagios and deleting the state file but I'm guessing that's probably not a good thing to do. It just seems like alot of work to have to do this through the web interfaces if let's say you have hundreds of hosts. I'm still not sure I fully understand how useful state retention really is within Nagios. thanks, fred p.s. I am reading the PDF for documentation but I think it differs from the html docs because I couldn't find the same retention notes in it. On 6/7/05, Marc Powell wrote: > > I am presuming that when you say they are 'disabled' that you do not > mean that active_checks_enabled is set to 0 and are truly talking about > notifications only. If you have retention enabled -- > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html > > "Retention Notes > > It is important to point out that several directives in host and service > definitions may not be picked up by Nagios when you change them. Host > and service directives that can exhibit this behavior are marked with an > asterisk (*). The reason for this behavior is due to the fact that > Nagios chooses to honor values stored in the state retention file over > values found in the config files, assuming you have state retention > enabled on a program-wide basis. > > One way to get around this problem is to disable the retention of > non-status information using the retain_nonstatus_information directive > in the host and service definitions. Disabling this directive will cause > Nagios to take the initial values for these directives from your config > files, rather than from the state retention file when it (re)starts. > Using this option is not recommended, as it may result in some > unexpected (from your point of view) results. > > Alternatively, you can issue the appropriate external command or change > the value of the host or service directive via the web interface, so > that it matches what you've changed it to in the config files. This is > usually done by using the extended information CGI. This option takes a > bit more work, but is preferable to disabling the retention of > non-status information (mentioned above)." > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > > "notifications_enabled *: This directive is used to determine > whether or not notifications for this service are enabled. Values: 0 = > disable service notifications, 1 = enable service notifications." > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BConrad at passkey.com Tue Jun 7 22:31:18 2005 From: BConrad at passkey.com (Ben Conrad) Date: Tue, 7 Jun 2005 16:31:18 -0400 Subject: Simple question! Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3CB7@eagle.passkey.com> This is very good (parts 1 + 2) http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html And you should just create a shortcut to the online 2.x html docs. Ben -----Original Message----- From: Pavleck, Jeremy [mailto:Jeremy.Pavleck at capella.edu] Sent: Tuesday, June 07, 2005 4:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Simple question! Hello, Just a simple question here but it will go a long ways in helping me figure this all out. I have an install of 2.03b and would like to add hosts to it. I see all these configs, and managed to add a couple. My simple question is - exactly what configs do I need to work with if I want to add a host with a check? Just trying to get this done right, so I don't have to go and rework everything after theres several thousand entries because I didn't clarify myself now. Thanks. Jeremy Pavleck Senior Systems Administrator - Systems Management IT Operations Direct Line: 612-977-5881 Toll Free: 1-888-CAPELLA ext. 5881 Fax: 612-977-5053 E-mail: jeremy.pavleck at capella.edu Capella University 225 South 6th Street, 9th Floor Minneapolis, MN 55402 www.capella.edu ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dan at synaptic.net.nz Tue Jun 7 23:10:38 2005 From: dan at synaptic.net.nz (Dan Clark) Date: Wed, 08 Jun 2005 09:10:38 +1200 Subject: Strange problem with 2.0b3 Message-ID: <42A60D4E.1030706@synaptic.net.nz> Hi Guys, I'm running NAGIOS version 2.0b3 on debian sarge compiled from source. I'm having the weirdest problem, for example if I view Hostgroup Overview which is the page I comonly use, it quite often miss's hosts on that page. Then if I refresh the page again some other hosts will have disappeared and the others reappeared. Its almost like the cgi script can't keep up or something, is this a known bug? And I can't seem to find a buglog etc for this version? Kind Regards Dan Clark ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From caleb at NAMS.net Tue Jun 7 23:09:56 2005 From: caleb at NAMS.net (Caleb Groom) Date: Tue, 07 Jun 2005 16:09:56 -0500 Subject: Strange problem with 2.0b3 In-Reply-To: <42A60D4E.1030706@synaptic.net.nz> References: <42A60D4E.1030706@synaptic.net.nz> Message-ID: <42A60D24.90008@nams.net> Dan Clark wrote: > Hi Guys, I'm running NAGIOS version 2.0b3 on debian sarge compiled from > source. > I'm having the weirdest problem, for example if I view Hostgroup > Overview which is the page I comonly use, it quite often miss's hosts on > that page. > Then if I refresh the page again some other hosts will have disappeared > and the others reappeared. > Its almost like the cgi script can't keep up or something, is this a > known bug? And I can't seem to find a buglog etc for this version? > > Kind Regards > Dan Clark Dan, My bet is that you have more than one copy of nagios running. Kill them all of then restart nagios. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dan at synaptic.net.nz Tue Jun 7 23:16:33 2005 From: dan at synaptic.net.nz (Dan Clark) Date: Wed, 08 Jun 2005 09:16:33 +1200 Subject: Strange problem with 2.0b3 In-Reply-To: <42A60D24.90008@nams.net> References: <42A60D4E.1030706@synaptic.net.nz> <42A60D24.90008@nams.net> Message-ID: <42A60EB1.7060903@synaptic.net.nz> oh ok, thats an interesting one ;) haha your right! <--> nsc1:/usr/local/nagios/etc# ps -aux |grep nagios Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html nagios 1998 0.0 0.2 10788 1396 ? Ss May31 1:58 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 3049 0.0 0.2 10788 1404 ? Ss May31 1:58 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 17381 0.0 0.0 1548 480 pts/0 S+ 09:15 0:00 grep nagios <--> Thats very interesting Thanks a million :) Dan Caleb Groom wrote: > Dan Clark wrote: > >> Hi Guys, I'm running NAGIOS version 2.0b3 on debian sarge compiled >> from source. >> I'm having the weirdest problem, for example if I view Hostgroup >> Overview which is the page I comonly use, it quite often miss's hosts >> on that page. >> Then if I refresh the page again some other hosts will have >> disappeared and the others reappeared. >> Its almost like the cgi script can't keep up or something, is this a >> known bug? And I can't seem to find a buglog etc for this version? >> >> Kind Regards >> Dan Clark > > > Dan, > > My bet is that you have more than one copy of nagios running. Kill > them all of then restart nagios. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Tue Jun 7 23:15:28 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 07 Jun 2005 16:15:28 -0500 Subject: Strange problem with 2.0b3 In-Reply-To: <42A60D4E.1030706@synaptic.net.nz> References: <42A60D4E.1030706@synaptic.net.nz> Message-ID: <1118178929.5573.1.camel@chi101100.int.tt.local> On Wed, 2005-06-08 at 09:10 +1200, Dan Clark wrote: > I'm having the weirdest problem, for example if I view Hostgroup > Overview which is the page I comonly use, it quite often miss's hosts on > that page. > Then if I refresh the page again some other hosts will have disappeared > and the others reappeared. > Its almost like the cgi script can't keep up or something, is this a > known bug? And I can't seem to find a buglog etc for this version? you almost certainly have more than one instance of nagios running. Stop nagios, then kill any lingering processes. start nagios again, and all will be well. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From dan at synaptic.net.nz Tue Jun 7 23:20:10 2005 From: dan at synaptic.net.nz (Dan Clark) Date: Wed, 08 Jun 2005 09:20:10 +1200 Subject: Strange problem with 2.0b3 In-Reply-To: <1118178929.5573.1.camel@chi101100.int.tt.local> References: <42A60D4E.1030706@synaptic.net.nz> <1118178929.5573.1.camel@chi101100.int.tt.local> Message-ID: <42A60F8A.6080304@synaptic.net.nz> thanks guys, thats awesome :) definately fixed the problem I think its /etc/init.d script doing that maybe Dan jeff vier wrote: >On Wed, 2005-06-08 at 09:10 +1200, Dan Clark wrote: > > >>I'm having the weirdest problem, for example if I view Hostgroup >>Overview which is the page I comonly use, it quite often miss's hosts on >>that page. >>Then if I refresh the page again some other hosts will have disappeared >>and the others reappeared. >>Its almost like the cgi script can't keep up or something, is this a >>known bug? And I can't seem to find a buglog etc for this version? >> >> > >you almost certainly have more than one instance of nagios running. > >Stop nagios, then kill any lingering processes. >start nagios again, and all will be well. > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Fmapconsulting at aol.com Tue Jun 7 23:29:51 2005 From: Fmapconsulting at aol.com (Fmapconsulting at aol.com) Date: Tue, 07 Jun 2005 17:29:51 -0400 Subject: nrpe-plugin Message-ID: <56A278FF.66347BB4.8195A63E@aol.com> Hello!!! I'm setting up the nrpe plugin and I have an estrange issue. I'm configuring the nrpe.cfg with the following line to checking total process on remote host, just to test the nrpe plugin. command[check_procs]=/usr/local/nagios/libexec/check_procs -w 10 -c 20 --metric=CPU So... the monitoring nagios's show me the follwoing: NRPE: Command 'check_procs' not defined I really don't know what's happening because apearently everything is correct in configuration files. I can monitor other services with nrpe such as Current Users, Current Load and Root Partition. Is there something that I'm missing? If someone knows what can be wrong... please help me!! ;) Best regards Fabiano ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jun 7 23:40:20 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Jun 2005 23:40:20 +0200 Subject: nrpe-plugin In-Reply-To: <56A278FF.66347BB4.8195A63E@aol.com> References: <56A278FF.66347BB4.8195A63E@aol.com> Message-ID: <42A61444.9060006@op5.se> Fmapconsulting at aol.com wrote: > Hello!!! > > I'm setting up the nrpe plugin and I have an estrange issue. > > I'm configuring the nrpe.cfg with the following line to checking > total process on remote host, just to test the nrpe plugin. > > command[check_procs]=/usr/local/nagios/libexec/check_procs -w 10 -c > 20 --metric=CPU > > So... the monitoring nagios's show me the follwoing: > > NRPE: Command 'check_procs' not defined > > I really don't know what's happening because apearently everything is > correct in configuration files. > > I can monitor other services with nrpe such as Current Users, Current > Load and Root Partition. > > Is there something that I'm missing? > Are you editing the correct configuration file? Did you restart NRPE after making the modifications to the configuration files? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From anxoasi at yahoo.es Wed Jun 8 09:16:32 2005 From: anxoasi at yahoo.es (Anxo) Date: Wed, 8 Jun 2005 09:16:32 +0200 (CEST) Subject: NRPE - MEMORY In-Reply-To: <8FB96300C132D511AE7500508BD6ABCD05AB3CB1@eagle.passkey.com> References: <8FB96300C132D511AE7500508BD6ABCD05AB3CB1@eagle.passkey.com> Message-ID: <20050608071632.58314.qmail@web53107.mail.yahoo.com> but how can i monitoring those with nagios?? thaks Ben Conrad escribi?: You can look in Task manager, on my machine it has been running for 120+ hours using 3MB: Name Pid Pri Thd Hnd Mem User Time Kernel Time Elapsed Time NRPE_NT 2232 8 2 80 3016 0:01:17.687 0:03:19.546 120:38:52.295 -----Original Message----- From: Anxo [mailto:anxoasi at yahoo.es] Sent: Tuesday, June 07, 2005 7:38 AM To: nagios usuarios Subject: [Nagios-users] NRPE - MEMORY Hi, i?m using nagios 2.0b3 and nrpe on a windows 2003 server, i?m monitoring pc?s memory, hdd, some process as explorer, but i want monitoring how much memory is using this process, anybody know how can i do??? thanks. Anxo Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjacobs at frs.be Wed Jun 8 09:19:44 2005 From: sjacobs at frs.be (Jacobs, Sven) Date: Wed, 8 Jun 2005 09:19:44 +0200 Subject: Nagiostat help needed Message-ID: <43B5E93C7030714491583698996A22A9E974B2@sbeexc01.frs.local> Hey All, I've installed Nagios 1.2 and that seems to work fine. Because I would like to have stats I installed the nagiostat. Here I get some errors: In the debug.log file =INSERT into 'befrs003-ping.rrd': 38.49,0 DSA-names=rta,pktloss **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, cmdline='/usr/bin/ create /usr/local/nagios/var/befrs003-ping.rrd --step 60 DS:rta:GAUGE:120:0:5000 DS:pktloss:GAUGE:120:0:100 RRA:AVERAGE:0.5:1:1800 RRA:AVERAGE:0.5:7:1850 RRA:AVERAGE:0.5:24:1860 RRA:AVERAGE:0.5:290:1820'. !!ERROR: RRD-archive '/usr/local/nagios/var/befrs003-ping.rrd' does not exist or is not writable by effective UID. On the web ERROR: Graph 'befrs001' does not exist! (normal because there is no rrd db created) To make it easy I did a chmod 777 on the nagiostat directory that is owned by the Nagios user. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jstevensog at gmail.com Wed Jun 8 13:46:25 2005 From: jstevensog at gmail.com (John Stevens) Date: Wed, 8 Jun 2005 21:46:25 +1000 Subject: Problems with check_http appearing to time out In-Reply-To: <42A599DC.3090804@jolt.co.uk> References: <42A599DC.3090804@jolt.co.uk> Message-ID: Hi James and all, This is the same problem I am having on my CentOS (RHEL) 4 box with a new install. In my case the check_ping and check_http tests time out (to any host), but if I run the checks from the command line as the nagios user, they work fine. Hopefully someone will be able to enlighten us both. For the record, I am running nagios 1.2-2.2.el4.rf with nagios-plugins 1.3.1-10.1.fc3.rf. The latest el4 plugins have an issue with selinux and disk checks. Regards On 6/7/05, James Davis wrote: > (apologies to the person I mis-addressed this e-mail to previously!) > > I've just setup my first nagios installation using the nagios-text > package from Debian testing. The web interface is up and appears to be > running correctly. I've defined a single host with a single service that > uses check_http to see if the Apache instance on 192.168.50.10 is still > running. > > However the webinterface claims that the http plugin is timing out. > "CRITICAL - Socket timeout after 10 seconds". > > Running the plugin as the nagios user I get the following. > > nagios at omega-alpha:/home/james$ /usr/lib/nagios/plugins/check_http > 192.168.50.10 > HTTP OK HTTP/1.1 200 OK - 1901 bytes in 0.003 seconds > |time=0.002917s;;;0.000000 size=1901B;;;0 > > So I'm not sure why it's not working correctly. Any ideas? I've not been > able to find anything helpful on the web or in the documentation. > > Thanks, > > James > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From agrajag at dragaera.net Wed Jun 8 15:00:47 2005 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 08 Jun 2005 09:00:47 -0400 Subject: nagios & sge In-Reply-To: <37333.193.144.44.66.1117800737.squirrel@webmail.cesga.es> References: <37333.193.144.44.66.1117800737.squirrel@webmail.cesga.es> Message-ID: <42A6EBFF.1070103@dragaera.net> Alejandro Feijoo wrote: > hi, i have nagios 2.0b3 and nrpe 2 on Rocks linux over 81 nodes > > I need known the queue state that running with sge (sun grid engine) but i > dont know how do that > > Any can help me?? > > at nagios web i found a check_sge.py but dont work correctly say fail on > line 159 Could you send me the exact error you received? Also, what version of SGE are you running? ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From james.mohr at elaxy.com Wed Jun 8 16:08:13 2005 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 8 Jun 2005 16:08:13 +0200 Subject: Compiling MySQL NEB Module Message-ID: Hi All! When running make on the MySQL NEB Module I get: inserter.c: In function `nebmodule_init': inserter.c:130: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use in this function) inserter.c:130: error: (Each undeclared identifier is reported only once inserter.c:130: error: for each function it appears in.) make: *** [all] Error 1 I changed the makefile to point to the correct nagios include directory and the mysql include directory was correct from the start: all: gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I/opt/INSTALL/nagios/nagios.src/nagios-2.0b3/include -I/usr/include/mysql -lmysqlclient -fPIC I don't want to change the code to explizitely define it myself until I am sure that is what I need to do. Any help is greatly appreaciated. Regards, Jim Mohr ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From brodbeck at belwue.de Wed Jun 8 16:22:35 2005 From: brodbeck at belwue.de (Frank Brodbeck) Date: Wed, 8 Jun 2005 16:22:35 +0200 Subject: Which hard state will be assigned? Message-ID: <20050608142235.GC22480@belwue.de> Hi List, after reading the documentation and using nagios-2.0b3 in a test environment for a while, I wonder which hard state nagios will assign to a service when for example 2 out of 3 checks are warning and the remaining check has been critical. Depends the hard state upon the last check attempt result, or is it always critical as soon as on of the results has been critical or will it be the result that occured the most? Regards, Frank. -- -- Frank Brodbeck, BelWue-Koordination ----------- Tel: 0711/685-2502 -- Rechenzentrum der Universitaet Stuttgart Allmandring 3A, 70550 Stuttgart Fax: 0711/678-8363 -- mailto:brodbeck at belwue.de ------------------ http://www.belwue.de/ -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Wed Jun 8 16:28:32 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 08 Jun 2005 09:28:32 -0500 Subject: Which hard state will be assigned? In-Reply-To: <20050608142235.GC22480@belwue.de> References: <20050608142235.GC22480@belwue.de> Message-ID: <1118240924.5573.17.camel@chi101100.int.tt.local> On Wed, 2005-06-08 at 16:22 +0200, Frank Brodbeck wrote: > after reading the documentation and using nagios-2.0b3 in a test > environment for a while, I wonder which hard state nagios will assign to > a service when for example 2 out of 3 checks are warning and the > remaining check has been critical. > > Depends the hard state upon the last check attempt result, or is it > always critical as soon as on of the results has been critical or will > it be the result that occured the most? there may be exceptions, but in general, the worst one 'wins'. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From marc at ena.com Wed Jun 8 16:37:11 2005 From: marc at ena.com (Marc Powell) Date: Wed, 8 Jun 2005 09:37:11 -0500 Subject: Nagiostat help needed Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > Sent: Wednesday, June 08, 2005 2:20 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Nagiostat help needed > > Hey All, > > I've installed Nagios 1.2 and that seems to work fine. > > Because I would like to have stats I installed the nagiostat. > > Here I get some errors: > > In the debug.log file > > =INSERT into 'befrs003-ping.rrd': 38.49,0 DSA-names=rta,pktloss > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, cmdline='/usr/bin/ > create /usr/local/nagios/var/befrs003-ping.rrd --step 60 I don't use nagiostat but the cmdline is missing the rrdtool binary. Assuming rrdtool is installed in /usr/bin (the tarball doesn't normally put it there), nagiostat should be showing something like -- **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, cmdline='/usr/bin/rrdtool create /usr/local/nagios/var/befrs003-ping.rrd --step 60 DS:rta:GAUGE:120:0:5000 DS:pktloss:GAUGE:120:0:100 RRA:AVERAGE:0.5:1:1800 RRA:AVERAGE:0.5:7:1850 RRA:AVERAGE:0.5:24:1860 RRA:AVERAGE:0.5:290:1820'. Can you edit that cmdline or otherwise specify the path to rrdtool? Is rrdtool installed? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From francois.laupretre-prestataire at calyon.com Wed Jun 8 16:38:48 2005 From: francois.laupretre-prestataire at calyon.com (Fran=?utf-8?B?w6c=?=ois Laupretre) Date: Wed, 8 Jun 2005 16:38:48 +0200 Subject: Compiling MySQL NEB Module Message-ID: <506CE696433BD711B7C6000802B2520C079871A6@mnts3023.capitalmarkets.fr.cly> Which version of mysql do you use ? In my configuration (mysql 4.1.10a), inserter.c includes mysql.h, which includes mysql_com.h, where you find : #define CLIENT_MULTI_STATEMENTS 65536 So, I confirm that you don't have to change the code. Instead, check your mysql client. > -----Original Message----- > From: Mohr James [mailto:james.mohr at elaxy.com] > Sent: Wednesday, June 08, 2005 4:08 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling MySQL NEB Module > > > Hi All! > > When running make on the MySQL NEB Module I get: > > inserter.c: In function `nebmodule_init': > inserter.c:130: error: `CLIENT_MULTI_STATEMENTS' undeclared > (first use in this function) > inserter.c:130: error: (Each undeclared identifier is > reported only once > inserter.c:130: error: for each function it appears in.) > make: *** [all] Error 1 > > I changed the makefile to point to the correct nagios include > directory and the mysql include directory was correct from the start: > > all: > gcc -g -O2 -Wall -o inserter.o inserter.c -shared > -I/opt/INSTALL/nagios/nagios.src/nagios-2.0b3/include > -I/usr/include/mysql -lmysqlclient -fPIC > > > I don't want to change the code to explizitely define it > myself until I am sure that is what I need to do. Any help is > greatly appreaciated. > > Regards, > > Jim Mohr > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far > can you shotput a projector? How fast can you ride your desk > chair down the office luge track? If you want to score the > big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Ce message et ses pi?ces jointes (le "message") est destin? ? l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm?diatement l'exp?diteur et de le d?truire ensuite. Le pr?sent message pouvant ?tre alt?r? ? notre insu, CALYON Corporate and Investment Bank ne peut pas ?tre engag? par son contenu. Tous droits r?serv?s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. From marc at ena.com Wed Jun 8 16:49:14 2005 From: marc at ena.com (Marc Powell) Date: Wed, 8 Jun 2005 09:49:14 -0500 Subject: Simple question! Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy > Sent: Tuesday, June 07, 2005 3:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Simple question! > > Hello, > Just a simple question here but it will go a long ways in helping me > figure this all out. > I have an install of 2.03b and would like to add hosts to it. I see all > these configs, and managed to add a couple. My simple question is - > exactly what configs do I need to work with if I want to add a host with > a check? > Just trying to get this done right, so I don't have to go and rework > everything after theres several thousand entries because I didn't > clarify myself now. There is not 'right' way to build your configs. Each person does them differently depending on their circumstances and methodology. There is a lot of flexibility but typically people create one file that contains all their contacts and contactgroups, one file that contains all the command definitions and also resource.cfg file for the specific items that must go there (detailed in the docs). As far as your host and service definitions you should add a few to get a feel for what's involved and then think about the kinds of changes you'll be making in the future. You could have one file per hostgroup containing host, service and hostgroup definitions, one file for host definitions, one file for service definitions and one file for hostgroup definitions _or_ you could use the config_dir directive and have each host and service definitions be a unique file. Those are just examples and there are many permutations that you could employ. I personally have one file for each of my major service platforms which contains host, service and hostgroup definitions for that platform that are hand edited as they only contain a half-dozen devices each and I monitor many different things on them, then I have script generated files that contain host, service and hostgroup entries for the hundreds of devices that are behind each service platform for which I only monitor ping status. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjacobs at frs.be Wed Jun 8 16:56:05 2005 From: sjacobs at frs.be (Jacobs, Sven) Date: Wed, 8 Jun 2005 16:56:05 +0200 Subject: Nagiostat help needed Message-ID: <43B5E93C7030714491583698996A22A9E974B4@sbeexc01.frs.local> Marc I can run it from the cmd line (as Nagios user) But even then the webinterface keeps giving that error... The rrd tool is installed sjacobs at SBEMON01:~> rpm -q rrdtool rrdtool-1.0.49-2 nagiostat.cfg file RRDToolPath /usr/bin/ sjacobs at SBEMON01:/usr/bin> l rrdtool -rwxr-xr-x 1 root root 17396 2004-10-02 03:07 rrdtool* Met vriendelijke groet, Sven Jacobs t: +32 3 870 57 64 f: +32 3 877 45 47 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: woensdag 8 juni 2005 16:37 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiostat help needed > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > Sent: Wednesday, June 08, 2005 2:20 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Nagiostat help needed > > Hey All, > > I've installed Nagios 1.2 and that seems to work fine. > > Because I would like to have stats I installed the nagiostat. > > Here I get some errors: > > In the debug.log file > > =INSERT into 'befrs003-ping.rrd': 38.49,0 DSA-names=rta,pktloss > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, cmdline='/usr/bin/ > create /usr/local/nagios/var/befrs003-ping.rrd --step 60 I don't use nagiostat but the cmdline is missing the rrdtool binary. Assuming rrdtool is installed in /usr/bin (the tarball doesn't normally put it there), nagiostat should be showing something like -- **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, cmdline='/usr/bin/rrdtool create /usr/local/nagios/var/befrs003-ping.rrd \ --step 60 DS:rta:GAUGE:120:0:5000 DS:pktloss:GAUGE:120:0:100 \ RRA:AVERAGE:0.5:1:1800 RRA:AVERAGE:0.5:7:1850 RRA:AVERAGE:0.5:24:1860 \ RRA:AVERAGE:0.5:290:1820'. Can you edit that cmdline or otherwise specify the path to rrdtool? Is rrdtool installed? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From anxoasi at yahoo.es Wed Jun 8 17:34:32 2005 From: anxoasi at yahoo.es (Anxo) Date: Wed, 8 Jun 2005 17:34:32 +0200 (CEST) Subject: check_vsz Message-ID: <20050608153433.31462.qmail@web53110.mail.yahoo.com> hi, where can i obtain the check_vsz command for nagios???. Are there another form to emulate this command??? Thanks. Jose Angel Buceta Villar Bolseiro Aulas de Inform?tica Facultade de CCEE, USC --------------------------------- Correo Yahoo! Comprueba qu? es nuevo, aqu? http://correo.yahoo.es -------------- next part -------------- An HTML attachment was scrubbed... URL: From kex604 at gmail.com Wed Jun 8 17:44:34 2005 From: kex604 at gmail.com (Fred Reinthaler) Date: Wed, 8 Jun 2005 11:44:34 -0400 Subject: Compiling MySQL NEB Module In-Reply-To: <506CE696433BD711B7C6000802B2520C079871A6@mnts3023.capitalmarkets.fr.cly> References: <506CE696433BD711B7C6000802B2520C079871A6@mnts3023.capitalmarkets.fr.cly> Message-ID: <541c888d05060808441f653844@mail.gmail.com> What is this MySQL NEB module and where can I get more information about it? I was under the impression that MySQL support was dropped in version 2 but if there is something out there to add support, I would definitely like to know about it. thanks, fred On 6/8/05, Fran?ois Laupretre wrote: > > > Which version of mysql do you use ? > > In my configuration (mysql 4.1.10a), inserter.c includes mysql.h, which > includes mysql_com.h, where you find : > > #define CLIENT_MULTI_STATEMENTS 65536 > > So, I confirm that you don't have to change the code. Instead, check your > mysql client. > > > > -----Original Message----- > > From: Mohr James [mailto:james.mohr at elaxy.com] > > Sent: Wednesday, June 08, 2005 4:08 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Compiling MySQL NEB Module > > > > > > Hi All! > > > > When running make on the MySQL NEB Module I get: > > > > inserter.c: In function `nebmodule_init': > > inserter.c:130: error: `CLIENT_MULTI_STATEMENTS' undeclared > > (first use in this function) > > inserter.c:130: error: (Each undeclared identifier is > > reported only once > > inserter.c:130: error: for each function it appears in.) > > make: *** [all] Error 1 > > > > I changed the makefile to point to the correct nagios include > > directory and the mysql include directory was correct from the start: > > > > all: > > gcc -g -O2 -Wall -o inserter.o inserter.c -shared > > -I/opt/INSTALL/nagios/nagios.src/nagios-2.0b3/include > > -I/usr/include/mysql -lmysqlclient -fPIC > > > > > > I don't want to change the code to explizitely define it > > myself until I am sure that is what I need to do. Any help is > > greatly appreaciated. > > > > Regards, > > > > Jim Mohr > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far > > can you shotput a projector? How fast can you ride your desk > > chair down the office luge track? If you want to score the > > big prize, get to know the little guy. > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > Ce message et ses pi?ces jointes (le "message") est destin? ? l'usage > exclusif de son destinataire. > Si vous recevez ce message par erreur, merci d'en aviser imm?diatement > l'exp?diteur et de le d?truire ensuite. Le pr?sent message pouvant > ?tre alt?r? ? notre insu, CALYON Corporate and Investment Bank > ne peut pas ?tre engag? par son contenu. Tous droits r?serv?s. > > This message and/or any attachments (the "message") is intended for > the sole use of its addressee. > If you are not the addressee, please immediately notify the sender and > then destroy the message. As this message and/or any attachments may > have been altered without our knowledge, its content is not legally > binding on CALYON Corporate and Investment Bank. All rights reserved. > > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 8 17:48:12 2005 From: marc at ena.com (Marc Powell) Date: Wed, 8 Jun 2005 10:48:12 -0500 Subject: Nagiostat help needed Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > Sent: Wednesday, June 08, 2005 9:56 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Nagiostat help needed > > Marc > > I can run it from the cmd line (as Nagios user) > But even then the webinterface keeps giving that error... > > The rrd tool is installed > sjacobs at SBEMON01:~> rpm -q rrdtool > rrdtool-1.0.49-2 > nagiostat.cfg file > RRDToolPath /usr/bin/ >From the default nagiostat.conf file it's clear that this is incorrect -- # Pointer to where the rrd-tool binary is located RRDToolPath /usr/local/bin/rrdtool You should have (as per my suggestion below) -- RRDToolPath /usr/bin/rrdtool -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: woensdag 8 juni 2005 16:37 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagiostat help needed > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > > Sent: Wednesday, June 08, 2005 2:20 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] Nagiostat help needed > > > > Hey All, > > > > I've installed Nagios 1.2 and that seems to work fine. > > > > Because I would like to have stats I installed the nagiostat. > > > > Here I get some errors: > > > > In the debug.log file > > > > =INSERT into 'befrs003-ping.rrd': 38.49,0 DSA-names=rta,pktloss > > > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, > cmdline='/usr/bin/ > > create /usr/local/nagios/var/befrs003-ping.rrd --step 60 > > I don't use nagiostat but the cmdline is missing the rrdtool binary. > Assuming rrdtool is installed in /usr/bin (the tarball doesn't normally > put it there), nagiostat should be showing something like -- > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, > cmdline='/usr/bin/rrdtool create /usr/local/nagios/var/befrs003-ping.rrd \ > --step 60 DS:rta:GAUGE:120:0:5000 DS:pktloss:GAUGE:120:0:100 \ > RRA:AVERAGE:0.5:1:1800 RRA:AVERAGE:0.5:7:1850 RRA:AVERAGE:0.5:24:1860 \ > RRA:AVERAGE:0.5:290:1820'. > > Can you edit that cmdline or otherwise specify the path to rrdtool? Is > rrdtool installed? > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjacobs at frs.be Wed Jun 8 18:15:30 2005 From: sjacobs at frs.be (Jacobs, Sven) Date: Wed, 8 Jun 2005 18:15:30 +0200 Subject: Nagiostat help needed Message-ID: <43B5E93C7030714491583698996A22A9AF9EB4@sbeexc01.frs.local> Marc Thanks that fixed problem one :-) The rrd databases are created but the web keeps giving the error ERROR: Graph 'befrs001' does not exist! Met vriendelijke groet, Sven Jacobs t: +32 3 870 57 64 f: +32 3 877 45 47 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: woensdag 8 juni 2005 17:48 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiostat help needed > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > Sent: Wednesday, June 08, 2005 9:56 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Nagiostat help needed > > Marc > > I can run it from the cmd line (as Nagios user) > But even then the webinterface keeps giving that error... > > The rrd tool is installed > sjacobs at SBEMON01:~> rpm -q rrdtool > rrdtool-1.0.49-2 > nagiostat.cfg file > RRDToolPath /usr/bin/ >From the default nagiostat.conf file it's clear that this is incorrect -- # Pointer to where the rrd-tool binary is located RRDToolPath /usr/local/bin/rrdtool You should have (as per my suggestion below) -- RRDToolPath /usr/bin/rrdtool -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: woensdag 8 juni 2005 16:37 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagiostat help needed > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > > Sent: Wednesday, June 08, 2005 2:20 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] Nagiostat help needed > > > > Hey All, > > > > I've installed Nagios 1.2 and that seems to work fine. > > > > Because I would like to have stats I installed the nagiostat. > > > > Here I get some errors: > > > > In the debug.log file > > > > =INSERT into 'befrs003-ping.rrd': 38.49,0 DSA-names=rta,pktloss > > > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, > cmdline='/usr/bin/ > > create /usr/local/nagios/var/befrs003-ping.rrd --step 60 > > I don't use nagiostat but the cmdline is missing the rrdtool binary. > Assuming rrdtool is installed in /usr/bin (the tarball doesn't normally > put it there), nagiostat should be showing something like -- > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, > cmdline='/usr/bin/rrdtool create /usr/local/nagios/var/befrs003-ping.rrd \ > --step 60 DS:rta:GAUGE:120:0:5000 DS:pktloss:GAUGE:120:0:100 \ > RRA:AVERAGE:0.5:1:1800 RRA:AVERAGE:0.5:7:1850 RRA:AVERAGE:0.5:24:1860 \ > RRA:AVERAGE:0.5:290:1820'. > > Can you edit that cmdline or otherwise specify the path to rrdtool? Is > rrdtool installed? > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 8 18:19:19 2005 From: marc at ena.com (Marc Powell) Date: Wed, 8 Jun 2005 11:19:19 -0500 Subject: Compiling MySQL NEB Module Message-ID: He's probably talking about http://sourceforge.net/projects/nagios-db... -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Fred Reinthaler > Sent: Wednesday, June 08, 2005 10:45 AM > To: Fran?ois Laupretre > Cc: Mohr James; Nagios-users at lists.sourceforge.net > Subject: Re: RE : [Nagios-users] Compiling MySQL NEB Module > > What is this MySQL NEB module and where can I get more information > about it? I was under the impression that MySQL support was dropped > in version 2 but if there is something out there to add support, I > would definitely like to know about it. > > thanks, > > fred > > On 6/8/05, Fran?ois Laupretre > wrote: > > > > > > Which version of mysql do you use ? > > > > In my configuration (mysql 4.1.10a), inserter.c includes mysql.h, which > > includes mysql_com.h, where you find : > > > > #define CLIENT_MULTI_STATEMENTS 65536 > > > > So, I confirm that you don't have to change the code. Instead, check > your > > mysql client. > > > > > > > -----Original Message----- > > > From: Mohr James [mailto:james.mohr at elaxy.com] > > > Sent: Wednesday, June 08, 2005 4:08 PM > > > To: Nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Compiling MySQL NEB Module > > > > > > > > > Hi All! > > > > > > When running make on the MySQL NEB Module I get: > > > > > > inserter.c: In function `nebmodule_init': > > > inserter.c:130: error: `CLIENT_MULTI_STATEMENTS' undeclared > > > (first use in this function) > > > inserter.c:130: error: (Each undeclared identifier is > > > reported only once > > > inserter.c:130: error: for each function it appears in.) > > > make: *** [all] Error 1 > > > > > > I changed the makefile to point to the correct nagios include > > > directory and the mysql include directory was correct from the start: > > > > > > all: > > > gcc -g -O2 -Wall -o inserter.o inserter.c -shared > > > -I/opt/INSTALL/nagios/nagios.src/nagios-2.0b3/include > > > -I/usr/include/mysql -lmysqlclient -fPIC > > > > > > > > > I don't want to change the code to explizitely define it > > > myself until I am sure that is what I need to do. Any help is > > > greatly appreaciated. > > > > > > Regards, > > > > > > Jim Mohr > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: NEC IT Guy Games. How far > > > can you shotput a projector? How fast can you ride your desk > > > chair down the office luge track? If you want to score the > > > big prize, get to know the little guy. > > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > Ce message et ses pi?ces jointes (le "message") est destin? ? l'usage > > exclusif de son destinataire. > > Si vous recevez ce message par erreur, merci d'en aviser imm?diatement > > l'exp?diteur et de le d?truire ensuite. Le pr?sent message pouvant > > ?tre alt?r? ? notre insu, CALYON Corporate and Investment Bank > > ne peut pas ?tre engag? par son contenu. Tous droits r?serv?s. > > > > This message and/or any attachments (the "message") is intended for > > the sole use of its addressee. > > If you are not the addressee, please immediately notify the sender and > > then destroy the message. As this message and/or any attachments may > > have been altered without our knowledge, its content is not legally > > binding on CALYON Corporate and Investment Bank. All rights reserved. > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bench at silentmedia.com Wed Jun 8 18:41:44 2005 From: bench at silentmedia.com (Ben) Date: Wed, 8 Jun 2005 09:41:44 -0700 (PDT) Subject: Compiling MySQL NEB Module In-Reply-To: References: Message-ID: Assuming you're talking about nagios-db, then please keep in mind that the makefiles are only guides. They may work for you, and they may not. :) You should modify them as needed to fit your environment. You shouldn't have to actually touch any code, though..... then again, I didn't do the mysql module, so I can't really talk about it that well. On Wed, 8 Jun 2005, Mohr James wrote: > Hi All! > > When running make on the MySQL NEB Module I get: > > inserter.c: In function `nebmodule_init': > inserter.c:130: error: `CLIENT_MULTI_STATEMENTS' undeclared (first use > in this function) > inserter.c:130: error: (Each undeclared identifier is reported only once > inserter.c:130: error: for each function it appears in.) > make: *** [all] Error 1 > > I changed the makefile to point to the correct nagios include directory > and the mysql include directory was correct from the start: > > all: > gcc -g -O2 -Wall -o inserter.o inserter.c -shared > -I/opt/INSTALL/nagios/nagios.src/nagios-2.0b3/include > -I/usr/include/mysql -lmysqlclient -fPIC > > > I don't want to change the code to explizitely define it myself until I > am sure that is what I need to do. Any help is greatly appreaciated. > > Regards, > > Jim Mohr > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Wed Jun 8 18:49:04 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Wed, 8 Jun 2005 09:49:04 -0700 Subject: Simple question! Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE6C@XCH-SW-42.sw.nos.boeing.com> I like the "Object Inheritance" feature. If you have many of the same type of objects you can create a template and reference that in your object definitions. Saves a lot of typing if you're creating your config files manually. I'm curious to know what the pros or cons might be performance-wise if there are any. -Jim > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy > Sent: Tuesday, June 07, 2005 3:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Simple question! > > Hello, > Just a simple question here but it will go a long ways in helping me > figure this all out. > I have an install of 2.03b and would like to add hosts to it. I see all > these configs, and managed to add a couple. My simple question is - > exactly what configs do I need to work with if I want to add a host with > a check? > Just trying to get this done right, so I don't have to go and rework > everything after theres several thousand entries because I didn't > clarify myself now. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jun 8 19:07:10 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Jun 2005 19:07:10 +0200 Subject: Simple question! In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE6C@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE6C@XCH-SW-42.sw.nos.boeing.com> Message-ID: <42A725BE.8030200@op5.se> EXT-Fuentes, James P wrote: > I like the "Object Inheritance" feature. If you have many of the same > type of objects you can create a template and reference that in your > object definitions. Saves a lot of typing if you're creating your > config files manually. I'm curious to know what the pros or cons > might be performance-wise if there are any. -Jim > Slower startup time and more memory consumption initially. After the initial 0.2 to 100 seconds (representing 20 to 10.000 hosts), there's no difference. > >> -----Original Message----- From: >> nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Pavleck, Jeremy Sent: >> Tuesday, June 07, 2005 3:14 PM To: >> nagios-users at lists.sourceforge.net Subject: [Nagios-users] Simple >> question! >> >> Hello, Just a simple question here but it will go a long ways in >> helping me figure this all out. I have an install of 2.03b and >> would like to add hosts to it. I see > > all > >> these configs, and managed to add a couple. My simple question is - >> exactly what configs do I need to work with if I want to add a >> host > > with > >> a check? Just trying to get this done right, so I don't have to go >> and rework everything after theres several thousand entries because >> I didn't clarify myself now. > > > > ------------------------------------------------------- This SF.Net > email is sponsored by: NEC IT Guy Games. How far can you shotput a > projector? How fast can you ride your desk chair down the office luge > track? If you want to score the big prize, get to know the little > guy. Play to win an NEC 61" plasma display: > http://www.necitguy.com/?r > _______________________________________________ Nagios-users mailing > list Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lgetschel at denver.westerngeco.slb.com Wed Jun 8 19:08:56 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Wed, 08 Jun 2005 11:08:56 -0600 Subject: service notifications In-Reply-To: <541c888d0506071331630fb92f@mail.gmail.com> References: <541c888d0506071331630fb92f@mail.gmail.com> Message-ID: <42A72628.1000406@denver.westerngeco.slb.com> Fred Reinthaler wrote: >Yes I was talking about notifications only. > >So can Nagios be expected to read information from the state >retetntion file at some point even though the state retention option >is enabled? I was able to force it by stopping Nagios and deleting >the state file but I'm guessing that's probably not a good thing to >do. It just seems like alot of work to have to do this through the >web interfaces if let's say you have hundreds of hosts. > >I'm still not sure I fully understand how useful state retention >really is within Nagios. > > I think I figured out State Retention (a piece of it at least ) When (in nagios.cfg) retain_state_information=1 Nagios 'remembers' the host/service state when you restart Nagios. If set =0 then Nagios has to perform all the checks before It 'knows' your complete system status. MY checks are set to normal_check_interval 20 So It took Nagios 20 minutes to determine everything when I turned it off. As nagios.cfg comment says: "Since its only a one-time penalty, I think its well worth the additional startup delay." I keep mine on now . Lewis >thanks, > >fred > >p.s. I am reading the PDF for documentation but I think it differs >from the html docs because I couldn't find the same retention notes in >it. > > >On 6/7/05, Marc Powell wrote: > > >>I am presuming that when you say they are 'disabled' that you do not >>mean that active_checks_enabled is set to 0 and are truly talking about >>notifications only. If you have retention enabled -- >> >>http://nagios.sourceforge.net/docs/1_0/xodtemplate.html >> >>"Retention Notes >> >>It is important to point out that several directives in host and service >>definitions may not be picked up by Nagios when you change them. Host >>and service directives that can exhibit this behavior are marked with an >>asterisk (*). The reason for this behavior is due to the fact that >>Nagios chooses to honor values stored in the state retention file over >>values found in the config files, assuming you have state retention >>enabled on a program-wide basis. >> >>One way to get around this problem is to disable the retention of >>non-status information using the retain_nonstatus_information directive >>in the host and service definitions. Disabling this directive will cause >>Nagios to take the initial values for these directives from your config >>files, rather than from the state retention file when it (re)starts. >>Using this option is not recommended, as it may result in some >>unexpected (from your point of view) results. >> >>Alternatively, you can issue the appropriate external command or change >>the value of the host or service directive via the web interface, so >>that it matches what you've changed it to in the config files. This is >>usually done by using the extended information CGI. This option takes a >>bit more work, but is preferable to disabling the retention of >>non-status information (mentioned above)." >> >>http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service >> >>"notifications_enabled *: This directive is used to determine >>whether or not notifications for this service are enabled. Values: 0 = >>disable service notifications, 1 = enable service notifications." >> >>-- >>Marc >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >>a projector? How fast can you ride your desk chair down the office luge track? >>If you want to score the big prize, get to know the little guy. >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 >> >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >a projector? How fast can you ride your desk chair down the office luge track? >If you want to score the big prize, get to know the little guy. >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jun 8 19:13:15 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Jun 2005 19:13:15 +0200 Subject: Compiling MySQL NEB Module In-Reply-To: <541c888d05060808441f653844@mail.gmail.com> References: <506CE696433BD711B7C6000802B2520C079871A6@mnts3023.capitalmarkets.fr.cly> <541c888d05060808441f653844@mail.gmail.com> Message-ID: <42A7272B.7000907@op5.se> Fred Reinthaler wrote: > What is this MySQL NEB module and where can I get more information > about it? I was under the impression that MySQL support was dropped > in version 2 but if there is something out there to add support, I > would definitely like to know about it. > In-core database support _was_ dropped, in favor of demand-loadable modules. It's really nifty, as many more coders now can contribute without having to touch the inner workings of Nagios. In 3.x, I expect the logging part of Nagios will go away more or less completely in favor of the plethora of database supporting modules that has already come to life. Using some fairly obscure magic, it's also currently possible to pull ones configuration directly from a database. If anybody writes a module for this I expect config-reading will also turn into a module. Ethan can then focus entirely on the rulesets that dominates Nagios' behaviour, and development can then move forwards in quantum leaps. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ladams at cloudmark.com Wed Jun 8 20:21:15 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 8 Jun 2005 11:21:15 -0700 Subject: logging actual commands Message-ID: Is there a log, or a way to see the actual command that is being performed for a check. I'm doing a check with nrpe, and when I run the check by hand on the remote machine, I get one result. When I run it in nagios, I get a different result. I'd like to debug this, but cannot determine how I would know what the command is. Thoughts? Thanks in advance, -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Wed Jun 8 20:35:40 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 8 Jun 2005 11:35:40 -0700 Subject: service checks and timeperiods Message-ID: Sometimes there is a need to run the same check but with different thresholds depending on time of day. Currently, I have to create two separate checks with a different name for each. What would be nice would be the ability to do something like this: define service { use generic-service-template host_name bar service_description check check_command do_check!10!20 timeperiod workhours contact_groups foo } define service { use generic-service-template host_name bar service_description check check_command do_check!100!200 timeperiod nonworkhours contact_groups foo } Then in the web interface, it would only display "check", and then run the correct check based on time. Currently I have to create checkA and checkB, and both are displayed in the UI, even though one won't be checked for the next 10 hours or so. Does anyone know of a way to do this? Thanks, Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Jun 8 20:44:15 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Jun 2005 20:44:15 +0200 Subject: service checks and timeperiods In-Reply-To: References: Message-ID: <42A73C7F.1030008@op5.se> Lori Adams wrote: > Sometimes there is a need to run the same check but with different > thresholds depending on time of day. > > Currently, I have to create two separate checks with a different name > for each. What would be nice would be the ability to do something like > this: > You can. Just s/timeperiod/check_period/ and you're good to go. notification_period is also a viable option. > define service { > > use generic-service-template > > host_name bar > > service_description check > > check_command do_check!10!20 > > timeperiod workhours > > contact_groups foo > > } > > define service { > > use generic-service-template > > host_name bar > > service_description check > > check_command do_check!100!200 > > timeperiod nonworkhours > > contact_groups foo > > } > > > > Then in the web interface, it would only display "check", and then run > the correct check based on time. > > Currently I have to create checkA and checkB, and both are displayed in > the UI, even though one won't be checked for the next 10 hours or so. > > Does anyone know of a way to do this? > > > > Thanks, > > Lori > > > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From james at jolt.co.uk Wed Jun 8 20:51:50 2005 From: james at jolt.co.uk (James Davis) Date: Wed, 08 Jun 2005 19:51:50 +0100 Subject: Problems with check_http appearing to time out In-Reply-To: References: <42A599DC.3090804@jolt.co.uk> Message-ID: <42A73E46.2060400@jolt.co.uk> John Stevens wrote: > This is the same problem I am having on my CentOS (RHEL) 4 box with a > new install. In my case the check_ping and check_http tests time out > (to any host), but if I run the checks from the command line as the > nagios user, they work fine. I've just tried check_ping and those are the same symptoms exactly as I have. I hope I'm not doing something completely stupid in my setup but I can't think what. James ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Wed Jun 8 21:17:12 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 8 Jun 2005 15:17:12 -0400 (EDT) Subject: Problems with check_http appearing to time out In-Reply-To: <42A73E46.2060400@jolt.co.uk> References: <42A599DC.3090804@jolt.co.uk> <42A73E46.2060400@jolt.co.uk> Message-ID: On Wed, 8 Jun 2005, James Davis wrote: > John Stevens wrote: > >> This is the same problem I am having on my CentOS (RHEL) 4 box with a >> new install. In my case the check_ping and check_http tests time out >> (to any host), but if I run the checks from the command line as the >> nagios user, they work fine. > > I've just tried check_ping and those are the same symptoms exactly as I > have. I hope I'm not doing something completely stupid in my setup but I > can't think what. > > James > This is symptomatic of SELinux configuration. You may want to define a SELinux targeted policy for nagios daemon or run SELinux in permissive mode. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ladams at cloudmark.com Wed Jun 8 21:26:41 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 8 Jun 2005 12:26:41 -0700 Subject: service checks and timeperiods Message-ID: Below are my configurations, and the error I get when doing a verify. define service { use generic-service-template host_name bar service_description doneQ #service_description doneQ-morn check_command check_doneq!500 contact_groups r2-admins check_period 5am-to-10am normal_check_interval 5 } define service { use generic-service-template host_name bar service_description doneQ check_command check_doneq!200 contact_groups r2-admins check_period all-but-5am-to-10am normal_check_interval 5 } Error: Service 'doneQ' on host 'bar' has already been defined Error: Could not register service (config file '/srv/http/nagios/etc/services.cfg', line 467) What I want is for in the UI, there should be one visible check. Currently in the UI, it says doneQ, and doneQ-morn (see comment in first config), as I have to prepare two different checks because of the different thresholds. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Wednesday, June 08, 2005 11:44 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service checks and timeperiods Lori Adams wrote: > Sometimes there is a need to run the same check but with different > thresholds depending on time of day. > > Currently, I have to create two separate checks with a different name > for each. What would be nice would be the ability to do something like > this: > You can. Just s/timeperiod/check_period/ and you're good to go. notification_period is also a viable option. > define service { > > use generic-service-template > > host_name bar > > service_description check > > check_command do_check!10!20 > > timeperiod workhours > > contact_groups foo > > } > > define service { > > use generic-service-template > > host_name bar > > service_description check > > check_command do_check!100!200 > > timeperiod nonworkhours > > contact_groups foo > > } > > > > Then in the web interface, it would only display "check", and then run > the correct check based on time. > > Currently I have to create checkA and checkB, and both are displayed in > the UI, even though one won't be checked for the next 10 hours or so. > > Does anyone know of a way to do this? > > > > Thanks, > > Lori > > > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From james at jolt.co.uk Wed Jun 8 21:26:15 2005 From: james at jolt.co.uk (James Davis) Date: Wed, 08 Jun 2005 20:26:15 +0100 Subject: Problems with check_http appearing to time out In-Reply-To: References: <42A599DC.3090804@jolt.co.uk> <42A73E46.2060400@jolt.co.uk> Message-ID: <42A74657.5070909@jolt.co.uk> Subhendu Ghosh wrote: > This is symptomatic of SELinux configuration. > You may want to define a SELinux targeted policy for nagios daemon or > run SELinux in permissive mode. I'm not using SELinux. James ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Wed Jun 8 21:36:37 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Wed, 8 Jun 2005 14:36:37 -0500 Subject: Pending status In-Reply-To: References: Message-ID: Here is one interesting thing I found out. I installed nagios using the rpms at DAG repository. Well all this time I was starting (and restarting) using the command directory. But now I am trying to use the "service nagios (re)start)" and guess what - the cgi doens't find the service!. The service is running fine but for some reson cgi cannot see it. Keeps complaining that the service might not be running. Any idea what might be wrong? -Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Wed Jun 8 22:04:26 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 8 Jun 2005 13:04:26 -0700 Subject: Need opinion for a reporting utility. Message-ID: <59B15593F41BD24591D59436E7226EAD02009A1F@Khiphx2.khimetrics.com> I need a tool for nagios so that I can generate reports automatically in csv for certain hostgroups for a timeperiod (like every month). Does anyone have any suggestions from the utilities listed at Nagiosexchange? Any experience using them? If you have any suggestions towards writing my own, like if parsing the log files isn't that bad, I'd like to know that as well. Thank you. Nathan Oyler Information Technology 480-308-2342 Office Khimetrics Inc. Maximizing Sales & Profit Revenue Management from Khimetrics ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cammajkc at DFW.WA.GOV Wed Jun 8 22:29:04 2005 From: cammajkc at DFW.WA.GOV (James Cammack) Date: Wed, 08 Jun 2005 13:29:04 -0700 Subject: logging actual commands Message-ID: I've had some luck in adding the echo to the beginning of the command in checkcommands.cfg, scheduling an immediate force commit of all services on that host, and looking in the host or service information to find the result being the actual string that is ran. Of course, I'm running under *nix but that should work under window$ too. >>> "Lori Adams" 06/08/05 11:21 AM >>> Is there a log, or a way to see the actual command that is being performed for a check. I'm doing a check with nrpe, and when I run the check by hand on the remote machine, I get one result. When I run it in nagios, I get a different result. I'd like to debug this, but cannot determine how I would know what the command is. Thoughts? Thanks in advance, -Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjacobs at frs.be Wed Jun 8 22:35:28 2005 From: sjacobs at frs.be (Jacobs, Sven) Date: Wed, 8 Jun 2005 22:35:28 +0200 Subject: Nagiostat help needed Message-ID: <43B5E93C7030714491583698996A22A9AF9EB5@sbeexc01.frs.local> The logs don't give errors anymore but the graphs stay empty? What is wrong? InsertValue befrs001r1-ping.rrd ping_1min /befrs001r1/ /PING/ ping_rta_pktloss InsertValue befrs001c1-ping.rrd ping_1min /befrs001c1/ /PING/ ping_rta_pktloss InsertValue befrs028r1-ping.rrd ping_1min /befrs028r1/ /PING/ ping_rta_pktloss I have a RTA of about 38ms but in the graphs I don't see any line .... Met vriendelijke groet, Sven Jacobs t: +32 3 870 57 64 f: +32 3 877 45 47 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: woensdag 8 juni 2005 17:48 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagiostat help needed > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > Sent: Wednesday, June 08, 2005 9:56 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Nagiostat help needed > > Marc > > I can run it from the cmd line (as Nagios user) > But even then the webinterface keeps giving that error... > > The rrd tool is installed > sjacobs at SBEMON01:~> rpm -q rrdtool > rrdtool-1.0.49-2 > nagiostat.cfg file > RRDToolPath /usr/bin/ >From the default nagiostat.conf file it's clear that this is incorrect -- # Pointer to where the rrd-tool binary is located RRDToolPath /usr/local/bin/rrdtool You should have (as per my suggestion below) -- RRDToolPath /usr/bin/rrdtool -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: woensdag 8 juni 2005 16:37 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagiostat help needed > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Jacobs, Sven > > Sent: Wednesday, June 08, 2005 2:20 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] Nagiostat help needed > > > > Hey All, > > > > I've installed Nagios 1.2 and that seems to work fine. > > > > Because I would like to have stats I installed the nagiostat. > > > > Here I get some errors: > > > > In the debug.log file > > > > =INSERT into 'befrs003-ping.rrd': 38.49,0 DSA-names=rta,pktloss > > > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, > cmdline='/usr/bin/ > > create /usr/local/nagios/var/befrs003-ping.rrd --step 60 > > I don't use nagiostat but the cmdline is missing the rrdtool binary. > Assuming rrdtool is installed in /usr/bin (the tarball doesn't normally > put it there), nagiostat should be showing something like -- > > **CREATING: /usr/local/nagios/var/befrs003-ping.rrd, > cmdline='/usr/bin/rrdtool create /usr/local/nagios/var/befrs003-ping.rrd \ > --step 60 DS:rta:GAUGE:120:0:5000 DS:pktloss:GAUGE:120:0:100 \ > RRA:AVERAGE:0.5:1:1800 RRA:AVERAGE:0.5:7:1850 RRA:AVERAGE:0.5:24:1860 \ > RRA:AVERAGE:0.5:290:1820'. > > Can you edit that cmdline or otherwise specify the path to rrdtool? Is > rrdtool installed? > > -- > Marc > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From DCastelhano at OSIP.com Wed Jun 8 23:07:41 2005 From: DCastelhano at OSIP.com (Castelhano, Dan) Date: Wed, 8 Jun 2005 17:07:41 -0400 Subject: Check all windows disks with one command Message-ID: <60F6FB7B8A1B13419ADB9339EEBC3CA255D51D@fd-mail2.osip.com> Hi, For the linux version of the check_disk command, if you don't specify a disk, it'll check and report back on the status of all of them. (ie: ./check_nrpe -H LinuxServerHost -c check_disk -a 20 10) I can't find a way to do a similar thing within windows. I've looked at nsclient and nrpe_nt and I don't see how it can be done. I would prefer not having to specify a different service for each partition on all servers on the network. Does anyone know of a tool, or how to do a disk check what will check all partitions? Thanks, Dan ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Wed Jun 8 23:18:28 2005 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 8 Jun 2005 17:18:28 -0400 Subject: Check all windows disks with one command In-Reply-To: <60F6FB7B8A1B13419ADB9339EEBC3CA255D51D@fd-mail2.osip.com> References: <60F6FB7B8A1B13419ADB9339EEBC3CA255D51D@fd-mail2.osip.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Hi, > For the linux version of the check_disk command, if you don't > specify a disk, it'll check and report back on the status of all of > them. (ie: ./check_nrpe -H LinuxServerHost -c check_disk -a 20 10) > > I can't find a way to do a similar thing within windows. I've > looked at nsclient and nrpe_nt and I don't see how it can be > done. I would prefer not having to specify a different > service for each partition on all servers on the network. > > Does anyone know of a tool, or how to do a disk check what will check > all partitions? It seems to me it would be a fairly easy task to whip up your own NRPE plugin to do that. I'd probably do it in Perl, but if you're a Windows person I'd imagine it could be done pretty easily with a batch script as well. Otherwise you can always pull those stats via SNMP and poll multiple OID's with the check_snmp plugin. Andrew ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael at medin.name Wed Jun 8 23:29:53 2005 From: michael at medin.name (Michael Medin) Date: Wed, 08 Jun 2005 23:29:53 +0200 Subject: Check all windows disks with one command In-Reply-To: <60F6FB7B8A1B13419ADB9339EEBC3CA255D51D@fd-mail2.osip.com> References: <60F6FB7B8A1B13419ADB9339EEBC3CA255D51D@fd-mail2.osip.com> Message-ID: <42A76351.809@medin.name> Hi, NSClient++ can do this using the NRPE protocol. |check_nrpe ... -c CheckDriveSize -a MaxWarn=50% MaxCrit=75% CheckAll FilterType=FIXED FilterType=REMOTE The above example (from the NSClient++ docs) will check all fixed and remote (network) drives, if you only want the fixed drives you can simply leave out the ||FilterType=REMOTE option.| A note though is that tomorrow night (didn't have time to fix it today, as my Grandmother had some problems with her computer that I had to fix :) I will release an update version that auto detects language and OS version that greatly simplifies configuration if you don't have an English system. As well as some other goodies, such as a much improved event log checker and some bug fixes. // Michael Medin Castelhano, Dan wrote: > Hi, > For the linux version of the check_disk command, if you don't specify a > disk, it'll check and report back on the status of all of them. > (ie: ./check_nrpe -H LinuxServerHost -c check_disk -a 20 10) > > I can't find a way to do a similar thing within windows. I've looked at > nsclient and nrpe_nt and I don't see how it can be done. I would prefer not > having to specify a different service for each partition on all servers on > the network. > > Does anyone know of a tool, or how to do a disk check what will check all > partitions? > > Thanks, > Dan > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kex604 at gmail.com Thu Jun 9 14:42:47 2005 From: kex604 at gmail.com (Fred Reinthaler) Date: Thu, 9 Jun 2005 08:42:47 -0400 Subject: service notifications In-Reply-To: <42A72628.1000406@denver.westerngeco.slb.com> References: <541c888d0506071331630fb92f@mail.gmail.com> <42A72628.1000406@denver.westerngeco.slb.com> Message-ID: <541c888d05060905426b2622d1@mail.gmail.com> Mine is turned on by default (retain_state_information=1) and I don't plan to change it either. ;-) cheers, fred On 6/8/05, Lewis Getschel wrote: > > I think I figured out State Retention (a piece of it at least ) > When (in nagios.cfg) > retain_state_information=1 > Nagios 'remembers' the host/service state when you restart Nagios. > If set =0 > then Nagios has to perform all the checks before It 'knows' your > complete system status. MY checks are set to > normal_check_interval 20 > So It took Nagios 20 minutes to determine everything when I turned it > off. As nagios.cfg comment says: > "Since its only a one-time penalty, I think its well worth the > additional startup delay." > I keep mine on now . > Lewis > > >thanks, > > > >fred > > > >p.s. I am reading the PDF for documentation but I think it differs > >from the html docs because I couldn't find the same retention notes in > >it. > > > > > >On 6/7/05, Marc Powell wrote: > > > > > >>I am presuming that when you say they are 'disabled' that you do not > >>mean that active_checks_enabled is set to 0 and are truly talking about > >>notifications only. If you have retention enabled -- > >> > >>http://nagios.sourceforge.net/docs/1_0/xodtemplate.html > >> > >>"Retention Notes > >> > >>It is important to point out that several directives in host and service > >>definitions may not be picked up by Nagios when you change them. Host > >>and service directives that can exhibit this behavior are marked with an > >>asterisk (*). The reason for this behavior is due to the fact that > >>Nagios chooses to honor values stored in the state retention file over > >>values found in the config files, assuming you have state retention > >>enabled on a program-wide basis. > >> > >>One way to get around this problem is to disable the retention of > >>non-status information using the retain_nonstatus_information directive > >>in the host and service definitions. Disabling this directive will cause > >>Nagios to take the initial values for these directives from your config > >>files, rather than from the state retention file when it (re)starts. > >>Using this option is not recommended, as it may result in some > >>unexpected (from your point of view) results. > >> > >>Alternatively, you can issue the appropriate external command or change > >>the value of the host or service directive via the web interface, so > >>that it matches what you've changed it to in the config files. This is > >>usually done by using the extended information CGI. This option takes a > >>bit more work, but is preferable to disabling the retention of > >>non-status information (mentioned above)." > >> > >>http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > >> > >>"notifications_enabled *: This directive is used to determine > >>whether or not notifications for this service are enabled. Values: 0 = > >>disable service notifications, 1 = enable service notifications." > >> > >>-- > >>Marc > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > >>a projector? How fast can you ride your desk chair down the office luge track? > >>If you want to score the big prize, get to know the little guy. > >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at 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 > >> > >> > >> > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > >a projector? How fast can you ride your desk chair down the office luge track? > >If you want to score the big prize, get to know the little guy. > >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at 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 > > > > > > > > -- > Lewis Getschel | Today is done... > WesternGeco | Today was fun... > 1625 Broadway | Tomorrow is another one. > Denver, CO 80202 | > Direct Phone - 303-389-4407| -- Dr. Seuss -- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From DCastelhano at OSIP.com Thu Jun 9 14:45:15 2005 From: DCastelhano at OSIP.com (Castelhano, Dan) Date: Thu, 9 Jun 2005 08:45:15 -0400 Subject: Check all windows disks with one command Message-ID: <60F6FB7B8A1B13419ADB9339EEBC3CA255D520@fd-mail2.osip.com> Hi, Is there a way to make the nsc+ check disk dll work with nspr_nt? Already have nspr_nt installed on all my windows servers and would hate to have to swap clients at this point. How are others doing disk checks with nrpe_nt? If each server has a different number of partitions (all have c:, some have e:, and others have both e: and f: and/or more), are you just defining different service checks for the different partitions and then adding a host to each service check for a drive it has? Thanks, Dan _____ From: Michael Medin [mailto:michael at medin.name] Sent: Wednesday, June 08, 2005 5:30 PM To: Castelhano, Dan Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Check all windows disks with one command Hi, NSClient++ can do this using the NRPE protocol. check_nrpe ... -c CheckDriveSize -a MaxWarn=50% MaxCrit=75% CheckAll FilterType=FIXED FilterType=REMOTE The above example (from the NSClient++ docs) will check all fixed and remote (network) drives, if you only want the fixed drives you can simply leave out the FilterType=REMOTE option. A note though is that tomorrow night (didn't have time to fix it today, as my Grandmother had some problems with her computer that I had to fix :) I will release an update version that auto detects language and OS version that greatly simplifies configuration if you don't have an English system. As well as some other goodies, such as a much improved event log checker and some bug fixes. // Michael Medin Castelhano, Dan wrote: Hi, For the linux version of the check_disk command, if you don't specify a disk, it'll check and report back on the status of all of them. (ie: ./check_nrpe -H LinuxServerHost -c check_disk -a 20 10) I can't find a way to do a similar thing within windows. I've looked at nsclient and nrpe_nt and I don't see how it can be done. I would prefer not having to specify a different service for each partition on all servers on the network. Does anyone know of a tool, or how to do a disk check what will check all partitions? Thanks, Dan ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kex604 at gmail.com Thu Jun 9 14:50:12 2005 From: kex604 at gmail.com (Fred Reinthaler) Date: Thu, 9 Jun 2005 08:50:12 -0400 Subject: Compiling MySQL NEB Module In-Reply-To: <42A7272B.7000907@op5.se> References: <506CE696433BD711B7C6000802B2520C079871A6@mnts3023.capitalmarkets.fr.cly> <541c888d05060808441f653844@mail.gmail.com> <42A7272B.7000907@op5.se> Message-ID: <541c888d0506090550560e53fc@mail.gmail.com> Sounds good. I am looking forward in experimenting with what will come out of this. cheers, fred On 6/8/05, Andreas Ericsson wrote: > Fred Reinthaler wrote: > > What is this MySQL NEB module and where can I get more information > > about it? I was under the impression that MySQL support was dropped > > in version 2 but if there is something out there to add support, I > > would definitely like to know about it. > > > > In-core database support _was_ dropped, in favor of demand-loadable > modules. It's really nifty, as many more coders now can contribute > without having to touch the inner workings of Nagios. > > In 3.x, I expect the logging part of Nagios will go away more or less > completely in favor of the plethora of database supporting modules that > has already come to life. > > Using some fairly obscure magic, it's also currently possible to pull > ones configuration directly from a database. If anybody writes a module > for this I expect config-reading will also turn into a module. Ethan can > then focus entirely on the rulesets that dominates Nagios' behaviour, > and development can then move forwards in quantum leaps. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fmapconsulting at aol.com Thu Jun 9 15:07:23 2005 From: fmapconsulting at aol.com (Fabiano Martins) Date: Thu, 9 Jun 2005 10:07:23 -0300 Subject: What this message means? Message-ID: <157.52775f81.2fd99911@aol.com> Hi... I would like to know what the following message means... "System call sent warnings to stderr" This occurs when I'm trying to monitor Total Process on a remote host using NRPE. To test, I'm typing the command from the Console of the Nagios Server. This message is the that I receive on Nagios screen. Thanks a lot. Fabiano Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: From lee at effective-it.co.uk Thu Jun 9 15:25:46 2005 From: lee at effective-it.co.uk (Lee Ball) Date: Thu, 09 Jun 2005 14:25:46 +0100 Subject: What this message means? In-Reply-To: <157.52775f81.2fd99911@aol.com> References: <157.52775f81.2fd99911@aol.com> Message-ID: <42A8435A.1050801@effective-it.co.uk> An HTML attachment was scrubbed... URL: From bitsandbytes88 at hotmail.com Thu Jun 9 15:24:19 2005 From: bitsandbytes88 at hotmail.com (D Kavan) Date: Thu, 09 Jun 2005 09:24:19 -0400 Subject: RE Message-ID: sign me up! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From funraps at yahoo.com Thu Jun 9 15:44:14 2005 From: funraps at yahoo.com (funraps too) Date: Thu, 9 Jun 2005 06:44:14 -0700 (PDT) Subject: My nagios won't work any more, STRANGE Message-ID: <20050609134414.39600.qmail@web32015.mail.mud.yahoo.com> Good Morning, Can anyone assist me with this? Been a few days since my Nagios has worked... driving me nuts... Thanks funraps too wrote: Good Morning, I had Nagios working fine then I installed Monarch and it was still working, then it just stopped! There are no errors when I issue nagios -v but the service will not start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios --------------------------------- Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out! --------------------------------- Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bitsandbytes88 at hotmail.com Thu Jun 9 15:55:01 2005 From: bitsandbytes88 at hotmail.com (D Kavan) Date: Thu, 09 Jun 2005 09:55:01 -0400 Subject: SSL handshake Message-ID: Hi, Please delete that last email, RE. I thought things were working fine yesterday but... When I restarted the xinetd, I get CHECK_NRPE: Error - Could not complete SSL handshake. I have run through the FAQ database and everything looks ok. http://www.nagios.org/faqs/viewfaq.php?faq_id=191 1. I have checked my version of check_nrpe and I'm using check_nrpe_20 on the server. is the same version as the check_nrpe on the host I'm monitoring. The server was built with nagios-2.0b2. 2. SSL is disabled. As far as I know ssl is enabled on both. How do I double check that? The way I checked was ./check_nrpe --help | more and I see SSL/TLS available. 3. I checked the file permissions and I have them all set to allow nagios and the group nagios. I even chnaged the permissions of each to allow other in an effor to get this handshaking. 4. I don't have /dev/psuedo 5. I'm allowing the nrpe deamon's address. The address of the server performing the nrpe queries. not the host running the queries are being run on. Although I tried adding that too and that didn't help. Thanks for any advice. It was working yesterday like I said. I got cacti graphs working and then the standard nagios alerts didn't. ~DjK ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Erwin.Mascardo at intelsat.com Thu Jun 9 15:50:28 2005 From: Erwin.Mascardo at intelsat.com (Mascardo, Erwin) Date: Thu, 9 Jun 2005 09:50:28 -0400 Subject: service checks and timeperiods Message-ID: >-----Original Message----- >From: Lori Adams [mailto:ladams at cloudmark.com] >Sent: Wednesday, 08 June, 2005 15:27 > >Below are my configurations, and the error I get when doing a verify. >define service { > use generic-service-template > host_name bar > service_description doneQ > #service_description doneQ-morn > check_command check_doneq!500 > contact_groups r2-admins > check_period 5am-to-10am > normal_check_interval 5 > } > >define service { > use generic-service-template > host_name bar > service_description doneQ > check_command check_doneq!200 > contact_groups r2-admins > check_period all-but-5am-to-10am > normal_check_interval 5 > } > >Error: Service 'doneQ' on host 'bar' has already been defined > >Error: Could not register service (config file >'/srv/http/nagios/etc/services.cfg', line 467) > >What I want is for in the UI, there should be one visible check. >Currently in the UI, it says doneQ, and doneQ-morn (see >comment in first >config), as I have to prepare two different checks because of the >different thresholds. Try a wrapper script which checks to see what time it is, and then passes the appropriate argument to your actual check command based on that. ############################################################ Intelsat is a global communications provider offering flexible and secure services to customers in over 220 countries and territories. Intelsat has maintained a leadership position for over 40 years by distributing video, voice, and data for television and content providers, government and military entities, major corporations, telecommunications carriers, and Internet service providers. Intelsat's reach, power and expanding solutions portfolio deliver information reliably and quickly to every corner of the globe. For more information, visit www.intelsat.com. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bitsandbytes88 at hotmail.com Thu Jun 9 16:07:34 2005 From: bitsandbytes88 at hotmail.com (D Kavan) Date: Thu, 09 Jun 2005 10:07:34 -0400 Subject: SSL handshake Message-ID: The version of check_nrpe on the server is 1.8 and does not support ssl, but I am using check_nrpe_20 which is the same version as on the remote host and does support SSL. Why would the SSL error say anything about check_nrpe. It should be saying check_nrpe_20 could not complete the handshake. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bitsandbytes88 at hotmail.com Thu Jun 9 16:29:28 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Thu, 9 Jun 2005 16:29:28 +0200 (CEST) Subject: SSL handshake In-Reply-To: References: Message-ID: <20050609142928.18B544F4002@desire.netways.de> Hi, Do I need to add another /etc/service port to listen to to allow ssl? check_nrpe_20 and my nrpe daemon support ssl. They are both version 2 and have SSL available. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=7395 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From noyler at khimetrics.com Thu Jun 9 16:53:38 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 9 Jun 2005 07:53:38 -0700 Subject: What this message means? Message-ID: <59B15593F41BD24591D59436E7226EAD02009DAF@Khiphx2.khimetrics.com> I have this problem on my one and only FC2 machine. I researched the trail and haven't had time to really address it, google gives this information http://www.nagiosexchange.org/nagiosplug-devel.31.0.html?&tx_maillisttof aq_pi1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=6153 >From the FAQ of procps: 'Why does "ps -aux" complain about a bogus '-'? 'According to the POSIX and UNIX standards, the above command asks to display all processes with a TTY (generally the commands users are running) plus all processes owned by a user named "x". If that user doesn't exist, then ps will assume you really meant "ps aux". The warning is given to gently break you of a habit that will cause you trouble if a user named "x" were created.' Thus the syntax of ps must be corrected. We should get rid of the "-" on "/bin/ps -axwo..." In fact, if I change PS_COMMAND manually on config.h the plugin works as expected: [root nagios plugins]# ./check_procs PROCS OK: 470 processes ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fabiano Martins Sent: Thursday, June 09, 2005 6:07 AM To: Nagios Users List Subject: [Nagios-users] What this message means? Hi... I would like to know what the following message means... "System call sent warnings to stderr" This occurs when I'm trying to monitor Total Process on a remote host using NRPE. To test, I'm typing the command from the Console of the Nagios Server. This message is the that I receive on Nagios screen. Thanks a lot. Fabiano Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: From bitsandbytes88 at hotmail.com Thu Jun 9 16:59:45 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Thu, 9 Jun 2005 16:59:45 +0200 (CEST) Subject: SSL handshake In-Reply-To: <20050609142928.18B544F4002@desire.netways.de> References: <20050609142928.18B544F4002@desire.netways.de> Message-ID: <20050609145945.218E94F4002@desire.netways.de> Hi all, Well I'm not able to telnet host 5666 so that's odd. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=7396 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Thu Jun 9 17:34:09 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Thu, 9 Jun 2005 10:34:09 -0500 Subject: java webapp monitoring Message-ID: Our institution uses blackboard. And I'd like to monitor the service with some extra metrics like database load (frequency of calls to the database) etc. Probably I am getting a little bit in to profiling. Can this be done? Or better has any one done it? Any suggestions. --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bitsandbytes88 at hotmail.com Thu Jun 9 17:50:26 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Thu, 9 Jun 2005 17:50:26 +0200 (CEST) Subject: SSL handshake In-Reply-To: <20050609145945.218E94F4002@desire.netways.de> References: <20050609145945.218E94F4002@desire.netways.de> Message-ID: <20050609155026.73BD24F4002@desire.netways.de> I'm showing this on the server, yet I still can't connect with telnet. ash:/usr/local/nagios/etc # netstat -nlp |grep 5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 9711/xinetd - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=7399 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jun 9 17:51:08 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 9 Jun 2005 11:51:08 -0400 (EDT) Subject: java webapp monitoring In-Reply-To: References: Message-ID: On Thu, 9 Jun 2005, Aditya Ivaturi wrote: > Our institution uses blackboard. And I'd like to monitor the service with > some extra metrics like database load (frequency of calls to the database) > etc. Probably I am getting a little bit in to profiling. Can this be done? > Or better has any one done it? Any suggestions. > Anything that you can get a metric out of - via command line, via some api can be turned into a plugin. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jun 9 18:04:59 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 9 Jun 2005 12:04:59 -0400 (EDT) Subject: SSL handshake In-Reply-To: <20050609155026.73BD24F4002@desire.netways.de> References: <20050609145945.218E94F4002@desire.netways.de> <20050609155026.73BD24F4002@desire.netways.de> Message-ID: On Thu, 9 Jun 2005, Dj kavanski wrote: > I'm showing this on the server, yet I still can't connect with telnet. > > > > ash:/usr/local/nagios/etc # netstat -nlp |grep 5666 > > tcp 0 0 0.0.0.0:5666 0.0.0.0:* > LISTEN 9711/xinetd > > verify if tcp wrappers is enabled on xinetd - if so add monitoring host to hosts.allow. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From davidgr at tucumanlinux.com.ar Thu Jun 9 18:17:22 2005 From: davidgr at tucumanlinux.com.ar (David Gaston Rodriguez) Date: Thu, 9 Jun 2005 13:17:22 -0300 (ART) Subject: Service as parent of a host? Message-ID: <1839.200.82.100.11.1118333842.squirrel@www.tucumanlinux.com.ar> Hi list: How I can set the parent of "HOST B" to be a service of "HOST A"?? I have a network map as this: |------| |NAGIOS| ---> HOST A HOST B |------| ________ ________ | HTTP | | HTTP | | POP | | POP | | VPN |-----> | STMP | | SMTP | | .... | |______| |______| I want that "HOST B" appears in state UNREACHEABLE when service VPN of host "HOST A" is in state CRITICAL. I can do something like this? PD: Sorry for my english. DGR ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bitsandbytes88 at hotmail.com Thu Jun 9 18:23:42 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Thu, 9 Jun 2005 18:23:42 +0200 (CEST) Subject: SSL handshake In-Reply-To: References: Message-ID: <20050609162342.A64A54F4002@desire.netways.de> Hi Subhendu Thanks for the response. There is a bug I found that I want to report. When the file nrpe is created out of source it call the service ncsa or something. After changing that to nrpe everything seems to be working now. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=7406 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ladams at cloudmark.com Thu Jun 9 18:40:28 2005 From: ladams at cloudmark.com (Lori Adams) Date: Thu, 9 Jun 2005 09:40:28 -0700 Subject: SSL handshake Message-ID: Make sure you have the correct hosts in your nrpe.cfg file under "allowed hosts". That's usually why I have that problem. But yes opening the port would help too. :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dj kavanski Sent: Thursday, June 09, 2005 8:00 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake Hi all, Well I'm not able to telnet host 5666 so that's odd. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i 1[showUid]=7396 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jun 9 18:52:08 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Jun 2005 18:52:08 +0200 Subject: Service as parent of a host? In-Reply-To: <1839.200.82.100.11.1118333842.squirrel@www.tucumanlinux.com.ar> References: <1839.200.82.100.11.1118333842.squirrel@www.tucumanlinux.com.ar> Message-ID: <42A873B8.5040401@op5.se> David Gaston Rodriguez wrote: > Hi list: > How I can set the parent of "HOST B" to be a service of "HOST A"?? > I have a network map as this: > > |------| > |NAGIOS| ---> HOST A HOST B > |------| ________ ________ > | HTTP | | HTTP | > | POP | | POP | > | VPN |-----> | STMP | > | SMTP | | .... | > |______| |______| > > I want that "HOST B" appears in state UNREACHEABLE when service VPN of > host "HOST A" is in state CRITICAL. > I can do something like this? > The simple way; Add HOST C which has the VPN check as its only service, and also as its host check_command. Make HOST B the child of HOST C. When VPN goes down, B goes unreachable. If possible, check the VPN IP of HOST A as the address of HOST C. > > PD: Sorry for my english. > > DGR > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Thu Jun 9 19:01:31 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Thu, 9 Jun 2005 10:01:31 -0700 Subject: My nagios won't work any more, STRANGE Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE6F@XCH-SW-42.sw.nos.boeing.com> This says that there either is no PID or the wrong PID "kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill...." Do a "ps" to see what's running. -Jim ________________________________ From: funraps too [mailto:funraps at yahoo.com] Sent: Thu 6/9/2005 6:44 AM To: funraps too; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: My nagios won't work any more, STRANGE Good Morning, Can anyone assist me with this? Been a few days since my Nagios has worked... driving me nuts... Thanks funraps too wrote: Good Morning, I had Nagios working fine then I installed Monarch and it was still working, then it just stopped! There are no errors when I issue nagios -v but the service will not start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org ) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios ________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out! ________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jun 9 19:17:11 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 9 Jun 2005 13:17:11 -0400 (EDT) Subject: SSL handshake In-Reply-To: <20050609162342.A64A54F4002@desire.netways.de> References: <20050609162342.A64A54F4002@desire.netways.de> Message-ID: On Thu, 9 Jun 2005, Dj kavanski wrote: > Hi Subhendu > > > > Thanks for the response. > > There is a bug I found that I want to report. When the file nrpe > is created out of source it call the service ncsa or something. > After changing that to nrpe everything seems to be working now. > > Where and what source did you use? NRPE and NSCA are 2 different tarbal releases. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rsantiago at rcm.upr.edu Thu Jun 9 19:38:24 2005 From: rsantiago at rcm.upr.edu (Richard Santiago) Date: Thu, 9 Jun 2005 13:38:24 -0400 Subject: Uptime on Linux Servers Message-ID: Hi, I'm tring to pull the uptime for all Linux servers into Nagios. Besides using check_snmp (which I found nowhere and it's used by check_uptime) is there another solution for this?. Thanks. Richard Santiago OSI - Administraci?n de Sistemas UPR - Recinto de Ciencias M?dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Joseph.Petrucci at ddiworld.com Thu Jun 9 19:52:19 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Thu, 9 Jun 2005 13:52:19 -0400 Subject: Uptime on Linux Servers Message-ID: I wrote a plugin that basically used ssh -l nagios /usr/bin/uptime and parsed the information i needed. I also used the same approach for load average. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Richard Santiago Sent: Thursday, June 09, 2005 1:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Uptime on Linux Servers Hi, I'm tring to pull the uptime for all Linux servers into Nagios. Besides using check_snmp (which I found nowhere and it's used by check_uptime) is there another solution for this?. Thanks. Richard Santiago OSI - Administraci?n de Sistemas UPR - Recinto de Ciencias M?dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From funraps at yahoo.com Thu Jun 9 20:05:24 2005 From: funraps at yahoo.com (funraps too) Date: Thu, 9 Jun 2005 11:05:24 -0700 (PDT) Subject: My nagios won't work any more, STRANGE In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE6F@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE6F@XCH-SW-42.sw.nos.boeing.com> Message-ID: <20050609180524.42552.qmail@web32010.mail.mud.yahoo.com> Thanks, I figured it out, although the nagios -v check didn't see any problems, some of the log files indicated issues. Now I have nagios working but the web CGI isn't working. I even redid the httpd.conf and .htapasswd just like the docs, still not working! I changed permissions to the file below to nagios, nagioscmd, apache but still getting: (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users Web interface shows: Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. ==> error_log <== [Thu Jun :2:7 25] [notice] caught SIGTERM, shutting down [Thu Jun :2: 25] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Jun :2: 25] [notice] Digest: generating secret for digest authentication [Thu Jun :2: 25] [notice] Digest: done [Thu Jun :2: 25] [notice] LDAP: Built with OpenLDAP LDAP SDK [Thu Jun :2: 25] [notice] LDAP: SSL support unavailable [Thu Jun :2: 25] [notice] mod_python: Creating session mutexes based on 256 max processes and max threads [Thu Jun :2: 25] [notice] Apache/252 (CentOS) configured -- resuming normal operations [Thu Jun :2:23 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :2:23 25] [error] [client ] user not found: /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :7:6 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :7:6 25] [error] [client ] user not found: /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :7: 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :7: 25] [error] [client ] user nagios not found: /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :: 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :: 25] [error] [client ] user nagios not found: /nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml [Thu Jun ::3 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun ::3 25] [error] [client ] user nagios not found: /nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml ==> error_log <== Thu Jun :5:2 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: https://monitor/top_Framehtm [Thu Jun :5:2 25] [error] [client ] user dcn not found: /nagios/cgi-bin/statuscgi, referer: https://monitor/top_Framehtm ls -al /usr/local/nagios/etc/htpasswd.users -rw-r--r-- 1 nagios nagios 21 Jun 9 10:07 /usr/local/nagios/etc/htpasswd.users "EXT-Fuentes, James P" wrote: This says that there either is no PID or the wrong PID "kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill...." Do a "ps" to see what's running. -Jim ________________________________ From: funraps too [mailto:funraps at yahoo.com] Sent: Thu 6/9/2005 6:44 AM To: funraps too; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: My nagios won't work any more, STRANGE Good Morning, Can anyone assist me with this? Been a few days since my Nagios has worked... driving me nuts... Thanks funraps too wrote: Good Morning, I had Nagios working fine then I installed Monarch and it was still working, then it just stopped! There are no errors when I issue nagios -v but the service will not start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org ) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios ________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out! ________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out! --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stephen.Patrick at DRKW.com Thu Jun 9 20:06:11 2005 From: Stephen.Patrick at DRKW.com (Patrick, Stephen) Date: Thu, 9 Jun 2005 19:06:11 +0100 Subject: Nagios-users digest, Vol 1 #2651 - 25 msgs Message-ID: <1F05EE331B0F714C9FCD639F4D9D86FB1680C923@iblonce122.gb.ad.drkw.net> Ly I May be coming back to work :( -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: nagios-users at lists.sourceforge.net Sent: Thu Jun 09 18:57:36 2005 Subject: Nagios-users digest, Vol 1 #2651 - 25 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: service notifications (Fred Reinthaler) 2. RE: Check all windows disks with one command (Castelhano, Dan) 3. Re: RE : [Nagios-users] Compiling MySQL NEB Module (Fred Reinthaler) 4. What this message means? (Fabiano Martins) 5. RE (D Kavan) 6. Re: What this message means? (Lee Ball) 7. Re: My nagios won't work any more, STRANGE (funraps too) 8. RE: service checks and timeperiods (Mascardo, Erwin) 9. SSL handshake (D Kavan) 10. SSL handshake (D Kavan) 11. Re: SSL handshake (Dj kavanski) 12. RE: What this message means? (Nathan Oyler) 13. Re: SSL handshake (Dj kavanski) 14. java webapp monitoring (Aditya Ivaturi) 15. Re: SSL handshake (Dj kavanski) 16. Re: java webapp monitoring (Subhendu Ghosh) 17. Re: SSL handshake (Subhendu Ghosh) 18. Service as parent of a host? (David Gaston Rodriguez) 19. Re: SSL handshake (Dj kavanski) 20. RE: SSL handshake (Lori Adams) 21. Re: Service as parent of a host? (Andreas Ericsson) 22. RE: Re: My nagios won't work any more, STRANGE (EXT-Fuentes, James P) 23. Re: SSL handshake (Subhendu Ghosh) 24. Uptime on Linux Servers (Richard Santiago) 25. RE: Uptime on Linux Servers (Petrucci, Joseph) --__--__-- Message: 1 Date: Thu, 9 Jun 2005 08:42:47 -0400 From: Fred Reinthaler Reply-To: Fred Reinthaler To: Lewis Getschel Subject: Re: [Nagios-users] service notifications Cc: nagios-users at lists.sourceforge.net Mine is turned on by default (retain_state_information=3D1) and I don't plan to change it either. ;-) cheers, fred On 6/8/05, Lewis Getschel wrote: >=20 > I think I figured out State Retention (a piece of it at least ) > When (in nagios.cfg) > retain_state_information=3D1 > Nagios 'remembers' the host/service state when you restart Nagios. > If set =3D0 > then Nagios has to perform all the checks before It 'knows' your > complete system status. MY checks are set to > normal_check_interval 20 > So It took Nagios 20 minutes to determine everything when I turned it > off. As nagios.cfg comment says: > "Since its only a one-time penalty, I think its well worth the > additional startup delay." > I keep mine on now . > Lewis >=20 > >thanks, > > > >fred > > > >p.s. I am reading the PDF for documentation but I think it differs > >from the html docs because I couldn't find the same retention notes in > >it. > > > > > >On 6/7/05, Marc Powell wrote: > > > > > >>I am presuming that when you say they are 'disabled' that you do not > >>mean that active_checks_enabled is set to 0 and are truly talking about > >>notifications only. If you have retention enabled -- > >> > >>http://nagios.sourceforge.net/docs/1_0/xodtemplate.html > >> > >>"Retention Notes > >> > >>It is important to point out that several directives in host and servic= e > >>definitions may not be picked up by Nagios when you change them. Host > >>and service directives that can exhibit this behavior are marked with a= n > >>asterisk (*). The reason for this behavior is due to the fact that > >>Nagios chooses to honor values stored in the state retention file over > >>values found in the config files, assuming you have state retention > >>enabled on a program-wide basis. > >> > >>One way to get around this problem is to disable the retention of > >>non-status information using the retain_nonstatus_information directive > >>in the host and service definitions. Disabling this directive will caus= e > >>Nagios to take the initial values for these directives from your config > >>files, rather than from the state retention file when it (re)starts. > >>Using this option is not recommended, as it may result in some > >>unexpected (from your point of view) results. > >> > >>Alternatively, you can issue the appropriate external command or change > >>the value of the host or service directive via the web interface, so > >>that it matches what you've changed it to in the config files. This is > >>usually done by using the extended information CGI. This option takes a > >>bit more work, but is preferable to disabling the retention of > >>non-status information (mentioned above)." > >> > >>http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service > >> > >>"notifications_enabled *: This directive is used to determine > >>whether or not notifications for this service are enabled. Values: 0 = =3D > >>disable service notifications, 1 =3D enable service notifications." > >> > >>-- > >>Marc > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you s= hotput > >>a projector? How fast can you ride your desk chair down the office luge= track? > >>If you want to score the big prize, get to know the little guy. > >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when repo= rting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sh= otput > >a projector? How fast can you ride your desk chair down the office luge = track? > >If you want to score the big prize, get to know the little guy. > >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when repor= ting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > >=20 > -- > Lewis Getschel | Today is done... > WesternGeco | Today was fun... > 1625 Broadway | Tomorrow is another one. > Denver, CO 80202 | > Direct Phone - 303-389-4407| -- Dr. Seuss -- >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho= tput > a projector? How fast can you ride your desk chair down the office luge t= rack? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when report= ing any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 2 From: "Castelhano, Dan" To: 'Michael Medin' , "Castelhano, Dan" Cc: "'nagios-users at lists.sourceforge.net'" Subject: RE: [Nagios-users] Check all windows disks with one command Date: Thu, 9 Jun 2005 08:45:15 -0400 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C56CF0.928573DC Content-Type: text/plain Hi, Is there a way to make the nsc+ check disk dll work with nspr_nt? Already have nspr_nt installed on all my windows servers and would hate to have to swap clients at this point. How are others doing disk checks with nrpe_nt? If each server has a different number of partitions (all have c:, some have e:, and others have both e: and f: and/or more), are you just defining different service checks for the different partitions and then adding a host to each service check for a drive it has? Thanks, Dan _____ From: Michael Medin [mailto:michael at medin.name] Sent: Wednesday, June 08, 2005 5:30 PM To: Castelhano, Dan Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Check all windows disks with one command Hi, NSClient++ can do this using the NRPE protocol. check_nrpe ... -c CheckDriveSize -a MaxWarn=50% MaxCrit=75% CheckAll FilterType=FIXED FilterType=REMOTE The above example (from the NSClient++ docs) will check all fixed and remote (network) drives, if you only want the fixed drives you can simply leave out the FilterType=REMOTE option. A note though is that tomorrow night (didn't have time to fix it today, as my Grandmother had some problems with her computer that I had to fix :) I will release an update version that auto detects language and OS version that greatly simplifies configuration if you don't have an English system. As well as some other goodies, such as a much improved event log checker and some bug fixes. // Michael Medin Castelhano, Dan wrote: Hi, For the linux version of the check_disk command, if you don't specify a disk, it'll check and report back on the status of all of them. (ie: ./check_nrpe -H LinuxServerHost -c check_disk -a 20 10) I can't find a way to do a similar thing within windows. I've looked at nsclient and nrpe_nt and I don't see how it can be done. I would prefer not having to specify a different service for each partition on all servers on the network. Does anyone know of a tool, or how to do a disk check what will check all partitions? Thanks, Dan ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------_=_NextPart_001_01C56CF0.928573DC Content-Type: text/html

Hi,

 

Is there a way to make the nsc+ check disk dll work with nspr_nt? Already have nspr_nt installed on all my windows servers and would hate to have to swap clients at this point.

 

How are others doing disk checks with nrpe_nt? If each server has a different number of partitions (all have c:, some have e:, and others have both e: and f: and/or more), are you just defining different service checks for the different partitions and then adding a host to each service check for a drive it has?

 

Thanks,

Dan

 

 

 


From: Michael Medin [mailto:michael at medin.name]
Sent: Wednesday, June 08, 2005 5:30 PM
To: Castelhano, Dan
Cc: 'nagios-users at lists.sourceforge.net'
Subject: Re: [Nagios-users] Check all windows disks with one command

 

Hi,

NSClient++ can do this using the NRPE protocol.

check_nrpe ... -c CheckDriveSize -a MaxWarn=50% MaxCrit=75% CheckAll FilterType=FIXED FilterType=REMOTE

The above example (from the NSClient++ docs) will check all fixed and remote (network) drives, if you only want the fixed drives you can simply leave out the FilterType=REMOTE option.


A note though is that tomorrow night (didn't have time to fix it today, as my Grandmother had some problems with her computer that I had to fix :) I will release an update version that auto detects language and OS version that greatly simplifies configuration if you don't have an English system. As well as some other goodies, such as a much improved event log checker and some bug fixes.

// Michael Medin


Castelhano, Dan wrote:

Hi,
For the linux version of
the check_disk command, if you don't specify a
disk,
it'll check and report back on the status of all of
them.
(ie:
./check_nrpe -H LinuxServerHost -c check_disk -a 20
10)
 
I can't
find a way to do a similar thing within windows. I've looked
at
nsclient and nrpe_nt and I don't see how it can be
done. I would prefer not
having
to specify a different service for each partition on all servers
on
the
network.
 
Does
anyone know of a tool, or how to do a disk check what will check
all
partitions?
 
Thanks,
Dan
 
 
 
 
 
---------------------------------------------------
----
This
SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a
projector? How fast can you ride your desk chair down the office luge
track?
If you
want to score the big prize, get to know the little guy. 
Play to
win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Nagios-users mailing
list
Nagios-users at lists.sourcefo
rge.net
https://lis
ts.sourceforge.net/lists/listinfo/nagios-users
<
font
size=2 color=black face="Courier New">:::
Please include Nagios version, plugin version (-v) and OS when reporting any
issue. 
:::
Messages without supporting info will risk being sent to
/dev/null
 
 

 

------_=_NextPart_001_01C56CF0.928573DC-- --__--__-- Message: 3 Date: Thu, 9 Jun 2005 08:50:12 -0400 From: Fred Reinthaler Reply-To: Fred Reinthaler To: Andreas Ericsson Subject: Re: RE : [Nagios-users] Compiling MySQL NEB Module Cc: Nagios-users at lists.sourceforge.net Sounds good. I am looking forward in experimenting with what will come out of this. cheers, fred On 6/8/05, Andreas Ericsson wrote: > Fred Reinthaler wrote: > > What is this MySQL NEB module and where can I get more information > > about it? I was under the impression that MySQL support was dropped > > in version 2 but if there is something out there to add support, I > > would definitely like to know about it. > > >=20 > In-core database support _was_ dropped, in favor of demand-loadable > modules. It's really nifty, as many more coders now can contribute > without having to touch the inner workings of Nagios. >=20 > In 3.x, I expect the logging part of Nagios will go away more or less > completely in favor of the plethora of database supporting modules that > has already come to life. >=20 > Using some fairly obscure magic, it's also currently possible to pull > ones configuration directly from a database. If anybody writes a module > for this I expect config-reading will also turn into a module. Ethan can > then focus entirely on the rulesets that dominates Nagios' behaviour, > and development can then move forwards in quantum leaps. >=20 > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho= tput > a projector? How fast can you ride your desk chair down the office luge t= rack? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when report= ing any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 4 From: "Fabiano Martins" To: "Nagios Users List" Date: Thu, 9 Jun 2005 10:07:23 -0300 Subject: [Nagios-users] What this message means? ------=_NextPart_000_0002_01C56CDB.089DBCC0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi... I would like to know what the following message means... "System call sent warnings to stderr" This occurs when I'm trying to monitor Total Process on a remote host using NRPE. To test, I'm typing the command from the Console of the Nagios Server. This message is the that I receive on Nagios screen. Thanks a lot. Fabiano Martins ------=_NextPart_000_0002_01C56CDB.089DBCC0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi...

 

I would like to know what the follo= wing message means...

 

“System call sent warnings to= stderr”

 

This occurs when I’m trying t= o monitor Total Process on a remote host using NRPE.

 

To test, I’m typing the comma= nd from the Console of the Nagios Server. This message is the that I receive on Nagios screen.

 

Thanks a lot.

 

Fabiano Martins

 

 

------=_NextPart_000_0002_01C56CDB.089DBCC0-- --__--__-- Message: 5 From: "D Kavan" To: nagios-users at lists.sourceforge.net Date: Thu, 09 Jun 2005 09:24:19 -0400 Subject: [Nagios-users] RE sign me up! --__--__-- Message: 6 Date: Thu, 09 Jun 2005 14:25:46 +0100 From: Lee Ball To: Fabiano Martins CC: Nagios Users List Subject: Re: [Nagios-users] What this message means? Hi Fabiano,

That message means that there have been warnings logged with the Standard Error stream.

Take a look at this page http://wiki.linuxquestions .org/wiki/Stderr


Fabiano Martins wrote:

Hi...

 

I would like to know what the following message means...

 

“System call sent warnings to stderr”

 

This occurs when I’m trying to monitor Total Process on a remote host using NRPE.

 

To test, I’m typing the command from the Console of the Nagios Server. This message is the that I receive on Nagios screen.

 

Thanks a lot.

 

Fabiano Martins

 

 


--__--__-- Message: 7 Date: Thu, 9 Jun 2005 06:44:14 -0700 (PDT) From: funraps too To: funraps too , nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: My nagios won't work any more, STRANGE --0-295454464-1118324654=:37171 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good Morning, Can anyone assist me with this? Been a few days since my Nagios has worked... driving me nuts... Thanks funraps too wrote: Good Morning, I had Nagios working fine then I installed Monarch and it was still working, then it just stopped! There are no errors when I issue nagios -v but the service will not start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios --------------------------------- Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out! --------------------------------- Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out! --0-295454464-1118324654=:37171 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Good Morning,
 
Can anyone assist me with this?
Been a few days since my Nagios has worked... driving me nuts...
 
Thanks

funraps too <funraps at yahoo.com> wrote:
Good Morning,
 
I had Nagios working fine then I installed Monarch and it was still working, then it just stopped!
There are no errors when I issue nagios -v but the service will not start, I even tried to reinstall it. There is no status file
 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 2.0b3
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 04-03-2005
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
        Checked 59 services.
Checking hosts...
        Checked 32 hosts.
Checking host groups...
        Checked 5 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
        Checked 7 contacts.
Checking contact groups...
        Checked 5 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 23 host dependencies.
Checking commands...
        Checked 28 commands.
Checking time periods...
        Checked 3 time periods.
Checking extended host info definitions...
        Checked 32 extended host info definitions.
Checking extended service info definitions...
        Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors:   0
Things look okay - No serious problems were detected during the pre-flight check
[root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart
Running configuration check...done
Stopping network monitor: nagios
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
Starting network monitor: nagios
[root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop
Stopping network monitor: nagios
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
[root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start
Starting network monitor: nagios
[root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios


Discover Yahoo!
Stay in touch with email, IM, photo sharing & more. Check it out!


Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. Check it out! --0-295454464-1118324654=:37171-- --__--__-- Message: 8 Subject: RE: [Nagios-users] service checks and timeperiods Date: Thu, 9 Jun 2005 09:50:28 -0400 From: "Mascardo, Erwin" To: >-----Original Message----- >From: Lori Adams [mailto:ladams at cloudmark.com]=20 >Sent: Wednesday, 08 June, 2005 15:27 > >Below are my configurations, and the error I get when doing a verify. >define service { > use generic-service-template > host_name bar > service_description doneQ > #service_description doneQ-morn > check_command check_doneq!500 > contact_groups r2-admins > check_period 5am-to-10am > normal_check_interval 5 > } > >define service { > use generic-service-template > host_name bar > service_description doneQ > check_command check_doneq!200 > contact_groups r2-admins > check_period all-but-5am-to-10am > normal_check_interval 5 > } > >Error: Service 'doneQ' on host 'bar' has already been defined > >Error: Could not register service (config file >'/srv/http/nagios/etc/services.cfg', line 467) > >What I want is for in the UI, there should be one visible check. >Currently in the UI, it says doneQ, and doneQ-morn (see=20 >comment in first >config), as I have to prepare two different checks because of the >different thresholds. Try a wrapper script which checks to see what time it is, and then passes the appropriate argument to your actual check command based on that. ############################################################ Intelsat is a global communications provider offering flexible and=20 secure services to customers in over 220 countries and territories. =20 Intelsat has maintained a leadership position for over 40 years by=20 distributing video, voice, and data for television and content providers,= =20 government and military entities, major corporations, telecommunications = carriers,=20 and Internet service providers. Intelsat's reach, power and expanding sol= utions=20 portfolio deliver information reliably and quickly to every corner of the= =20globe. =20 For more information, visit www.intelsat.com. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or=20 distribution is prohibited. If you are not the intended=20 recipient, please contact the sender by reply email and=20 destroy all copies of the original message. Any views=20 expressed in this message are those of the individual=20 sender, except where the sender specifically states them=20 to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ --__--__-- Message: 9 From: "D Kavan" To: nagios-users at lists.sourceforge.net Date: Thu, 09 Jun 2005 09:55:01 -0400 Subject: [Nagios-users] SSL handshake Hi, Please delete that last email, RE. I thought things were working fine yesterday but... When I restarted the xinetd, I get CHECK_NRPE: Error - Could not complete SSL handshake. I have run through the FAQ database and everything looks ok. http://www.nagios.org/faqs/viewfaq.php?faq_id=191 1. I have checked my version of check_nrpe and I'm using check_nrpe_20 on the server. is the same version as the check_nrpe on the host I'm monitoring. The server was built with nagios-2.0b2. 2. SSL is disabled. As far as I know ssl is enabled on both. How do I double check that? The way I checked was ./check_nrpe --help | more and I see SSL/TLS available. 3. I checked the file permissions and I have them all set to allow nagios and the group nagios. I even chnaged the permissions of each to allow other in an effor to get this handshaking. 4. I don't have /dev/psuedo 5. I'm allowing the nrpe deamon's address. The address of the server performing the nrpe queries. not the host running the queries are being run on. Although I tried adding that too and that didn't help. Thanks for any advice. It was working yesterday like I said. I got cacti graphs working and then the standard nagios alerts didn't. ~DjK --__--__-- Message: 10 From: "D Kavan" To: nagios-users at lists.sourceforge.net Date: Thu, 09 Jun 2005 10:07:34 -0400 Subject: [Nagios-users] SSL handshake The version of check_nrpe on the server is 1.8 and does not support ssl, but I am using check_nrpe_20 which is the same version as on the remote host and does support SSL. Why would the SSL error say anything about check_nrpe. It should be saying check_nrpe_20 could not complete the handshake. --__--__-- Message: 11 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake From: Dj kavanski Date: Thu, 9 Jun 2005 16:29:28 +0200 (CEST) Hi, Do I need to add another /etc/service port to listen to to allow= ssl? check_nrpe_20 and my nrpe daemon support ssl. They are= both version 2 and have SSL available. =09 - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= 1[showUid]=3D7395 =09 --__--__-- Message: 12 Subject: RE: [Nagios-users] What this message means? Date: Thu, 9 Jun 2005 07:53:38 -0700 From: "Nathan Oyler" To: "Fabiano Martins" , "Nagios Users List" This is a multi-part message in MIME format. ------_=_NextPart_001_01C56D03.048A1BF4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have this problem on my one and only FC2 machine. =20 I researched the trail and haven't had time to really address it, google gives this information =20 http://www.nagiosexchange.org/nagiosplug-devel.31.0.html?&tx_maillisttof aq_pi1%5Bmode%5D=3D1&tx_maillisttofaq_pi1%5BshowUid%5D=3D6153 =20 >From the FAQ of procps: =20 'Why does "ps -aux" complain about a bogus '-'? =20 'According to the POSIX and UNIX standards, the above=20 command asks to display all processes with a TTY=20 (generally the commands users are running) plus all=20 processes owned by a user named "x". If that user=20 doesn't exist, then ps will assume you really meant "ps=20 aux". The warning is given to gently break you of a habit=20 that will cause you trouble if a user named "x" were=20 created.' =20 Thus the syntax of ps must be corrected. We should get=20 rid of the "-" on "/bin/ps -axwo..." In fact, if I change=20 PS_COMMAND manually on config.h the plugin works as=20 expected: =20 [root nagios plugins]# ./check_procs PROCS OK: 470 processes =20 =20 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fabiano Martins Sent: Thursday, June 09, 2005 6:07 AM To: Nagios Users List Subject: [Nagios-users] What this message means? =20 Hi... =20 I would like to know what the following message means... =20 "System call sent warnings to stderr" =20 This occurs when I'm trying to monitor Total Process on a remote host using NRPE. =20 To test, I'm typing the command from the Console of the Nagios Server. This message is the that I receive on Nagios screen. =20 Thanks a lot. =20 Fabiano Martins =20 =20 ------_=_NextPart_001_01C56D03.048A1BF4 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have this problem on my one and = only FC2 machine.

 

I researched the trail and = haven’t had time to really address it, google gives this = information

 

http://www.nagiosexchange.org/nagiosplug-devel.31.0.html?&tx_mai= llisttofaq_pi1%5Bmode%5D=3D1&tx_maillisttofaq_pi1%5BshowUid%5D=3D6153=

 

From the FAQ of =
procps:
 
'Why does =
"ps -aux" complain about a bogus =
'-'?
 
'According to the POSIX and UNIX standards, =
the above 
command =
asks to display all processes with a TTY =
(generally the commands users are running) =
plus all 
processes =
owned by a user named "x". If that user =
doesn't =
exist, then ps will assume you really meant "ps =
aux". The warning is given to gently =
break you of a habit 
that will =
cause you trouble if a user named "x" were =
created.'
<=
font
size=3D2 face=3D"Courier New"> 
Thus the =
syntax of ps must be corrected. We should get =
rid of =
the "-" on "/bin/ps -axwo..." In fact, if I change =
PS_COMMAND manually on config.h the plugin =
works as 
expected:
<=
font
size=3D2 face=3D"Courier New"> 
[root =
<at> nagios plugins]# =
./check_procs
PROCS OK: =
470 processes

 

 


From: nagios-users-admin at lists.sourceforge.net = [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fabiano = Martins
Sent: Thursday, June 09, = 2005 6:07 AM
To: Nagios Users List
Subject: [Nagios-users] = What this message means?

 

Hi...

 

I would like to know what the following message means...

 

“System call sent warnings to stderr”

 

This occurs when I’m trying to monitor Total Process on a remote host using = NRPE.

 

To test, I’m typing the command from the Console of the Nagios Server. This message is the that I receive on Nagios = screen.

 

Thanks a lot.

 

Fabiano Martins

 

 

------_=_NextPart_001_01C56D03.048A1BF4-- --__--__-- Message: 13 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake From: Dj kavanski Date: Thu, 9 Jun 2005 16:59:45 +0200 (CEST) Hi all, Well I'm not able to telnet host 5666 so that's odd. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= 1[showUid]=3D7396 =09 --__--__-- Message: 14 To: nagios-users at lists.sourceforge.net From: Aditya Ivaturi Date: Thu, 9 Jun 2005 10:34:09 -0500 Subject: [Nagios-users] java webapp monitoring This is a multipart message in MIME format. --=_alternative 00556ADE8625701B_= Content-Type: text/plain; charset="US-ASCII" Our institution uses blackboard. And I'd like to monitor the service with some extra metrics like database load (frequency of calls to the database) etc. Probably I am getting a little bit in to profiling. Can this be done? Or better has any one done it? Any suggestions. --Turi --=_alternative 00556ADE8625701B_= Content-Type: text/html; charset="US-ASCII"
Our institution uses blackboard. And I'd like to monitor the service with some extra metrics like database load (frequency of calls to the database) etc. Probably I am getting a little bit in to profiling. Can this be done? Or better has any one done it? Any suggestions.

--Turi --=_alternative 00556ADE8625701B_=-- --__--__-- Message: 15 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake From: Dj kavanski Date: Thu, 9 Jun 2005 17:50:26 +0200 (CEST) I'm showing this on the server, yet I still can't connect with telnet. ash:/usr/local/nagios/etc # netstat -nlp |grep 5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* = LISTEN 9711/xinetd=20 - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= 1[showUid]=3D7399 =09 --__--__-- Message: 16 Date: Thu, 9 Jun 2005 11:51:08 -0400 (EDT) From: Subhendu Ghosh To: Aditya Ivaturi cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] java webapp monitoring On Thu, 9 Jun 2005, Aditya Ivaturi wrote: > Our institution uses blackboard. And I'd like to monitor the service with > some extra metrics like database load (frequency of calls to the database) > etc. Probably I am getting a little bit in to profiling. Can this be done? > Or better has any one done it? Any suggestions. > Anything that you can get a metric out of - via command line, via some api can be turned into a plugin. -- -sg --__--__-- Message: 17 Date: Thu, 9 Jun 2005 12:04:59 -0400 (EDT) From: Subhendu Ghosh To: Dj kavanski cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake On Thu, 9 Jun 2005, Dj kavanski wrote: > I'm showing this on the server, yet I still can't connect with telnet. > > > > ash:/usr/local/nagios/etc # netstat -nlp |grep 5666 > > tcp 0 0 0.0.0.0:5666 0.0.0.0:* > LISTEN 9711/xinetd > > verify if tcp wrappers is enabled on xinetd - if so add monitoring host to hosts.allow. -- -sg --__--__-- Message: 18 Date: Thu, 9 Jun 2005 13:17:22 -0300 (ART) From: "David Gaston Rodriguez" To: nagios-users at lists.sourceforge.net Reply-To: davidgr at tucumanlinux.com.ar Subject: [Nagios-users] Service as parent of a host? Hi list: How I can set the parent of "HOST B" to be a service of "HOST A"?? I have a network map as this: |------| |NAGIOS| ---> HOST A HOST B |------| ________ ________ | HTTP | | HTTP | | POP | | POP | | VPN |-----> | STMP | | SMTP | | .... | |______| |______| I want that "HOST B" appears in state UNREACHEABLE when service VPN of host "HOST A" is in state CRITICAL. I can do something like this? PD: Sorry for my english. DGR --__--__-- Message: 19 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake From: Dj kavanski Date: Thu, 9 Jun 2005 18:23:42 +0200 (CEST) Hi Subhendu =09 Thanks for the response. There is a bug I found that I want to report. When the file nrpe= is created out of source it call the service ncsa or something.= After changing that to nrpe everything seems to be working now. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi= 1[showUid]=3D7406 =09 --__--__-- Message: 20 Subject: RE: [Nagios-users] SSL handshake Date: Thu, 9 Jun 2005 09:40:28 -0700 From: "Lori Adams" To: "Dj kavanski" , Make sure you have the correct hosts in your nrpe.cfg file under "allowed hosts". That's usually why I have that problem. But yes opening the port would help too. :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dj kavanski Sent: Thursday, June 09, 2005 8:00 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake Hi all, Well I'm not able to telnet host 5666 so that's odd. - Dj kavanski (bitsandbytes) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i 1[showUid]=3D7396 =09 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. =20 Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 21 Date: Thu, 09 Jun 2005 18:52:08 +0200 From: Andreas Ericsson To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service as parent of a host? David Gaston Rodriguez wrote: > Hi list: > How I can set the parent of "HOST B" to be a service of "HOST A"?? > I have a network map as this: > > |------| > |NAGIOS| ---> HOST A HOST B > |------| ________ ________ > | HTTP | | HTTP | > | POP | | POP | > | VPN |-----> | STMP | > | SMTP | | .... | > |______| |______| > > I want that "HOST B" appears in state UNREACHEABLE when service VPN of > host "HOST A" is in state CRITICAL. > I can do something like this? > The simple way; Add HOST C which has the VPN check as its only service, and also as its host check_command. Make HOST B the child of HOST C. When VPN goes down, B goes unreachable. If possible, check the VPN IP of HOST A as the address of HOST C. > > PD: Sorry for my english. > > DGR > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer --__--__-- Message: 22 Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE Date: Thu, 9 Jun 2005 10:01:31 -0700 From: "EXT-Fuentes, James P" To: "funraps too" , This says that there either is no PID or the wrong PID =20 "kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or = kill...." =20 Do a "ps" to see what's running. =20 -Jim ________________________________ From: funraps too [mailto:funraps at yahoo.com] Sent: Thu 6/9/2005 6:44 AM To: funraps too; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: My nagios won't work any more, STRANGE Good Morning, =20 Can anyone assist me with this? Been a few days since my Nagios has worked... driving me nuts... =20 Thanks funraps too wrote: Good Morning, =20 I had Nagios working fine then I installed Monarch and it was still = working, then it just stopped! There are no errors when I issue nagios -v but the service will not = start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org = ) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Checking extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the = pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d = /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or = kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or = kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios =09 =09 ________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out! = =20 ________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out! = =20 --__--__-- Message: 23 Date: Thu, 9 Jun 2005 13:17:11 -0400 (EDT) From: Subhendu Ghosh To: Dj kavanski cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SSL handshake On Thu, 9 Jun 2005, Dj kavanski wrote: > Hi Subhendu > > > > Thanks for the response. > > There is a bug I found that I want to report. When the file nrpe > is created out of source it call the service ncsa or something. > After changing that to nrpe everything seems to be working now. > > Where and what source did you use? NRPE and NSCA are 2 different tarbal releases. -- -sg --__--__-- Message: 24 Date: Thu, 9 Jun 2005 13:38:24 -0400 From: "Richard Santiago" To: Subject: [Nagios-users] Uptime on Linux Servers This is a multi-part message in MIME format. ------_=_NextPart_001_01C56D1A.89095CA5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, =20 I'm tring to pull the uptime for all Linux servers into Nagios. Besides = using check_snmp (which I found nowhere and it's used by check_uptime) = is there another solution for this?. =20 Thanks. =20 Richard Santiago OSI - Administraci=F3n de Sistemas UPR - Recinto de Ciencias M=E9dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu =20 =20 =20 ------_=_NextPart_001_01C56D1A.89095CA5 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m tring to pull the uptime for all Linux = servers into Nagios.=A0 Besides using check_snmp (which I found nowhere and = it’s used by check_uptime) is there another solution for = this?.

 

Thanks.

 

Richard = Santiago

OSI - Administraci=F3n de = Sistemas

UPR - Recinto de Ciencias = M=E9dicas

phone: 787.758.2525 x. = 2934

e-mail: rsantiago at rcm.upr.edu

 

 

------_=_NextPart_001_01C56D1A.89095CA5-- --__--__-- Message: 25 Subject: RE: [Nagios-users] Uptime on Linux Servers Date: Thu, 9 Jun 2005 13:52:19 -0400 From: "Petrucci, Joseph" To: "Richard Santiago" , This is a multi-part message in MIME format. ------_=_NextPart_001_01C56D1B.FAF80B85 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I wrote a plugin that basically used=20 =20 ssh -l nagios /usr/bin/uptime =20 and parsed the information i needed. I also used the same approach for = load average. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net = [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Richard = Santiago Sent: Thursday, June 09, 2005 1:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Uptime on Linux Servers Hi, =20 I'm tring to pull the uptime for all Linux servers into Nagios. Besides = using check_snmp (which I found nowhere and it's used by check_uptime) = is there another solution for this?. =20 Thanks. =20 Richard Santiago OSI - Administraci=F3n de Sistemas UPR - Recinto de Ciencias M=E9dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu =20 =20 ------_=_NextPart_001_01C56D1B.FAF80B85 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I=20 wrote a plugin that basically used
 
ssh=20 <host> -l nagios /usr/bin/uptime
 
and=20 parsed the information i needed. I also used the same approach for load=20 average.
-----Original Message-----
From:=20 nagios-users-admin at lists.sourceforge.net=20 [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of = Richard=20 Santiago
Sent: Thursday, June 09, 2005 1:38 PM
To: = nagios-users at lists.sourceforge.net
Subject: [Nagios-users] = Uptime on=20 Linux Servers

Hi,

 

I’m tring to = pull the uptime for=20 all Linux servers into Nagios.  Besides using check_snmp (which I = found=20 nowhere and it’s used by check_uptime) is there another solution = for=20 this?.

 

Thanks.

 

Richard=20 Santiago

OSI - = Administraci=F3n de=20 Sistemas

UPR - Recinto de = Ciencias=20 M=E9dicas

phone: 787.758.2525 = x.=20 2934

e-mail: = rsantiago at rcm.upr.edu

 

 

------_=_NextPart_001_01C56D1B.FAF80B85-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest -------------------------------------------------------------------------------- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3167 -------------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jun 9 20:02:40 2005 From: marc at ena.com (Marc Powell) Date: Thu, 9 Jun 2005 13:02:40 -0500 Subject: Uptime on Linux Servers Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Richard Santiago > Sent: Thursday, June 09, 2005 12:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Uptime on Linux Servers > > Hi, > > > > I'm tring to pull the uptime for all Linux servers into Nagios. Besides > using check_snmp (which I found nowhere and it's used by check_uptime) is > there another solution for this?. I'm not familiar with check_uptime and google returns a variety of results for that name, none of which call check_snmp, but check_snmp is a standard plugin included with the plugins package. It's only compiled if you have the proper pre-requisites installed though. From the REQUIREMENTS file -- check_snmp: - Requires the NET-SNMP package available from http://net-snmp.sourceforge.net -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From art at caa.is Thu Jun 9 20:11:08 2005 From: art at caa.is (Arnar =?ISO-8859-1?Q?=DE=F3rarinsson?=) Date: Thu, 09 Jun 2005 18:11:08 +0000 Subject: Uptime on Linux Servers In-Reply-To: References: Message-ID: <1118340668.3684.23.camel@black148> check_snmp is in nagios-plugins 1.4 ( and probably in earlier versions ) ( http://www.nagiosexchange.org/Plugin_Packages.52.0.html? &tx_netnagext_pi1[p_view]=32) Requires the NET-SNMP package, if net-snmp is not on your nagios host then check_snmp binary is not created when building nagios-plugins ( net-snmp found at http://net-snmp.sourceforge.net ) ...if that does not help try check_by_ssh, don't think there are any requirements for that :) On Thu, 2005-06-09 at 13:38 -0400, Richard Santiago wrote: > Hi, > > > > I?m tring to pull the uptime for all Linux servers into Nagios. > Besides using check_snmp (which I found nowhere and it?s used by > check_uptime) is there another solution for this?. > > > > Thanks. > > > > Richard Santiago > > OSI - Administraci?n de Sistemas > > UPR - Recinto de Ciencias M?dicas > > phone: 787.758.2525 x. 2934 > > e-mail: rsantiago at rcm.upr.edu > > > > > > -- Regards Arnar Thorarinsson Software Programmer / System Administrator Systems Department, Air Traffic Services Phone : +354 569 4289 ------------------------------------------ Icelandic Civil Aviation Administration Reykjavik Airport IS 121 Reykjavik Iceland http://www.caa.is ------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tonye at billy.demon.nl Thu Jun 9 19:53:24 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Thu, 09 Jun 2005 19:53:24 +0200 Subject: SSL handshake In-Reply-To: References: <20050609162342.A64A54F4002@desire.netways.de> Message-ID: <1118339603.2187.41.camel@localhost> tor, 09.06.2005 kl. 19.17 skrev Subhendu Ghosh: [...] > > There is a bug I found that I want to report. When the file nrpe > > is created out of source it call the service ncsa or something. > > After changing that to nrpe everything seems to be working now. > Where and what source did you use? NRPE and NSCA are 2 different tarbal > releases. I think OP's saying that his /etc/services had an entry for NCSA on port 5666, which he changed to NRPE. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ratty at they.org Thu Jun 9 21:25:24 2005 From: ratty at they.org (frank) Date: Thu, 9 Jun 2005 12:25:24 -0700 (PDT) Subject: My nagios won't work any more, STRANGE In-Reply-To: <20050609180524.42552.qmail@web32010.mail.mud.yahoo.com> References: <20050609180524.42552.qmail@web32010.mail.mud.yahoo.com> Message-ID: On Thu, 9 Jun 2005, funraps too wrote: > Thanks, > I figured it out, although the nagios -v check didn't see any problems, some of the log files indicated issues. > Now I have nagios working but the web CGI isn't working. > I even redid the httpd.conf and .htapasswd just like the docs, still not working! > I changed permissions to the file below to nagios, nagioscmd, apache but still getting: > (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users [snip] > ==> error_log <== > Thu Jun :5:2 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: https://monitor/top_Framehtm > [Thu Jun :5:2 25] [error] [client ] user dcn not found: /nagios/cgi-bin/statuscgi, referer: https://monitor/top_Framehtm > ls -al /usr/local/nagios/etc/htpasswd.users > -rw-r--r-- 1 nagios nagios 21 Jun 9 10:07 /usr/local/nagios/etc/htpasswd.users Check the directory permissions on /usr/local/nagios and /usr/local/nagios/etc. Just because a file is marked readable does not mean the user has access to the directory it lives in. -f ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Thu Jun 9 21:54:43 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Thu, 9 Jun 2005 12:54:43 -0700 Subject: My nagios won't work any more, STRANGE Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE74@XCH-SW-42.sw.nos.boeing.com> I had to "chcon -R system_u:object_r:httpd_sys_script_exec_t /usr/local/nagios/sbin(or nagios CGI bin)" to get by a what sounds like a similar situation on Fedora. Do a search on that if it looks like the same deal. -Jim ________________________________ From: funraps too [mailto:funraps at yahoo.com] Sent: Thu 6/9/2005 11:05 AM To: EXT-Fuentes, James P; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE Thanks, I figured it out, although the nagios -v check didn't see any problems, some of the log files indicated issues. Now I have nagios working but the web CGI isn't working. I even redid the httpd.conf and .htapasswd just like the docs, still not working! I changed permissions to the file below to nagios, nagioscmd, apache but still getting: (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users Web interface shows: Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. ==> error_log <== [Thu Jun :2:7 25] [notice] caught SIGTERM, shutting down [Thu Jun :2: 25] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Jun :2: 25] [notice] Digest: generating secret for digest authentication [Thu Jun :2: 25] [notice] Digest: done [Thu Jun :2: 25] [notice] LDAP: Built with OpenLDAP LDAP SDK [Thu Jun :2: 25] [notice] LDAP: SSL support unavailable [Thu Jun :2: 25] [notice] mod_python: Creating session mutexes based on 256 max processes and max threads [Thu Jun :2: 25] [notice] Apache/252 (CentOS) configured -- resuming normal operations [Thu Jun :2:23 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :2:23 25] [error] [client ] user not found: /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :7:6 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :7:6 25] [error] [client ] user not found: /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :7: 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :7: 25] [error] [client ] user nagios not found: /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :: 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun :: 25] [error] [client ] user nagios not found: /nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml [Thu Jun ::3 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: http://2/nagios/sidehtml [Thu Jun ::3 25] [error] [client ] user nagios not found: /nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml ==> error_log <== Thu Jun :5:2 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: https://monitor/top_Framehtm [Thu Jun :5:2 25] [error] [client ] user dcn not found: /nagios/cgi-bin/statuscgi, referer: https://monitor/top_Framehtm ls -al /usr/local/nagios/etc/htpasswd.users -rw-r--r-- 1 nagios nagios 21 Jun 9 10:07 /usr/local/nagios/etc/htpasswd.users "EXT-Fuentes, James P" wrote: This says that there either is no PID or the wrong PID "kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill...." Do a "ps" to see what's running. -Jim ________________________________ From: funraps too [mailto:funraps at yahoo.com] Sent: Thu 6/9/2005 6:44 AM To: funraps too; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: My nagios won't work any more, STRANGE Good Morning, Can anyone assist me with this? Been a few days since my Nagios has worked... driving me nuts... Thanks funraps too wrote: Good Morning, I had Nagios working fine then I installed Monarch and it was still working, then it just stopped! There are no errors when I issue nagios -v but the service will not start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org ) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Ch! ec! king extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s! s! igspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios ________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out! ________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out! ________________________________ Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From awo915-nagios at yahoo.com Thu Jun 9 22:32:34 2005 From: awo915-nagios at yahoo.com (awo915-nagios at yahoo.com) Date: Thu, 9 Jun 2005 13:32:34 -0700 (PDT) Subject: Device missing when refreshing multiple times Message-ID: <20050609203234.32447.qmail@web60811.mail.yahoo.com> Hello, We have a device that comes up missing if you refresh your browser. If you refresh multiple times the device will come and go. As anyone inexperienced this or have an idea of what would fix this problem? We are using 1.2 on Redhat ES 2. Thanks Travis ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Thu Jun 9 22:41:02 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 09 Jun 2005 15:41:02 -0500 Subject: Device missing when refreshing multiple times In-Reply-To: <20050609203234.32447.qmail@web60811.mail.yahoo.com> References: <20050609203234.32447.qmail@web60811.mail.yahoo.com> Message-ID: <1118349662.6781.2.camel@chi101100.int.tt.local> On Thu, 2005-06-09 at 13:32 -0700, awo915-nagios at yahoo.com wrote: > Hello, > > We have a device that comes up missing if you refresh > your browser. If you refresh multiple times the > device will come and go. > > As anyone inexperienced this or have an idea of what > would fix this problem? We are using 1.2 on Redhat ES > 2. you have multiple instances of nagios running concurrently. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From marc at ena.com Thu Jun 9 22:40:08 2005 From: marc at ena.com (Marc Powell) Date: Thu, 9 Jun 2005 15:40:08 -0500 Subject: Device missing when refreshing multiple times Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of awo915-nagios at yahoo.com > Sent: Thursday, June 09, 2005 3:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Device missing when refreshing multiple times > > Hello, > > We have a device that comes up missing if you refresh > your browser. If you refresh multiple times the > device will come and go. > > As anyone inexperienced this or have an idea of what > would fix this problem? We are using 1.2 on Redhat ES > 2. That would be the link titled "Hosts and services intermittently disappear from the web interface" at http://www.nagios.org/faqs/index.php?section_id=8&expand=false&showdesc= false. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From awo915-nagios at yahoo.com Thu Jun 9 22:55:25 2005 From: awo915-nagios at yahoo.com (awo915-nagios at yahoo.com) Date: Thu, 9 Jun 2005 13:55:25 -0700 (PDT) Subject: Device missing when refreshing multiple times In-Reply-To: <1118349662.6781.2.camel@chi101100.int.tt.local> References: <1118349662.6781.2.camel@chi101100.int.tt.local> Message-ID: <20050609205525.96016.qmail@web60818.mail.yahoo.com> Jeff, Checked that and it shows one running. However, when we run service nagios stop the process its self is not actually dying off. We killed that process and restarted nagios and it is now just fine. Your reply was extremely helpful. Thank you very much Travis --- jeff vier wrote: > On Thu, 2005-06-09 at 13:32 -0700, > awo915-nagios at yahoo.com wrote: > > Hello, > > > > We have a device that comes up missing if you > refreshboinger at tradingtechnologies.com > > your browser. If you refresh multiple times the > > device will come and go. > > > > As anyone inexperienced this or have an idea of > what > > would fix this problem? We are using 1.2 on > Redhat ES > > 2. > > you have multiple instances of nagios running > concurrently. > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Thu Jun 9 23:13:33 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Thu, 9 Jun 2005 16:13:33 -0500 Subject: logs Message-ID: I have turned on all types of logging options provided but the only I ever see is the startup log messages. Apart from that I don't see any other log messages even the shutdown messages. Shouldn't I be seeing log of all actions nagios is performing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From aivaturi2 at unlnotes.unl.edu Thu Jun 9 23:29:12 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Thu, 9 Jun 2005 16:29:12 -0500 Subject: logs In-Reply-To: References: Message-ID: > I have turned on all types of logging options provided but the only I ever see is the startup log messages. Apart from that I don't see any other log messages even the shutdown messages. > Shouldn't I be seeing log of all actions nagios is performing? Another update - I ran the check_nagios command that the cgi should be running and here is its output: "Nagios problem: located 3 processes, status log updated 1118352322 seconds ago" Does that mean that there should be only one nagios process running? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at m5computersecurity.com Thu Jun 9 23:30:59 2005 From: mike at m5computersecurity.com (Michael J McCafferty) Date: Thu, 9 Jun 2005 14:30:59 -0700 Subject: Availability in CSV ??? Message-ID: <1118352659.42a8b513f0f8d@webmail.m5computersecurity.com> All, I need to import the Availability report data into another report format. It seems the easiest way is to use CSV. Is there a hack or feature to get the avail.cgi output into CSV format ? Thanks, Mike -- ************************************************************ Michael J. McCafferty Principal, Security Engineer M5 Hosting 858-576-7325 Voice http://www.m5hosting.com ************************************************************ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Thu Jun 9 23:58:58 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 09 Jun 2005 23:58:58 +0200 Subject: logs In-Reply-To: References: Message-ID: <42A8BBA2.90303@its-lehmann.de> Hello, Aditya Ivaturi wrote: > > > > > I have turned on all types of logging options provided but the only > I ever see is the startup log messages. Apart from that I don't see any > other log messages even the shutdown messages. > > Shouldn't I be seeing log of all actions nagios is performing? Yes > Another update - I ran the check_nagios command that the cgi should be > running and here is its output: > > "Nagios problem: located 3 processes, status log updated 1118352322 > seconds ago" > > Does that mean that there should be only one nagios process running? Not necessarily... although having more than one nagios process running is usually an error. Try stopping nagios, wait some time and killall nagios. What the above message tells is that the last write to the log was quite a while ago... about 35 years, if I calculated correctly. I don't believe that. Make sure your disk and filesystem are ok. Verify the file access rights, or, possibly, rename that file and see if nagios starts a new one. Arno -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael at medin.name Fri Jun 10 00:22:07 2005 From: michael at medin.name (Michael Medin) Date: Fri, 10 Jun 2005 00:22:07 +0200 Subject: NSClient++ 0.2.2 released Message-ID: <42A8C10F.1020203@medin.name> Hi, A minor update with some nice additions that I hope will simplify configuration a lot. I have also started working (as I have noticed that most problems are related to configuration issues) on a wizard that will help with initial configuration of NSClient++. Anyways lets run down the main change log. Fixed: * Escapes " in NRPE commands in the NSC.ini Added: (changed) * CheckEventLog reworked Much simpler and better interface (if you ask me) and now I have even written so simple documenation for them (nothing much yet but you should be able to get started). * CheckSystem auto detects windows version and language so hopefully everyone with non-english or NT systems wont have to configure things by hand. Just set the following and things should work automagically. [Check System] ProcessEnumerationMethod=auto auto_detect_pdh=1 ;... Notice though that as I only have Swedish version I am unable to test anything else in regards to this so *please* report back even if it works so I know. Binary, documentation and such at: http://nscplus.sf.net As always: questions, bugs, ideas, etc, feel free to email me or use the forums ( http://sourceforge.net/forum/?group_id=131326 ), you can also use the "tracker" at sf.net to submit bugs and feature requests. // Michael Medin ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael at medin.name Fri Jun 10 00:42:59 2005 From: michael at medin.name (Michael Medin) Date: Fri, 10 Jun 2005 00:42:59 +0200 Subject: Availability in CSV ??? In-Reply-To: <1118352659.42a8b513f0f8d@webmail.m5computersecurity.com> References: <1118352659.42a8b513f0f8d@webmail.m5computersecurity.com> Message-ID: <42A8C5F3.5040401@medin.name> Michael J McCafferty wrote: > All, > > I need to import the Availability report data into another report format. It > seems the easiest way is to use CSV. Is there a hack or feature to get the > avail.cgi output into CSV format ? > I know in 2.0 that it is possible (for various report types but not all, so check a *single* host, *not* host-list or host-group etc). I submitted a patch a week or so ago that added CSV output to all availability reports variations. If you are using 1.2 I don't know as I haven't used that in a while but I would guess that you can get it for individual hosts there. I have attached my email with the patch that I sent to the -dev list. Notice that this has not been tested extensively as I don't use a lot of Nagios functionality (such as scheduled downtimes and such). // Michael Medin > Thanks, > Mike > > -------------- next part -------------- An embedded message was scrubbed... From: Michael Medin Subject: [Nagios-devel] avail.cgi patch to allow CSV output from servicegroups / hostgroups and some questions... Date: Sun, 29 May 2005 14:54:57 +0200 Size: 50847 URL: From Stanley.Hopcroft at IPAustralia.gov.au Fri Jun 10 01:30:10 2005 From: Stanley.Hopcroft at IPAustralia.gov.au (Stanley Hopcroft) Date: Fri, 10 Jun 2005 09:30:10 +1000 Subject: Any experience with notifications via jabber ? In-Reply-To: <20050609175958.3BB0B12E36@sc8-sf-spam2.sourceforge.net> References: <20050609175958.3BB0B12E36@sc8-sf-spam2.sourceforge.net> Message-ID: <20050609233009.GA97875@ws11114.aipo.gov.au> Dear Folks, Does anyone have any experience with notification via jabber that they are willing to share ? The Nagios FAQ lists this script to do so http://nagios.org/faqs/viewfaq.php?faq_id=50 a Perl client of the Net::Jabber class. Does anyone know if its possible to use it to insert the alert into a particular jabber conference (thereby giving a logical multicast) rather than having to send to individual jabber users ? On the subject of publish/subscribe notification/informing models, would an RSS of the status page make any sense ? Yours sincerely. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From pla at softflare.com Fri Jun 10 02:14:25 2005 From: pla at softflare.com (Paul L. Allen) Date: Fri, 10 Jun 2005 01:14:25 +0100 Subject: Any experience with notifications via jabber ? In-Reply-To: <20050609233009.GA97875@ws11114.aipo.gov.au> References: <20050609175958.3BB0B12E36@sc8-sf-spam2.sourceforge.net> <20050609233009.GA97875@ws11114.aipo.gov.au> Message-ID: <20050610001425.15596.qmail@mullet.softflare.net> > Does anyone have any experience with notification via jabber that they > are willing to share ? I had a brief look at it. Figured I'd need to run my own server to ensure privacy. Looked at the server comparison chat - the official free jabber servers don't implement some of the stuff in the jabber specs. The whole thing looks very kitchen-sink-ish. I'm surprised they didn't call it Lightweight Chat Protocol or Simple Chat Protocol because no protocol after SMTP that has had "Simple" or "Lightweight" in its name has ever been either of those things. The only other way they could signify that it has far more complications than are desirable would be to call it Extensible Chat Protocol, but that isn't misleading enough. > Does anyone know if its possible to use it to insert the alert into a > particular jabber conference (thereby giving a logical multicast) rather > than having to send to individual jabber users ? Probably. If it's anything like Yahoo, though, you'll need to be intelligent enough that you start a conference or join a conference depending upon whether or not the conference already exists. Oh, and if it's anything like Yahoo you might need an invite to an existing conference. Also if it's anything like Yahoo you'd probably need a conference rather than individual messaging to avoid a backlog of stored messages if one of the contacts goes off-line temporarily. BTW, on the subject of alerts and instant messaging, the Perl Yahoo Messenger stuff is no longer actively maintained and stopped working with Yahoo a couple of YMSG protocol changes ago. So that's no longer a viable option if you thought Yahoo might be an alternative. If you don't consider "object oriented" to be an alternative spelling of "obfuscated" then you might be able to fix it by tweaking the authentication routines to match what is done in libyahoo2. Alternatively, you might be able to hack that sample client that comes with libyahoo2 to take its input from a named pipe, if you wanted to go the Yahoo route. To be honest, IRC might be a reasonable alternative. There's a perl IRC module, I believe, or you could even write a nagios reporting module for one of the perl bots like infobot or flooterbuck, although you'd probably have to hack the polling routine as well because I don't think either of them have a callback facility. Those bots already have the capability of dealing with passworded channels and even passworded servers, so you can keep the riff-raff out even if you use a public server. It's fairly trivial to add "fact packs" to the bots so you could pre-feed them with useful information and they'd respond to "foo.com?" with "foo.com is on server-39x." At the weekend I might have a quick look at what would be involved in adding an alert system to flooterbuck - I've almost convinced myself it would be a good idea. > On the subject of publish/subscribe notification/informing models, would > an RSS of the status page make any sense ? That might be a better way of doing it, at least if you don't want the alerts to be in a conference/IRC channel type thing where the humans can chat to each other as well as getting alerts. Otherwise if your support team consists of more than one person you'll need some sort of conference system anyway where you can argue which one of you is going to deal with the latest outage. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Fri Jun 10 02:43:42 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 9 Jun 2005 17:43:42 -0700 Subject: Any experience with notifications via jabber ? In-Reply-To: <20050609233009.GA97875@ws11114.aipo.gov.au> References: <20050609175958.3BB0B12E36@sc8-sf-spam2.sourceforge.net> <20050609233009.GA97875@ws11114.aipo.gov.au> Message-ID: <20050610004342.GB24192@zippy.toger.us> On Fri, Jun 10, 2005 at 09:30:10AM +1000, Stanley Hopcroft wrote: > The Nagios FAQ lists this script to do so > > http://nagios.org/faqs/viewfaq.php?faq_id=50 > > a Perl client of the Net::Jabber class. > > Does anyone know if its possible to use it to insert the alert into a > particular jabber conference (thereby giving a logical multicast) rather > than having to send to individual jabber users ? It is possible; I once wrote a script that tailed a logfile into a conference. However that assumes your jabber users are members of the conference. -Jason Martin -- A critic is a man who leaves no turn unstoned. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Stanley.Hopcroft at IPAustralia.gov.au Fri Jun 10 03:54:03 2005 From: Stanley.Hopcroft at IPAustralia.gov.au (Stanley Hopcroft) Date: Fri, 10 Jun 2005 11:54:03 +1000 Subject: Any experience with notifications via jabber ? In-Reply-To: References: <20050609175958.3BB0B12E36@sc8-sf-spam2.sourceforge.net> <20050609233009.GA97875@ws11114.aipo.gov.au> Message-ID: <20050610015402.GD97875@ws11114.aipo.gov.au> Dear Sir, I am writing to thank you for your letter and say, On Thu, Jun 09, 2005 at 08:38:30PM -0400, Subhendu Ghosh wrote: > On Fri, 10 Jun 2005, Stanley Hopcroft wrote: > > >Dear Folks, > > > >Does anyone have any experience with notification via jabber that they > >are willing to share ? > > > >The Nagios FAQ lists this script to do so > > > >http://nagios.org/faqs/viewfaq.php?faq_id=50 > > > >a Perl client of the Net::Jabber class. It seems there are run-time problems with version 2.0 of this class (latest published). The problems are I think referred to obliquely in http://www.ilovett.com/blog/programming/my-advice-to-anyone-working-with-netjabber I'd guess no one is using Net::Jabber 2.0 (or at least using the XML support it provices) for notifying by jabber. Is that correct ? > > > >On the subject of publish/subscribe notification/informing models, would > >an RSS of the status page make any sense ? > > > > RSS - would be fine for non real-time status. Most RSS readers do not > refresh under 30 minutes AFAIK > This is probably what I am interested in: providing near real time status to semi interested parties such as - status of development environments to developers - PHB views, or views to non contacts > > -- > -sg Yours sincerely. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From jbiskofski at gmail.com Fri Jun 10 04:16:08 2005 From: jbiskofski at gmail.com (jbiskofski) Date: Thu, 9 Jun 2005 22:16:08 -0400 Subject: recursive cfg_dir Message-ID: gents, Ive been having trouble getting nagios to recurse inside a cfg_dir directive. I have read some other posts on this mailing list regarding the issue, yet none with a solution or an explanation. I'm running 2.0b3 on a freebsd 4.11 system. I'm having no trouble reading all cfg files inside a cfg_dir but haven't been able to convince nagios to look any further. Any clues or insight will be appreciated. best rgds jbiskofski -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Jun 10 04:42:33 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 9 Jun 2005 22:42:33 -0400 (EDT) Subject: recursive cfg_dir In-Reply-To: References: Message-ID: On Thu, 9 Jun 2005, jbiskofski wrote: > gents, > Ive been having trouble getting nagios to recurse inside a cfg_dir > directive. I have read some other posts on this mailing list regarding the > issue, yet none with a solution or an explanation. I'm running 2.0b3 on a > freebsd 4.11 system. I'm having no trouble reading all cfg files inside a > cfg_dir but haven't been able to convince nagios to look any further. Any > clues or insight will be appreciated. > best rgds > jbiskofski > I don't think recursion through directory tree is supported - just regular files inside listed directories... -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From funraps at yahoo.com Fri Jun 10 06:01:10 2005 From: funraps at yahoo.com (funraps too) Date: Thu, 9 Jun 2005 21:01:10 -0700 (PDT) Subject: Nagios-users digest, Vol 1 #2653 - 19 msgs In-Reply-To: <20050610022146.601E912228@sc8-sf-spam2.sourceforge.net> References: <20050610022146.601E912228@sc8-sf-spam2.sourceforge.net> Message-ID: <20050610040110.43853.qmail@web32005.mail.mud.yahoo.com> Thank you guys, but I tried both solutions and nothing worked (CentOS4), here are the permissions drwxrwxr-x 2 nagios nagios 4.0K Jun 9 11:07 . drwxr-xr-x 8 nagios nagios 4.0K Apr 12 11:07 .. -rwxrwxr-x 1 nagios nagios 155K Apr 12 10:38 avail.cgi -rwxrwxr-x 1 nagios nagios 156K Apr 12 10:38 cmd.cgi -rwxrwxr-x 1 nagios nagios 119K Apr 12 10:38 config.cgi -rwxrwxr-x 1 nagios nagios 171K Apr 12 10:38 extinfo.cgi -rwxrwxr-x 1 nagios nagios 127K Apr 12 10:38 histogram.cgi -rwxrwxr-x 1 nagios nagios 109K Apr 12 10:38 history.cgi -rwxrwxr-x 1 nagios nagios 105K Apr 12 10:38 notifications.cgi -rwxrwxr-x 1 nagios nagios 104K Apr 12 10:38 outages.cgi -rwxrwxr-x 1 nagios nagios 104K Apr 12 10:38 showlog.cgi -rwxrwxr-x 1 nagios nagios 154K Apr 12 10:38 status.cgi -rwxrwxr-x 1 nagios nagios 122K Apr 12 10:38 statusmap.cgi -rwxrwxr-x 1 nagios nagios 118K Apr 12 10:38 statuswml.cgi -rwxrwxr-x 1 nagios nagios 105K Apr 12 10:38 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 124K Apr 12 10:38 summary.cgi -rwxrwxr-x 1 nagios nagios 122K Apr 12 10:38 tac.cgi -rwxrwxr-x 1 nagios nagios 131K Apr 12 10:38 trends.cgi drwxr-xr-x 8 nagios nagios 4.0K Apr 12 11:07 . drwxr-xr-x 18 root root 4.0K Jun 1 14:34 .. drwxrwxr-x 2 nagios nagios 4.0K Apr 14 18:49 bin drwxrwx--- 3 nagios nagios 4.0K Jun 9 11:20 etc drwxr-xr-x 2 nagios nagios 4.0K Jun 9 08:38 libexec drwxrwxr-x 2 nagios nagios 4.0K Jun 9 11:07 sbin drwxrwxr-x 9 nagios nagios 4.0K Jun 9 08:03 share drwxrwxr-x 4 nagios nagios 4.0K Jun 9 21:00 var nagios-users-request at lists.sourceforge.net wrote: Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Uptime on Linux Servers (Arnar =?ISO-8859-1?Q?=DE=F3rarinsson?=) 2. Re: SSL handshake (Tony Earnshaw) 3. RE: Re: My nagios won't work any more, STRANGE (frank) 4. RE: Re: My nagios won't work any more, STRANGE (EXT-Fuentes, James P) 5. Device missing when refreshing multiple times (awo915-nagios at yahoo.com) 6. Re: Device missing when refreshing multiple times (jeff vier) 7. RE: Device missing when refreshing multiple times (Marc Powell) 8. Re: Device missing when refreshing multiple times (awo915-nagios at yahoo.com) 9. logs (Aditya Ivaturi) 10. Re: logs (Aditya Ivaturi) 11. Availability in CSV ??? (Michael J McCafferty) 12. Re: logs (Arno Lehmann) 13. NSClient++ 0.2.2 released (Michael Medin) 14. Re: Availability in CSV ??? (Michael Medin) 15. Any experience with notifications via jabber ? (Stanley Hopcroft) 16. Re: Any experience with notifications via jabber ? (Paul L. Allen) 17. Re: Any experience with notifications via jabber ? (Jason Martin) 18. Re: Any experience with notifications via jabber ? (Stanley Hopcroft) 19. recursive cfg_dir (jbiskofski) --__--__-- Message: 1 Subject: Re: [Nagios-users] Uptime on Linux Servers From: Arnar =?ISO-8859-1?Q?=DE=F3rarinsson?= Reply-To: art at caa.is To: Richard Santiago Cc: nagios-users at lists.sourceforge.net Organization: =?ISO-8859-1?Q?Flugm=E1lastj=F3rn?= =?ISO-8859-1?Q?_=CDslands?= Date: Thu, 09 Jun 2005 18:11:08 +0000 check_snmp is in nagios-plugins 1.4 ( and probably in earlier versions ) ( http://www.nagiosexchange.org/Plugin_Packages.52.0.html? &tx_netnagext_pi1[p_view]=32) Requires the NET-SNMP package, if net-snmp is not on your nagios host then check_snmp binary is not created when building nagios-plugins ( net-snmp found at http://net-snmp.sourceforge.net ) ...if that does not help try check_by_ssh, don't think there are any requirements for that :) On Thu, 2005-06-09 at 13:38 -0400, Richard Santiago wrote: > Hi, > > > > I?m tring to pull the uptime for all Linux servers into Nagios. > Besides using check_snmp (which I found nowhere and it?s used by > check_uptime) is there another solution for this?. > > > > Thanks. > > > > Richard Santiago > > OSI - Administraci?n de Sistemas > > UPR - Recinto de Ciencias M?dicas > > phone: 787.758.2525 x. 2934 > > e-mail: rsantiago at rcm.upr.edu > > > > > > -- Regards Arnar Thorarinsson Software Programmer / System Administrator Systems Department, Air Traffic Services Phone : +354 569 4289 ------------------------------------------ Icelandic Civil Aviation Administration Reykjavik Airport IS 121 Reykjavik Iceland http://www.caa.is ------------------------------------------ --__--__-- Message: 2 Subject: Re: [Nagios-users] SSL handshake From: Tony Earnshaw To: nagios-users at lists.sourceforge.net Organization: Billy Date: Thu, 09 Jun 2005 19:53:24 +0200 tor, 09.06.2005 kl. 19.17 skrev Subhendu Ghosh: [...] > > There is a bug I found that I want to report. When the file nrpe > > is created out of source it call the service ncsa or something. > > After changing that to nrpe everything seems to be working now. > Where and what source did you use? NRPE and NSCA are 2 different tarbal > releases. I think OP's saying that his /etc/services had an entry for NCSA on port 5666, which he changed to NRPE. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl --__--__-- Message: 3 Date: Thu, 9 Jun 2005 12:25:24 -0700 (PDT) From: frank To: funraps too cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE On Thu, 9 Jun 2005, funraps too wrote: > Thanks, > I figured it out, although the nagios -v check didn't see any problems, some of the log files indicated issues. > Now I have nagios working but the web CGI isn't working. > I even redid the httpd.conf and .htapasswd just like the docs, still not working! > I changed permissions to the file below to nagios, nagioscmd, apache but still getting: > (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users [snip] > ==> error_log <== > Thu Jun :5:2 25] [error] [client ] (3)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswdusers, referer: https://monitor/top_Framehtm > [Thu Jun :5:2 25] [error] [client ] user dcn not found: /nagios/cgi-bin/statuscgi, referer: https://monitor/top_Framehtm > ls -al /usr/local/nagios/etc/htpasswd.users > -rw-r--r-- 1 nagios nagios 21 Jun 9 10:07 /usr/local/nagios/etc/htpasswd.users Check the directory permissions on /usr/local/nagios and /usr/local/nagios/etc. Just because a file is marked readable does not mean the user has access to the directory it lives in. -f --__--__-- Message: 4 Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE Date: Thu, 9 Jun 2005 12:54:43 -0700 From: "EXT-Fuentes, James P" To: "funraps too" , I had to "chcon -R system_u:object_r:httpd_sys_script_exec_t = /usr/local/nagios/sbin(or nagios CGI bin)" to get by a what sounds like = a similar situation on Fedora. Do a search on that if it looks like the = same deal. -Jim ________________________________ From: funraps too [mailto:funraps at yahoo.com] Sent: Thu 6/9/2005 11:05 AM To: EXT-Fuentes, James P; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: My nagios won't work any more, STRANGE Thanks, I figured it out, although the nagios -v check didn't see any problems, = some of the log files indicated issues. Now I have nagios working but the web CGI isn't working. I even redid the httpd.conf and .htapasswd just like the docs, still not = working! I changed permissions to the file below to nagios, nagioscmd, apache but = still getting: (13)Permission denied: Could not open password file: = /usr/local/nagios/etc/htpasswd.users Web interface shows: Authorization Required This server could not verify that you are authorized to access the = document requested. Either you supplied the wrong credentials (e.g., bad = password), or your browser doesn't understand how to supply the = credentials required. =3D=3D> error_log <=3D=3D [Thu Jun :2:7 25] [notice] caught SIGTERM, shutting down [Thu Jun :2: 25] [notice] suEXEC mechanism enabled (wrapper: = /usr/sbin/suexec) [Thu Jun :2: 25] [notice] Digest: generating secret for digest = authentication=20 [Thu Jun :2: 25] [notice] Digest: done [Thu Jun :2: 25] [notice] LDAP: Built with OpenLDAP LDAP SDK [Thu Jun :2: 25] [notice] LDAP: SSL support unavailable [Thu Jun :2: 25] [notice] mod_python: Creating session mutexes based on = 256 max processes and max threads [Thu Jun :2: 25] [notice] Apache/252 (CentOS) configured -- resuming = normal operations [Thu Jun :2:23 25] [error] [client ] (3)Permission denied: Could not = open password file: /usr/local/nagios/etc/htpasswdusers, referer: = http://2/nagios/sidehtml [Thu Jun :2:23 25] [error] [client ] user not found: = /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :7:6 25] [error] [client ] (3)Permission denied: Could not open = password file: /usr/local/nagios/etc/htpasswdusers, referer: = http://2/nagios/sidehtml [Thu Jun :7:6 25] [error] [client ] user not found: = /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :7: 25] [error] [client ] (3)Permission denied: Could not open = password file: /usr/local/nagios/etc/htpasswdusers, referer: = http://2/nagios/sidehtml [Thu Jun :7: 25] [error] [client ] user nagios not found: = /nagios/cgi-bin/statuscgi, referer: http://2/nagios/sidehtml [Thu Jun :: 25] [error] [client ] (3)Permission denied: Could not open = password file: /usr/local/nagios/etc/htpasswdusers, referer: = http://2/nagios/sidehtml [Thu Jun :: 25] [error] [client ] user nagios not found: = /nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml [Thu Jun ::3 25] [error] [client ] (3)Permission denied: Could not open = password file: /usr/local/nagios/etc/htpasswdusers, referer: = http://2/nagios/sidehtml [Thu Jun ::3 25] [error] [client ] user nagios not found: = /nagios/cgi-bin/configcgi, referer: http://2/nagios/sidehtml =3D=3D> error_log <=3D=3D Thu Jun :5:2 25] [error] [client ] (3)Permission denied: Could not open = password file: /usr/local/nagios/etc/htpasswdusers, referer: = https://monitor/top_Framehtm [Thu Jun :5:2 25] [error] [client ] user dcn not found: = /nagios/cgi-bin/statuscgi, referer: https://monitor/top_Framehtm ls -al /usr/local/nagios/etc/htpasswd.users -rw-r--r-- 1 nagios nagios 21 Jun 9 10:07 = /usr/local/nagios/etc/htpasswd.users "EXT-Fuentes, James P" wrote: This says that there either is no PID or the wrong PID =09 "kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... = or kill...." =09 Do a "ps" to see what's running. =09 -Jim =09 ________________________________ =09 From: funraps too [mailto:funraps at yahoo.com] Sent: Thu 6/9/2005 6:44 AM To: funraps too; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: My nagios won't work any more, STRANGE =09 =09 Good Morning, =09 Can anyone assist me with this? Been a few days since my Nagios has worked... driving me nuts... =09 Thanks =09 funraps too wrote: =09 Good Morning, =09 I had Nagios working fine then I installed Monarch and it was still = working, then it just stopped! There are no errors when I issue nagios -v but the service will not = start, I even tried to reinstall it. There is no status file /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org ) Last Modified: 04-03-2005 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 59 services. Checking hosts... Checked 32 hosts. Checking host groups... Checked 5 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 7 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 23 host dependencies. Checking commands... Checked 28 commands. Checking time periods... Checked 3 time periods. Ch! ec! king extended host info definitions... Checked 32 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the = pre-flight check [root at nagios-monitor nagios-2.0b3]# /usr/local/nagios/bin/nagios -d = /usr/local/nagios/etc/nagios.cfg /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or = kill -l [sigspec] Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios stop Stopping network monitor: nagios kill: usage: kill [-s! s! igspec | -n signum | -sigspec] [pid | job]... = or kill -l [sigspec] [root at nagios-monitor nagios-2.0b3]# /etc/init.d/nagios start Starting network monitor: nagios [root at nagios-monitor nagios-2.0b3]# ps -ef | grep nagios =09 =09 =09 ________________________________ =09 Discover Yahoo! Stay in touch with email, IM, photo sharing & more. Check it out!=20 =09 ________________________________ =09 Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out!=20 =09 ________________________________ Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it = out! = ml>=20 --__--__-- Message: 5 Date: Thu, 9 Jun 2005 13:32:34 -0700 (PDT) From: "awo915-nagios at yahoo.com" Reply-To: awo915-nagios at yahoo.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Device missing when refreshing multiple times Hello, We have a device that comes up missing if you refresh your browser. If you refresh multiple times the device will come and go. As anyone inexperienced this or have an idea of what would fix this problem? We are using 1.2 on Redhat ES 2. Thanks Travis --__--__-- Message: 6 Subject: Re: [Nagios-users] Device missing when refreshing multiple times From: jeff vier Reply-To: boinger at tradingtechnologies.com To: awo915-nagios at yahoo.com Cc: nagios-users Organization: TT Date: Thu, 09 Jun 2005 15:41:02 -0500 --=-y1sotTsme1TxY3q6deIy Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2005-06-09 at 13:32 -0700, awo915-nagios at yahoo.com wrote: > Hello, >=20 > We have a device that comes up missing if you refresh > your browser. If you refresh multiple times the > device will come and go. >=20 > As anyone inexperienced this or have an idea of what > would fix this problem? We are using 1.2 on Redhat ES > 2. you have multiple instances of nagios running concurrently. --=-y1sotTsme1TxY3q6deIy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCqKld2Lh5h/NRnWwRAoSRAJ4+JwfHuoCOegCgKNHz/UMa3j3PfQCgk2Pe 4lAq+luvd5ntRYOBVdTD4dc= =fv7v -----END PGP SIGNATURE----- --=-y1sotTsme1TxY3q6deIy-- --__--__-- Message: 7 Subject: RE: [Nagios-users] Device missing when refreshing multiple times Date: Thu, 9 Jun 2005 15:40:08 -0500 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of awo915-nagios at yahoo.com > Sent: Thursday, June 09, 2005 3:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Device missing when refreshing multiple times >=20 > Hello, >=20 > We have a device that comes up missing if you refresh > your browser. If you refresh multiple times the > device will come and go. >=20 > As anyone inexperienced this or have an idea of what > would fix this problem? We are using 1.2 on Redhat ES > 2. That would be the link titled "Hosts and services intermittently disappear from the web interface" at http://www.nagios.org/faqs/index.php?section_id=3D8&expand=3Dfalse&showde= sc=3D false. -- Marc --__--__-- Message: 8 Date: Thu, 9 Jun 2005 13:55:25 -0700 (PDT) From: "awo915-nagios at yahoo.com" Reply-To: awo915-nagios at yahoo.com Subject: Re: [Nagios-users] Device missing when refreshing multiple times To: nagios-users at lists.sourceforge.net Jeff, Checked that and it shows one running. However, when we run service nagios stop the process its self is not actually dying off. We killed that process and restarted nagios and it is now just fine. Your reply was extremely helpful. Thank you very much Travis --- jeff vier wrote: > On Thu, 2005-06-09 at 13:32 -0700, > awo915-nagios at yahoo.com wrote: > > Hello, > > > > We have a device that comes up missing if you > refreshboinger at tradingtechnologies.com > > your browser. If you refresh multiple times the > > device will come and go. > > > > As anyone inexperienced this or have an idea of > what > > would fix this problem? We are using 1.2 on > Redhat ES > > 2. > > you have multiple instances of nagios running > concurrently. > --__--__-- Message: 9 To: nagios-users at lists.sourceforge.net From: Aditya Ivaturi Date: Thu, 9 Jun 2005 16:13:33 -0500 Subject: [Nagios-users] logs This is a multipart message in MIME format. --=_alternative 00747C0C8625701B_= Content-Type: text/plain; charset="US-ASCII" I have turned on all types of logging options provided but the only I ever see is the startup log messages. Apart from that I don't see any other log messages even the shutdown messages. Shouldn't I be seeing log of all actions nagios is performing? --=_alternative 00747C0C8625701B_= Content-Type: text/html; charset="US-ASCII" I have turned on all types of logging options provided but the only I ever see is the startup log messages. Apart from that I don't see any other log messages even the shutdown messages. Shouldn't I be seeing log of all actions nagios is performing? --=_alternative 00747C0C8625701B_=-- --__--__-- Message: 10 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] logs From: Aditya Ivaturi Date: Thu, 9 Jun 2005 16:29:12 -0500 This is a multipart message in MIME format. --=_alternative 0075EB278625701B_= Content-Type: text/plain; charset="US-ASCII" > I have turned on all types of logging options provided but the only I ever see is the startup log messages. Apart from that I don't see any other log messages even the shutdown messages. > Shouldn't I be seeing log of all actions nagios is performing? Another update - I ran the check_nagios command that the cgi should be running and here is its output: "Nagios problem: located 3 processes, status log updated 1118352322 seconds ago" Does that mean that there should be only one nagios process running? --=_alternative 0075EB278625701B_= Content-Type: text/html; charset="US-ASCII" > I have turned on all types of logging options provided but the only I ever see is the startup log messages. Apart from that I don't see any other log messages even the shutdown messages. > Shouldn't I be seeing log of all actions nagios is performing? Another update - I ran the check_nagios command that the cgi should be running and here is its output: "Nagios problem: located 3 processes, status log updated 1118352322 seconds ago" Does that mean that there should be only one nagios process running? --=_alternative 0075EB278625701B_=-- --__--__-- Message: 11 Date: Thu, 9 Jun 2005 14:30:59 -0700 From: Michael J McCafferty To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Availability in CSV ??? All, I need to import the Availability report data into another report format. It seems the easiest way is to use CSV. Is there a hack or feature to get the avail.cgi output into CSV format ? Thanks, Mike -- ************************************************************ Michael J. McCafferty Principal, Security Engineer M5 Hosting 858-576-7325 Voice http://www.m5hosting.com ************************************************************ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --__--__-- Message: 12 Date: Thu, 09 Jun 2005 23:58:58 +0200 From: Arno Lehmann To: Aditya Ivaturi Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] logs Hello, Aditya Ivaturi wrote: > > > > > I have turned on all types of logging options provided but the only > I ever see is the startup log messages. Apart from that I don't see any > other log messages even the shutdown messages. === message truncated === --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Fri Jun 10 06:37:57 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 9 Jun 2005 23:37:57 -0500 (CDT) Subject: recursive cfg_dir In-Reply-To: References: Message-ID: On Thu, 9 Jun 2005, Subhendu Ghosh wrote: > On Thu, 9 Jun 2005, jbiskofski wrote: > > > gents, > > Ive been having trouble getting nagios to recurse inside a cfg_dir > > directive. I have read some other posts on this mailing list regarding the > > issue, yet none with a solution or an explanation. I'm running 2.0b3 on a > > freebsd 4.11 system. I'm having no trouble reading all cfg files inside a > > cfg_dir but haven't been able to convince nagios to look any further. Any > > clues or insight will be appreciated. > > best rgds > > jbiskofski > > > > I don't think recursion through directory tree is supported - just regular > files inside listed directories... I can confirm the above. In Nagios 1.2, cfg_dir recursion is not supported. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Fri Jun 10 02:38:30 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 9 Jun 2005 20:38:30 -0400 (EDT) Subject: Any experience with notifications via jabber ? In-Reply-To: <20050609233009.GA97875@ws11114.aipo.gov.au> References: <20050609175958.3BB0B12E36@sc8-sf-spam2.sourceforge.net> <20050609233009.GA97875@ws11114.aipo.gov.au> Message-ID: On Fri, 10 Jun 2005, Stanley Hopcroft wrote: > Dear Folks, > > Does anyone have any experience with notification via jabber that they > are willing to share ? > > The Nagios FAQ lists this script to do so > > http://nagios.org/faqs/viewfaq.php?faq_id=50 > > a Perl client of the Net::Jabber class. > > Does anyone know if its possible to use it to insert the alert into a > particular jabber conference (thereby giving a logical multicast) rather > than having to send to individual jabber users ? > > On the subject of publish/subscribe notification/informing models, would > an RSS of the status page make any sense ? > RSS - would be fine for non treal-time status. Most RSS readers do not refresh under 30 minutes AFAIK -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Jun 10 09:52:01 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Jun 2005 09:52:01 +0200 Subject: recursive cfg_dir In-Reply-To: References: Message-ID: <42A946A1.9010809@op5.se> Demetri Mouratis wrote: > On Thu, 9 Jun 2005, Subhendu Ghosh wrote: > > >>On Thu, 9 Jun 2005, jbiskofski wrote: >> >> >>>gents, >>>Ive been having trouble getting nagios to recurse inside a cfg_dir >>>directive. I have read some other posts on this mailing list regarding the >>>issue, yet none with a solution or an explanation. I'm running 2.0b3 on a >>>freebsd 4.11 system. I'm having no trouble reading all cfg files inside a >>>cfg_dir but haven't been able to convince nagios to look any further. Any >>>clues or insight will be appreciated. >>>best rgds >>>jbiskofski >>> >> >>I don't think recursion through directory tree is supported - just regular >>files inside listed directories... > > > I can confirm the above. In Nagios 1.2, cfg_dir recursion is not > supported. He's using 2.0b3, so recursion is supposed to be supported. Mr. Original Poster; I've got a C program called getnagioscfg which is known to work according to docs on Linux and Solaris (Nagios won't recurse on solaris either). If you could try it with your nagios.cfg and see if it finds all the configuration files that nagios should (according to docs), you can give me a holler and I'll put priority on implementing it in the Nagios core. You can download it at http://oss.op5.se/nagios/ Have fun. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Jun 10 10:36:25 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Jun 2005 10:36:25 +0200 Subject: host_name and service_description examples Message-ID: <42A95109.5080100@op5.se> Ahoy all, and sorry for cross-posting. I'm working on improving the hash-functions in Nagios in an effort to boost performance. To do that, I need some real-world example input of host_name and service_description variables to get accurate timing results of the various hash-functions I'm considering. Please understand that I'll be posting the test-data variables along with the example timing code, so if your variables of that kind contain sensitive information you shouldn't send it. You can use the two commands below to extract host_names and service_descriptions from your configuration. Note that should be replaced with something like /usr/local/nagios/etc/*.cfg on a default installation. Mind the line-breaks. Both sed-commands should be on a single line. sed -n '/^[^#].*host_name/{s/.*host_name[\t ]*\([^\t ]*\)/\1/;p}' | sort | uniq > host_name_vars sed -n '/^[^#].*service_description/{s/.*service_description[\t ]*\([^\t ]*\)/\1/;p}' | sort | uniq > service_description_vars Please compress the files host_name_vars and service_description_vars prior to sending it to me. bzip2 does the best job with text-files. Thanks for helping out. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 From tonye at billy.demon.nl Fri Jun 10 08:16:33 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Fri, 10 Jun 2005 08:16:33 +0200 Subject: logs In-Reply-To: <42A8BBA2.90303@its-lehmann.de> References: <42A8BBA2.90303@its-lehmann.de> Message-ID: <1118384193.2187.88.camel@localhost> tor, 09.06.2005 kl. 23.58 skrev Arno Lehmann: [...] > > > I have turned on all types of logging options provided but the only > > I ever see is the startup log messages. Apart from that I don't see any > > other log messages even the shutdown messages. > > > Shouldn't I be seeing log of all actions nagios is performing? > > Yes > > > Another update - I ran the check_nagios command that the cgi should be > > running and here is its output: > > > > "Nagios problem: located 3 processes, status log updated 1118352322 > > seconds ago" > > > > Does that mean that there should be only one nagios process running? > > Not necessarily... although having more than one nagios process running > is usually an error. Try stopping nagios, wait some time and killall nagios. > > What the above message tells is that the last write to the log was quite > a while ago... about 35 years, if I calculated correctly. I don't > believe that. Actually, the log is giving incorrect info. What it should have said, was: "Nagios problem: located 3 processes, status log updated 1118352322", period. 111835232 can be translated as: "Thu Jun 9 23:25:22 2005". --Tonni -- > Make sure your disk and filesystem are ok. Verify the file access > rights, or, possibly, rename that file and see if nagios starts a new one. > > Arno -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagiosadmin at snef.fr Fri Jun 10 11:28:22 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Fri, 10 Jun 2005 09:28:22 +0000 (UTC) Subject: =?iso-8859-1?B?UulmLiA6IFtOYWdpb3MtdXNlcnNdIGhvc3RfbmFtZSBhbmQgc2VydmljZV9kZXNjcmlwdGlvbiBl?= =?iso-8859-1?B?eGFtcGxlcw==?= References: <42A95109.5080100@op5.se> Message-ID: <42A95C81.000001.02944@GAUSSEN> Hi, I've copied and pasted your command lines and nothing appears in both host_name_vars and service_description_vars. I thing your regexes are incorrect/incomplete. (sed -n '/^[^#].*host_name/{s/.*host_name[\t ]*\([^\t ]*\)/\1/;p}' /usr/local/nagios/etc/hosts.cfg| sort | uniq > host_name_vars) -------Message original------- De : Andreas Ericsson Date : 06/10/05 10:46:03 A : 'nagios-users at lists.sourceforge.net'; nagios-devel Sujet : [Nagios-users] host_name and service_description examples Ahoy all, and sorry for cross-posting. I'm working on improving the hash-functions in Nagios in an effort to boost performance. To do that, I need some real-world example input of host_name and service_description variables to get accurate timing results of the various hash-functions I'm considering. Please understand that I'll be posting the test-data variables along with the example timing code, so if your variables of that kind contain sensitive information you shouldn't send it. You can use the two commands below to extract host_names and service_descriptions from your configuration. Note that should be replaced with something like /usr/local/nagios/etc/*.cfg on a default installation. Mind the line-breaks. Both sed-commands should be on a single line. sed -n '/^[^#].*host_name/{s/.*host_name[\t ]*\([^\t ]*\)/\1/;p}' | sort | uniq > host_name_vars sed -n '/^[^#].*service_description/{s/.*service_description[\t ]*\([^\t ]*\)/\1/;p}' | sort | uniq > service_description_vars Please compress the files host_name_vars and service_description_vars prior to sending it to me. bzip2 does the best job with text-files. Thanks for helping out. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMSTP.gif Type: image/gif Size: 9428 bytes Desc: not available URL: From Nick.Lunt at wesleyan.co.uk Fri Jun 10 16:52:08 2005 From: Nick.Lunt at wesleyan.co.uk (Lunt, Nick) Date: Fri, 10 Jun 2005 15:52:08 +0100 Subject: event_handler problem Message-ID: Hi list, nagios-1.2 nagios-plugins-1.4 redhat 7.2 I've got an event_handler setup for apache running on the local nagios machine (named netview). When I stop apache I get an email - no problems there. However, the event_handler I've setup is not working. In services.cfg I have an event_handler called restart-httpd, and in checkcommands.cfg I have a command called restart-httpd which calls a script. Same as shown in the Nagios documentation. Because this was not working I put some logging at the top of the script to log the args to the script, and this shows that the script is getting the correct args. The trouble is the script is not restarting apache when $SERVICESTATE$==CRITICAL, $STATETYPE$==SOFT and $SERVICEATTEMPT$==3. It only restarts apache when the SERVICEATTEMPT has reached 5 turning it into a HARD STATETYPE. I must of done something silly to have caused this, but I cannot see what it is. I would really appreciate any help anyone could offer. Below is a paste of the relevant bits of the file involved. Many thanks Nick . # services.cfg define service{ host_name netview service_description check_http check_command check_http max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 check_period 24x7 event_handler restart-httpd notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups linux-admins # checkcommands.cfg define command{ command_name restart-httpd command_line /usr/local/nagios/libexec/eventhandlers/restart-httpd $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } # restart-httpd script LOG=/tmp/NAGLOG echo "`date` STATE $1 TYPE $2 ATTEMPTS $3" >> $LOG SERVICESTATE=$1 SERVICETYPE=$2 SERVICEATTEMPT=$3 case "$SERVICESTATE" in OK) # The service just came back up so dont do anything ;; WARNING) # We dont care about warning states cos httpd is prob still running ;; UNKNOWN) # We dont know what could be causing this, so leave alone ;; CRITICAL) # Httpd has a problem, lets restart it case "$SERVICETYPE" in SOFT) # What check attempt are we on case "$SERVICEATTEMPT" in 3) echo -n "Restarting Apache - 3rd soft critical state" echo $SERVICEATTEMPT | /usr/lib/sendmail nick.lunt at wesleyan.co.uk sudo /etc/init.d/httpd restart ;; esac ;; HARD) # Restart Apache regardless echo -n "Restarting Apache after Hard failure" echo $SERVICEATTEMPT | /usr/lib/sendmail nick.lunt at wesleyan.co.uk sudo /etc/init.d/httpd restart ;; esac ;; esac echo $SERVICEATTEMPT | /usr/lib/sendmail nick.lunt at wesleyan.co.uk exit 0 # /tmp/NAGLOG Fri Jun 10 15:30:20 BST 2005 STATE CRITICAL TYPE SOFT ATTEMPTS 1 Fri Jun 10 15:33:20 BST 2005 STATE CRITICAL TYPE SOFT ATTEMPTS 2 Fri Jun 10 15:36:20 BST 2005 STATE CRITICAL TYPE SOFT ATTEMPTS 3 Fri Jun 10 15:39:20 BST 2005 STATE CRITICAL TYPE SOFT ATTEMPTS 4 Fri Jun 10 15:42:21 BST 2005 STATE CRITICAL TYPE HARD ATTEMPTS 5 Fri Jun 10 15:47:21 BST 2005 STATE OK TYPE HARD ATTEMPTS 5 Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd") are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145. WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box Basildon SS15 5WQ Telephone: 0870 601 6129 Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority. Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971. Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes. CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From noyler at khimetrics.com Fri Jun 10 16:48:19 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Fri, 10 Jun 2005 07:48:19 -0700 Subject: =?iso-8859-1?Q?RE=3A_=5BNagios-users=5D_R=E9f=2E_=3A_=5BNagios-user?= =?iso-8859-1?Q?s=5D_host=5Fname_and_service=5Fdescription_examples?= Message-ID: <59B15593F41BD24591D59436E7226EAD020436DE@Khiphx2.khimetrics.com> They worked for me. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Davy Gaussen Sent: Friday, June 10, 2005 2:25 AM To: 'nagios-users at lists.sourceforge.net'; nagios-devel; Andreas Ericsson Subject: [Nagios-users] R?f. : [Nagios-users] host_name and service_description examples Hi, I've copied and pasted your command lines and nothing appears in both host_name_vars and service_description_vars. I thing your regexes are incorrect/incomplete. (sed -n '/^[^#].*host_name/{s/.*host_name[\t ]*\([^\t ]*\)/\1/;p}' /usr/local/nagios/etc/hosts.cfg| sort | uniq > host_name_vars) -------Message original------- De : Andreas Ericsson Date : 06/10/05 10:46:03 A : 'nagios-users at lists.sourceforge.net' ; nagios-devel Sujet : [Nagios-users] host_name and service_description examples Ahoy all, and sorry for cross-posting. I'm working on improving the hash-functions in Nagios in an effort to boost performance. To do that, I need some real-world example input of host_name and service_description variables to get accurate timing results of the various hash-functions I'm considering. Please understand that I'll be posting the test-data variables along with the example timing code, so if your variables of that kind contain sensitive information you shouldn't send it. You can use the two commands below to extract host_names and service_descriptions from your configuration. Note that should be replaced with something like /usr/local/nagios/etc/*.cfg on a default installation. Mind the line-breaks. Both sed-commands should be on a single line. sed -n '/^[^#].*host_name/{s/.*host_name[\t ]*\([^\t ]*\)/\1/;p}' | sort | uniq > host_name_vars sed -n '/^[^#].*service_description/{s/.*service_description[\t ]*\([^\t ]*\)/\1/;p}' | sort | uniq > service_description_vars Please compress the files host_name_vars and service_description_vars prior to sending it to me. bzip2 does the best job with text-files. Thanks for helping out. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 9428 bytes Desc: image001.gif URL: From Robert.Heise at Peopleclick.com Fri Jun 10 17:04:53 2005 From: Robert.Heise at Peopleclick.com (Heise, Robert) Date: Fri, 10 Jun 2005 11:04:53 -0400 Subject: Anybody have a sample Apache ScriptAlias configuration working with mod_perl? Message-ID: <9FF69050257FC0479018211CD530F8BC033035E9@CORP2K3MAIL.corp.peopleclick.com> Im having some difficulty getting the nagios UI to run in my apache config. Im using Apache with mod_perl: Server Version: Apache/1.3.28 (Unix) mod_perl/1.28 Here is my current ScriptAlias config: ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/share/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Anybody had any luck with this? Thanks rob ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jbiskofski at gmail.com Fri Jun 10 17:05:47 2005 From: jbiskofski at gmail.com (jbiskofski) Date: Fri, 10 Jun 2005 11:05:47 -0400 Subject: recursive cfg_dir In-Reply-To: <42A946A1.9010809@op5.se> References: <42A946A1.9010809@op5.se> Message-ID: Andreas, Thank you for your help and time. I had a little bit of trouble compiling your program on freebsd, what I had to do was move the " file_list *list = NULL; " line in main() to the top of the function. Anyway, I though that might be useful to you , or to someone else running fbsd. In any event, I ran it and now I have some output, and a core file. :] nagios# ./getnagioscfg nagios.cfg Entering /usr/local/nagios/etc/servers. 1 levels deep now Entering /usr/local/nagios/etc/servers/test_dir. 2 levels deep now returning to /usr/local/nagios/etc/servers returning to /usr/local/nagios/etc Entering /usr/local/nagios/etc/templates. 1 levels deep now returning to /usr/local/nagios/etc Segmentation fault (core dumped) nagios# ./getnagioscfg /usr/local/nagios/etc/nagios.cfg Entering /usr/local/nagios/etc/servers. 1 levels deep now Entering /usr/local/nagios/etc/servers/test_dir. 2 levels deep now returning to /usr/local/nagios/etc/servers returning to /usr/local/nagios/etc Entering /usr/local/nagios/etc/templates. 1 levels deep now returning to /usr/local/nagios/etc Segmentation fault (core dumped) I have attached the core file to this email. Once again, I appreciate all of your help. best rgds, jbiskofski On 6/10/05, Andreas Ericsson wrote: > > Demetri Mouratis wrote: > > On Thu, 9 Jun 2005, Subhendu Ghosh wrote: > > > > > >>On Thu, 9 Jun 2005, jbiskofski wrote: > >> > >> > >>>gents, > >>>Ive been having trouble getting nagios to recurse inside a cfg_dir > >>>directive. I have read some other posts on this mailing list regarding > the > >>>issue, yet none with a solution or an explanation. I'm running 2.0b3 on > a > >>>freebsd 4.11 system. I'm having no trouble reading all cfg files inside > a > >>>cfg_dir but haven't been able to convince nagios to look any further. > Any > >>>clues or insight will be appreciated. > >>>best rgds > >>>jbiskofski > >>> > >> > >>I don't think recursion through directory tree is supported - just > regular > >>files inside listed directories... > > > > > > I can confirm the above. In Nagios 1.2, cfg_dir recursion is not > > supported. > > He's using 2.0b3, so recursion is supposed to be supported. > > Mr. Original Poster; I've got a C program called getnagioscfg which is > known to work according to docs on Linux and Solaris (Nagios won't > recurse on solaris either). If you could try it with your nagios.cfg and > see if it finds all the configuration files that nagios should > (according to docs), you can give me a holler and I'll put priority on > implementing it in the Nagios core. You can download it at > http://oss.op5.se/nagios/ > > Have fun. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How > far can you shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: getnagioscfg-core.tgz Type: application/x-gzip Size: 23581 bytes Desc: not available URL: From ae at op5.se Fri Jun 10 17:16:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Jun 2005 17:16:50 +0200 Subject: recursive cfg_dir In-Reply-To: References: <42A946A1.9010809@op5.se> Message-ID: <42A9AEE2.6040400@op5.se> jbiskofski wrote: > Andreas, > > Thank you for your help and time. > > I had a little bit of trouble compiling your program on freebsd, what I had > to do was move the " file_list *list = NULL; " line in main() to the top of > the function. Anyway, I though that might be useful to you , or to someone > else running fbsd. In any event, I ran it and now I have some output, and a > core file. :] > That's odd. It's pretty much posix-only code in there, and it works on both linux and solaris. What compiler did you use? > nagios# ./getnagioscfg nagios.cfg > Entering /usr/local/nagios/etc/servers. 1 levels deep now > Entering /usr/local/nagios/etc/servers/test_dir. 2 levels deep now > returning to /usr/local/nagios/etc/servers > returning to /usr/local/nagios/etc > Entering /usr/local/nagios/etc/templates. 1 levels deep now > returning to /usr/local/nagios/etc > Segmentation fault (core dumped) > > nagios# ./getnagioscfg /usr/local/nagios/etc/nagios.cfg > Entering /usr/local/nagios/etc/servers. 1 levels deep now > Entering /usr/local/nagios/etc/servers/test_dir. 2 levels deep now > returning to /usr/local/nagios/etc/servers > returning to /usr/local/nagios/etc > Entering /usr/local/nagios/etc/templates. 1 levels deep now > returning to /usr/local/nagios/etc > Segmentation fault (core dumped) > > I have attached the core file to this email. Once again, I appreciate all of > your help. > Unfortunately, corefiles by themselves are fairly useless. Could you do a backtrace and email the results to me off-list? gdb getnagioscfg core (gdb) bt <.... output.... > (gdb) quit Cheers. > best rgds, > > jbiskofski > > On 6/10/05, Andreas Ericsson wrote: > >>Demetri Mouratis wrote: >> >>>On Thu, 9 Jun 2005, Subhendu Ghosh wrote: >>> >>> >>> >>>>On Thu, 9 Jun 2005, jbiskofski wrote: >>>> >>>> >>>> >>>>>gents, >>>>>Ive been having trouble getting nagios to recurse inside a cfg_dir >>>>>directive. I have read some other posts on this mailing list regarding >> >>the >> >>>>>issue, yet none with a solution or an explanation. I'm running 2.0b3 on >> >>a >> >>>>>freebsd 4.11 system. I'm having no trouble reading all cfg files inside >> >>a >> >>>>>cfg_dir but haven't been able to convince nagios to look any further. >> >>Any >> >>>>>clues or insight will be appreciated. >>>>>best rgds >>>>>jbiskofski >>>>> >>>> >>>>I don't think recursion through directory tree is supported - just >> >>regular >> >>>>files inside listed directories... >>> >>> >>>I can confirm the above. In Nagios 1.2, cfg_dir recursion is not >>>supported. >> >>He's using 2.0b3, so recursion is supposed to be supported. >> >>Mr. Original Poster; I've got a C program called getnagioscfg which is >>known to work according to docs on Linux and Solaris (Nagios won't >>recurse on solaris either). If you could try it with your nagios.cfg and >>see if it finds all the configuration files that nagios should >>(according to docs), you can give me a holler and I'll put priority on >>implementing it in the Nagios core. You can download it at >>http://oss.op5.se/nagios/ >> >>Have fun. >> >>-- >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: NEC IT Guy Games. How >>far can you shotput >>a projector? How fast can you ride your desk chair down the office luge >>track? >>If you want to score the big prize, get to know the little guy. >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From MHANLEY at cxtec.com Fri Jun 10 17:26:37 2005 From: MHANLEY at cxtec.com (Matt Hanley) Date: Fri, 10 Jun 2005 11:26:37 -0400 Subject: Multiple SNMP traps only sending one alert Message-ID: <25AC2CBEEFA22F49BC36DED1250EB6A809724C8C@cxmailx.ad.cxtec.com> I've set up Nagios to receive an SNMP trap from a remote source, and it works fine. The trap comes in, an alert is emailed out, and the service status is set to critical. The problem is, subsequent traps come in and no further alerts are emailed out (although "Last Check" reads correctly). Here is the service config: # service FAX define service{ host_name faxmachine service_description FAX is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 contact_groups mhanley notification_interval 0 notification_period 24x7 notification_options c check_command check_none } What do I need to do so that I'll receive an email alert for every trap that is sent? Thanks! -matt Matthew Hanley mhanley at cxtec.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.laupretre-prestataire at calyon.com Fri Jun 10 17:59:52 2005 From: francois.laupretre-prestataire at calyon.com (Fran=?utf-8?B?w6c=?=ois Laupretre) Date: Fri, 10 Jun 2005 17:59:52 +0200 Subject: =?iso-8859-1?Q?RE_=3A_=5BNagios-users=5D_RE=3A_=5BNagios-users?= =?iso-8859-1?Q?=5D_R=E9f=2E_=3A_=5BNagios-users=5D_host=5Fname_and_ser?= =?iso-8859-1?Q?vice=5Fdescription_examples?= Message-ID: <506CE696433BD711B7C6000802B2520C079871AF@mnts3023.capitalmarkets.fr.cly> On Solaris 2.9, it does not work ('command garbled'). I used : grep -w host_name *.cfg | awk '{print $3}' | sort -u -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nathan Oyler Sent: Friday, June 10, 2005 4:48 PM To: Davy Gaussen; nagios-users at lists.sourceforge.net; nagios-devel; Andreas Ericsson Subject: [Nagios-users] RE: [Nagios-users] R?f. : [Nagios-users] host_name and service_description examples They worked for me. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Ce message et ses pi?ces jointes (le "message") est destin? ? l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm?diatement l'exp?diteur et de le d?truire ensuite. Le pr?sent message pouvant ?tre alt?r? ? notre insu, CALYON Corporate and Investment Bank ne peut pas ?tre engag? par son contenu. Tous droits r?serv?s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. From francois.laupretre-prestataire at calyon.com Fri Jun 10 18:06:45 2005 From: francois.laupretre-prestataire at calyon.com (Fran=?utf-8?B?w6c=?=ois Laupretre) Date: Fri, 10 Jun 2005 18:06:45 +0200 Subject: Anybody have a sample Apache ScriptAlias conf iguration working with mod_perl? Message-ID: <506CE696433BD711B7C6000802B2520C079871B0@mnts3023.capitalmarkets.fr.cly> > Im having some difficulty getting the nagios UI to run in my > apache config. Im using Apache with mod_perl: Server > Version: Apache/1.3.28 (Unix) mod_perl/1.28 What is the error you get ? I don't have mod_perl but my configuration is quite similar to yours. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Ce message et ses pi?ces jointes (le "message") est destin? ? l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm?diatement l'exp?diteur et de le d?truire ensuite. Le pr?sent message pouvant ?tre alt?r? ? notre insu, CALYON Corporate and Investment Bank ne peut pas ?tre engag? par son contenu. Tous droits r?serv?s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. From Robert.Heise at Peopleclick.com Fri Jun 10 18:24:53 2005 From: Robert.Heise at Peopleclick.com (Heise, Robert) Date: Fri, 10 Jun 2005 12:24:53 -0400 Subject: Anybody have a sample Apache ScriptAlias configuration working with mod_perl? Message-ID: <9FF69050257FC0479018211CD530F8BC033035EE@CORP2K3MAIL.corp.peopleclick.com> [Fri Jun 10 11:27:57 2005] [error] PerlRun: `Unrecognized character \x7F at /usr/lib/nagios/cgi/tac.cgi line 1. ' [Fri Jun 10 11:27:59 2005] [error] PerlRun: `Unrecognized character \x7F at /usr/lib/nagios/cgi/status.cgi line 1. ' ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fran?ois Laupretre Sent: Friday, June 10, 2005 12:07 PM To: nagios-users at lists.sourceforge.net Subject: RE : [Nagios-users] Anybody have a sample Apache ScriptAlias configuration working with mod_perl? > Im having some difficulty getting the nagios UI to run in my > apache config. Im using Apache with mod_perl: Server > Version: Apache/1.3.28 (Unix) mod_perl/1.28 What is the error you get ? I don't have mod_perl but my configuration is quite similar to yours. -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.ensley at gmail.com Fri Jun 10 18:44:21 2005 From: steve.ensley at gmail.com (Steve Ensley) Date: Fri, 10 Jun 2005 11:44:21 -0500 Subject: rss feed as a notification method Message-ID: <31fabc2205061009447aa9c093@mail.gmail.com> Anyone ever implemented an rss feed as a notification channel. I'm thinking of this as a method to show anything in a critical state on our big board in the helpdesk, possibly as a marquee or scolling newsbar. Any suggestions on how to approach this? -- Steve It comes in PINTS?! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From noyler at khimetrics.com Fri Jun 10 19:03:25 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Fri, 10 Jun 2005 10:03:25 -0700 Subject: Multiple SNMP traps only sending one alert Message-ID: <59B15593F41BD24591D59436E7226EAD0204383A@Khiphx2.khimetrics.com> I'm working on setting up SNMP traps right now, Isn't that what stalking options is for? Something like, stalking_options o,w,u,c Take this with a grain of salt, I am still trying to understand these new options I'm dealing with. The State Stalking section in the docs is where I was looking. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matt Hanley Sent: Friday, June 10, 2005 8:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Multiple SNMP traps only sending one alert I've set up Nagios to receive an SNMP trap from a remote source, and it works fine. The trap comes in, an alert is emailed out, and the service status is set to critical. The problem is, subsequent traps come in and no further alerts are emailed out (although "Last Check" reads correctly). Here is the service config: # service FAX define service{ host_name faxmachine service_description FAX is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 contact_groups mhanley notification_interval 0 notification_period 24x7 notification_options c check_command check_none } What do I need to do so that I'll receive an email alert for every trap that is sent? Thanks! -matt Matthew Hanley mhanley at cxtec.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From MHANLEY at cxtec.com Fri Jun 10 19:30:13 2005 From: MHANLEY at cxtec.com (Matt Hanley) Date: Fri, 10 Jun 2005 13:30:13 -0400 Subject: Multiple SNMP traps only sending one alert Message-ID: <25AC2CBEEFA22F49BC36DED1250EB6A809724C8E@cxmailx.ad.cxtec.com> > Isn't that what stalking options is for? > > Something like, stalking_options o,w,u,c I believe the state stalking deals with the logging aspects only (not notification). I believe the is_volatile parameter is what I'm after. . .but it's not seeming to treat it as volatile. -matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Mascardo at intelsat.com Fri Jun 10 19:46:26 2005 From: Erwin.Mascardo at intelsat.com (Mascardo, Erwin) Date: Fri, 10 Jun 2005 13:46:26 -0400 Subject: Multiple SNMP traps only sending one alert Message-ID: -----Original Message----- From: Matt Hanley [mailto:MHANLEY at cxtec.com] Sent: Friday, 10 June, 2005 11:27 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Multiple SNMP traps only sending one alert I've set up Nagios to receive an SNMP trap from a remote source, and it works fine. The trap comes in, an alert is emailed out, and the service status is set to critical. The problem is, subsequent traps come in and no further alerts are emailed out (although "Last Check" reads correctly). Here is the service config: # service FAX define service{ host_name faxmachine service_description FAX is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 contact_groups mhanley notification_interval 0 notification_period 24x7 notification_options c check_command check_none } What do I need to do so that I'll receive an email alert for every trap that is sent? Thanks! -matt The problem is your notification_interval. Set at 0, this means that you'll never get another notification for the same status, even if a different event causes that status. With is_volatile set, you'll get a notification for every different SNMP trap that you get -- just set notification_interval to something small (like 1) if you expect to get multiple, identical traps in a row. --Erwin ############################################################ Intelsat is a global communications provider offering flexible and secure services to customers in over 220 countries and territories. Intelsat has maintained a leadership position for over 40 years by distributing video, voice, and data for television and content providers, government and military entities, major corporations, telecommunications carriers, and Internet service providers. Intelsat's reach, power and expanding solutions portfolio deliver information reliably and quickly to every corner of the globe. For more information, visit www.intelsat.com. ############################################################ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Intelsat, Ltd. and its subsidiaries. ############################################################ -------------- next part -------------- An HTML attachment was scrubbed... URL: From MHANLEY at cxtec.com Fri Jun 10 19:59:08 2005 From: MHANLEY at cxtec.com (Matt Hanley) Date: Fri, 10 Jun 2005 13:59:08 -0400 Subject: Multiple SNMP traps only sending one alert Message-ID: <25AC2CBEEFA22F49BC36DED1250EB6A809724C90@cxmailx.ad.cxtec.com> > The problem is your notification_interval. Set at 0, this means that you'll never get another > notification for the same status, even if a different event causes that status. With is_volatile set, > you'll get a notification for every different SNMP trap that you get -- just set notification_interval to > something small (like 1) if you expect to get multiple, identical traps in a row. Turns out that that is the problem, thanks. I've set the notification_interval to something incredibly large, however, because I never want more that one notification for the same event. Setting it to something non-zero lets every event cause a notification in real time. Thanks, again. -matt Matthew Hanley mhanley at cxtec.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rsantiago at rcm.upr.edu Fri Jun 10 20:04:18 2005 From: rsantiago at rcm.upr.edu (Richard Santiago) Date: Fri, 10 Jun 2005 14:04:18 -0400 Subject: FW: Uptime on Linux Servers Message-ID: Thanks to all specifically to Mr. Joseph Petrucci. Got it working perfectly with check_by_ssh. I'm sharing his e-mail with all of you. Richard Santiago OSI - Administraci?n de Sistemas UPR - Recinto de Ciencias M?dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu ________________________________ From: Petrucci, Joseph [mailto:Joseph.Petrucci at ddiworld.com] Sent: Thursday, June 09, 2005 3:08 PM To: Richard Santiago Subject: RE: [Nagios-users] Uptime on Linux Servers Try this ssh implements the RSA authentication protocol automatically. The user creates his/her RSA key pair by running ssh-keygen(1). This stores the private key in $HOME/.ssh/identity and the public key in $HOME/.ssh/identity.pub in the user?s home directory. The user should then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home directory on the remote machine (the authorized_keys file corresponds to the conventional $HOME/.rhosts file, and has one key per line, though the lines can be very long). After this, the user can log in without giving the password. RSA authentication is much more secure than rhosts authen- tication. -----Original Message----- From: Richard Santiago [mailto:rsantiago at rcm.upr.edu] Sent: Thursday, June 09, 2005 2:34 PM To: Petrucci, Joseph Subject: RE: [Nagios-users] Uptime on Linux Servers Joe, Thanks for your help man. Richard Santiago OSI - Administraci?n de Sistemas UPR - Recinto de Ciencias M?dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu ________________________________ From: Petrucci, Joseph [mailto:Joseph.Petrucci at ddiworld.com] Sent: Thursday, June 09, 2005 2:31 PM To: Richard Santiago Subject: RE: [Nagios-users] Uptime on Linux Servers IN ssh you can setup a trust so that the nagios ID only needs the key file and a pasword is not asked for. I will ask the SA that set it up for me how to and get back to you. -----Original Message----- From: Richard Santiago [mailto:rsantiago at rcm.upr.edu] Sent: Thursday, June 09, 2005 2:22 PM To: Petrucci, Joseph Subject: RE: [Nagios-users] Uptime on Linux Servers Hey Joe, Sorry but what's done with the password part?. Just create an acoount with no password? Thanks. Richard Santiago OSI - Administraci?n de Sistemas UPR - Recinto de Ciencias M?dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu ________________________________ From: Petrucci, Joseph [mailto:Joseph.Petrucci at ddiworld.com] Sent: Thursday, June 09, 2005 1:52 PM To: Richard Santiago; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Uptime on Linux Servers I wrote a plugin that basically used ssh -l nagios /usr/bin/uptime and parsed the information i needed. I also used the same approach for load average. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Richard Santiago Sent: Thursday, June 09, 2005 1:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Uptime on Linux Servers Hi, I'm tring to pull the uptime for all Linux servers into Nagios. Besides using check_snmp (which I found nowhere and it's used by check_uptime) is there another solution for this?. Thanks. Richard Santiago OSI - Administraci?n de Sistemas UPR - Recinto de Ciencias M?dicas phone: 787.758.2525 x. 2934 e-mail: rsantiago at rcm.upr.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Sat Jun 11 03:48:04 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 11 Jun 2005 03:48:04 +0200 Subject: host_name and service_description examples In-Reply-To: <42A95109.5080100@op5.se> References: <42A95109.5080100@op5.se> Message-ID: <42AA42D4.1070105@op5.se> Thank you everone who has sent in testing data. I could still use more (hostnames in particular), but I've had enough to make a fair few conclusions that will help boost performance in Nagios as soon as I've had time to put a patch together and test it rigorously. Those of you who are interested in the testing code and the various hashes I've considered for use in nagios can have a look at http://oss.op5.se/nagios/nagios-hash.tar.gz Note that this is intended for developers only, and that it won't be useful for those who aren't, so you non-nerds might want to stop reading now. ;) Worth noting with these hashes are that they are all very simple and that computing a rough 10 000 (or even 4 200 000 input lines) doesn't take very long (at least on my laptop). It's locating objects in over-filled buckets that's slow. Compile as such; make (it will complain about initialization from incompatible pointer types, but that's ok). Run as such; ./hash hosts You'll see output looking something like this (actual test-data, but truncated. The real one tests eight hashes and with lots of different bucket-table sizes); ************************************************* Slots: 32768, bucket table size: 128KB Strings: 10593. Min collisions 0. Additive (current nagios) hash Hash score: 75974.443793 Collisions: 8816, 83.224771%. Depth max: 75, average: 8.617791. High mark: 3863, low mark: 466, range: 3397 Fowler/Noll/Vo hash (ham_func5) Hash score: 1509.620363 Collisions: 1383, 13.055792%. Depth max: 4, average: 1.091555. High mark: 4294646454, low mark: 624407, range: 4294022047 ************************************************** Slots is the number of slots (buckets) in the current setup. bucket table size is the amount of memory consumed by the current scheme. Strings is the number of input strings, and min collisions is either (strings - slots), or 0. The first line each hash-func entry is just a marker of which hash is currently being tested. Hash score is calculated by multiplying the average collision depth with the total amount of collisions. The lower the score, the better the hash. Collisions is ofcourse the number of collisions that occurred with the current hashing scheme. The % value is the odds of it happening using the current input and bucket table size. Depth is the number of linked-list items one would have to traverse in order to reach the object one aims for (bucket-width). If max and average differs a lot the hashfunction doesn't spread objects evenly across the buckets. High/Low mark and range is the maximum and minimum hash-values (32-bit) returned by the current hash-function. Range is really the only valuable information here. If range is less than the number of slots (buckets), it's impossible to trade memory for speed. A high range value is therefore desirable. Most of the hashes in the test comes from http://burtleburtle.net/bob/hash/ (a truly horrible page, design-wise, but very informative). Some others come from the MySQL sources (although originally from the IEEE Posix P1003.2 mailing list). The additive hash is my own implementation. It matches that currently in use in nagios. Andreas Ericsson wrote: > Ahoy all, and sorry for cross-posting. > > I'm working on improving the hash-functions in Nagios in an effort to > boost performance. To do that, I need some real-world example input of > host_name and service_description variables to get accurate timing > results of the various hash-functions I'm considering. > > Please understand that I'll be posting the test-data variables along > with the example timing code, so if your variables of that kind contain > sensitive information you shouldn't send it. > > You can use the two commands below to extract host_names and > service_descriptions from your configuration. > > Note that should be replaced with something like > /usr/local/nagios/etc/*.cfg on a default installation. Mind the > line-breaks. Both sed-commands should be on a single line. > > sed -n '/^[^#].*host_name/{s/.*host_name[\t ]*\([^\t ]*\)/\1/;p}' > | sort | uniq > host_name_vars > > sed -n '/^[^#].*service_description/{s/.*service_description[\t ]*\([^\t > ]*\)/\1/;p}' | sort | uniq > service_description_vars > > Please compress the files host_name_vars and service_description_vars > prior to sending it to me. bzip2 does the best job with text-files. > > > Thanks for helping out. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 From fjordan at hcs.net Sat Jun 11 13:19:42 2005 From: fjordan at hcs.net (Fred Jordan) Date: Sat, 11 Jun 2005 07:19:42 -0400 Subject: Any experience with notifications via jabber ? In-Reply-To: <20050609233009.GA97875@ws11114.aipo.gov.au> References: <20050609175958.3BB0B12E36@sc8-sf-spam2.sourceforge.net> <20050609233009.GA97875@ws11114.aipo.gov.au> Message-ID: <42AAC8CE.4070409@hcs.net> We have a Jabber server the engineers and NOC log into and they are notified via the motd. We use the script notify-by-jabber.pl that I got from someone else who posted this in an email to this mailing-list a couple of years ago or so. Works great for us as it is simple and our users do not have to log into a mu conference. I can send you a copy of the script we use if you want but I didn't write it and I have posted a copy to this list before when someone else was asking about jabber/nagios. There was/is a notify-via-jabber.pl script floating around (try google for both) that worked also. I think RSS would be a great idea; especially for the "views to non contacts" that you mention. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagiosadmin at snef.fr Mon Jun 13 09:49:41 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Mon, 13 Jun 2005 07:49:41 +0000 (UTC) Subject: SNMP Traps Message-ID: <42AD3A5A.000003.03460@GAUSSEN> Hi ! I would like to know how nagios users have implemented SNMP traps in their configuration. Do you use snmptrapd ? Can you send me some example of your configurations ? I have sent few days ago, an example of my configuration to receive SNMP traps. Did someone have tested it ? Davy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMSTP.gif Type: image/gif Size: 9428 bytes Desc: not available URL: From guillaume.lohez at linagora.com Mon Jun 13 10:11:26 2005 From: guillaume.lohez at linagora.com (guillaume LOHEZ) Date: Mon, 13 Jun 2005 10:11:26 +0200 Subject: SNMP Traps In-Reply-To: <42AD3A5A.000003.03460@GAUSSEN> References: <42AD3A5A.000003.03460@GAUSSEN> Message-ID: <42AD3FAE.20201@linagora.com> Hi, For using SNMP traps in Nagios, you can use snmptrapd... In snmptrapd, you use traphandle for a particular trap to execute a script which send passive check result to Nagios, via external command file. You can also use SNMPTT (www.snmptt.org), so the path is snmptrapd -> snmptt -> Nagios via external commands There is a good documentation on the web site of snmptt !! Note: For using SNMPTT, you must have net-snmp 5.1.1 or higher....... Regards Guillaume Davy Gaussen a ?crit : > Hi ! > > I would like to know how nagios users have implemented SNMP traps in > their configuration. Do you use snmptrapd ? Can you send me some > example of your configurations ? > > I have sent few days ago, an example of my configuration to receive > SNMP traps. Did someone have tested it ? > > Davy. > > > > > > > -- Guillaume LOHEZ Administrateur Systemes & Reseaux Portable: +33 (0)6 72 23 20 16 E-mail: guillaume.lohez at linagora.com ------------------------------------ LINAGORA 30 Rue Saint Augustin, PARIS 2eme Telephone: +33 (0)1 58 18 68 28 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.simon at free.fr Mon Jun 13 11:14:34 2005 From: alan.simon at free.fr (alan.simon at free.fr) Date: Mon, 13 Jun 2005 11:14:34 +0200 Subject: Bug in escalation?? nagios 1.2 Message-ID: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> Hi, I realy need help this is my second post about that subject. nagios 1.2 (dag pakages) on a RedHat EL3. in production! I use escalation for all my services and host alarms, here's an example. (interval_length=60) define serviceescalation{ hostgroup_name router service_description CPU first_notification 0 last_notification 1 notification_interval 10 contact_groups admins } define serviceescalation{ hostgroup_name router service_description CPU first_notification 2 last_notification 2 notification_interval 50 contact_groups sms } define serviceescalation{ hostgroup_name router service_description CPU first_notification 3 last_notification 3 notification_interval 0 contact_groups admins } I stop nagios. I erase status.sav to avoid non status data retention. I start nagios. It's work! ok that's good but after one or more restart, the alarms is generate each 5 minutes! and do not stops at the third one. I do not know where to search. I read the very good documentation of this very good product, I'd try a lots of things, and made search. is any one can help? Al ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kindy_s at yahoo.fr Mon Jun 13 11:28:53 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Mon, 13 Jun 2005 11:28:53 +0200 (CEST) Subject: Email Notification and Web interface access Message-ID: <20050613092853.65603.qmail@web26909.mail.ukl.yahoo.com> Hello, I just installed and configured nagios, unfortunatly i didn't manage to get it work. For installation and configuration i followed line by line the article writen by Oktay Aaltunergil published on ONlanmp.com. The server is running now, but i am not able to receive e-mails notification. I am new to linux, what should I do to get email sent out? This is the line i got from the server while trying to send ails: | -s "** PROBLEM alert - Backup Monedia/HTTP is CRITICAL **" ksylla at boabenin.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I also tried to access the web interface in vain. I created the web alias as mentioned in the article, the web interface does not come up. Just to let you know, I installed the nagios nagios-1.2.tar.gz with the plugins nagios-plugins-1.4.tar.gz. Nothing else. Do you have any idea why it is not working? what to do to get email notification? to access to web interface? Do i need to install something else? Thanks in advance for the help. Kindy_s ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Mon Jun 13 11:50:50 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 13 Jun 2005 11:50:50 +0200 Subject: Email Notification and Web interface access In-Reply-To: <20050613092853.65603.qmail@web26909.mail.ukl.yahoo.com> References: <20050613092853.65603.qmail@web26909.mail.ukl.yahoo.com> Message-ID: <42AD56FA.7090008@its-lehmann.de> Hello, Kindy Sylla wrote: > Hello, > I just installed and configured nagios, unfortunatly i > didn't manage to get it work. > For installation and configuration i followed line by > line the article writen by Oktay Aaltunergil published > on ONlanmp.com. > The server is running now, but i am not able to > receive e-mails notification. I am new to linux, what > should I do to get email sent out? > This is the line i got from the server while trying to > send ails: > > | -s "** PROBLEM alert - Backup Monedia/HTTP is > CRITICAL **" ksylla at boabenin.com" resulted in a return > code of 127. Make sure the script or binary you are > trying to execute actually exists... This is a configuration problem. before the "|" character there should be the program name to send mail. This is an example from my configuration (all in one line!) command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ This is roughly what making nagios itself set up, as far as I remember. You can find an explanation of the macros in the documentation, of course. > I also tried to access the web interface in vain. I > created the web alias as mentioned in the article, the > web interface does not come up. Any errors? Either in the web browser, or in the server's log? > Just to let you know, I installed the nagios > nagios-1.2.tar.gz with the plugins > nagios-plugins-1.4.tar.gz. Nothing else. > > Do you have any idea why it is not working? what to do > to get email notification? to access to web interface? > Do i need to install something else? You should make sure you understand how to send mail from the shell. Usually, `man mail` should tell you some things, but depending on which mail transfer and mail submission programs you have things may be different. Arno > > Thanks in advance for the help. > > Kindy_s > > > > > > > > ___________________________________________________________________________ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > T?l?chargez cette version sur http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Mon Jun 13 12:29:47 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 13 Jun 2005 12:29:47 +0200 Subject: Email Notification and Web interface access In-Reply-To: <20050613100748.43851.qmail@web26904.mail.ukl.yahoo.com> References: <20050613100748.43851.qmail@web26904.mail.ukl.yahoo.com> Message-ID: <42AD601B.40901@its-lehmann.de> Hello, please reply to the list, not only to me. By the way, if you really followed some article concerning the setup of nagios you might want to inform the original author that his directions didn't work. Kindy Sylla wrote: > Thanks Arno for the respoonse. > Regarding configuration, I didn't write the whole > sentence. This is what i have: > 1118650430] Warning: Attempting to execute the command > "/usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: PROBLEM\n\nService: > HTTP\nHost: Backup Monedia\nAddress: > 100.0.17.5\nState: CRITICAL\n\nDate/Time: Mon Jun 13 > 08:13:50 GMT 2005\n\nAdditional Info:\n\nConnection > refused" | -s "** PROBLEM alert - Backup Monedia/HTTP You notice that here the command to send an email is missing? Between "|" and -s should be something like mail. > is CRITICAL **" ksylla at boabenin.com" resulted in a > return code of 127. Make sure the script or binary > you are trying to execute actually exists... > My problem maybe related to the mail program. Do you > know how to setup sendail or qmail to send email with > nagios. I didn't find any thing related. Easiest way is to follow the guidelines from your distribution or software vendor. Setting up a mail server will require some learning, though. There's nothing special concerning nagios and mail sending. > Ragarding the web interface, the apache is running but > i a not able to access to nagios page. > I have the following eror when trying to access to > /localhost/nagios > > Not Found > The requested URL /nagios/ was not found on this > server This means that the web server is not configured correctly. You should have an Alias, a ScriptAlias directive, and then restarted the web server. Arno > --- Arno Lehmann a ?crit : > > >>Hello, >> >>Kindy Sylla wrote: >> >> >>>Hello, >>>I just installed and configured nagios, >> >>unfortunatly i >> >>>didn't manage to get it work. >>>For installation and configuration i followed line >> >>by >> >>>line the article writen by Oktay Aaltunergil >> >>published >> >>>on ONlanmp.com. >>>The server is running now, but i 1118650430] > > Warning: Attempting to execute the command > "/usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: PROBLEM\n\nService: > HTTP\nHost: Backup Monedia\nAddress: > 100.0.17.5\nState: CRITICAL\n\nDate/Time: Mon Jun 13 > 08:13:50 GMT 2005\n\nAdditional Info:\n\nConnection > refused" | -s "** PROBLEM alert - Backup Monedia/HTTP > is CRITICAL **" ksylla at boabenin.com" resulted in a > return code of 127. Make sure the script or binary > you are trying to execute actually exists... > am not able to > >>>receive e-mails notification. I am new to linux, >> >>what >> >>>should I do to get email sent out? >>>This is the line i got from the server while >> >>trying to >> >>>send ails: >>> >>>| -s "** PROBLEM alert - Backup Monedia/HTTP is >>>CRITICAL **" ksylla at boabenin.com" resulted in a >> >>return >> >>>code of 127. Make sure the script or binary you >> >>are >> >>>trying to execute actually exists... >> >>This is a configuration problem. before the "|" >>character there should >>be the program name to send mail. This is an example >>from my >>configuration (all in one line!) >> >>command_line /usr/bin/printf "%b" "***** Nagios >>*****\n\nNotification Type: >>$NOTIFICATIONTYPE$\n\nService: >>$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: >>$HOSTADDRESS$\nState: >>$SERVICESTATE$\n\nDate/Time: >>$LONGDATETIME$\n\nAdditional >>Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** >>$NOTIFICATIONTYPE$ alert - >>$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" >>$CONTACTEMAIL$ >> >>This is roughly what making nagios itself set up, as >>far as I remember. >> >>You can find an explanation of the macros in the >>documentation, of course. >> >> >>>I also tried to access the web interface in vain. >> >>I >> >>>created the web alias as mentioned in the article, >> >>the >> >>>web interface does not come up. >> >>Any errors? Either in the web browser, or in the >>server's log? >> >> >>>Just to let you know, I installed the nagios >>>nagios-1.2.tar.gz with the plugins >>>nagios-plugins-1.4.tar.gz. Nothing else. >>> >>>Do you have any idea why it is not working? what >> >>to do >> >>>to get email notification? to access to web >> >>interface? >> >>>Do i need to install something else? >> >>You should make sure you understand how to send mail >>from the shell. >>Usually, `man mail` should tell you some things, but >>depending on which >>mail transfer and mail submission programs you have >>things may be different. >> >>Arno >> >> >>>Thanks in advance for the help. >>> >>>Kindy_s >>> >>> >>> >>> >>> >>> >>> >>> >> > ___________________________________________________________________________ > >>>Appel audio GRATUIT partout dans le monde avec le >> >>nouveau Yahoo! Messenger >> >>>T?l?chargez cette version sur >> >>http://fr.messenger.yahoo.com >> >>> >>> > ------------------------------------------------------- > >>>This SF.Net email is sponsored by: NEC IT Guy >> >>Games. How far can you shotput >> >>>a projector? How fast can you ride your desk chair >> >>down the office luge track? >> >>>If you want to score the big prize, get to know >> >>the little guy. >> >>>Play to win an NEC 61" plasma display: >> >>http://www.necitguy.com/?r=20 >> >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at 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 >> >>-- >>IT-Service Lehmann >>al at its-lehmann.de >>Arno Lehmann >>http://www.its-lehmann.de >> > > > > > > > > > ___________________________________________________________________________ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > T?l?chargez cette version sur http://fr.messenger.yahoo.com -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kindy_s at yahoo.fr Mon Jun 13 12:45:39 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Mon, 13 Jun 2005 12:45:39 +0200 (CEST) Subject: Email Notification and Web interface access In-Reply-To: <42AD601B.40901@its-lehmann.de> References: <42AD601B.40901@its-lehmann.de> Message-ID: <20050613104539.435.qmail@web26906.mail.ukl.yahoo.com> Hello, I just forgot to send it to the whole list. Thanks to remind me. By the way, I did already sent an email to the author and i am waitting for response. Regards, Kindy --- Arno Lehmann a ?crit : > Hello, > > please reply to the list, not only to me. > > By the way, if you really followed some article > concerning the setup of > nagios you might want to inform the original author > that his directions > didn't work. > > Kindy Sylla wrote: > > > Thanks Arno for the respoonse. > > Regarding configuration, I didn't write the whole > > sentence. This is what i have: > > 1118650430] Warning: Attempting to execute the > command > > "/usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: PROBLEM\n\nService: > > HTTP\nHost: Backup Monedia\nAddress: > > 100.0.17.5\nState: CRITICAL\n\nDate/Time: Mon Jun > 13 > > 08:13:50 GMT 2005\n\nAdditional > Info:\n\nConnection > > refused" | -s "** PROBLEM alert - Backup > Monedia/HTTP > > You notice that here the command to send an email is > missing? > Between "|" and -s should be something like mail. > > > is CRITICAL **" ksylla at boabenin.com" resulted in a > > return code of 127. Make sure the script or > binary > > you are trying to execute actually exists... > > My problem maybe related to the mail program. Do > you > > know how to setup sendail or qmail to send email > with > > nagios. I didn't find any thing related. > > Easiest way is to follow the guidelines from your > distribution or > software vendor. Setting up a mail server will > require some learning, > though. > There's nothing special concerning nagios and mail > sending. > > > Ragarding the web interface, the apache is running > but > > i a not able to access to nagios page. > > I have the following eror when trying to access to > > /localhost/nagios > > > > Not Found > > The requested URL /nagios/ was not found on this > > server > > This means that the web server is not configured > correctly. You should > have an Alias, a ScriptAlias directive, and then > restarted the web server. > > Arno > > > --- Arno Lehmann a ?crit : > > > > > >>Hello, > >> > >>Kindy Sylla wrote: > >> > >> > >>>Hello, > >>>I just installed and configured nagios, > >> > >>unfortunatly i > >> > >>>didn't manage to get it work. > >>>For installation and configuration i followed > line > >> > >>by > >> > >>>line the article writen by Oktay Aaltunergil > >> > >>published > >> > >>>on ONlanmp.com. > >>>The server is running now, but i 1118650430] > > > > Warning: Attempting to execute the command > > "/usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: PROBLEM\n\nService: > > HTTP\nHost: Backup Monedia\nAddress: > > 100.0.17.5\nState: CRITICAL\n\nDate/Time: Mon Jun > 13 > > 08:13:50 GMT 2005\n\nAdditional > Info:\n\nConnection > > refused" | -s "** PROBLEM alert - Backup > Monedia/HTTP > > is CRITICAL **" ksylla at boabenin.com" resulted in a > > return code of 127. Make sure the script or > binary > > you are trying to execute actually exists... > > am not able to > > > >>>receive e-mails notification. I am new to linux, > >> > >>what > >> > >>>should I do to get email sent out? > >>>This is the line i got from the server while > >> > >>trying to > >> > >>>send ails: > >>> > >>>| -s "** PROBLEM alert - Backup Monedia/HTTP is > >>>CRITICAL **" ksylla at boabenin.com" resulted in a > >> > >>return > >> > >>>code of 127. Make sure the script or binary you > >> > >>are > >> > >>>trying to execute actually exists... > >> > >>This is a configuration problem. before the "|" > >>character there should > >>be the program name to send mail. This is an > example > >>from my > >>configuration (all in one line!) > >> > >>command_line /usr/bin/printf "%b" "***** Nagios > > >>*****\n\nNotification Type: > >>$NOTIFICATIONTYPE$\n\nService: > >>$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > >>$HOSTADDRESS$\nState: > >>$SERVICESTATE$\n\nDate/Time: > >>$LONGDATETIME$\n\nAdditional > >>Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** > >>$NOTIFICATIONTYPE$ alert - > >>$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > >>$CONTACTEMAIL$ > >> > >>This is roughly what making nagios itself set up, > as > >>far as I remember. > >> > >>You can find an explanation of the macros in the > >>documentation, of course. > >> > >> > >>>I also tried to access the web interface in vain. > >> > >>I > >> > >>>created the web alias as mentioned in the > article, > >> > >>the > >> > >>>web interface does not come up. > >> > >>Any errors? Either in the web browser, or in the > >>server's log? > >> > >> > >>>Just to let you know, I installed the nagios > >>>nagios-1.2.tar.gz with the plugins > >>>nagios-plugins-1.4.tar.gz. Nothing else. > >>> > >>>Do you have any idea why it is not working? what > >> > >>to do > >> > >>>to get email notification? to access to web > >> > >>interface? > >> > >>>Do i need to install something else? > >> > >>You should make sure you understand how to send > mail > >>from the shell. > >>Usually, `man mail` should tell you some things, > but > >>depending on which > >>mail transfer and mail submission programs you > have > >>things may be different. > >> > >>Arno > >> > >> > >>>Thanks in advance for the help. > === message truncated === ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tom.brown at goodtechnology.com Mon Jun 13 12:48:20 2005 From: tom.brown at goodtechnology.com (Tom Brown) Date: Mon, 13 Jun 2005 11:48:20 +0100 Subject: Nagios-1.2 - Trending Issue - RESOLVED In-Reply-To: <429C3F32.4070304@goodtechnology.com> References: <429742E6.2090502@goodtechnology.com> <429C3F32.4070304@goodtechnology.com> Message-ID: <42AD6474.5050605@goodtechnology.com> > no clues? > > OK can anyone post a ./configure for nagios 1.2 with a working trending > setup using files rather than a db? Finally resolved this - For reasons i know not my 'nagios.log' and 'status.log' were pointing to the same file. Once these were split apart as they should be it all works perfectly. thanks ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dewath at yahoo.com Mon Jun 13 14:52:07 2005 From: dewath at yahoo.com (Richard DeWath) Date: Mon, 13 Jun 2005 05:52:07 -0700 (PDT) Subject: NRPE connection refused after RH OS upgrade Message-ID: <20050613125207.80187.qmail@web30505.mail.mud.yahoo.com> NRPE was working correctly on a host running RH 7.3 and openssl was 0.9.7a. After they upgraded from RH 7.3 to 9.0, NRPE connections are now refused. I went through all the NRPE config and checks and everything is there. XINETD appears to be correct, but the NRPE failure continues (I stopped and restarted xinted to verify it starts correctly). I suspect the openssl is the problem. If you have had this problem and know what needs to be done, I need to have the person who did the official upgrade fix the problem (it is a production host) Richard __________________________________ Discover Yahoo! Have fun online with music videos, cool games, IM and more. Check it out! http://discover.yahoo.com/online.html ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andreas at wassatsch.de Mon Jun 13 15:32:41 2005 From: andreas at wassatsch.de (Andreas Wassatsch) Date: Mon, 13 Jun 2005 15:32:41 +0200 (CEST) Subject: Nagios ignoring notification interval with passive checks Message-ID: <22488.217.111.25.66.1118669561.squirrel@mail.wassatsch.de> Hello list, I've setup a passive check which submits its return value every minute to Nagios. The Problem is: When the passive_check submits a critical or warning result to Nagios every minute, Nagios is ignoring the notification_interval and sends out a notification every minute. Is there a way to get Nagios honoring notification_interval with passive_checks ? Regards, Andreas Nagios: 2.0b3 define service { use active-service name passive-service is_volatile 1 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notification_interval 120 ; 2h active_checks_enabled 0 check_command none check_period none check_freshness 1 register 0 } define service { use passive-service name passive-service-frasw-core1 host_name frasw-core1 contact_groups network-admins register 0 } define service { use passive-service-frasw-core1 service_description if-gig1.13 contact_groups network-admins-test } # tail -f var/nagios.log [1118669106] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669116] SERVICE ALERT: frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669116] SERVICE NOTIFICATION: andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669168] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669176] SERVICE ALERT: frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669176] SERVICE NOTIFICATION: andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669226] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669236] SERVICE ALERT: frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down [1118669236] SERVICE NOTIFICATION: andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL: Interface gig1.13 (Link to frasw-dist-giga idx=13) is down -- Andreas Wassatsch Kirchwaldstr. 13 dipl.-ing. 63533 Mainhausen tel: 06182-828 604 LPIC-2 mobil: 0177-6510 446 using Linux since 0.99pl10 gpg-id: 0x5AC8EA6C ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Mon Jun 13 15:34:45 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 13 Jun 2005 09:34:45 -0400 (EDT) Subject: NRPE connection refused after RH OS upgrade In-Reply-To: <20050613125207.80187.qmail@web30505.mail.mud.yahoo.com> References: <20050613125207.80187.qmail@web30505.mail.mud.yahoo.com> Message-ID: On Mon, 13 Jun 2005, Richard DeWath wrote: > NRPE was working correctly on a host running RH 7.3 > and openssl was 0.9.7a. After they upgraded from RH > 7.3 to 9.0, NRPE connections are now refused. I went > through all the NRPE config and checks and everything > is there. XINETD appears to be correct, but the NRPE > failure continues (I stopped and restarted xinted to > verify it starts correctly). I suspect the openssl is > the problem. If you have had this problem and know > what needs to be done, I need to have the person who > did the official upgrade fix the problem (it is a > production host) > > Richard > check if the nrepd can find all the libs "ldd ..." -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.simon at free.fr Mon Jun 13 16:11:24 2005 From: alan.simon at free.fr (alan.simon at free.fr) Date: Mon, 13 Jun 2005 16:11:24 +0200 Subject: Bug in escalation?? nagios 1.2 In-Reply-To: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> References: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> Message-ID: <1118671884.42ad940c9aeb0@imp1-q.free.fr> Hi again, I realy need an answer, i'll give my sister phone number to any one answer me ;) here's the notification log [1118669761] SERVICE NOTIFICATION: nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number 98c039c1: 80%used(4908MB/6134MB) (80%) : WARNING [1118670061] SERVICE NOTIFICATION: nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING [1118670362] SERVICE NOTIFICATION: nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING [1118670671] SERVICE NOTIFICATION: nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING [1118670961] SERVICE NOTIFICATION: nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING [1118671271] SERVICE NOTIFICATION: nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING [1118671562] SERVICE NOTIFICATION: nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING What can I do? Selon alan.simon at free.fr: > > Hi, > > I realy need help this is my second post about that subject. > nagios 1.2 (dag pakages) on a RedHat EL3. > > in production! > > I use escalation for all my services and host alarms, here's an example. > (interval_length=60) > > define serviceescalation{ > hostgroup_name router > service_description CPU > first_notification 0 > last_notification 1 > notification_interval 10 > contact_groups admins > } > define serviceescalation{ > hostgroup_name router > service_description CPU > first_notification 2 > last_notification 2 > notification_interval 50 > contact_groups sms > } > define serviceescalation{ > hostgroup_name router > service_description CPU > first_notification 3 > last_notification 3 > notification_interval 0 > contact_groups admins > } > > > I stop nagios. > I erase status.sav to avoid non status data retention. > I start nagios. > It's work! > ok that's good > > but after one or more restart, > the alarms is generate each 5 minutes! and do not stops at the third one. I > do > not know where to search. > > I read the very good documentation of this very good product, I'd try a lots > of > things, and made search. is any one can help? > > Al > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fmapconsulting at aol.com Mon Jun 13 16:17:19 2005 From: fmapconsulting at aol.com (Fabiano Martins) Date: Mon, 13 Jun 2005 11:17:19 -0300 Subject: statusmap issue Message-ID: <88.28a14985.2fdeef70@aol.com> Hi, I have a problem clicking in statusmap on the nagios menu. I receive the following message: "The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin at mydomain.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log." And when I've checked the error_log file, I saw the following: [Mon Jun 13 09:49:02 2005] [error] [client xxx.xxx.xxx.xxx] /usr/local/nagios/sbin/statusmap.cgi: error while loading shared libraries: libgd.so.1.8: cannot open shared object file: No such file or directory, referer: http://www.mydomain.net/nagios/side.html So I've already installed the libgd2, that has the required library and I'm still receiving the same message. Is there some setting that I'm missing or some specific library to install.? Regards, Fabiano Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Mon Jun 13 16:23:14 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 13 Jun 2005 10:23:14 -0400 (EDT) Subject: Bug in escalation?? nagios 1.2 In-Reply-To: <1118671884.42ad940c9aeb0@imp1-q.free.fr> References: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> <1118671884.42ad940c9aeb0@imp1-q.free.fr> Message-ID: It might help to have the configuration for the services in addition to the service escalation. -sg On Mon, 13 Jun 2005 alan.simon at free.fr wrote: > Hi again, > > I realy need an answer, i'll give my sister phone number to any one answer me ;) > > here's the notification log > [1118669761] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4908MB/6134MB) (80%) : WARNING > [1118670061] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > [1118670362] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > [1118670671] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > [1118670961] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > [1118671271] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > [1118671562] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > > What can I do? > > Selon alan.simon at free.fr: > >> >> Hi, >> >> I realy need help this is my second post about that subject. >> nagios 1.2 (dag pakages) on a RedHat EL3. >> >> in production! >> >> I use escalation for all my services and host alarms, here's an example. >> (interval_length=60) >> >> define serviceescalation{ >> hostgroup_name router >> service_description CPU >> first_notification 0 >> last_notification 1 >> notification_interval 10 >> contact_groups admins >> } >> define serviceescalation{ >> hostgroup_name router >> service_description CPU >> first_notification 2 >> last_notification 2 >> notification_interval 50 >> contact_groups sms >> } >> define serviceescalation{ >> hostgroup_name router >> service_description CPU >> first_notification 3 >> last_notification 3 >> notification_interval 0 >> contact_groups admins >> } >> >> >> I stop nagios. >> I erase status.sav to avoid non status data retention. >> I start nagios. >> It's work! >> ok that's good >> >> but after one or more restart, >> the alarms is generate each 5 minutes! and do not stops at the third one. I >> do >> not know where to search. >> >> I read the very good documentation of this very good product, I'd try a lots >> of >> things, and made search. is any one can help? >> >> Al >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Mon Jun 13 16:24:25 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 13 Jun 2005 10:24:25 -0400 (EDT) Subject: statusmap issue In-Reply-To: <88.28a14985.2fdeef70@aol.com> References: <88.28a14985.2fdeef70@aol.com> Message-ID: did you install gd2 before or after running configure? if installing rpm - did you also install gd2-devel? -sg On Mon, 13 Jun 2005, Fabiano Martins wrote: > Hi, > > I have a problem clicking in statusmap on the nagios menu. I receive the > following message: > > "The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, admin at mydomain.net and inform them > of the time the error occurred, and anything you might have done that may > have caused the error. > > More information about this error may be available in the server error log." > > And when I've checked the error_log file, I saw the following: > > > > [Mon Jun 13 09:49:02 2005] [error] [client xxx.xxx.xxx.xxx] > /usr/local/nagios/sbin/statusmap.cgi: error while loading shared libraries: > libgd.so.1.8: cannot open shared object file: No such file or directory, > referer: http://www.mydomain.net/nagios/side.html > > So I've already installed the libgd2, that has the required library and I'm > still receiving the same message. > > Is there some setting that I'm missing or some specific library to install.? > > > > Regards, > > Fabiano Martins > > -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jun 13 16:23:41 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 13 Jun 2005 16:23:41 +0200 Subject: Bug in escalation?? nagios 1.2 In-Reply-To: <1118671884.42ad940c9aeb0@imp1-q.free.fr> References: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> <1118671884.42ad940c9aeb0@imp1-q.free.fr> Message-ID: <42AD96ED.5030705@op5.se> alan.simon at free.fr wrote: > Hi again, > > I realy need an answer, i'll give my sister phone number to any one answer me ;) > It's either a bug or you have several instances of Nagios running. Make sure you've killed all processes before restarting it. service nagios stop may not cut it, so you should try killall -9 nagios (*after* running service nagios stop). If that fails, try recompiling from source > here's the notification log > [1118669761] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4908MB/6134MB) (80%) : WARNING > [1118670061] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > [1118670362] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > [1118670671] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > [1118670961] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > [1118671271] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > [1118671562] SERVICE NOTIFICATION: > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > > What can I do? > > Selon alan.simon at free.fr: > > >>Hi, >> >>I realy need help this is my second post about that subject. >>nagios 1.2 (dag pakages) on a RedHat EL3. >> >> in production! >> >>I use escalation for all my services and host alarms, here's an example. >>(interval_length=60) >> >>define serviceescalation{ >> hostgroup_name router >> service_description CPU >> first_notification 0 >> last_notification 1 >> notification_interval 10 >> contact_groups admins >>} >>define serviceescalation{ >> hostgroup_name router >> service_description CPU >> first_notification 2 >> last_notification 2 >> notification_interval 50 >> contact_groups sms >>} >>define serviceescalation{ >> hostgroup_name router >> service_description CPU >> first_notification 3 >> last_notification 3 >> notification_interval 0 >> contact_groups admins >>} >> >> >>I stop nagios. >>I erase status.sav to avoid non status data retention. >>I start nagios. >>It's work! >> ok that's good >> >>but after one or more restart, >>the alarms is generate each 5 minutes! and do not stops at the third one. I >>do >>not know where to search. >> >>I read the very good documentation of this very good product, I'd try a lots >>of >>things, and made search. is any one can help? >> >>Al >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Mon Jun 13 16:27:26 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 13 Jun 2005 10:27:26 -0400 (EDT) Subject: Nagios ignoring notification interval with passive checks In-Reply-To: <22488.217.111.25.66.1118669561.squirrel@mail.wassatsch.de> References: <22488.217.111.25.66.1118669561.squirrel@mail.wassatsch.de> Message-ID: "Volatile services are useful for monitoring... * things that automatically reset themselves to an "OK" state each time they are checked * events such as security alerts which require attention every time there is a problem (and not just the first time) " Volatile override all interval settings. If you want the intervals to be honored, then use just "passive" not "passive + volatile" -sg On Mon, 13 Jun 2005, Andreas Wassatsch wrote: > > Hello list, > > I've setup a passive check which submits its return value every minute > to Nagios. > > The Problem is: When the passive_check submits a critical or warning > result to Nagios every minute, Nagios is ignoring the > notification_interval and sends out a notification every minute. > > Is there a way to get Nagios honoring notification_interval with > passive_checks ? > > Regards, > Andreas > > > Nagios: 2.0b3 > > define service { > use active-service > name passive-service > is_volatile 1 > passive_checks_enabled 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > notification_interval 120 ; 2h > active_checks_enabled 0 > check_command none > check_period none > check_freshness 1 > register 0 > } > > define service { > use passive-service > name passive-service-frasw-core1 > host_name frasw-core1 > contact_groups network-admins > register 0 > } > > define service { > use passive-service-frasw-core1 > service_description if-gig1.13 > contact_groups network-admins-test > } > > # tail -f var/nagios.log > [1118669106] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface > gig1.13 (Link to frasw-dist-giga idx=13) is down > [1118669116] SERVICE ALERT: > frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link > to frasw-dist-giga idx=13) is down > [1118669116] SERVICE NOTIFICATION: > andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL: > Interface gig1.13 (Link to frasw-dist-giga idx=13) is down > [1118669168] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface > gig1.13 (Link to frasw-dist-giga idx=13) is down > [1118669176] SERVICE ALERT: > frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link > to frasw-dist-giga idx=13) is down > [1118669176] SERVICE NOTIFICATION: > andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL: > Interface gig1.13 (Link to frasw-dist-giga idx=13) is down > [1118669226] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface > gig1.13 (Link to frasw-dist-giga idx=13) is down > [1118669236] SERVICE ALERT: > frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link > to frasw-dist-giga idx=13) is down > [1118669236] SERVICE NOTIFICATION: > andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL: > Interface gig1.13 (Link to frasw-dist-giga idx=13) is down > > -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 13 16:24:12 2005 From: marc at ena.com (Marc Powell) Date: Mon, 13 Jun 2005 09:24:12 -0500 Subject: statusmap issue Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Fabiano Martins > Sent: Monday, June 13, 2005 9:17 AM > To: Nagios Users List > Subject: [Nagios-users] statusmap issue > > Hi, > > I have a problem clicking in statusmap on the nagios menu. I receive the > following message: > > "The server encountered an internal error or misconfiguration and was > unable to complete your request. > > Please contact the server administrator, admin at mydomain.net and inform > them of the time the error occurred, and anything you might have done that > may have caused the error. > > More information about this error may be available in the server error > log." > > And when I've checked the error_log file, I saw the following: > > > > [Mon Jun 13 09:49:02 2005] [error] [client xxx.xxx.xxx.xxx] > /usr/local/nagios/sbin/statusmap.cgi: error while loading shared > libraries: libgd.so.1.8: cannot open shared object file: No such file or > directory, referer: http://www.mydomain.net/nagios/side.html > > So I've already installed the libgd2, that has the required library and > I'm still receiving the same message... > > Is there some setting that I'm missing or some specific library to > install...? Was nagios compiled on this box? It would appear that statusmap.cgi is expecting libgd.so.1.8 to be in a different location than it is (which is set at compile time). Run 'ldd statusmap.cgi' in the nagios sbin directory and verify that libgd.so.1.8 is in the path that statusmap.cgi is expecting it. If it isn't you should probably re-compile so that the correct location is determined. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjacobs at frs.be Mon Jun 13 16:36:55 2005 From: sjacobs at frs.be (Jacobs, Sven) Date: Mon, 13 Jun 2005 16:36:55 +0200 Subject: [Nagiostat] ValueRegexTemplate Message-ID: <43B5E93C7030714491583698996A22A9AF9EC7@sbeexc01.frs.local> Hey all, I'm working Nagios 1.2 with Nagiostat 1.0. I have systems with 5 partitions. The thing I want is to make on graph per system for all partitions. Mon Jun 13 15:00:25 2005 **INCOMING PERFDATA: LASTCHECK=1118667620 HOSTNAME=befrs999c1 SERVICEDESCR="DISK1" SERVICESTATE="OK" OUTPUT="DISK OK - free space: /boot 120 MB (88%):" PERFDATA=" /boot=17MB;116;126;0;136" And that for all the 5 partitions .... Is this possible ? Kind Regards Sven Jacobs -------------- next part -------------- An HTML attachment was scrubbed... URL: From alan.simon at free.fr Mon Jun 13 16:42:45 2005 From: alan.simon at free.fr (alan.simon at free.fr) Date: Mon, 13 Jun 2005 16:42:45 +0200 Subject: Bug in escalation?? nagios 1.2 In-Reply-To: References: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> <1118671884.42ad940c9aeb0@imp1-q.free.fr> Message-ID: <1118673765.42ad9b6590834@imp1-q.free.fr> thank's for the answer and here's a service definition : define service{ name service_slow active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 0 is_volatile 1 notifications_enabled 1 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 notification_interval 10 notification_period 24x7 notification_options w,u,r,c register 0 } define service{ use service_slow host_name SBEMGTFW service_description DSK-C contact_groups admins check_command snmp_dsk_win!"^C"!80!90 } Selon Subhendu Ghosh : > > It might help to have the configuration for the services in addition to > the service escalation. > > -sg > > On Mon, 13 Jun 2005 alan.simon at free.fr wrote: > > > Hi again, > > > > I realy need an answer, i'll give my sister phone number to any one answer > me ;) > > > > here's the notification log > > [1118669761] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4908MB/6134MB) (80%) : WARNING > > [1118670061] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > > [1118670362] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > > [1118670671] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > > [1118670961] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > > [1118671271] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > > [1118671562] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > > > > What can I do? > > > > Selon alan.simon at free.fr: > > > >> > >> Hi, > >> > >> I realy need help this is my second post about that subject. > >> nagios 1.2 (dag pakages) on a RedHat EL3. > >> > >> in production! > >> > >> I use escalation for all my services and host alarms, here's an example. > >> (interval_length=60) > >> > >> define serviceescalation{ > >> hostgroup_name router > >> service_description CPU > >> first_notification 0 > >> last_notification 1 > >> notification_interval 10 > >> contact_groups admins > >> } > >> define serviceescalation{ > >> hostgroup_name router > >> service_description CPU > >> first_notification 2 > >> last_notification 2 > >> notification_interval 50 > >> contact_groups sms > >> } > >> define serviceescalation{ > >> hostgroup_name router > >> service_description CPU > >> first_notification 3 > >> last_notification 3 > >> notification_interval 0 > >> contact_groups admins > >> } > >> > >> > >> I stop nagios. > >> I erase status.sav to avoid non status data retention. > >> I start nagios. > >> It's work! > >> ok that's good > >> > >> but after one or more restart, > >> the alarms is generate each 5 minutes! and do not stops at the third one. > I > >> do > >> not know where to search. > >> > >> I read the very good documentation of this very good product, I'd try a > lots > >> of > >> things, and made search. is any one can help? > >> > >> Al > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > > a projector? How fast can you ride your desk chair down the office luge > track? > > If you want to score the big prize, get to know the little guy. > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > -- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan.simon at free.fr Mon Jun 13 16:45:41 2005 From: alan.simon at free.fr (alan.simon at free.fr) Date: Mon, 13 Jun 2005 16:45:41 +0200 Subject: Bug in escalation?? nagios 1.2 In-Reply-To: <42AD96ED.5030705@op5.se> References: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> <1118671884.42ad940c9aeb0@imp1-q.free.fr> <42AD96ED.5030705@op5.se> Message-ID: <1118673941.42ad9c1573362@imp1-q.free.fr> Selon Andreas Ericsson : > alan.simon at free.fr wrote: > > Hi again, > > > > I realy need an answer, i'll give my sister phone number to any one answer > me ;) > > > > It's either a bug or you have several instances of Nagios running. Make > sure you've killed all processes before restarting it. service nagios > stop may not cut it, so you should try killall -9 nagios (*after* > running service nagios stop). If that fails, try recompiling from source > I've got only one instance of nagios running, Arrrg I need to compile. If i compile nagios on my own, can i only change only the bin file? (I think about /usr/bin/nagios) > > here's the notification log > > [1118669761] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4908MB/6134MB) (80%) : WARNING > > [1118670061] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > > [1118670362] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING > > [1118670671] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > > [1118670961] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING > > [1118671271] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > > [1118671562] SERVICE NOTIFICATION: > > nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number > > 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING > > > > What can I do? > > > > Selon alan.simon at free.fr: > > > > > >>Hi, > >> > >>I realy need help this is my second post about that subject. > >>nagios 1.2 (dag pakages) on a RedHat EL3. > >> > >> in production! > >> > >>I use escalation for all my services and host alarms, here's an example. > >>(interval_length=60) > >> > >>define serviceescalation{ > >> hostgroup_name router > >> service_description CPU > >> first_notification 0 > >> last_notification 1 > >> notification_interval 10 > >> contact_groups admins > >>} > >>define serviceescalation{ > >> hostgroup_name router > >> service_description CPU > >> first_notification 2 > >> last_notification 2 > >> notification_interval 50 > >> contact_groups sms > >>} > >>define serviceescalation{ > >> hostgroup_name router > >> service_description CPU > >> first_notification 3 > >> last_notification 3 > >> notification_interval 0 > >> contact_groups admins > >>} > >> > >> > >>I stop nagios. > >>I erase status.sav to avoid non status data retention. > >>I start nagios. > >>It's work! > >> ok that's good > >> > >>but after one or more restart, > >>the alarms is generate each 5 minutes! and do not stops at the third one. I > >>do > >>not know where to search. > >> > >>I read the very good documentation of this very good product, I'd try a > lots > >>of > >>things, and made search. is any one can help? > >> > >>Al > >> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > > a projector? How fast can you ride your desk chair down the office luge > track? > > If you want to score the big prize, get to know the little guy. > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fmapconsulting at aol.com Mon Jun 13 16:58:24 2005 From: fmapconsulting at aol.com (Fabiano Martins) Date: Mon, 13 Jun 2005 11:58:24 -0300 Subject: Email notification issue Message-ID: <1f9.ba05d48.2fdef910@aol.com> Hi, My Nagios system is sending notifications, but I'm receiving messages like as follows: "This is the Postfix program at host myhost.mydomain.net. I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix program (expanded from ): mail for localhost.mydomain.net loops back to myself" I don't know why this happen because I've changed the email from default "nagios-admin at localhost" to "myaccount at mydomain.net" Regards Fabiano Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jun 13 17:10:10 2005 From: marc at ena.com (Marc Powell) Date: Mon, 13 Jun 2005 10:10:10 -0500 Subject: Nagios ignoring notification interval with passive checks Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andreas Wassatsch > Sent: Monday, June 13, 2005 8:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios ignoring notification interval with passive > checks > > > Hello list, > > I've setup a passive check which submits its return value every minute > to Nagios. > > The Problem is: When the passive_check submits a critical or warning > result to Nagios every minute, Nagios is ignoring the > notification_interval and sends out a notification every minute. > > Is there a way to get Nagios honoring notification_interval with > passive_checks ? > > Regards, > Andreas > > > Nagios: 2.0b3 > > define service { > use active-service > name passive-service > is_volatile 1 http://nagios.sourceforge.net/docs/2_0/volatileservices.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris at aidworld.org Mon Jun 13 17:15:20 2005 From: chris at aidworld.org (Chris Wilson) Date: Mon, 13 Jun 2005 16:15:20 +0100 Subject: Email notification issue In-Reply-To: <1f9.ba05d48.2fdef910@aol.com> References: <1f9.ba05d48.2fdef910@aol.com> Message-ID: <1118675720.14263.48.camel@localhost> Hi Fabiano, It sounds like your mail program (Postfix) isn't configured properly. Probably one or more of the following is the cause: * Postfix doesn't know how to route mail to myaccount at mydomain.net * you haven't changed the address everywhere in your configuration * you haven't restarted nagios * you have more than one copy of nagios running * you have old emails stuck in your mail queue * another mail server is bouncing your messages back, because the From: address is invalid Probably, reading the postfix documentation will help you. You need to get to the point where you can send mail from the command line, with a command like "echo testing | mail myaccount at mydomain.net" and receive the message OK. Hope this helps, Chris. On Mon, 2005-06-13 at 15:58, Fabiano Martins wrote: > Hi, > > > > My Nagios system is sending notifications, but I?m receiving messages > like as follows: > > > > ?This is the Postfix program at host myhost.mydomain.net. > > > > I'm sorry to have to inform you that your message could not be be > delivered to one or more recipients. It's attached below. > > > > For further assistance, please send mail to > > > > If you do so, please include this problem report. You can delete your > own text from the attached returned message. > > > > The Postfix program > > > > (expanded from > > ): mail for localhost.mydomain.net loops > > back to myself? > > > > I don?t know why this happen because I?ve changed the email from > default ?nagios-admin at localhost? to ?myaccount at mydomain.net? > > > > Regards > > > > Fabiano Martins > > > !DSPAM:42ada08b190081208647968! -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dannie.stanley at ontariosystems.com Mon Jun 13 17:34:15 2005 From: dannie.stanley at ontariosystems.com (Dannie Stanley) Date: Mon, 13 Jun 2005 10:34:15 -0500 Subject: Critical - Warning - Critical Notifications Message-ID: Is it possible to configure Nagios so that I don't get repeat notifications when a host goes from CRIT to WARN and then back to CRIT? It would seem that a non-OK state would generate one notification, or at least that would be a configurable option. If I disable 'w' notifciaitons would that eliminate the second CRIT notification? Thanks, Dannie ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy.Pavleck at capella.edu Mon Jun 13 17:55:00 2005 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy) Date: Mon, 13 Jun 2005 10:55:00 -0500 Subject: Redundancy/Scalability? Message-ID: <0F1A5F3993566D4883C596CB56E59B9A039A780B@mspmail02.int.capella.lan> Greetings, Does anyone happen to if there's a way to run Nagios in a redundant fail-over type of environment? I'm looking for a way to make our implementation more hearty when we finally role it out. Also, is there a document somewhere which lets me know how many servers/check I can run on XXX hardware? Thanks in advance! Jeremy Pavleck Senior Systems Administrator - Systems Management IT Operations Direct Line: 612-977-5881 Toll Free: 1-888-CAPELLA ext. 5881 Fax: 612-977-5053 E-mail: jeremy.pavleck at capella.edu Capella University 225 South 6th Street, 9th Floor Minneapolis, MN 55402 www.capella.edu ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andrew at profitability.net Mon Jun 13 19:17:22 2005 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 13 Jun 2005 13:17:22 -0400 Subject: Redundancy/Scalability? In-Reply-To: <0F1A5F3993566D4883C596CB56E59B9A039A780B@mspmail02.int.capella.lan> References: <0F1A5F3993566D4883C596CB56E59B9A039A780B@mspmail02.int.capella.lan> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Greetings, > > Does anyone happen to if there's a way to run Nagios in a > redundant fail-over type of environment? I'm looking for a > way to make our implementation more hearty when we finally role it > out. http://nagios.sourceforge.net/docs/1_0/redundancy.html > Also, is there a document somewhere which lets me know how > many servers/check I can run on XXX hardware? That would be highly dependent upon the types and frequency of the checks you're making. You might have a look at http://nagios.sourceforge.net/docs/1_0/tuning.html for some tips. Andrew ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmourati at cm.math.uiuc.edu Mon Jun 13 20:07:54 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 13 Jun 2005 13:07:54 -0500 (CDT) Subject: NRPE connection refused after RH OS upgrade In-Reply-To: References: Message-ID: On Mon, 13 Jun 2005, Subhendu Ghosh wrote: > > On Mon, 13 Jun 2005, Richard DeWath wrote: > > > NRPE was working correctly on a host running RH 7.3 > > and openssl was 0.9.7a. After they upgraded from RH > > 7.3 to 9.0, NRPE connections are now refused. I went > > through all the NRPE config and checks and everything > > is there. XINETD appears to be correct, but the NRPE > > failure continues (I stopped and restarted xinted to > > verify it starts correctly). I suspect the openssl is > > the problem. If you have had this problem and know > > what needs to be done, I need to have the person who > > did the official upgrade fix the problem (it is a > > production host) > > > > Richard > > > > check if the nrepd can find all the libs > "ldd ..." > > -- > -sg > And check your firewall settings. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Mon Jun 13 22:49:16 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 13 Jun 2005 16:49:16 -0400 (EDT) Subject: Bug in escalation?? nagios 1.2 In-Reply-To: <1118673765.42ad9b6590834@imp1-q.free.fr> References: <1118654074.42ad4e7aa23c1@imp1-q.free.fr> <1118671884.42ad940c9aeb0@imp1-q.free.fr> <1118673765.42ad9b6590834@imp1-q.free.fr> Message-ID: you have is_volatile enabled. That overrides any intervals setting and sends out notification for every hard non-ok check. -sg On Mon, 13 Jun 2005 alan.simon at free.fr wrote: > thank's for the answer > > and here's a service definition : > > define service{ > name service_slow > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 0 > check_freshness 0 > is_volatile 1 > notifications_enabled 1 > event_handler_enabled 0 > flap_detection_enabled 0 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 2 > notification_interval 10 > notification_period 24x7 > notification_options w,u,r,c > register 0 > } > define service{ > use service_slow > host_name SBEMGTFW > service_description DSK-C > contact_groups admins > check_command snmp_dsk_win!"^C"!80!90 > } > > > > > > > Selon Subhendu Ghosh : > >> >> It might help to have the configuration for the services in addition to >> the service escalation. >> >> -sg >> >> On Mon, 13 Jun 2005 alan.simon at free.fr wrote: >> >>> Hi again, >>> >>> I realy need an answer, i'll give my sister phone number to any one answer >> me ;) >>> >>> here's the notification log >>> [1118669761] SERVICE NOTIFICATION: >>> nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number >>> 98c039c1: 80%used(4908MB/6134MB) (80%) : WARNING >>> [1118670061] SERVICE NOTIFICATION: >>> nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number >>> 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING >>> [1118670362] SERVICE NOTIFICATION: >>> nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number >>> 98c039c1: 80%used(4909MB/6134MB) (80%) : WARNING >>> [1118670671] SERVICE NOTIFICATION: >>> nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number >>> 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING >>> [1118670961] SERVICE NOTIFICATION: >>> nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number >>> 98c039c1: 80%used(4910MB/6134MB) (80%) : WARNING >>> [1118671271] SERVICE NOTIFICATION: >>> nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number >>> 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING >>> [1118671562] SERVICE NOTIFICATION: >>> nagios;SBEMGTFW;DSK-C;WARNING;notify-by-email;C:\ Label: Serial Number >>> 98c039c1: 80%used(4911MB/6134MB) (80%) : WARNING >>> >>> What can I do? >>> >>> Selon alan.simon at free.fr: >>> >>>> >>>> Hi, >>>> >>>> I realy need help this is my second post about that subject. >>>> nagios 1.2 (dag pakages) on a RedHat EL3. >>>> >>>> in production! >>>> >>>> I use escalation for all my services and host alarms, here's an example. >>>> (interval_length=60) >>>> >>>> define serviceescalation{ >>>> hostgroup_name router >>>> service_description CPU >>>> first_notification 0 >>>> last_notification 1 >>>> notification_interval 10 >>>> contact_groups admins >>>> } >>>> define serviceescalation{ >>>> hostgroup_name router >>>> service_description CPU >>>> first_notification 2 >>>> last_notification 2 >>>> notification_interval 50 >>>> contact_groups sms >>>> } >>>> define serviceescalation{ >>>> hostgroup_name router >>>> service_description CPU >>>> first_notification 3 >>>> last_notification 3 >>>> notification_interval 0 >>>> contact_groups admins >>>> } >>>> >>>> >>>> I stop nagios. >>>> I erase status.sav to avoid non status data retention. >>>> I start nagios. >>>> It's work! >>>> ok that's good >>>> >>>> but after one or more restart, >>>> the alarms is generate each 5 minutes! and do not stops at the third one. >> I >>>> do >>>> not know where to search. >>>> >>>> I read the very good documentation of this very good product, I'd try a >> lots >>>> of >>>> things, and made search. is any one can help? >>>> >>>> Al >>>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you >> shotput >>> a projector? How fast can you ride your desk chair down the office luge >> track? >>> If you want to score the big prize, get to know the little guy. >>> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> >> >> -- >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput >> a projector? How fast can you ride your desk chair down the office luge >> track? >> If you want to score the big prize, get to know the little guy. >> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aloclarit at aol.com Mon Jun 13 23:18:47 2005 From: aloclarit at aol.com (aloclarit at aol.com) Date: Mon, 13 Jun 2005 17:18:47 -0400 Subject: bizarre problem with solaris plug-ins and exit code Message-ID: <8C73E749F52EFD1-B94-1274C@MBLK-M39.sysops.aol.com> Guys I have nagios 2.0 monitoring a bunch of linux boxes just fine. Recently I was asked to add a few solaris boxes as well - np or so I thought.... I installed the plugins for solaris ans set everything up. I use ssh with key auth to execute commands remotely. After setting up the key stuff I ran some plugins manually from the nagios box and everything worked fine. HERE is the funky part. I added this new box to the nagios setup and now I observe the following : All the service checks randomly change states between UNKNOWN and OK. I cannot see any logic behind that. Thing is that the actual Status Info says OK for all of the services (which is true cause they ARE OK). I figured there must be a problem with the exitcodes not being returned correctly so I modified one plugin to actually print the exitcode out. When I run this plugin manually it ALWAYS returns a 0 yet nagios seems to receive and UNKNOWN except every now and then it changes to OK only to change back later. Next I wrote a tiny script that ends with this line (exit 0). In other words it should always return a 0. Funny thing is that even then nagios still seems to receive a -1 for some reason I can't figure out. So my questions are: 1. Why does it randomly chagne states ? 2. How can nagios possibly receive a -1 when running the plugin manually always returns a 0 ? 3. How can I check what actual exit code nagios receives ? Anyone (i know this one is waaay bizarre !!) thx ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jun 13 23:21:32 2005 From: marc at ena.com (Marc Powell) Date: Mon, 13 Jun 2005 16:21:32 -0500 Subject: bizarre problem with solaris plug-ins and exit code Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of aloclarit at aol.com > Sent: Monday, June 13, 2005 4:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] bizarre problem with solaris plug-ins and exit > code > > All the service checks randomly change states between UNKNOWN and OK. I > cannot see any logic behind that. The symptoms you're describing imply to me that you might have more than one nagios process running at the same time, one with old service and check command information and one with new. Stop nagios, see if you have any remaining processes running and kill them if you do and restart nagios. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aloclarit at aol.com Tue Jun 14 00:17:41 2005 From: aloclarit at aol.com (aloclarit at aol.com) Date: Mon, 13 Jun 2005 18:17:41 -0400 Subject: bizarre problem with solaris plug-ins and exit code In-Reply-To: References: Message-ID: <8C73E7CD96C077F-B94-12BAB@MBLK-M39.sysops.aol.com> thx Marc but that isn't it. STopped service - checked instances (none) - restarted and problem remains. Any ways what old config should it be reading from ? I never changed them. I set it up once and it started doing that right away. Anyways, i'm gonna try strace - see what I can find. -----Original Message----- From: Marc Powell To: nagios-users at lists.sourceforge.net Sent: Mon, 13 Jun 2005 16:21:32 -0500 Subject: RE: [Nagios-users] bizarre problem with solaris plug-ins and exit code > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of aloclarit at aol.com > Sent: Monday, June 13, 2005 4:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] bizarre problem with solaris plug-ins and exit > code > > All the service checks randomly change states between UNKNOWN and OK. I > cannot see any logic behind that. The symptoms you're describing imply to me that you might have more than one nagios process running at the same time, one with old service and check command information and one with new. Stop nagios, see if you have any remaining processes running and kill them if you do and restart nagios. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at vsi.net Tue Jun 14 01:18:58 2005 From: nagios at vsi.net (nagios at vsi.net) Date: Mon, 13 Jun 2005 16:18:58 -0700 Subject: check_http status reports OK when a 404 error occurs Message-ID: Currently, we have nagios v 2.0b2 with nagios-plugins v 1.4 installed. The check_http command does not return a WARNING/CRITICAL status when a page 404's or has any other error(i.e 500,302, etc). I've ran other versions of nagios on other systems and remember a WARNING/CRITICAL status being returned when anything other than a 200 OK was returned. When ran from the command line HTTP WARNING is returned but when looking at the web interface the status is still OK and under status information I see the same output that i get when ran from the command line, HTTP WARNING. I'm not a programmer but from looking at the source of the check_http command it seems that i should get an HTTP WARNING and the status should change from OK to WARNING. This is not the case in my situation. Maybe I'm missing something here and have this misconfigured so I will post the relevant parts of my configuration her e. Can anyone see what i'm doing wrong? Has anyone had similar issues with the check_http plugin and there resolutions? >From the command line: ./check_http -H xxx.xxx.xxx -I 1.2.3.4 -u /folder/index.html HTTP OK HTTP/1.1 200 OK - 232 bytes in 0.009 seconds |time=0.009245s;;;0.000000 size=232B;;;0 ./check_http -H xxx.xxx.xxx -I 1.2.3.4 -u /folder/index.htmll HTTP WARNING: HTTP/1.1 404 Not Found >From the checkcommands.cfg : # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } # 'check_http_custom' command definition define command{ command_name check_http_custom command_line $USER1$/check_http -H $HOSTADDRESS$ -I 111.222.333.444 -u /folder/index.html } >From the hosts.cfg : define host{ host_name xxx.xxx.xxx alias Client Website address xxx.xxx.xxx parents parent max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups admins } define host{ host_name yyy.yyy.yyy alias Client2 Website address yyy.yyy.yyy parents parent max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups admins } >From the hostgroup.cfg : define hostgroup{ hostgroup_name www_group alias Websites members xxx.xxx.xxx,yyy.yyy.yyy } >From the service.cfg : define service{ use generic-service ; Name of service template to use hostgroup_name www_group service_description HTTP_Custom is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http_custom } ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Tue Jun 14 05:54:56 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 14 Jun 2005 15:54:56 +1200 Subject: 'Disable Host Checks' not working? Message-ID: <016501c57094$d47cb320$01fea8c0@itss.auckland.ac.nz> Hi - I appear to have found something which is not working as expected. As I understand it, if you disable host checks for a host, then it will remain in its current state and no checks will be attempted. However, even with host checks disabled, they are still occuring! See this: Host Status: DOWN (Has been acknowledged) Status Information: (No Information Returned From Host Check) Last Status Check: 14-06-2005 15:47:37 Status Data Age: 0d 0h 0m 40s Last State Change: 14-06-2005 10:22:26 Current State Duration: 0d 5h 25m 51s Last Host Notification: 14-06-2005 10:22:26 Current Notification Number: 1 Is This Host Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 14-06-2005 15:47:56 Host Checks: DISABLED Host Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED The current time is 14-06-05 15:50. As you see, it last ran a host check 3 minutes ago, despire the fact that host checks have been disabled for five hours now. As a side effect of this, the timeout on a ping for the host check is causing the Latency to increase on all the services. System is Linux kernel 2.4.20, running Nagios 1.2. Host check in question is a default check_ping Has anyone come across this before? Is there a reason for the host checks being carried out regardless of the settings? Thanks in advance for any help, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From ae at op5.se Tue Jun 14 10:54:44 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 14 Jun 2005 10:54:44 +0200 Subject: 'Disable Host Checks' not working? In-Reply-To: <016501c57094$d47cb320$01fea8c0@itss.auckland.ac.nz> References: <016501c57094$d47cb320$01fea8c0@itss.auckland.ac.nz> Message-ID: <42AE9B54.8070902@op5.se> Steve Shipway wrote: > Hi - I appear to have found something which is not working as expected. > > As I understand it, if you disable host checks for a host, then it will > remain in its current state and no checks will be attempted. > > However, even with host checks disabled, they are still occuring! See this: > > Host Status: DOWN (Has been acknowledged) > Status Information: (No Information Returned From Host Check) > Last Status Check: 14-06-2005 15:47:37 > Status Data Age: 0d 0h 0m 40s > Last State Change: 14-06-2005 10:22:26 > Current State Duration: 0d 5h 25m 51s > Last Host Notification: 14-06-2005 10:22:26 > Current Notification Number: 1 > Is This Host Flapping? NO > Percent State Change: 0.00% > In Scheduled Downtime? NO > Last Update: 14-06-2005 15:47:56 > > Host Checks: DISABLED > Host Notifications: ENABLED > Event Handler: ENABLED > Flap Detection: ENABLED > > The current time is 14-06-05 15:50. As you see, it last ran a host check 3 > minutes ago, despire the fact that host checks have been disabled for five > hours now. As a side effect of this, the timeout on a ping for the host > check is causing the Latency to increase on all the services. > > System is Linux kernel 2.4.20, running Nagios 1.2. Host check in question > is a default check_ping > > Has anyone come across this before? Is there a reason for the host checks > being carried out regardless of the settings? > Multiple instances of Nagios is the most common reason for configurations not "biting". Do /etc/init.d/nagios stop killall -9 nagios /etc/init.d/nagios start and see if that works. State-retention is another reason that's a fairly common culprit. If the gui tells you host-checks are enabled, that means it has been given a command to enable them sometime in the past and nagios remembers it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris at aidworld.org Tue Jun 14 11:50:41 2005 From: chris at aidworld.org (Chris Wilson) Date: Tue, 14 Jun 2005 10:50:41 +0100 Subject: Email notification issue In-Reply-To: <143.46e53f25.2fdf9db1@aol.com> References: <143.46e53f25.2fdf9db1@aol.com> Message-ID: <1118742641.23386.3.camel@localhost> Hi Fabiano, Please reply to the list rather than to me personally. > It's too strange... because the email system that I'm using, is the same as > my company uses... And It works perfectly. I can send and receive emails to > anywhere. "Email system"? Nagios is trying to send mail using the Postfix program on the machine where it's installed, not any other "system". That machine needs to know how to deliver email to your "email system". And apparently it doesn't. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ludo.Bosmans at aureusim.be Tue Jun 14 12:00:21 2005 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Tue, 14 Jun 2005 12:00:21 +0200 Subject: 'Disable Host Checks' not working? Message-ID: <02769B432700E649B14C0847840DC83B282D86@becompanysrv020.consulting.becompany> Hi Steve, I did some additional tests on Nagios version 1.2 with following results: When a host check is disabled for a specific host, services for that host are still scheduled unless they are also disabled. A status change of a service for that host is not forcing a host check. This result in avoiding a possible ( tremendous ) latency increase since the host check is not executing anymore and is not interrupting service scheduling. Of course there is still an impact on global service scheduling, since service checks for that host will time out and when the maximum of concurrent checks is reached, checks are delayed, still increasing latency. When the host check is enabled, the host check seems to be executed, only up-on a service state change. Further I have no explanations for your results, unless multiple instances of nagios are running and this is also causing additional effects. Kind regards, ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: dinsdag 14 juni 2005 5:55 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 'Disable Host Checks' not working? Hi - I appear to have found something which is not working as expected. As I understand it, if you disable host checks for a host, then it will remain in its current state and no checks will be attempted. However, even with host checks disabled, they are still occuring! See this: Host Status: DOWN (Has been acknowledged) Status Information: (No Information Returned From Host Check) Last Status Check: 14-06-2005 15:47:37 Status Data Age: 0d 0h 0m 40s Last State Change: 14-06-2005 10:22:26 Current State Duration: 0d 5h 25m 51s Last Host Notification: 14-06-2005 10:22:26 Current Notification Number: 1 Is This Host Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 14-06-2005 15:47:56 Host Checks: DISABLED Host Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED The current time is 14-06-05 15:50. As you see, it last ran a host check 3 minutes ago, despire the fact that host checks have been disabled for five hours now. As a side effect of this, the timeout on a ping for the host check is causing the Latency to increase on all the services. System is Linux kernel 2.4.20, running Nagios 1.2. Host check in question is a default check_ping Has anyone come across this before? Is there a reason for the host checks being carried out regardless of the settings? Thanks in advance for any help, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jstevensog at gmail.com Tue Jun 14 13:23:30 2005 From: jstevensog at gmail.com (John Stevens) Date: Tue, 14 Jun 2005 21:23:30 +1000 Subject: Problems with check_http appearing to time out In-Reply-To: <42A74657.5070909@jolt.co.uk> References: <42A599DC.3090804@jolt.co.uk> <42A73E46.2060400@jolt.co.uk> <42A74657.5070909@jolt.co.uk> Message-ID: I am using SELinux targeted policy. Under it I could not get nagios user to even do a normal ping to a box. I added a user policy for nagios to be uncontained. That allowed nagios user to ping and run the checks from a command line, but nagios daemon still cannot. I tried disabling SELinux, but the problem remained. Any other pointers are most welcome. I take it that both James and I still have no solution to this as I have seen no further correspondnce on the matter. I really would like to figure this one out, as nagios is currently pretty useless in this state. Thanks On 6/9/05, James Davis wrote: > Subhendu Ghosh wrote: > > > This is symptomatic of SELinux configuration. > > You may want to define a SELinux targeted policy for nagios daemon or > > run SELinux in permissive mode. > > I'm not using SELinux. > > James > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fmapconsulting at aol.com Tue Jun 14 13:52:45 2005 From: fmapconsulting at aol.com (Fabiano Martins) Date: Tue, 14 Jun 2005 08:52:45 -0300 Subject: Email notification issue In-Reply-To: <1118742641.23386.3.camel@localhost> References: <1118742641.23386.3.camel@localhost> Message-ID: <85.2992eb50.2fe01f07@aol.com> That's what I told.... I have a MTA running perfectly in nagios host. I can send emails to wherever. I receive the notifications. The problem is the strange messages coming. I receive either normal notifications or email with error, and the error message comes with nagios notification attached... By the way Thanks... Fabiano Martins -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chris Wilson Sent: ter?a-feira, 14 de junho de 2005 06:51 To: Fabiano Martins Cc: Nagios Users Subject: RE: [Nagios-users] Email notification issue Hi Fabiano, Please reply to the list rather than to me personally. > It's too strange... because the email system that I'm using, is the same as > my company uses... And It works perfectly. I can send and receive emails to > anywhere. "Email system"? Nagios is trying to send mail using the Postfix program on the machine where it's installed, not any other "system". That machine needs to know how to deliver email to your "email system". And apparently it doesn't. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ Nagios-users mailing list Nagios-users at 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 From RAFULMH at usmc-mccs.org Tue Jun 14 15:22:22 2005 From: RAFULMH at usmc-mccs.org (Raful Mr Mitchell H) Date: Tue, 14 Jun 2005 09:22:22 -0400 Subject: Ping timeouts Message-ID: <4BEB8E9952EF544284F706EAD70820B303FF0414@hqex2ksvr01.windows.usmc-mccs.org> Is there anyway to extend the 500ms maximum for ping timeouts in either nagios 1.x or 2.x. I have satellite backup connections and the delay is definitely above that for some locations. Thanks, Mitch Mitch Raful MCSE, CCNP -------------- next part -------------- An HTML attachment was scrubbed... URL: From aivaturi2 at unlnotes.unl.edu Tue Jun 14 15:35:30 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Tue, 14 Jun 2005 08:35:30 -0500 Subject: cgi with apache 2.0 Message-ID: This is strange but has any one else experienced problems setting up the cgi permissions with apache 2.0? For some reason I keep getting the generic "Premature end of script" errors while accessing the cgi files. I tried to execute them on command line and they work fine and the same setup with apache v1.3 works without a hitch. Any ideas what might be wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tringer at mpr.org Tue Jun 14 15:42:56 2005 From: tringer at mpr.org (Torleiv Ringer) Date: Tue, 14 Jun 2005 08:42:56 -0500 Subject: Ping timeouts In-Reply-To: <4BEB8E9952EF544284F706EAD70820B303FF0414@hqex2ksvr01.windows.usmc-mccs.org> References: <4BEB8E9952EF544284F706EAD70820B303FF0414@hqex2ksvr01.windows.usmc-mccs.org> Message-ID: <1118756576.25154.19.camel@unwise.mpr.org> On Tue, 2005-06-14 at 09:22 -0400, Raful Mr Mitchell H wrote: > Is there anyway to extend the 500ms maximum for ping timeouts in > either nagios 1.x or 2.x. I have satellite backup connections and the > delay is definitely above that for some locations. For your check_command on your hosts you can make your own ping command in checkcommands.cfg. I use something like this: # 'check_wan_alive' command definition define command{ command_name check_wan_alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 10000.0,100% -p 5 -t 30 } This has a 30 second timeout, a 3000ms until warning with 80% packet loss and a 10000ms latency and 100% packet loss before critical. Works for almost all of my connections (SatIP, Frame, DSL). -- Torleiv Ringer Broadcast Systems Administrator Minnesota Public Radio http://www.mpr.org ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rick.vandermieden at orangemail.nl Tue Jun 14 15:57:04 2005 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Tue, 14 Jun 2005 15:57:04 +0200 Subject: cgi with apache 2.0 Message-ID: <88001FC5C453764CA6597FB29874249402F4311B@svex03> I had the same issue, but was not related to the apache version but to a compilation error. Check the size of your cgi files and nagios binaries in your install di (/usr/local/nagios/bin or share or whatever) and the size of those files in your /source dir/base and /source dir/cgi for the cgi files. I had different sizes and copied the files manually to /usr/local/nagios/share for the cgi files. If it's not that problem...... I hope anyone else can help you out here. Regards, Rick -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Aditya Ivaturi Sent: Tuesday, June 14, 2005 15:36 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] cgi with apache 2.0 This is strange but has any one else experienced problems setting up the cgi permissions with apache 2.0? For some reason I keep getting the generic "Premature end of script" errors while accessing the cgi files. I tried to execute them on command line and they work fine and the same setup with apache v1.3 works without a hitch. Any ideas what might be wrong? =========================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email. The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email. =========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Jun 14 16:04:06 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 14 Jun 2005 10:04:06 -0400 (EDT) Subject: Ping timeouts In-Reply-To: <4BEB8E9952EF544284F706EAD70820B303FF0414@hqex2ksvr01.windows.usmc-mccs.org> References: <4BEB8E9952EF544284F706EAD70820B303FF0414@hqex2ksvr01.windows.usmc-mccs.org> Message-ID: check_ping/check_fping/check_icmp do not have a inherent timeout built-in. modify your check_command for the appropriate timeout values. -sg On Tue, 14 Jun 2005, Raful Mr Mitchell H wrote: > Is there anyway to extend the 500ms maximum for ping timeouts in either > nagios 1.x or 2.x. I have satellite backup connections and the delay is > definitely above that for some locations. > > Thanks, > > Mitch > > Mitch Raful MCSE, CCNP > > > -- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nuffers at tsainc.com Tue Jun 14 16:17:34 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Tue, 14 Jun 2005 09:17:34 -0500 Subject: Lotus Notes Plugin In-Reply-To: <20050614031552.CEB3589020@sc8-sf-spam1.sourceforge.net> References: <20050614031552.CEB3589020@sc8-sf-spam1.sourceforge.net> Message-ID: Every once in a while the email queue for our corporate email starts to stack up in Lotus Notes (internet connectivity problems,etc). Does anyone have a plugin or suggestion on determining the number of messages queued? Thanks again, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From aivaturi2 at unlnotes.unl.edu Tue Jun 14 16:23:57 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Tue, 14 Jun 2005 09:23:57 -0500 Subject: cgi with apache 2.0 In-Reply-To: <88001FC5C453764CA6597FB29874249402F4311B@svex03> References: <88001FC5C453764CA6597FB29874249402F4311B@svex03> Message-ID: Sorry for dupe, but for the life of me I cannot figure out Lotus Notes... > I had th same issue, but was not related to the apache version but > to a compilation error. Check the size of your cgi files and nagios > binaries in your install di (/usr/local/nagios/bin or share or > whatever) and the size of those files in your /source dir/base and > /source dir/cgi for the cgi files. I had different sizes and copied > the files manually to /usr/local/nagios/share for the cgi files. First of all, that is correct. The file sizes are indeed different. But I don't see why that is a compilation error? I mean the cgi were compiled fine in the first place. So I don't quite understand why the sizes are different when they are copied over. Are they somehow compressed during the install phase? > > If it?s not that problem?? I hope anyone else can help you out here. > Apparently that didn't fix it either, but now I am getting a new error - "Permission denied". Any idea what the permissions should be and who should own it. I think it is owned by nagios and 755 permission should suffice? > Regards, > > Rick > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Aditya Ivaturi > Sent: Tuesday, June 14, 2005 15:36 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cgi with apache 2.0 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjl at topdanmark.dk Tue Jun 14 16:27:02 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 14 Jun 2005 16:27:02 +0200 Subject: Vedr.: Lotus Notes Plugin Message-ID: Hello That is very easy - you just use SNMP to ask the Domino Server + write a small plugin script to handle the data and tell nagios what to inform about. I could send you my script. Best regards Thomas |---------+----------------------------------------> | | nuffers at tsainc.com | | | Sendt af: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 14-06-2005 16:17 | | | | |---------+----------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | Til: nagios-users at lists.sourceforge.net | | cc: | | Vedr.: [Nagios-users] Lotus Notes Plugin | >--------------------------------------------------------------------------------------------------------------| Every once in a while the email queue for our corporate email starts to stack up in Lotus Notes (internet connectivity problems,etc). Does anyone have a plugin or suggestion on determining the number of messages queued? Thanks again, Steve ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tjl at topdanmark.dk Tue Jun 14 17:30:15 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 14 Jun 2005 17:30:15 +0200 Subject: Lotus Notes Plugin >> CHECK_VIA_SNMP Message-ID: Dear List, There is no Domino/Notes plugin to Nagios - BUT there is a hole lot off SNMP values you can ask for. 1. First enable SNMP for your OS (win2000) and then for the DOMINO server (LNSNMP). 2. Run these check_snmp in your /usr/local/nagios/libexec/ or where ever it installed. 3. Remember that I have my Nagios system install on a Redhat 7.2 so the I use an old NET-SNMP version Not SNMP v.3 or 5... Checkcommand Example1. ## Dead mails in the mail.box (works also if you have mail1.box + mail2.box) ## ./check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails Checkcommand Example2. ## Waiting mails in the mail.box (works also if you have mail1.box + mail2.box) ## ./check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails ## In the service.cfg you must enter a service definition:## # Service definition define service{ use generic-service ; Name of service template to use host_name YOUR_SERVER_NAME service_description MAILDEAD is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups notes-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_maildead } # Service definition define service{ use generic-service ; Name of service template to use host_name YOUR_SERVER_NAME service_description MAILWAITING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups notes-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_mailwaiting } ## In the checkcommands.cfg you must enter a command definition:## # 'check_snmp_maildead' command definition define command{ command_name check_snmp_maildead command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails } # 'check_snmp_mailwaiting' command definition define command{ command_name check_snmp_mailwaiting command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails } ### REAL LIFE TESTING ### You can test your command check on the command shell/terminal in /usr/local/nagios/libexec/ Run ./check_snmp first to see what happens - then enter: ./check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails then ./check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails Best regards Thomas Jens Lauritsen ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 From frank.bourdeau at dga.defense.gouv.fr Tue Jun 14 17:24:14 2005 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Tue, 14 Jun 2005 17:24:14 +0200 Subject: =?ISO-8859-1?Q?R=E9f=2E_=3A_Vedr=2E=3A_[Nagios-users]_Lotus_Notes_Plugin?= Message-ID: <200506141526.j5EFQ6Vt008643@mailb.dga.defense.gouv.fr> An HTML attachment was scrubbed... URL: From nuffers at tsainc.com Tue Jun 14 17:47:26 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Tue, 14 Jun 2005 10:47:26 -0500 Subject: Availability Report Message-ID: I am examining the availability reports and have found some strange statistics in Nagios 2.0B2 I performed a test and have these results from a host for a 24 hour period. The only time that the server was down yesterday was during the scheduled reboot. Scheduled downtime: 20:55 - 22:00 Reboot of Host: ~14 minutes @ 21:19 First assumed host state: Host UP Report Period: Yesterday Availability Report: UP: 23h 44m 28s 98.921% DOWN Scheduled 0d 0h 8m 43s 0.605% Un-Scheduled 0d 0h 6m 49s 1.079% The host log entries shows: ( Host UP Rest of the time) 06-09-2005 20:55:00 06-09-2005 21:19:37 0d 0h 24m 37s HOST DOWNTIME START Start of scheduled downtime 06-09-2005 21:19:37 06-09-2005 21:32:38 0d 0h 13m 1s HOST DOWN (HARD) CRITICAL - X.X.X.X: Host unreachable @ X.X.X.X. rta nan, lost 100% 06-09-2005 21:32:38 06-09-2005 22:00:00 0d 0h 27m 22s HOST UP (HARD) OK - X.X.X.X: rta 0.288ms, lost 0% 06-09-2005 22:00:00 06-10-2005 00:00:00 0d 2h 0m 0s HOST DOWNTIME END End of scheduled downtime ( Host UP Rest of the time) Why is there any unscheduled downtime since the downtime was within the scheduled downtime? I have perused the Nagios web site and "googled". When I examine services. there duplicating the same thing with scheduled outages. What am I missing? Steve Nagios 2.02b Fedore Core3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ml at winfix.IT Tue Jun 14 18:04:26 2005 From: ml at winfix.IT (Jo) Date: Tue, 14 Jun 2005 18:04:26 +0200 Subject: =?UTF-8?B?UsOpZi4gOiBWZWRyLjogW05hZ2lvcy11c2Vy?= =?UTF-8?B?c10gTG90dXMgTm90ZXMgUGx1Z2lu?= In-Reply-To: <200506141526.j5EFQ6Vt008643@mailb.dga.defense.gouv.fr> References: <200506141526.j5EFQ6Vt008643@mailb.dga.defense.gouv.fr> Message-ID: <42AF000A.1080000@winfix.IT> frank.bourdeau at dga.defense.gouv.fr wrote: > Hello > > I'm interested for your Lotus Notes plugin. Can you send me your > plugin, please ? > > Best regards > > Frank > > frank.bourdeau at dga.defense.gouv.fr > > > > *Thomas Jens Lauritsen * > Envoy? par : nagios-users-admin at lists.sourceforge.net > 14/06/2005 16:27 ZE2 > > Pour : nagios-users at lists.sourceforge.net > cc : > ccc : > Objet : Vedr.: [Nagios-users] Lotus Notes Plugin > > > Hello > > That is very easy - you just use SNMP to ask the Domino Server + write a > small > plugin script to handle the data and tell nagios what to inform about. > > I could send you my script. > I would also be interested in testing your script. Jo ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ricmoe at gmail.com Tue Jun 14 18:18:07 2005 From: ricmoe at gmail.com (Ric Moseley) Date: Tue, 14 Jun 2005 11:18:07 -0500 Subject: startup help Message-ID: <1fa07a8050614091824118736@mail.gmail.com> I am tring to start up version 2.0b3 on Redhat ES4 and I get the folowing error. Any ideas? [utility01:/] /etc/init.d/nagios start Starting network monitor: nagios This account is currently not available. [utility01:/] Thanks. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jun 14 18:22:31 2005 From: marc at ena.com (Marc Powell) Date: Tue, 14 Jun 2005 11:22:31 -0500 Subject: startup help Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ric Moseley > Sent: Tuesday, June 14, 2005 11:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] startup help > > I am tring to start up version 2.0b3 on Redhat ES4 and I get the > folowing error. Any ideas? > > [utility01:/] /etc/init.d/nagios start > Starting network monitor: nagios > This account is currently not available. > [utility01:/] Mmmmm. Goooooooogle.... https://www.redhat.com/archives/redhat-list/2003-April/msg00776.html Does the user account for nagios exist? Does it have a valid shell? -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Tue Jun 14 18:48:47 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Tue, 14 Jun 2005 11:48:47 -0500 Subject: cgi with apache 2.0 In-Reply-To: References: Message-ID: > > Sorry for dupe, but for the life of me I cannot figure out Lotus Notes... > > > I had th same issue, but was not related to the apache version but > > to a compilation error. Check the size of your cgi files and nagios > > binaries in your install di (/usr/local/nagios/bin or share or > > whatever) and the size of those files in your /source dir/base and > > /source dir/cgi for the cgi files. I had different sizes and copied > > the files manually to /usr/local/nagios/share for the cgi files. > > First of all, that is correct. The file sizes are indeed different. > But I don't see why that is a compilation error? I mean the cgi were > compiled fine in the first place. > So I don't quite understand why the sizes are different when they > are copied over. Are they somehow compressed during the install phase? > > > > > If it?s not that problem?? I hope anyone else can help you out here. > > > > Apparently that didn't fix it either, but now I am getting a new > error - "Permission denied". Any idea what the permissions > should be and who should own it. I think it is owned by nagios and > 755 permission should suffice? Well guess what this has nothing to do with Nagios. If you are running the latest versions of RH and/or you have SELinux enabled or installed. You should look at this http://www.siliconvalleyccie.com/linux-hn/apachebasic.htm. Look under the "Security Contexts For Web Pages" section and you will find your answers there. --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagiosadmin at snef.fr Tue Jun 14 19:16:06 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Tue, 14 Jun 2005 17:16:06 +0000 (UTC) Subject: =?iso-8859-1?B?UulmLiA6IFtOYWdpb3MtdXNlcnNdIExvdHVzIE5vdGVzIFBsdWdpbiA+PiBDSEVDS19WSUFfU05N?= =?iso-8859-1?B?UA==?= References: Message-ID: <42AF10B2.000004.03192@GAUSSEN> Hi, Do you how where can I download the Mib for the OID ?1.3.6.1.4.1.334.72.1.1 4 ? Thanks -------Message original------- De : Thomas Jens Lauritsen Date : 06/14/05 17:40:19 A : nagios-users at lists.sourceforge.net Sujet : [Nagios-users] Lotus Notes Plugin >> CHECK_VIA_SNMP Dear List, There is no Domino/Notes plugin to Nagios - BUT there is a hole lot off SNMP values you can ask for. 1. First enable SNMP for your OS (win2000) and then for the DOMINO server (LNSNMP). 2. Run these check_snmp in your /usr/local/nagios/libexec/ or where ever it installed. 3. Remember that I have my Nagios system install on a Redhat 7.2 so the I use an old NET-SNMP version Not SNMP v.3 or 5... Checkcommand Example1. ## Dead mails in the mail.box (works also if you have mail1.box + mail2.box) ## ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails Checkcommand Example2. ## Waiting mails in the mail.box (works also if you have mail1.box + mail2.box) ## ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails ## In the service.cfg you must enter a service definition:## # Service definition define service{ use generic-service ; Name of service template to use host_name YOUR_SERVER_NAME service_description MAILDEAD is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups notes-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_maildead } # Service definition define service{ use generic-service ; Name of service template to use host_name YOUR_SERVER_NAME service_description MAILWAITING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups notes-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_mailwaiting } ## In the checkcommands.cfg you must enter a command definition:## # 'check_snmp_maildead' command definition define command{ command_name check_snmp_maildead command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails } # 'check_snmp_mailwaiting' command definition define command{ command_name check_snmp_mailwaiting command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails } ### REAL LIFE TESTING ### You can test your command check on the command shell/terminal in /usr/local/nagios/libexec/ Run ./check_snmp first to see what happens - then enter: ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails then ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails Best regards Thomas Jens Lauritsen ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMSTP.gif Type: image/gif Size: 9428 bytes Desc: not available URL: From ae at op5.se Tue Jun 14 19:24:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 14 Jun 2005 19:24:09 +0200 Subject: =?ISO-8859-1?Q?R=E9f=2E_=3A_=5BNagios-use?= =?ISO-8859-1?Q?rs=5D_Lotus_Notes_Plugin_=3E=3E_CHECK=5FVIA=5FS?= =?ISO-8859-1?Q?NMP?= In-Reply-To: <42AF10B2.000004.03192@GAUSSEN> References: <42AF10B2.000004.03192@GAUSSEN> Message-ID: <42AF12B9.5080907@op5.se> Davy Gaussen wrote: > Hi, > > Do you how where can I download the Mib for the OID ?1.3.6.1.4.1.334.72.1.1 > 4 ? > mibdepot. > Thanks > > -------Message original------- > > De : Thomas Jens Lauritsen > Date : 06/14/05 17:40:19 > A : nagios-users at lists.sourceforge.net > Sujet : [Nagios-users] Lotus Notes Plugin >> CHECK_VIA_SNMP > > Dear List, > > > There is no Domino/Notes plugin to Nagios - BUT there is a hole lot off > SNMP values you can ask for. > > 1. First enable SNMP for your OS (win2000) and then for the DOMINO server > (LNSNMP). > > 2. Run these check_snmp in your /usr/local/nagios/libexec/ or where ever > it installed. > > 3. Remember that I have my Nagios system install on a Redhat 7.2 so the I > use an old NET-SNMP version Not SNMP v.3 or 5... > > > Checkcommand Example1. > > ## Dead mails in the mail.box (works also if you have mail1.box + > mail2.box) ## > ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 > -w 25:1 -c 1000:26 -l DeadMails > > > Checkcommand Example2. > > ## Waiting mails in the mail.box (works also if you have mail1.box + > mail2.box) ## > ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 > -w 30:15 -c 1000:31 -l WaitingMails > > > > ## In the service.cfg you must enter a service definition:## > > # Service definition > define service{ > use generic-service ; > Name of service template to use > host_name YOUR_SERVER_NAME > service_description MAILDEAD > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups notes-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_snmp_maildead > } > > > # Service definition > define service{ > use generic-service ; > Name of service template to use > host_name YOUR_SERVER_NAME > service_description MAILWAITING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 > contact_groups notes-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_snmp_mailwaiting > } > > > > ## In the checkcommands.cfg you must enter a command definition:## > > # 'check_snmp_maildead' command definition > define command{ > command_name check_snmp_maildead > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C > public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails > } > > > > # 'check_snmp_mailwaiting' command definition > define command{ > command_name check_snmp_mailwaiting > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ -C > public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -w 30:15 -c 1000:31 -l WaitingMails > } > > > > ### REAL LIFE TESTING ### > > You can test your command check on the command shell/terminal in > /usr/local/nagios/libexec/ > > Run ./check_snmp first to see what happens - then enter: > > ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 > -w 25:1 -c 1000:26 -l DeadMails > > then > > ../check_snmp -H YOUR_DOM_SERVER -C public -o .1.3.6.1.4.1.334.72.1.1.4.6.0 > -w 30:15 -c 1000:31 -l WaitingMails > > > Best regards > > Thomas Jens Lauritsen > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From BConrad at passkey.com Tue Jun 14 19:24:24 2005 From: BConrad at passkey.com (Ben Conrad) Date: Tue, 14 Jun 2005 13:24:24 -0400 Subject: Duplicate entries in Hostgroup GUI and objects .cache Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3CFC@eagle.passkey.com> This reply is mainly for the online archives.... Yes! That was it, I had a hostgroup with the host as a member as well as having the host be a member of the same host group. I've removed any hostgroup entries on my host defintions and things are looking much better. Thanks, Ben -----Original Message----- From: Arno Lehmann [mailto:al at its-lehmann.de] Sent: Wednesday, May 18, 2005 2:54 PM To: Ben Conrad Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Duplicate entries in Hostgroup GUI and objects.cache Hi, have you done the host-to-hostgroup mapping in the host definition, too? My 2 Euro-cents. Arno Ben Conrad wrote: > Hi Folks, > > v 2.0b3 > > I'm having issues with duplicate host entries in my "Hostgroup Overview", > "Hostgroup Summary" and "Hostgroup Grid" GUI screens. When I look at a > hostgroup that has a dup entrie I see: > > hostgroups.cfg: > define hostgroup { > hostgroup_name corp-unix > alias Unix hosts > members > ServerA.passkey.com,ServerB.passkey.com,ServerC.passkey.com > } > > When I look in the object cache I see duplicate entries. > > ./var/objects.cache: > define hostgroup { > hostgroup_name corp-unix > alias Unix hosts > members > ServerA.passkey.com,ServerB.passkey.com,ServerC.passkey.com,ServerA.passkey. > com, > ServerB.passkey.com,Serverc.passkey.com > } > > > I've tried stopping nagios, checking for stopped nagios process and moving > the objects.cache file but I still get duplicate entries in the hostgroups* > sections. > > I just recently added another host and it's not duplicated: > > [root at pkmon1 nagios]# grep -i blacksabbath * > hostgroups.cfg: members Blacksabbath > > >>>objects.cache > > define hostgroup { > hostgroup_name nss-staging > alias test group > members Blacksabbath > } > > Does anybody know what is up? > > > Ben > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rshroff at rhythmnetworks.com Tue Jun 14 19:42:32 2005 From: rshroff at rhythmnetworks.com (Rajat Shroff) Date: Tue, 14 Jun 2005 10:42:32 -0700 Subject: Newbie question Message-ID: Hi: I installed Nagios using the Linux RPM for EL4. Followed all the instructions to setup apache and get basic auth configured. When I go to the web UI and authenticate - I get an internal server error. The apache log file says the following: [Tue Jun 14 10:21:16 2005] [error] [client 192.168.1.115] (13)Permission denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed, referer: http://192.168.1.107:8888/nagios/side.html [Tue Jun 14 10:21:16 2005] [error] [client 192.168.1.115] Premature end of script headers: status.cgi, referer: http://192.168.1.107:8888/nagios/side.html Just wondering if I need to change the ownership of the cgi files in anyway. I have httpd running as root and the cgi scripts are owned by root and part of the root group. Thanks in advance for the help. Thanks, Rajat -------------- next part -------------- An HTML attachment was scrubbed... URL: From aivaturi2 at unlnotes.unl.edu Tue Jun 14 20:03:14 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Tue, 14 Jun 2005 13:03:14 -0500 Subject: Newbie question In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net wrote on 06/14/2005 12:42:32 PM: > Hi: > > I installed Nagios using the Linux RPM for EL4. > > Followed all the instructions to setup apache and get basic auth > configured. When I go to the web UI and authenticate ? I get an > internal server error. The apache log file says the following: > > [Tue Jun 14 10:21:16 2005] [error] [client 192.168.1.115] (13) > Permission denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed, referer: > http://192.168.1.107:8888/nagios/side.html > [Tue Jun 14 10:21:16 2005] [error] [client 192.168.1.115] Premature > end of script headers: status.cgi, referer: http://192.168.1.107: > 8888/nagios/side.html > > Just wondering if I need to change the ownership of the cgi files in > anyway. I have httpd running as root and the cgi scripts are owned > by root and part of the root group. > http://www.siliconvalleyccie.com/linux-hn/apachebasic.htm. Read that. --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From spatuality at yahoo.ca Tue Jun 14 20:14:48 2005 From: spatuality at yahoo.ca (Brian) Date: Tue, 14 Jun 2005 14:14:48 -0400 (EDT) Subject: InnoDB free space check Message-ID: <20050614181449.35208.qmail@web31801.mail.mud.yahoo.com> Hello list, Is there a plugin to check the free space available in an MySQL InnoDB database? I have searched the archives of all the official Nagios mailing lists, and Google but there does not appear to be any such project that I can find. Brian __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matthias at waltsgott.de Tue Jun 14 21:09:53 2005 From: matthias at waltsgott.de (Matthias Waltsgott) Date: Tue, 14 Jun 2005 21:09:53 +0200 Subject: Problem with scheduling of 5000 checks Message-ID: <200506141909.j5EJ9g5w010009@l3-7.domainxyz.de> Hi all, to be sure if nagios2 can handle a larger number of checks too, I did some tests with sample configurations of 3000 and 5000 services with 1 service per host, so also 3000 and 5000 hosts, host checks disabled. Everything worked fine with the 3000-services-config. But when I used 5000 services then some strange things happened. First all the checks were pending and nagios scheduled all in the queue correctly. After the first check was performed nagios marked the check with Status OK and scheduled it again with normal check interval (in this case 20 min.). These services were never checked again, which means, after checking all services the first time nagios stopped checking any services, since all lines in the scheduling queue had a next checktime which is in the past. And they never get rescheduled until a restart or reload of nagios. It seems as if nagios simply forget to check these services. No error messages in the event or sys log, load < 1, preflight check of the nagios without any errors. I used Nagios-2b03, the same situation with Nagios-1.1. Any idea ? It seems that this behavior only happens if a certain number of services are reached. Is there any kind of limit for services or something like this? It would be great if you could help me, since I want to use nagios in a larger environment, but with this situation I can't. Thanks in advance. Regards from Germany, Matthias Waltsgott ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Joseph.Petrucci at ddiworld.com Tue Jun 14 21:29:54 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Tue, 14 Jun 2005 15:29:54 -0400 Subject: Problem with scheduling of 5000 checks Message-ID: I do not have 5000 hosts, but I have over 5000 services being checked and have not run into this problem. Here is what is different in my scenerio I have 750 hosts with between 1 and 30 services being checked (6123 services) none of my active checks wait more than 5 minutes. All host checks are turned on. My passive checks update every 5 minutes. So is your problem related to the number of hosts? can you try 2500 hosts with 5000 services and see if you get the same problem? I will try this on my dev system and see what happens. Also for a large environment have you looked into a Distributed Nagios environment? >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Matthias >Waltsgott >Sent: Tuesday, June 14, 2005 3:10 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Problem with scheduling of 5000 checks > > >Hi all, > >to be sure if nagios2 can handle a larger number of checks >too, I did some >tests with sample configurations of 3000 and 5000 services >with 1 service >per host, so also 3000 and 5000 hosts, host checks disabled. > >Everything worked fine with the 3000-services-config. But when >I used 5000 >services then some strange things happened. First all the checks were >pending and nagios scheduled all in the queue correctly. >After the first check was performed nagios marked the check >with Status OK >and scheduled it again with normal check interval (in this >case 20 min.). >These services were never checked again, which means, after >checking all >services the first time nagios stopped checking any services, since all >lines in the scheduling queue had a next checktime which is in >the past. And >they never get rescheduled until a restart or reload of nagios. > >It seems as if nagios simply forget to check these services. No error >messages in the event or sys log, load < 1, preflight check of >the nagios >without any errors. I used Nagios-2b03, the same situation >with Nagios-1.1. > >Any idea ? It seems that this behavior only happens if a >certain number of >services are reached. Is there any kind of limit for services >or something >like this? > >It would be great if you could help me, since I want to use nagios in a >larger environment, but with this situation I can't. > >Thanks in advance. > >Regards from Germany, >Matthias Waltsgott > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cameron.matheson at gmail.com Tue Jun 14 22:50:55 2005 From: cameron.matheson at gmail.com (Cam) Date: Tue, 14 Jun 2005 14:50:55 -0600 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <7e2f9af9050614135062680835@mail.gmail.com> Hi, I'm trying to setup nagios on my network here, but i've run into some problems. Right now nagios is configured in about the most simple way possible (i'm just testing one machine til i can get this one all running). running 'nagios -v nagios.cfg' passes w/ no errors. i've edited the cgi stuff like it says to in the docs (actually, the debian packages added a nagios file for me for apache, so i just generated the password for nagiosadmin, and then made the .htaccess file in /usr/lib/cgi-bin/nagios. Anyway, when i go to http://localhost/nagios, it pops up and asks me for my password, so i put it in and it works fine. I can look at many of the pages (Tactical Overview, Outages, etc. But anything that is coming off of status.cgi doesn't work (the page shows: "It appears as though you do not have permission to view information for any of the hosts you requested..."). I'm logged in as nagiosadmin, i've given him pretty much every permission possible in /etc/nagios/nagios.cfg. Any ideas? Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Tue Jun 14 23:30:59 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Tue, 14 Jun 2005 14:30:59 -0700 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE76@XCH-SW-42.sw.nos.boeing.com> You didn't mention whether you granted desired access levels in your $NAGIOS/etc/cgi.cfg Check your authorized_for* lines. -Jim ________________________________ From: Cam [mailto:cameron.matheson at gmail.com] Sent: Tue 6/14/2005 1:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... Hi, I'm trying to setup nagios on my network here, but i've run into some problems. Right now nagios is configured in about the most simple way possible (i'm just testing one machine til i can get this one all running). running 'nagios -v nagios.cfg' passes w/ no errors. i've edited the cgi stuff like it says to in the docs (actually, the debian packages added a nagios file for me for apache, so i just generated the password for nagiosadmin, and then made the .htaccess file in /usr/lib/cgi-bin/nagios. Anyway, when i go to http://localhost/nagios, it pops up and asks me for my password, so i put it in and it works fine. I can look at many of the pages (Tactical Overview, Outages, etc. But anything that is coming off of status.cgi doesn't work (the page shows: "It appears as though you do not have permission to view information for any of the hosts you requested..."). I'm logged in as nagiosadmin, i've given him pretty much every permission possible in /etc/nagios/nagios.cfg. Any ideas? Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bclark at bwkip.com Tue Jun 14 23:35:11 2005 From: bclark at bwkip.com (bclark at bwkip.com) Date: Tue, 14 Jun 2005 17:35:11 -0400 (EDT) Subject: Not sure why this is doing what it is doing? Message-ID: <3420.12.32.218.253.1118784911.squirrel@webmail.bwkip.com> I have 15 hosts and 24 services being checked. I set my page to the service detail page and what for something to go down or into warning. Enough times to be annoying but not everytime the 90 sec refresh will only say I have 7 hosts and 8 services. This is the initial state the config files were in, I am certian of it because even the attempt column has the intial value of 3. I thought it was just an IE problem but got so fustrated I change machines and used firefox and the samething happen on that machine. Anyone have this problem or not what is wrong? Brian Clark ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cameron.matheson at gmail.com Tue Jun 14 23:38:00 2005 From: cameron.matheson at gmail.com (Cam) Date: Tue, 14 Jun 2005 15:38:00 -0600 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE76@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE76@XCH-SW-42.sw.nos.boeing.com> Message-ID: <7e2f9af905061414385c16be58@mail.gmail.com> Hi, On 6/14/05, EXT-Fuentes, James P wrote: > You didn't mention whether you granted desired access levels in your $NAGIOS/etc/cgi.cfg > > Check your authorized_for* lines. Sorry, i forgot to include that part... here's the beef from my cgi.cfg: authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin and that's it Thanks! Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Tue Jun 14 23:47:05 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Tue, 14 Jun 2005 14:47:05 -0700 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE77@XCH-SW-42.sw.nos.boeing.com> Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. -Jim ________________________________ From: Cam [mailto:cameron.matheson at gmail.com] Sent: Tue 6/14/2005 2:38 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... Hi, On 6/14/05, EXT-Fuentes, James P wrote: > You didn't mention whether you granted desired access levels in your $NAGIOS/etc/cgi.cfg > > Check your authorized_for* lines. Sorry, i forgot to include that part... here's the beef from my cgi.cfg: authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin and that's it Thanks! Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Tue Jun 14 23:55:16 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 15 Jun 2005 09:55:16 +1200 Subject: 'Disable Host Checks' not working? In-Reply-To: <016501c57094$d47cb320$01fea8c0@itss.auckland.ac.nz> References: <016501c57094$d47cb320$01fea8c0@itss.auckland.ac.nz> Message-ID: <019c01c5712b$c0461d00$01fea8c0@itss.auckland.ac.nz> >As I understand it, if you disable host checks for a host, >then it will remain in its current state and no checks will be >attempted. > >However, even with host checks disabled, they are still >occuring! Thanks to everyone who gave suggestions. Here is some more information: is_volatile is NOT set for the host. retain_status_information and retain_nonstatus_information are both set. There is definitely only one instance of Nagios running. As I understand it, since services are dependent on a host, if the host status is CRITICAL then the service checks will not be run until the host check returns a non-critical? The problem seems to be that, for some reason, host checks are being run when they should not. Nagios has been told to disable (via the GUI) and this seems to have taken as it displays and is retained through restarts. Maybe the host check is being forced regardless of the disable_host_checks setting due to service checks failing? Has anyone else experienced this? Thanks again, Steve ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cameron.matheson at gmail.com Tue Jun 14 23:59:29 2005 From: cameron.matheson at gmail.com (Cam) Date: Tue, 14 Jun 2005 15:59:29 -0600 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE77@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE77@XCH-SW-42.sw.nos.boeing.com> Message-ID: <7e2f9af90506141459614036a0@mail.gmail.com> Hey, On 6/14/05, EXT-Fuentes, James P wrote: > Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. > -Jim i've restarted apache and cgi.cfg... i can't figure it out... it seems like i've done everything that the documentation says... (although i probably am just overlooking something simple) Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Wed Jun 15 00:23:58 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Tue, 14 Jun 2005 15:23:58 -0700 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE7A@XCH-SW-42.sw.nos.boeing.com> Does your $NAGIOS/sbin/.htaccess look something like this: AuthName "Nagios Access" AuthType Basic AuthUserFile /path/to/your/htpasswd-file require valid-user -Jim ________________________________ From: Cam [mailto:cameron.matheson at gmail.com] Sent: Tue 6/14/2005 2:59 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... Hey, On 6/14/05, EXT-Fuentes, James P wrote: > Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. > -Jim i've restarted apache and cgi.cfg... i can't figure it out... it seems like i've done everything that the documentation says... (although i probably am just overlooking something simple) Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cameron.matheson at gmail.com Wed Jun 15 00:31:27 2005 From: cameron.matheson at gmail.com (Cam) Date: Tue, 14 Jun 2005 16:31:27 -0600 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... In-Reply-To: <7e2f9af905061415301a621acc@mail.gmail.com> References: <626FC7C6A97381468FB872072AB5DDC801FE7A@XCH-SW-42.sw.nos.boeing.com> <7e2f9af905061415301a621acc@mail.gmail.com> Message-ID: <7e2f9af905061415315c38eaac@mail.gmail.com> Here it is: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Thanks, Cameron Matheson P.S. the file's perms are 664 On 6/14/05, EXT-Fuentes, James P wrote: > Does your $NAGIOS/sbin/.htaccess look something like this: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /path/to/your/htpasswd-file > require valid-user > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Tue 6/14/2005 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... > > > > Hey, > > On 6/14/05, EXT-Fuentes, James P wrote: > > Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. > > -Jim > > i've restarted apache and cgi.cfg... i can't figure it out... it seems > like i've done everything that the documentation says... (although i > probably am just overlooking something simple) > > Thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Wed Jun 15 00:40:31 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Tue, 14 Jun 2005 15:40:31 -0700 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE7C@XCH-SW-42.sw.nos.boeing.com> And the relevant directives in my httpd.conf: AccessFileName .htaccess ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI Alias /nagios /usr/local/nagios/share AllowOverride AuthConfig Order allow,deny Allow from all Options None Just stuff to double-check... -Jim -----Original Message----- From: Cam [mailto:cameron.matheson at gmail.com] Sent: Tue 6/14/2005 3:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... Here it is: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Thanks, Cameron Matheson P.S. the file's perms are 664 On 6/14/05, EXT-Fuentes, James P wrote: > Does your $NAGIOS/sbin/.htaccess look something like this: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /path/to/your/htpasswd-file > require valid-user > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Tue 6/14/2005 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... > > > > Hey, > > On 6/14/05, EXT-Fuentes, James P wrote: > > Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. > > -Jim > > i've restarted apache and cgi.cfg... i can't figure it out... it seems > like i've done everything that the documentation says... (although i > probably am just overlooking something simple) > > Thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jun 15 00:55:43 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Jun 2005 00:55:43 +0200 Subject: Not sure why this is doing what it is doing? In-Reply-To: <3420.12.32.218.253.1118784911.squirrel@webmail.bwkip.com> References: <3420.12.32.218.253.1118784911.squirrel@webmail.bwkip.com> Message-ID: <42AF606F.5000802@op5.se> bclark at bwkip.com wrote: > I have 15 hosts and 24 services being checked. I set my page to the > service detail page and what for something to go down or into warning. > Enough times to be annoying but not everytime the 90 sec refresh will only > say I have 7 hosts and 8 services. This is the initial state the config > files were in, I am certian of it because even the attempt column has the > intial value of 3. > > I thought it was just an IE problem but got so fustrated I change machines > and used firefox and the samething happen on that machine. Anyone have > this problem or not what is wrong? > You have several instances of Nagios running. /etc/init.d/nagios stop killall -9 nagios /etc/init.d/nagios start In the future, don't use /etc/init.d/nagios restart (or equivalent). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From drussell at mpifix.com Wed Jun 15 02:43:52 2005 From: drussell at mpifix.com (Danny Russell) Date: Tue, 14 Jun 2005 18:43:52 -0600 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <028B223BB24E5443A9784BBE1CC5EBE038F7E0@Lisa.mpifix.com> If you are running SELinux you will run into these problems. I couldn't find anything any where about the documentation to get Nagios working with SELinux on. Do you have SELinux on? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of EXT-Fuentes, James P Sent: Tuesday, June 14, 2005 4:41 PM To: Cam; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... And the relevant directives in my httpd.conf: AccessFileName .htaccess ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI Alias /nagios /usr/local/nagios/share AllowOverride AuthConfig Order allow,deny Allow from all Options None Just stuff to double-check... -Jim -----Original Message----- From: Cam [mailto:cameron.matheson at gmail.com] Sent: Tue 6/14/2005 3:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... Here it is: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Thanks, Cameron Matheson P.S. the file's perms are 664 On 6/14/05, EXT-Fuentes, James P wrote: > Does your $NAGIOS/sbin/.htaccess look something like this: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /path/to/your/htpasswd-file > require valid-user > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Tue 6/14/2005 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... > > > > Hey, > > On 6/14/05, EXT-Fuentes, James P wrote: > > Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. > > -Jim > > i've restarted apache and cgi.cfg... i can't figure it out... it seems > like i've done everything that the documentation says... (although i > probably am just overlooking something simple) > > Thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From moshesharon at gmail.com Wed Jun 15 08:41:19 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Wed, 15 Jun 2005 06:41:19 +0000 (UTC) Subject: Redundancy/Scalability? References: <0F1A5F3993566D4883C596CB56E59B9A039A780B@mspmail02.int.capella.lan> Message-ID: Hi Another solution you can use for cluster enviroment. is using Linux-HA ( heartbeat ) with float ip address for nagios machine and some monitoring software to do the fail over between the two computers. you can then mirror files every minute / hour using rsync. this solution is working fine in our enviroment Moshe Sharon ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tjl at topdanmark.dk Wed Jun 15 09:45:42 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Wed, 15 Jun 2005 09:45:42 +0200 Subject: Lotus Notes Plugin >> CHECK_VIA_SNMP + Domino.mib Message-ID: God morning. The domino.mib can be found at the Mibdepot.com. It is a very handy site... http://www.mibdepot.com - go to IBM then domino.mib It should also be on your install-cd .... /Thomas ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Wed Jun 15 15:35:04 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Wed, 15 Jun 2005 08:35:04 -0500 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... In-Reply-To: <028B223BB24E5443A9784BBE1CC5EBE038F7E0@Lisa.mpifix.com> References: <028B223BB24E5443A9784BBE1CC5EBE038F7E0@Lisa.mpifix.com> Message-ID: > If you are running SELinux you will run into these problems. I couldn't > find anything any where about the documentation to get Nagios working > with SELinux on. > > Do you have SELinux on? > I doubt it. IF you have SELinux, you should be either getting "Forbidden" or "Internal Server Error" (Premature end of scripts). He is actually seeing the messages that tell him that he does not have right permissions, which is a Nagios message. That means cgi is executing fine. Feel free to correct me if I am wrong. --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nick.Platt at myflorida.com Wed Jun 15 15:40:41 2005 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Wed, 15 Jun 2005 09:40:41 -0400 Subject: Nagios locks up Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F08D98088@STO_EXCHANGE> I've been running Nagios for about a 2 years and found 1.1 to be the most stable version. We had two servers setup and one of the servers seemed to always lock up. Lock up is defined as all services including the Linux OS itself not accessible. The server is pingable, but the screen is completely black and typing on the keyboard made no difference. I always thought it was hardware related; therefore, I transferred it to a new box and it did the same. I also ran a test and determined that when Nagios was off, the lock up would never occur. I just recently installed a development box and been testing Nagios 2.03b. Every once in a while, the same lock up happens and the only thing can do is a POWER RESET. Has anyone experienced similar occurrence? The only thing I can think of is that all the boxes I had this happen to SENDMAIL was turned off. I run an hourly routine to clear the ClientMailQueue. SENMAIL is turned off so I don't get two pages for every device. Any advice would be appreciated. Thank you. R. Nicholas Platt Communications Engineer Supervisor State Technology Office, State of Florida Phone: 850.413.9535 E-mail: nick.platt at myflorida.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From amj at avio.no Wed Jun 15 15:54:28 2005 From: amj at avio.no (Arne Morten Johansen) Date: Wed, 15 Jun 2005 15:54:28 +0200 Subject: Error: Could not read host and service status information! Message-ID: <9ECBC164018FDC4FB48545595C0FB5131F0F9A@trd-sbs1.AVIO.local> When trying to access pages from the web-interface, i get Error: Could not read host and service status information!. Nagios is turned on. When I check my log i get this message over and over and over again: [1118849007] Error: Could not insert retention data for host 'trd-web1' in table 'hostretention'. I use gentoo and i emerged it without mysql use-flag set. I've gone over all the config files a couple of times, but I can't see the error. The documentation don't give me any hints either. Any suggestions to what is wrong? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From madasilva at gmail.com Wed Jun 15 15:54:12 2005 From: madasilva at gmail.com (michael dasilva) Date: Wed, 15 Jun 2005 09:54:12 -0400 Subject: ldap authentication Message-ID: <5801e5810506150654e18771a@mail.gmail.com> Im having problems implementing ldap authentication against windows Active directory. Must there be a posixaccount object class added to the schema to active directory for pureftpd /w ldap to work? or is it possible to have active directory users share a common uid/gid through the LDAPDefaultUID/GID field? (the LDAPFilter would also need modifications to properly filter user accounts) If this cannot be done, off hand do you know what package appends the posixaccount class to the AD schema? any feed back would be great. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jqualkenbush at iso-ne.com Wed Jun 15 16:07:54 2005 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Wed, 15 Jun 2005 10:07:54 -0400 Subject: Error: Could not read host and service status information! In-Reply-To: <9ECBC164018FDC4FB48545595C0FB5131F0F9A@trd-sbs1.AVIO.local> References: <9ECBC164018FDC4FB48545595C0FB5131F0F9A@trd-sbs1.AVIO.local> Message-ID: <42B0363A.2030108@iso-ne.com> Arne Morten Johansen wrote: > I use gentoo and i emerged it without mysql use-flag set. Could you post the results of: emerge -vp nagios ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jun 15 16:18:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Jun 2005 16:18:05 +0200 Subject: Nagios locks up In-Reply-To: <2FDA6C38B2BFD4119D2400D0B784BE6F08D98088@STO_EXCHANGE> References: <2FDA6C38B2BFD4119D2400D0B784BE6F08D98088@STO_EXCHANGE> Message-ID: <42B0389D.9040103@op5.se> Platt, Nicholas wrote: > I've been running Nagios for about a 2 years and found 1.1 to be the most > stable version. We had two servers setup and one of the servers seemed to > always lock up. Lock up is defined as all services including the Linux OS > itself not accessible. This isn't nagios' fault. Update the kernel and then check for bios bugs. If nothing else, keep a tab on the system load at all times. If it starts spiking, nagios (or a plugin) might have entered an infinite loop. That might make it *seem* the system is frozen, but it's not. It just takes a week or so to respond. > The server is pingable, but the screen is completely > black and typing on the keyboard made no difference. I always thought it > was hardware related; therefore, I transferred it to a new box and it did > the same. I also ran a test and determined that when Nagios was off, the > lock up would never occur. > Funny then that you think Nagios 1.1 is still the most stable. ;) > > > I just recently installed a development box and been testing Nagios 2.03b. > Every once in a while, the same lock up happens and the only thing can do is > a POWER RESET. Has anyone experienced similar occurrence? First time I've ever heard of it. Are you using any custom plugins that read the status of some local hardware? Misbehaving drivers can leave the kernel in uninterruptable IO for ever, but that should go away with a kernel update. > The only > thing I can think of is that all the boxes I had this happen to SENDMAIL was > turned off. I run an hourly routine to clear the ClientMailQueue. SENMAIL > is turned off so I don't get two pages for every device. Any advice would > be appreciated. Thank you. > Turn it on? If the queue holds more than 32768 files (on ext2 filesystem), old kernels (linux <= 2.3.2, or something) can freeze when trying to add another inode. Accessing already existing inodes is impossible at that point, because the kernel is already stuck and can't deliver it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jqualkenbush at iso-ne.com Wed Jun 15 16:21:55 2005 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Wed, 15 Jun 2005 10:21:55 -0400 Subject: Error: Could not read host and service status information! In-Reply-To: <42B0363A.2030108@iso-ne.com> References: <9ECBC164018FDC4FB48545595C0FB5131F0F9A@trd-sbs1.AVIO.local> <42B0363A.2030108@iso-ne.com> Message-ID: <42B03983.9030907@iso-ne.com> Jason Qualkenbush wrote: > Arne Morten Johansen wrote: > >>I use gentoo and i emerged it without mysql use-flag set. > > > Could you post the results of: emerge -vp nagios ? nevermind. even if it's compiled with mysql, it's the config that's going to make it go the a database. I could only guess that you need to comment something out in cgi.cfg. I'm emerging with mysql right now, and going to look. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From aivaturi2 at unlnotes.unl.edu Wed Jun 15 16:39:35 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Wed, 15 Jun 2005 09:39:35 -0500 Subject: nrpe nsca docs Message-ID: This is strange, may be I am not looking at the right place but where can I find the docs for NRPE and NSCA for v2.0b3? Or where I can download them? --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.P.Fuentes at boeing.com Wed Jun 15 16:38:53 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Wed, 15 Jun 2005 07:38:53 -0700 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE7E@XCH-SW-42.sw.nos.boeing.com> What problem are you having with SELinux? -Jim ________________________________ From: Danny Russell [mailto:drussell at mpifix.com] Sent: Tue 6/14/2005 5:43 PM To: Cam; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... If you are running SELinux you will run into these problems. I couldn't find anything any where about the documentation to get Nagios working with SELinux on. Do you have SELinux on? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of EXT-Fuentes, James P Sent: Tuesday, June 14, 2005 4:41 PM To: Cam; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... And the relevant directives in my httpd.conf: AccessFileName .htaccess ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI Alias /nagios /usr/local/nagios/share AllowOverride AuthConfig Order allow,deny Allow from all Options None Just stuff to double-check... -Jim -----Original Message----- From: Cam [mailto:cameron.matheson at gmail.com] Sent: Tue 6/14/2005 3:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... Here it is: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Thanks, Cameron Matheson P.S. the file's perms are 664 On 6/14/05, EXT-Fuentes, James P wrote: > Does your $NAGIOS/sbin/.htaccess look something like this: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /path/to/your/htpasswd-file > require valid-user > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Tue 6/14/2005 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... > > > > Hey, > > On 6/14/05, EXT-Fuentes, James P wrote: > > Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. > > -Jim > > i've restarted apache and cgi.cfg... i can't figure it out... it seems > like i've done everything that the documentation says... (although i > probably am just overlooking something simple) > > Thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From drussell at mpifix.com Wed Jun 15 16:45:31 2005 From: drussell at mpifix.com (Danny Russell) Date: Wed, 15 Jun 2005 08:45:31 -0600 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... Message-ID: <028B223BB24E5443A9784BBE1CC5EBE038F7FD@Lisa.mpifix.com> I was getting the exact same symptoms has Cam is describing. I tried chcon all sorts of stuff, but just couldn't get things to work. I finally just reinstalled centos without SELinux. -----Original Message----- From: EXT-Fuentes, James P [mailto:James.P.Fuentes at boeing.com] Sent: Wednesday, June 15, 2005 8:39 AM To: Danny Russell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... What problem are you having with SELinux? -Jim ________________________________ From: Danny Russell [mailto:drussell at mpifix.com] Sent: Tue 6/14/2005 5:43 PM To: Cam; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... If you are running SELinux you will run into these problems. I couldn't find anything any where about the documentation to get Nagios working with SELinux on. Do you have SELinux on? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of EXT-Fuentes, James P Sent: Tuesday, June 14, 2005 4:41 PM To: Cam; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... And the relevant directives in my httpd.conf: AccessFileName .htaccess ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI Alias /nagios /usr/local/nagios/share AllowOverride AuthConfig Order allow,deny Allow from all Options None Just stuff to double-check... -Jim -----Original Message----- From: Cam [mailto:cameron.matheson at gmail.com] Sent: Tue 6/14/2005 3:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... Here it is: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Thanks, Cameron Matheson P.S. the file's perms are 664 On 6/14/05, EXT-Fuentes, James P wrote: > Does your $NAGIOS/sbin/.htaccess look something like this: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /path/to/your/htpasswd-file > require valid-user > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Tue 6/14/2005 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] It appears as though you do not have permission to view information for any of the hosts you requested... > > > > Hey, > > On 6/14/05, EXT-Fuentes, James P wrote: > > Hmmm, I was having the same problem until I remembered to check cgi.cfg. What about a restart of Nagios? I believe that is a requirement for any config file changes to take effect. > > -Jim > > i've restarted apache and cgi.cfg... i can't figure it out... it seems > like i've done everything that the documentation says... (although i > probably am just overlooking something simple) > > Thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cameron.matheson at gmail.com Wed Jun 15 16:59:51 2005 From: cameron.matheson at gmail.com (Cam) Date: Wed, 15 Jun 2005 08:59:51 -0600 Subject: It appears as though you do not have permission to view information for any of the hosts you requested... In-Reply-To: <028B223BB24E5443A9784BBE1CC5EBE038F7FD@Lisa.mpifix.com> References: <028B223BB24E5443A9784BBE1CC5EBE038F7FD@Lisa.mpifix.com> Message-ID: <7e2f9af905061507599a689c9@mail.gmail.com> My problem just ended up being the apache config file that my ubuntu package was shipping was bad (it looked right to me so i hadn't bothered editing that one... changing that made everything work. Cameron Matheson On 6/15/05, Danny Russell wrote: > I was getting the exact same symptoms has Cam is describing. I tried > chcon all sorts of stuff, but just couldn't get things to work. I > finally just reinstalled centos without SELinux. > > -----Original Message----- > From: EXT-Fuentes, James P [mailto:James.P.Fuentes at boeing.com] > Sent: Wednesday, June 15, 2005 8:39 AM > To: Danny Russell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] It appears as though you do not have > permission to view information for any of the hosts you requested... > > What problem are you having with SELinux? > -Jim > > ________________________________ > > From: Danny Russell [mailto:drussell at mpifix.com] > Sent: Tue 6/14/2005 5:43 PM > To: Cam; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] It appears as though you do not have > permission to view information for any of the hosts you requested... > > > > If you are running SELinux you will run into these problems. I couldn't > find anything any where about the documentation to get Nagios working > with SELinux on. > > Do you have SELinux on? > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > EXT-Fuentes, James P > Sent: Tuesday, June 14, 2005 4:41 PM > To: Cam; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] It appears as though you do not have > permission to view information for any of the hosts you requested... > > And the relevant directives in my httpd.conf: > > AccessFileName .htaccess > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > AllowOverride AuthConfig > Order allow,deny > Allow from all > Options ExecCGI > > > Alias /nagios /usr/local/nagios/share > > AllowOverride AuthConfig > Order allow,deny > Allow from all > Options None > > > Just stuff to double-check... > > -Jim > > > -----Original Message----- > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Tue 6/14/2005 3:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] It appears as though you do not have permission > to view information for any of the hosts you requested... > > Here it is: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > Thanks, > Cameron Matheson > > P.S. the file's perms are 664 > > On 6/14/05, EXT-Fuentes, James P wrote: > > Does your $NAGIOS/sbin/.htaccess look something like this: > > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /path/to/your/htpasswd-file > > require valid-user > > > > -Jim > > > > ________________________________ > > > > From: Cam [mailto:cameron.matheson at gmail.com] > > Sent: Tue 6/14/2005 2:59 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] It appears as though you do not have > permission to view information for any of the hosts you requested... > > > > > > > > Hey, > > > > On 6/14/05, EXT-Fuentes, James P wrote: > > > Hmmm, I was having the same problem until I remembered to check > cgi.cfg. What about a restart of Nagios? I believe that is a requirement > for any config file changes to take effect. > > > -Jim > > > > i've restarted apache and cgi.cfg... i can't figure it out... it seems > > like i've done everything that the documentation says... (although i > > probably am just overlooking something simple) > > > > Thanks, > > Cameron Matheson > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mluettgen at nuvio.com Wed Jun 15 17:18:30 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Wed, 15 Jun 2005 10:18:30 -0500 Subject: notification_options Message-ID: <1118848710.19342.32.camel@dhcp-63-77-68-95.ojc.nuvio.com> I'm using nagios 2.0b3 and have a simple question about the notification_options. What is the difference between u and d? (unreachable and down.) ML ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benny at bennyvision.com Wed Jun 15 17:22:16 2005 From: benny at bennyvision.com (C. Bensend) Date: Wed, 15 Jun 2005 10:22:16 -0500 (CDT) Subject: notification_options In-Reply-To: <1118848710.19342.32.camel@dhcp-63-77-68-95.ojc.nuvio.com> References: <1118848710.19342.32.camel@dhcp-63-77-68-95.ojc.nuvio.com> Message-ID: <2703.134.244.169.17.1118848936.squirrel@webmail.stinkweasel.net> > I'm using nagios 2.0b3 and have a simple question about the > notification_options. What is the difference between u and d? > (unreachable and down.) Unreachable means a parent or parents between Nagios and the end host are down, so Nagios cannot even reach the end host to test it. Benny -- "You come from a long line of scary women." -- Ranger, "Three To Get Deadly" ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jun 15 17:23:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Jun 2005 17:23:50 +0200 Subject: notification_options In-Reply-To: <1118848710.19342.32.camel@dhcp-63-77-68-95.ojc.nuvio.com> References: <1118848710.19342.32.camel@dhcp-63-77-68-95.ojc.nuvio.com> Message-ID: <42B04806.8010400@op5.se> Matt Luettgen wrote: > I'm using nagios 2.0b3 and have a simple question about the > notification_options. What is the difference between u and d? > (unreachable and down.) > Read the docs. They explain it quite clearly. In short, d = down, u = (any) parent down. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From clark_kentx at hotmail.com Wed Jun 15 17:40:29 2005 From: clark_kentx at hotmail.com (john squid) Date: Wed, 15 Jun 2005 15:40:29 +0000 Subject: nrpe Message-ID: hello: I have nagios configured on my servers which is running great. i recently did a nrpe install on a new system. in my logs it states it could not connect to server due to not negotiating ssl. i have searched the documentation all over how on a HOWTO config nagios and fields to enable for SSL. can someone please give me a hand or point to a good documentation on what i need to do. thank you. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From narayanan.s at cbayindia.com Wed Jun 15 17:54:26 2005 From: narayanan.s at cbayindia.com (Shankara Narayanan) Date: Wed, 15 Jun 2005 21:24:26 +0530 Subject: nrpe References: Message-ID: <028401c571c2$84299940$4e0010ac@cbaypi3dklj9s0> "john squid" wrote > hello: > > I have nagios configured on my servers which is running great. i recently > did a nrpe install on a new system. in my logs it states it could not > connect to server due to not negotiating ssl. i have searched the > documentation all over how on a HOWTO config nagios and fields to enable for > SSL. can someone please give me a hand or point to a good documentation on > what i need to do. > Just check the nrpe ver installed at the nagios box end and cross check for the nrpe version at the server which ur monitoring, majorly this different causes ssl handshake not possible. if same then pls copy the /usr/local/src/nrpe..ver/init-script /etc/init.d/nrpe check for the file size at both nagios box and server which ur monitoring. I guess this should solve, if not i am sorry. Regards, Shankar. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.hertrick at neovera.com Wed Jun 15 17:54:53 2005 From: m.hertrick at neovera.com (Michael Hertrick) Date: Wed, 15 Jun 2005 11:54:53 -0400 Subject: check_nagios and the new status.dat: Nagios 2.0+ with any plugin version Message-ID: <42B04F4D.8010608@neovera.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've seen a lot of related messages, but none with the final answer. Most don't even diagnose the problem correctly. If you're running Nagios 2.0+ then check_nagios will not work. This includes check_nagios from the latest CVS snapshot and all previous versions. For your information, it is because the status log format has changed... drastically. As a temporary workaround, I'm using the check_file_age perl script in lieu of check_nagios. Yeah, this is probably supposed to be in the nagios plugins mailing list, but it's relevant here since there are a few messages about check_nagios reporting that the status file is very old. ~Mike. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFCsE9Ncg6ARUNrEosRAlGXAJ9F29mvcqWKwUFPJwBYiluNNKbLVACgwjdW Kr5dKvjChM47madVs/nDX0w= =vMDE -----END PGP SIGNATURE----- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bhuffman at incyte.com Wed Jun 15 19:11:22 2005 From: bhuffman at incyte.com (Brian Huffman) Date: Wed, 15 Jun 2005 13:11:22 -0400 Subject: Nagios plugins 1.4 stable or CVS? Message-ID: All, What would be the recommendation for running Nagios plugins 1.4 on Solaris and linux clients in a production environment? Are the CVS plugins stable enough? Or should I stick w/ 1.4? I'm under the impression that there are fixes for Solaris problems in CVS that might make it the better choice. Are others running CVS plugins in a production environment? Thanks, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From cameron.matheson at gmail.com Wed Jun 15 19:23:01 2005 From: cameron.matheson at gmail.com (Cam) Date: Wed, 15 Jun 2005 11:23:01 -0600 Subject: passing command line parameters to plugins Message-ID: <7e2f9af905061510235aa92c62@mail.gmail.com> Hi, I'm trying to use the check_http plugin to check a webserver running on an unusual port number. the syntax at the command line is check_http -p . to get it working in my services.cfg, i just use the literal command-line approach w/ the check_command (e.g., check_command "/usr/lib/nagios/plugins/check_http -p 2584 aspapp1". It seems like the "standard" way is to use the "check_http!commandargs" approach, but i'm not sure how that's supposed to work w/ the '-p', i've tried "check_http!-p!2584" (w/out the quotes), but that doesn't work... what's the syntax for that? Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From RAFULMH at usmc-mccs.org Wed Jun 15 19:30:55 2005 From: RAFULMH at usmc-mccs.org (Raful Mr Mitchell H) Date: Wed, 15 Jun 2005 13:30:55 -0400 Subject: Host Detail Page Message-ID: <4BEB8E9952EF544284F706EAD70820B303FF0427@hqex2ksvr01.windows.usmc-mccs.org> My users complain that it is hard to see the blue hyperlink against the red background on devices with alarms. Any way of changing that? Thanks, Mitch Mitch Raful MCSE, CCNP Network Engineer MCCS Quantico 3044 Catlin Avenue Quantico, VA 22134 -------------- next part -------------- An HTML attachment was scrubbed... URL: From beckhardt at infonow.com Wed Jun 15 19:41:08 2005 From: beckhardt at infonow.com (Bob Eckhardt) Date: Wed, 15 Jun 2005 11:41:08 -0600 Subject: anyone done this before? Message-ID: I want to write a script that runs in cron and checks whatever file nagios looks at to know what boxes are put in passive check mode or notifications turned off, and have it email me once a day. We have this problem where things get turned off and not back on, imagine that. With the email I can see what was left in the wrong check state and re-enable it. Is there a file I can parse, if so is there a specific thing/field I can look at. Make sense? Bob ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jqualkenbush at iso-ne.com Wed Jun 15 19:44:13 2005 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Wed, 15 Jun 2005 13:44:13 -0400 Subject: passing command line parameters to plugins In-Reply-To: <7e2f9af905061510235aa92c62@mail.gmail.com> References: <7e2f9af905061510235aa92c62@mail.gmail.com> Message-ID: <42B068ED.2010908@iso-ne.com> Cam wrote: > Hi, > > I'm trying to use the check_http plugin to check a webserver running > on an unusual port number. the syntax at the command line is > check_http -p . to get it working in my services.cfg, i > just use the literal command-line approach w/ the check_command (e.g., > check_command "/usr/lib/nagios/plugins/check_http -p 2584 aspapp1". > It seems like the "standard" way is to use the > "check_http!commandargs" approach, but i'm not sure how that's > supposed to work w/ the '-p', i've tried "check_http!-p!2584" (w/out > the quotes), but that doesn't work... what's the syntax for that? So just edit the check_command file. Copy the http check that looks like this: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } and at the end of the file just create your own version (or just edit the default). Like this: # 'my_check_http' command definition define command{ command_name my_check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } Now you can use a check command like "my_check_http!2584". ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 15 19:44:37 2005 From: marc at ena.com (Marc Powell) Date: Wed, 15 Jun 2005 12:44:37 -0500 Subject: passing command line parameters to plugins Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Cam > Sent: Wednesday, June 15, 2005 12:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] passing command line parameters to plugins > > Hi, > > I'm trying to use the check_http plugin to check a webserver running > on an unusual port number. the syntax at the command line is > check_http -p . to get it working in my services.cfg, i > just use the literal command-line approach w/ the check_command (e.g., > check_command "/usr/lib/nagios/plugins/check_http -p 2584 aspapp1". > It seems like the "standard" way is to use the > "check_http!commandargs" approach, but i'm not sure how that's > supposed to work w/ the '-p', i've tried "check_http!-p!2584" (w/out > the quotes), but that doesn't work... what's the syntax for that? http://nagios.sourceforge.net/docs/1_0/macros.html details the macros available and where they can be used. You're interested in the $ARGx$ macros. By example -- # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -p $ARG1$ $HOSTADDRESS } # Service definition define service{ use generic-service host_name some_host service_description some_description check_command check_http!2584 } More arguments can be passed with more '!'s -- command_line $USER1$/check_http -p $ARG1$ -I $HOSTADDRESS -H $ARG2$ -wt $ARG3$ -ct $ARG4$ -to $ARG5$ check_command check_http!2584!www.somesite.com!20!30!35 The above would translate to -- check_http -p 2584 -I aspapp1 -H www.somesite.com -wt 20 -ct 30 -to 35. -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Wed Jun 15 19:48:48 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Wed, 15 Jun 2005 10:48:48 -0700 Subject: passing command line parameters to plugins Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE80@XCH-SW-42.sw.nos.boeing.com> In your services.cfg: check_http!8088 In your checkcommands.cfg:check_http -p $ARG1$ -Jim ________________________________ From: Cam [mailto:cameron.matheson at gmail.com] Sent: Wed 6/15/2005 10:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] passing command line parameters to plugins Hi, I'm trying to use the check_http plugin to check a webserver running on an unusual port number. the syntax at the command line is check_http -p . to get it working in my services.cfg, i just use the literal command-line approach w/ the check_command (e.g., check_command "/usr/lib/nagios/plugins/check_http -p 2584 aspapp1". It seems like the "standard" way is to use the "check_http!commandargs" approach, but i'm not sure how that's supposed to work w/ the '-p', i've tried "check_http!-p!2584" (w/out the quotes), but that doesn't work... what's the syntax for that? Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jun 15 19:47:58 2005 From: marc at ena.com (Marc Powell) Date: Wed, 15 Jun 2005 12:47:58 -0500 Subject: anyone done this before? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bob Eckhardt > Sent: Wednesday, June 15, 2005 12:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] anyone done this before? > > I want to write a script that runs in cron and checks > whatever file nagios looks at to know what boxes are put in passive check > mode > or notifications turned off, and have it email me once a day. > > We have this problem where things get turned off and not back on, imagine > that. > > With the email I can see what was left in the wrong check state and > re-enable it. > > Is there a file I can parse, if so is there a specific thing/field I can > look at. http://www.nagios.org/faqs/viewfaq.php?faq_id=66 -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Wed Jun 15 19:52:39 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 15 Jun 2005 19:52:39 +0200 Subject: passing command line parameters to plugins In-Reply-To: <7e2f9af905061510235aa92c62@mail.gmail.com> References: <7e2f9af905061510235aa92c62@mail.gmail.com> Message-ID: <42B06AE7.5090809@its-lehmann.de> Hello, Cam wrote: > Hi, > > I'm trying to use the check_http plugin to check a webserver running > on an unusual port number. the syntax at the command line is > check_http -p . to get it working in my services.cfg, i > just use the literal command-line approach w/ the check_command (e.g., > check_command "/usr/lib/nagios/plugins/check_http -p 2584 aspapp1". > It seems like the "standard" way is to use the > "check_http!commandargs" approach, but i'm not sure how that's > supposed to work w/ the '-p', i've tried "check_http!-p!2584" (w/out > the quotes), but that doesn't work... what's the syntax for that? Well, it's documented in the manual and the examples. Basically, you can put any macro into in command definition, and $ARG1$ .. $ARGn$ are the arguments you give to command in the host or service definition. So, for example $USER1$/check_http -H $HOSTNAME$ $ARG2$ could be a command line definition, that you could use like check_http!-p 2584 from a service check. More details in the distributed docs... Arno > Thanks, > Cameron Matheson > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Wed Jun 15 19:56:13 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 15 Jun 2005 19:56:13 +0200 Subject: Host Detail Page In-Reply-To: <4BEB8E9952EF544284F706EAD70820B303FF0427@hqex2ksvr01.windows.usmc-mccs.org> References: <4BEB8E9952EF544284F706EAD70820B303FF0427@hqex2ksvr01.windows.usmc-mccs.org> Message-ID: <42B06BBD.5090303@its-lehmann.de> Hi, Raful Mr Mitchell H wrote: > > My users complain that it is hard to see the blue hyperlink against the > red background on devices with alarms. Any way of changing that? A short look into the page properties with mozilla just showed me that nagios uses a stylesheet. So, if you understand enough HTML and CSS you could simply change the stylesheet. If you can't do that yourself, I might see if I find time to help you. Arno > Thanks, > > Mitch > > Mitch Raful MCSE, CCNP > Network Engineer > MCCS Quantico > 3044 Catlin Avenue > Quantico, VA 22134 > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From francois.laupretre-prestataire at calyon.com Wed Jun 15 19:56:37 2005 From: francois.laupretre-prestataire at calyon.com (Fran=?utf-8?B?w6c=?=ois Laupretre) Date: Wed, 15 Jun 2005 19:56:37 +0200 Subject: Host Detail Page Message-ID: <506CE696433BD711B7C6000802B2520C079871B6@mnts3023.capitalmarkets.fr.cly> Use the Nuvola style : http://www.nagiosexchange.org/Image_Packs.75.0.html? &tx_netnagext_pi1[p_view]=252 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Raful Mr Mitchell H Sent: Wednesday, June 15, 2005 7:31 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Host Detail Page My users complain that it is hard to see the blue hyperlink against the red background on devices with alarms. Any way of changing that? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Ce message et ses pi?ces jointes (le "message") est destin? ? l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm?diatement l'exp?diteur et de le d?truire ensuite. Le pr?sent message pouvant ?tre alt?r? ? notre insu, CALYON Corporate and Investment Bank ne peut pas ?tre engag? par son contenu. Tous droits r?serv?s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. From beckhardt at infonow.com Wed Jun 15 20:03:21 2005 From: beckhardt at infonow.com (Bob Eckhardt) Date: Wed, 15 Jun 2005 12:03:21 -0600 Subject: anyone done this before? In-Reply-To: References: Message-ID: awesome! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell Sent: Wednesday, June 15, 2005 11:48 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] anyone done this before? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bob Eckhardt > Sent: Wednesday, June 15, 2005 12:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] anyone done this before? > > I want to write a script that runs in cron and checks > whatever file nagios looks at to know what boxes are put in passive check > mode > or notifications turned off, and have it email me once a day. > > We have this problem where things get turned off and not back on, imagine > that. > > With the email I can see what was left in the wrong check state and > re-enable it. > > Is there a file I can parse, if so is there a specific thing/field I can > look at. http://www.nagios.org/faqs/viewfaq.php?faq_id=66 -- Marc ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios-ml at sentries.org Wed Jun 15 20:03:37 2005 From: nagios-ml at sentries.org (Ralph Seichter) Date: Wed, 15 Jun 2005 20:03:37 +0200 (CEST) Subject: nrpe In-Reply-To: References: Message-ID: <39924.193.24.32.36.1118858617.squirrel@sentries.org> john squid: > my logs it states it could not connect to server due to > not negotiating ssl. Have you verified that the machine running Nagios is a member of the nrpe.cfg "allowed_hosts" list on the machine running NRPE? -- Mit freundlichen Gr??en / Sincerely Dipl. Inform. Ralph Seichter HORUS-IT Ahornweg 10 D-57635 Oberirsen Tel +49 2686 987880 Fax +49 2686 987889 http://horus-it.de/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ladams at cloudmark.com Wed Jun 15 20:03:57 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 15 Jun 2005 11:03:57 -0700 Subject: anyone done this before? Message-ID: For notifications turned off. This is the URL: http://your-nagios/cgi-bin/status.cgi?host=all&type=detail&serviceprops= 4096 As for a cron, I wrote a perl script that downloads that page using HTTP::Request, and parses it. Let me know if you're interested in more details. -Lori -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bob Eckhardt Sent: Wednesday, June 15, 2005 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] anyone done this before? I want to write a script that runs in cron and checks whatever file nagios looks at to know what boxes are put in passive check mode or notifications turned off, and have it email me once a day. We have this problem where things get turned off and not back on, imagine that. With the email I can see what was left in the wrong check state and re-enable it. Is there a file I can parse, if so is there a specific thing/field I can look at. Make sense? Bob ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From James.P.Fuentes at boeing.com Wed Jun 15 20:06:22 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Wed, 15 Jun 2005 11:06:22 -0700 Subject: passing command line parameters to plugins Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE81@XCH-SW-42.sw.nos.boeing.com> > From: EXT-Fuentes, James P > Sent: Wed 6/15/2005 10:48 AM > To: Cam; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] passing command line parameters to plugins > > In your services.cfg: check_http!8088 > > In your checkcommands.cfg:check_http -p $ARG1$ > > -Jim To better clarify my last post, as Jason Q pointed out: your services check_command is probably something different than check_http. It could be some thing like check-http-server!8088 Sort of an alias of your choosing if you will, as opposed to the literal command_line in checkcommands.cfg -Jim ________________________________ From: Cam [mailto:cameron.matheson at gmail.com] Sent: Wed 6/15/2005 10:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] passing command line parameters to plugins Hi, I'm trying to use the check_http plugin to check a webserver running on an unusual port number. the syntax at the command line is check_http -p . to get it working in my services.cfg, i just use the literal command-line approach w/ the check_command (e.g., check_command "/usr/lib/nagios/plugins/check_http -p 2584 aspapp1". It seems like the "standard" way is to use the "check_http!commandargs" approach, but i'm not sure how that's supposed to work w/ the '-p', i've tried "check_http!-p!2584" (w/out the quotes), but that doesn't work... what's the syntax for that? Thanks, Cameron Matheson ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at its-lehmann.de Wed Jun 15 20:12:17 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 15 Jun 2005 20:12:17 +0200 Subject: anyone done this before? In-Reply-To: References: Message-ID: <42B06F81.6020504@its-lehmann.de> Hello, Bob Eckhardt wrote: > I want to write a script that runs in cron and checks > whatever file nagios looks at to know what boxes are put in passive check > mode > or notifications turned off, and have it email me once a day. > > We have this problem where things get turned off and not back on, imagine > that. tststs... > With the email I can see what was left in the wrong check state and > re-enable it. > > Is there a file I can parse, if so is there a specific thing/field I can > look at. Ok, this is from Nagios 1.2... You've got a state retention file you set up in the main configuration file. This is a text file, one line per information item. In xdata/xrddefault.c about line 200 you see how the data is read, and you find that, for example, notifications_enabled is the 12th field for a service. Counting "SERVICE: name" as one field, and assuming I counted correctly. Looks like an easy enough job for grep, sed, awk, perl, bash or whatever script language you prefer. Arno > Make sense? > > > Bob > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bitsandbytes88 at hotmail.com Wed Jun 15 20:56:48 2005 From: bitsandbytes88 at hotmail.com (D Kavan) Date: Wed, 15 Jun 2005 14:56:48 -0400 Subject: ncsa Message-ID: Hi, I'm using nagios 2.0b2. I have a couple of questions regarding using ncsa. The 3 servers that I want to monitor ( I want them to send me requests ) are behind a firewall that I don't control. I want the messages to be encrypted. What port do I ask the firewall guy to open on the remote end of things? What do I need to do to make sure that the messages are encrypted? Is there a way to send check_load data in ncsa like there is in nrpe? Thanks, ~DjK ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, inf