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, 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 Wed Jun 15 21:53:06 2005 From: rshroff at rhythmnetworks.com (Rajat Shroff) Date: Wed, 15 Jun 2005 12:53:06 -0700 Subject: Newbie question In-Reply-To: References: Message-ID: Hi: Thanks for the info. I have followed all the instructions (AFAIK) and now I am getting the following error: Error: Could not read host and service status information This happen when after I authenticate. The nagios service is running. Thanks, Rajat _____ 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 11:03 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Newbie question 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 beckhardt at infonow.com Wed Jun 15 21:57:29 2005 From: beckhardt at infonow.com (Bob Eckhardt) Date: Wed, 15 Jun 2005 13:57:29 -0600 Subject: anyone done this before? In-Reply-To: References: Message-ID: Thx all for the replies. I used the info gathered from the link Marc was so kind to post (http://www.nagios.org/faqs/viewfaq.php?faq_id=66) and wrote this if anyone wants it....simple but effective #################### #!/bin/csh setenv WHATSOFF_SERVICE `cat /opt/nagios/var/status.log | grep SERVICE | awk -F";" '{ if ($10 == 0) { printf("%s\t%s SERVICE check is turned off\n\r", $2, $3)}}'` setenv WHATSOFF_HOST `cat /opt/nagios/var/status.log | grep HOST | awk -F";" '{ if ($14 == 0) { printf("%s HOST check is turned off\n\r", $2)}}'` if ("$WHATSOFF_SERVICE" != "") then echo "$WHATSOFF_SERVICE" | mail -s "service checks turned off on nagios" towhomitmayconcern at mymailserver.com endif if ("$WHATSOFF_HOST" != "") then echo "$WHATSOFF_HOST" | mail -s "host checks turned off on nagios" towhomitmayconcern at mymailserver.com endif ######################## -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Lori Adams Sent: Wednesday, June 15, 2005 12:04 PM To: Bob Eckhardt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] anyone done this before? 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=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 ae at op5.se Wed Jun 15 21:58:26 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 15 Jun 2005 21:58:26 +0200 Subject: passing command line parameters to plugins In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE81@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE81@XCH-SW-42.sw.nos.boeing.com> Message-ID: <42B08862.7070008@op5.se> EXT-Fuentes, James P wrote: >> 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 > It's a fairly good idea to stick to some sort of a naming standard when doing this, like check_http-port, check_https-port, check_https-port_cert and so on. Slapping 'my' in front of every custom checkcommand is a technique that has bitten many a programmer in the arse. -- 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 bitsandbytes88 at hotmail.com Wed Jun 15 22:15:06 2005 From: bitsandbytes88 at hotmail.com (Dj kavanski) Date: Wed, 15 Jun 2005 22:15:06 +0200 (CEST) Subject: ncsa In-Reply-To: References: Message-ID: <20050615201506.706E04F4002@desire.netways.de> Hi D It looks like it uses port 5667 and does encrypt. - 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]=7637 ------------------------------------------------------- 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 blakekrone at gmail.com Wed Jun 15 22:50:44 2005 From: blakekrone at gmail.com (Blake Krone) Date: Wed, 15 Jun 2005 14:50:44 -0600 Subject: rss feed as a notification method In-Reply-To: <31fabc2205061009447aa9c093@mail.gmail.com> References: <31fabc2205061009447aa9c093@mail.gmail.com> Message-ID: Steve what I did for this was parse the status.log file for the different states of the machines. You could then have a PHP script that does the parsing put all of the "critical" machines into one array/xml/rss whatever. For my use this worked great on my help desk website, I just list the major servers and have an icon for up, critical, warning, and unknown. Here's some PHP code to read the status log and put all of the servers into an array that are accessed via the 'hostname' ***This code is from the NagVis project.**** function GetStatus() { $l="0"; $x="0"; $status_dat = file("/var/nagios/status.log"); while ($status_dat[$l] != "") { $type = explode(" ",$status_dat[$l]); if ($type[0] == "host") { $hostname = explode("=",$status_dat[$l+1]); $host = trim($hostname[1]); $state[$host]['service'] = $host_servicename; $current_state = explode("=",$status_dat[$l+9]); $host_state = trim($current_state[1]); if ($host_state == "0") { $state[$host]['state'] = "UP"; } else if($host_state == "1") { $state[$host]['state'] = "Warning"; } else if($host_state == "2") { $state[$host]['state'] = "Critical"; } else { $state[$host]['state'] = "Unknown"; } $plugin_output = explode("plugin_output=",$status_dat[$l+12]); $state[$host]['plug_out'] = trim($plugin_output[1]); $l = $l + 42; } $l++ ; } return($state); } So how I use this on my website is like this: Important Systems \n _TABLE; foreach($servers as $key=>$server) { $plug_out = $status[$server['Host']]['plug_out']; if($status[$server['Host']]['state'] == 'UP') { $this_status = "\"$plug_out\""; } else if($status[$server['Host']]['state'] == 'Warning') { $this_status = "\"$plug_out\""; } else if($status[$server['Host']]['state'] == 'Critical') { $this_status = "\"$plug_out\""; } else { $this_status = "\"$plug_out\""; } echo <<<_ROW \n _ROW; } echo <<<_TABLE
$server[Desc] ($server[Host]) $this_status

\n _TABLE; ?> It just spits out a table like the following: Email (CTEX01) ---------- Logon (CTDC01) ---------- That is included on the sidebar of my site. Hope that helps you into the right direction. I was thinking of making an RSS feed for it also, just haven't had time. If I do I'll try to remember to send it your way. On 6/10/05, Steve Ensley wrote: > 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 > ------------------------------------------------------- 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 joseph.lin at comcast.net Thu Jun 16 00:25:50 2005 From: joseph.lin at comcast.net (joseph.lin at comcast.net) Date: Wed, 15 Jun 2005 22:25:50 +0000 Subject: How to only alert if multiple hosts is down Message-ID: <061520052225.864.42B0AAED000EBA6C000003602200737478020704D2089F0A9C0106@comcast.net> All, As a poor man's way to see if the floor is out of power, I want to setup nagios to ping network printers that are in the building. But I want to only be paged if all the printers are down. Is there a way to set up something within hosts.cfg to achieve this? I looked at host dependencies, but it doesnt seem like thats the proper solution? any advice would be appreciated.. joe ------------------------------------------------------- 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 Thu Jun 16 00:30:01 2005 From: marc at ena.com (Marc Powell) Date: Wed, 15 Jun 2005 17:30:01 -0500 Subject: How to only alert if multiple hosts is down Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of joseph.lin at comcast.net > Sent: Wednesday, June 15, 2005 5:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to only alert if multiple hosts is down > > All, > > As a poor man's way to see if the floor is out of power, I want to setup > nagios to ping network printers that are in the building. > > But I want to only be paged if all the printers are down. > > Is there a way to set up something within hosts.cfg to achieve this? > > I looked at host dependencies, but it doesnt seem like thats the proper > solution? > > any advice would be appreciated.. Google for check_cluster. I believe it may even be included in the contrib for the standard plugins. That will probably fit your needs. -- 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 ae at op5.se Thu Jun 16 00:44:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 00:44:31 +0200 Subject: How to only alert if multiple hosts is down In-Reply-To: <061520052225.864.42B0AAED000EBA6C000003602200737478020704D2089F0A9C0106@comcast.net> References: <061520052225.864.42B0AAED000EBA6C000003602200737478020704D2089F0A9C0106@comcast.net> Message-ID: <42B0AF4F.6030708@op5.se> joseph.lin at comcast.net wrote: > All, > > As a poor man's way to see if the floor is out of power, I want to > setup nagios to ping network printers that are in the building. > > But I want to only be paged if all the printers are down. > > Is there a way to set up something within hosts.cfg to achieve this? > > I looked at host dependencies, but it doesnt seem like thats the > proper solution? > > any advice would be appreciated.. > Use check_icmp in host-check mode in its latest incarnation. It can check as many hosts as you like and will return OK so long as any IP specified is up. Download the tarball from http://oss.op5.se/nagios unpack it. enter the directory and type 'make'. Make a symlink; ln -s check_icmp check_host run check_host -t 60 It will stop and return OK as soon as it gets a proper ICMP response, so the run-time of this check will be extremely short so long as not all hosts are down (typically less than 10 milliseconds on a local network). -- 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 blakekrone at gmail.com Wed Jun 15 23:31:09 2005 From: blakekrone at gmail.com (Blake Krone) Date: Wed, 15 Jun 2005 15:31:09 -0600 Subject: Host dependent upon service on same host Message-ID: Is there a way to have a host depend on a service? For example on our Windows machines we need to have "admin" logged in for some applications to run. However, we have people that like to remote in and logout admin so the applications then won't be run. How can I set it up so that if the service check fails it downs the host status also? Thanks in advance! ------------------------------------------------------- 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 dewath at yahoo.com Thu Jun 16 03:49:59 2005 From: dewath at yahoo.com (Richard DeWath) Date: Wed, 15 Jun 2005 18:49:59 -0700 (PDT) Subject: Upgrade from RHES3 to RHES4 and authentication failures with apache Message-ID: <20050616014959.23927.qmail@web30515.mail.mud.yahoo.com> I planned on upgrading to a better host system and since I am on RHES3 and can upgrade to RHES4, I went ahead with a standard install. Apache was upgraded from release 2.0.48 to 2.0.52 on the new system. Everything went well and I copied over the cfg files and other plugins. Nagios starts up and works - the problem is with authentication for the website. The first problem I found when trying to authenticate with .htaccess/.htpasswd showed up in the httpd error_log indicating a MySQL authentication failure. I did not request that during the rpm based install, so I am not sure why that has been added. I fixed that so that authentication will use .htaccess/.htpasswd. That seemed to work and I was allowed to the main page. When I went to look at the hosts on the new system I was denied access. After looking around I saw that the env was missing all the authentication env variables like REMOTE_USER=mysignon I rebuilt and re-installed nagios to be sure it was correct. The problem persists. I know this is more an apache http issue, but I cannot find any answers about this and why the upgrade has caused this problem. If anyone has had this problem or can point me to a solution, I would appreciate any help. Richard __________________________________________________ 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 goran_almvik at yahoo.com Thu Jun 16 07:28:05 2005 From: goran_almvik at yahoo.com (Gÿfffff6ran Almvik) Date: Wed, 15 Jun 2005 22:28:05 -0700 (PDT) Subject: IBM Director Message-ID: <20050616052805.61265.qmail@web54409.mail.yahoo.com> Hi there! Anybody been using Nagios to monitor servers/other hardware through IBM Director? The idea is to be able to check hardware status etc available through the IBM Director. Would be nice to have some info regarding problems and good solutions! Any feedback welcome! //G --------------------------------- Discover Yahoo! Have fun online with music videos, cool games, IM & more. Check it out! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Jun 16 09:41:06 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 09:41:06 +0200 Subject: Host dependent upon service on same host In-Reply-To: References: Message-ID: <42B12D12.8000209@op5.se> Blake Krone wrote: > Is there a way to have a host depend on a service? > > For example on our Windows machines we need to have "admin" logged in > for some applications to run. However, we have people that like to > remote in and logout admin so the applications then won't be run. > > How can I set it up so that if the service check fails it downs the > host status also? > Make the hostcheck the same as one of the service checks. > Thanks in advance! > > > ------------------------------------------------------- > 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 > -- 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 ae at op5.se Thu Jun 16 09:42:57 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 09:42:57 +0200 Subject: Upgrade from RHES3 to RHES4 and authentication failures with apache In-Reply-To: <20050616014959.23927.qmail@web30515.mail.mud.yahoo.com> References: <20050616014959.23927.qmail@web30515.mail.mud.yahoo.com> Message-ID: <42B12D81.1010408@op5.se> Richard DeWath wrote: > I planned on upgrading to a better host system and > since I am on RHES3 and can upgrade to RHES4, I went > ahead with a standard install. Apache was upgraded > from release 2.0.48 to 2.0.52 on the new system. > Everything went well and I copied over the cfg files > and other plugins. Nagios starts up and works - the > problem is with authentication for the website. The > first problem I found when trying to authenticate with > .htaccess/.htpasswd showed up in the httpd error_log > indicating a MySQL authentication failure. I did not > request that during the rpm based install, so I am not > sure why that has been added. I fixed that so that > authentication will use .htaccess/.htpasswd. That > seemed to work and I was allowed to the main page. > When I went to look at the hosts on the new system I > was denied access. After looking around I saw that > the env was missing all the authentication env > variables like REMOTE_USER=mysignon > > I rebuilt and re-installed nagios to be sure it was > correct. The problem persists. > > I know this is more an apache http issue, but I cannot > find any answers about this and why the upgrade has > caused this problem. > > If anyone has had this problem or can point me to a > solution, I would appreciate any help. > This problem is either SELinux specific, or pertains to apache. I suggest you thouroughly read the documentation for both and make the necessary adjustments to your configuration. > Richard > > __________________________________________________ > 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 > -- 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 hakan.smeds at skanska.se Thu Jun 16 11:41:39 2005 From: hakan.smeds at skanska.se (hakan.smeds at skanska.se) Date: Thu, 16 Jun 2005 11:41:39 +0200 Subject: Morning report email from Nagios Message-ID: I would like to have a morning report sent with email, that says either "All is good", or specifies any current issues. Why? It would support our process =) The "all is good" report also verifies that Nagios and the network is up and running. Any ideas how to incorporate it into Nagios? I?m thinking of taking out a Nagios day report via a cron job. Can that be done? Best regards H?kan Smeds ------------------------------------------------------- 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 dave.stubbs at utoronto.ca Thu Jun 16 12:01:40 2005 From: dave.stubbs at utoronto.ca (Dave Stubbs) Date: Thu, 16 Jun 2005 06:01:40 -0400 Subject: Check_ping options not built in - use ping? Message-ID: <42B14E04.6050509@utoronto.ca> Hello all, I need to be able to specify a source address for check_ping when querying certain hosts. The ping command has this option with -I (see man ping). Is there any way to do this with check_ping? Does check_ping have the ping command built into itself? Or does it call the ping binary? Dave... ------------------------------------------------------- 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 Thu Jun 16 12:12:40 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 12:12:40 +0200 Subject: Check_ping options not built in - use ping? In-Reply-To: <42B14E04.6050509@utoronto.ca> References: <42B14E04.6050509@utoronto.ca> Message-ID: <42B15098.7000001@op5.se> Dave Stubbs wrote: > Hello all, > > I need to be able to specify a source address for check_ping when > querying certain hosts. The ping command has this option with -I (see > man ping). Is there any way to do this with check_ping? Does > check_ping have the ping command built into itself? Or does it call the > ping binary? > check_ping calls the ping binary. check_icmp has it built-in. It's fairly easy to write such spoofing code when one has access to raw sockets, but I never saw the need for it in a good honest application. If you could sketch out the basics of your network setup and provide a decent reason why the source IP should be user-definable I might add it to check_icmp. > Dave... > > > ------------------------------------------------------- > 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 > -- 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 dave.stubbs at utoronto.ca Thu Jun 16 13:25:25 2005 From: dave.stubbs at utoronto.ca (Dave Stubbs) Date: Thu, 16 Jun 2005 07:25:25 -0400 Subject: Check_ping options not built in - use ping? In-Reply-To: <42B15098.7000001@op5.se> References: <42B14E04.6050509@utoronto.ca> <42B15098.7000001@op5.se> Message-ID: <42B161A5.7030100@utoronto.ca> Andreas Ericsson wrote: > Dave Stubbs wrote: > >> Hello all, >> >> I need to be able to specify a source address for check_ping when >> querying certain hosts. The ping command has this option with -I >> (see man ping). Is there any way to do this with check_ping? Does >> check_ping have the ping command built into itself? Or does it call >> the ping binary? >> > > check_ping calls the ping binary. check_icmp has it built-in. It's > fairly easy to write such spoofing code when one has access to raw > sockets, but I never saw the need for it in a good honest application. > If you could sketch out the basics of your network setup and provide a > decent reason why the source IP should be user-definable I might add > it to check_icmp. Oops! The Txt diagram is a bit mangled. Let me re-send. Wow - now that's a quick response! Basically the main reason for this request is OpenSWAN. I happen to run Nagios on the same machine that is my OpenSWAN gateway. A simple diagram is like this: Europe LAN-------- EuGate ---- Internet ---- NAGate ---- North America LAN Europe Private IP North America Priv IP 10.1.1.0/24 10.2.1.0/24 Of course, on both the North America and Europe side, there are more routers on the LANs which connect to other networks. EuGate has a private IP of 10.1.1.1 and Public IP 212.3.3.3 (for instance) NAGate has a private IP of 10.2.1.1 and Public IP 24.3.3.3(for instance) Nagios runs on the NAGate machine, which does IPSec policy-based routing to send packets through the tunnel from the North America LAN to the Europe LAN and back: EuGate: Source Traffic 10.1.1.0/24 Destination 10.2.1.0/24 - Tunnel NAGate: Source Traffic 10.2.1.0/24 Destination 10.2.2.0/24 - Tunnel The IPSec policy applies to the Private IPs on either end. BUT here's where the problem begins. Because OpenSWAN uses IPSec policy-based routing instead of normal IP routing (with proper interfaces) the routes in this system look weird, but work ok. For instance, the route on NAGate that sends traffic through the tunnel is like this: Dst: 10.1.1.0 Mask: 255.255.255.0 GW: 24.3.3.1 - NAGate's ISP If you just look at that from a normal network routing perspective, you would say that it would never work. There's no way the Europe-bound traffic would ever make it to the Europe LAN by simply passing it to the ISP. But at this point the IPSec policy-based routing takes over, and redirects the traffic through the tunnel (which indeed still goes right to the ISP on the way to Europe) Soooooo... If I send a PING command from NAGate to the EuGate private IP or any other private IP on the Europe LAN, such as some host at 10.1.1.23, the originating address on the ping is the PUBLIC address of NAGate - 24.3.3.3. Because the originating address doesn't match the IPSec routing policy, it doesn't get encrypted and sent through the tunnel. BUT (here's the important part) if I specify my ping on the NAGate host like this: ping -I eth1 10.1.1.23 (eth1 is the private interface 10.2.1.1) the pings go through ok because their source address now fits the IPSec policy. If I was running Nagios on any other host on the network except the IPSec gateways, this wouldn't be a problem, but because it runs ON the gateway itself, the challenge arises. Is this non-convoluted enough to justify the change? :-) Dave... ------------------------------------------------------- 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 Thu Jun 16 14:18:02 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 14:18:02 +0200 Subject: Check_ping options not built in - use ping? In-Reply-To: <42B15EBA.7070905@utoronto.ca> References: <42B14E04.6050509@utoronto.ca> <42B15098.7000001@op5.se> <42B15EBA.7070905@utoronto.ca> Message-ID: <42B16DFA.4080101@op5.se> Dave Stubbs wrote: > Andreas Ericsson wrote: > >> Dave Stubbs wrote: >> >>> Hello all, >>> >>> I need to be able to specify a source address for check_ping when >>> querying certain hosts. The ping command has this option with -I >>> (see man ping). Is there any way to do this with check_ping? Does >>> check_ping have the ping command built into itself? Or does it call >>> the ping binary? >>> >> >> check_ping calls the ping binary. check_icmp has it built-in. It's >> fairly easy to write such spoofing code when one has access to raw >> sockets, but I never saw the need for it in a good honest application. >> If you could sketch out the basics of your network setup and provide a >> decent reason why the source IP should be user-definable I might add >> it to check_icmp. >> > Wow - now that's a quick response! > > Basically the main reason for this request is OpenSWAN. I happen to run > Nagios on the same machine that is my OpenSWAN gateway. A simple > diagram is like this: > > Europe LAN-------- EuGate ---- Internet ---- NAGate ---- North America > LAN Europe Private IP North > America Priv IP > 10.1.1.0/24 10.2.1.0/24 > > Of course, on both the North America and Europe side, there are more > routers on the LANs which connect to other networks. > > EuGate has a private IP of 10.1.1.1 and Public IP 212.3.3.3 (for instance) > NAGate has a private IP of 10.2.1.1 and Public IP 24.3.3.3(for instance) > > Nagios runs on the NAGate machine, which does IPSec policy-based routing > to send packets through the tunnel from the North America LAN to the > Europe LAN and back: > > EuGate: Source Traffic 10.1.1.0/24 Destination 10.2.1.0/24 - Tunnel > NAGate: Source Traffic 10.2.1.0/24 Destination 10.2.2.0/24 - Tunnel > > The IPSec policy applies to the Private IPs on either end. > BUT here's where the problem begins. Because OpenSWAN uses IPSec > policy-based routing instead of normal IP routing (with proper > interfaces) the routes in this system look weird, but work ok. > > For instance, the route on NAGate that sends traffic through the tunnel > is like this: > > Dst: 10.1.1.0 > Mask: 255.255.255.0 > GW: 24.3.3.1 - NAGate's ISP > > If you just look at that from a normal network routing perspective, you > would say that it would never work. There's no way the Europe-bound > traffic would ever make it to the Europe LAN by simply passing it to the > ISP. But at this point the IPSec policy-based routing takes over, and > redirects the traffic through the tunnel (which indeed still goes right > to the ISP on the way to Europe) > > Soooooo... If I send a PING command from NAGate to the EuGate private > IP or any other private IP on the Europe LAN, such as some host at > 10.1.1.23, the originating address on the ping is the PUBLIC address of > NAGate - 24.3.3.3. Because the originating address doesn't match the > IPSec routing policy, it doesn't get encrypted and sent through the tunnel. > > BUT (here's the important part) if I specify my ping on the NAGate host > like this: > > ping -I eth1 10.1.1.23 (eth1 is the private interface 10.2.1.1) the > pings go through ok because their source address now fits the IPSec policy. > > If I was running Nagios on any other host on the network except the > IPSec gateways, this wouldn't be a problem, but because it runs ON the > gateway itself, the challenge arises. > > Is this non-convoluted enough to justify the change? :-) > Yes, but it's a fairly specific situation. I'd suggest you change the ping command in config.h after having run ./configure. You can then set the parameters to whatever you like. If you ever move your nagios installation to another gateway (or change IP) you'd have to do the same again. -- 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 dave.stubbs at utoronto.ca Thu Jun 16 14:52:26 2005 From: dave.stubbs at utoronto.ca (Dave Stubbs) Date: Thu, 16 Jun 2005 08:52:26 -0400 Subject: Check_ping options not built in - use ping? In-Reply-To: <42B16DFA.4080101@op5.se> References: <42B14E04.6050509@utoronto.ca> <42B15098.7000001@op5.se> <42B15EBA.7070905@utoronto.ca> <42B16DFA.4080101@op5.se> Message-ID: <42B1760A.1050202@utoronto.ca> > Yes, but it's a fairly specific situation. I'd suggest you change the > ping command in config.h after having run ./configure. You can then > set the parameters to whatever you like. If you ever move your nagios > installation to another gateway (or change IP) you'd have to do the > same again. > Right. Ok then - I guess I'll have to install from source instead of .deb :-) Thanks for the reply.... ------------------------------------------------------- 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 ebollengier at sigma.fr Thu Jun 16 15:52:45 2005 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Thu, 16 Jun 2005 15:52:45 +0200 Subject: anyone done this before? In-Reply-To: References: Message-ID: <200506161552.45783.ebollengier@sigma.fr> Hi, You can look on nagiosexchange, mayday project mayday_verif.pl does what you want http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=250 Bye Le Wednesday 15 June 2005 21:57, Bob Eckhardt a ?crit?: > Thx all for the replies. I used the info gathered from the link Marc > was so kind to post (http://www.nagios.org/faqs/viewfaq.php?faq_id=66) > and wrote this if anyone wants it....simple but effective > > #################### > #!/bin/csh > setenv WHATSOFF_SERVICE `cat /opt/nagios/var/status.log | grep SERVICE | > awk -F";" '{ if ($10 == 0) { printf("%s\t%s SERVICE check is turned > off\n\r", $2, $3)}}'` > setenv WHATSOFF_HOST `cat /opt/nagios/var/status.log | grep HOST | awk > -F";" '{ if ($14 == 0) { printf("%s HOST check is turned off\n\r", $2)}}'` > > if ("$WHATSOFF_SERVICE" != "") then > echo "$WHATSOFF_SERVICE" | mail -s "service checks turned off on > nagios" towhomitmayconcern at mymailserver.com > endif > > if ("$WHATSOFF_HOST" != "") then > echo "$WHATSOFF_HOST" | mail -s "host checks turned off on nagios" > towhomitmayconcern at mymailserver.com > endif > ######################## > ------------------------------------------------------- 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 blakekrone at gmail.com Thu Jun 16 15:58:14 2005 From: blakekrone at gmail.com (Blake Krone) Date: Thu, 16 Jun 2005 07:58:14 -0600 Subject: Host dependent upon service on same host In-Reply-To: <42B12D12.8000209@op5.se> References: <42B12D12.8000209@op5.se> Message-ID: Andreas, yes that is one option, however, I still like having the host check be the simple ping reply in my case. What i'm looking for is more of a new feature I'm thinking, a way to have a host depend on a service, instead of host depend on host and service depend on service. But I will give this a try and see what the others in my group think of this. Thanks On 6/16/05, Andreas Ericsson wrote: > Blake Krone wrote: > > Is there a way to have a host depend on a service? > > > > For example on our Windows machines we need to have "admin" logged in > > for some applications to run. However, we have people that like to > > remote in and logout admin so the applications then won't be run. > > > > How can I set it up so that if the service check fails it downs the > > host status also? > > > > Make the hostcheck the same as one of the service checks. > > > Thanks in advance! > > > > > > ------------------------------------------------------- > > 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 > > > > -- > 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_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.mohr at elaxy.com Thu Jun 16 16:00:49 2005 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 16 Jun 2005 16:00:49 +0200 Subject: NEB Configuration Documentation Message-ID: Hi All! Is there any NEB configuration documentation anywhere? I don't want to go through the trouble of writing up something myself if it already exists. Regards, Jim Mohr ------------------------------------------------------- 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 HarlanRichardC at JohnDeere.com Thu Jun 16 16:08:41 2005 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Thu, 16 Jun 2005 09:08:41 -0500 Subject: anyone done this before? Message-ID: <3C2C08B4FEE12B418B1F7A2950B9A91B038059@edxmb9.jdnet.deere.com> We have cron a script that does this, though we made a few changes for our setup. We make lots of updates to our web sites that can cause Nagios to give false alerts. So when we que up an update the update process automatically turns off alerting on the Host/Service then once the update has been verify and show to work the process automatically turn on the alerting again. Because of this our script to alert on disable notification would alert during an update. To fix this we added a process to make sure the script will fail again on the second pass on the same service before it alerts. It works great for us. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Arno Lehmann Sent: Wednesday, June 15, 2005 1:12 PM To: Bob Eckhardt Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] anyone done this before? 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 ------------------------------------------------------- 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 Thu Jun 16 16:47:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 16:47:39 +0200 Subject: NEB Configuration Documentation In-Reply-To: References: Message-ID: <42B1910B.8030300@op5.se> Mohr James wrote: > Hi All! > > Is there any NEB configuration documentation anywhere? Not sure what you mean by NEB configuration. There is no documentation regarding the NEB API anywhere, anytime. If you're interested in writing a module, I suggest you download nagios-db and have a look at sampler.c which is included therein. It's a very simple module which is good to learn from. > I don't want to > go through the trouble of writing up something myself if it already > exists. > My guess is that you'll be regarded as something of a hero if you properly document the API. Many have anxiously awaited it. > Regards, > > Jim Mohr > > > ------------------------------------------------------- > 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 > -- 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 rpatrick3 at hotmail.com Thu Jun 16 17:10:04 2005 From: rpatrick3 at hotmail.com (Richard Patrick) Date: Thu, 16 Jun 2005 15:10:04 +0000 Subject: NAN - Nagios Notification Daemon 0.02 - Anyone using it? Message-ID: An HTML attachment was scrubbed... URL: From rpatrick3 at hotmail.com Thu Jun 16 17:52:18 2005 From: rpatrick3 at hotmail.com (Richard Patrick) Date: Thu, 16 Jun 2005 15:52:18 +0000 Subject: NAN - Nagios Notification Daemon 0.02 - Anyone using it? Message-ID: RTE editors.... Here we go again. http://os.cyberheatinc.com/nan.php Has anyone used this addon? Its called NAN - Nagios Notification Daemon and it looks like a nice addon to the Nagios paging system. We are currently using Nans 0.6 which is working well, but not as flexiable as NAN. I have followed all INSTALL documentation and am getting the following error when testing. nan at nagioshost# /usr/local/nan/nand Could not lock conf file: Bad file number nan at nagioshost# I have also used full paths with the same result? Server specs SunOS nagioshost 5.9 Generic_118558-04 sun4u sparc SUNW,Ultra-60 nan at nagioshost# /usr/local/bin/perl -v This is perl, v5.8.5 built for sun4-solaris nan at nagioshost# pwd /usr/local/nan nan at nagioshost# ls -la total 162 drwxr-sr-x 5 nan nan 512 Jun 15 19:04 . drwxr-xr-x 14 root root 512 Jun 2 11:28 .. -rw------- 1 nan nan 5800 Jun 16 11:09 .sh_history -rw-r--r-- 1 nan nan 117 Aug 10 2004 CHANGES -rw-r--r-- 1 nan nan 6085 Jul 29 2004 INSTALL -rw-r--r-- 1 nan nan 18020 Jul 29 2004 LICENSE drwxr-sr-x 2 nan nan 512 Jul 29 2004 Nagios -rw-r--r-- 1 nan nan 7759 Aug 10 2004 README drwxr-sr-x 2 nan nan 512 Jun 2 11:53 db -rwxr-xr-x 1 nan nan 880 Jun 7 18:09 init-script -rwxr-xr-x 1 nan nan 3536 Jun 2 11:15 nanc -rw-rw-rw- 1 nan nan 234 Jun 2 11:57 nanc.conf -rwxr-xr-x 1 nan nan 23315 Jun 15 19:03 nand -rwxrwxrwx 1 nan nan 7220 Jun 15 19:03 nand.conf drwxrwsr-x 2 nan nan 512 Jul 29 2004 queue Any ideas? ------------------------------------------------------- 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 Andrew.Laden at tudor.com Thu Jun 16 18:10:33 2005 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Thu, 16 Jun 2005 12:10:33 -0400 Subject: Deleting Acknowledgement comments Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA630@tudor.com> Can Nagios be automatically set up to delete Comments associated with Acknowledgements? IE. There is a problem. I ack the problem and include a comment. The problem goes away. The Ack clears but the comment remains. I'd like the comment to clear as well, Else I have to go in manually, look at all the comments, see which ones are on services that are no longer problems, and clear them manually one at at time. As a side note, for some enhancement requests. 1: Ability to apply delete multiple comments from a single web page. (ie, a checkbox for each comment, and an apply to all button. 2: A search field, so I can type in the name of a host, and have nagios list the hosts, or if there is only one, list the service details for the one host. Makes it much easier to find hosts. 3: Combine 1 and 2, so I can search for a set of hosts, and apply a comment/downtime/etc to all of them. This way, I don't have to set up hostgroups for every possible combinations of hosts that I would like to work on. I am running Nagios 1.1 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandromergvaz at uol.com.br Thu Jun 16 18:20:55 2005 From: sandromergvaz at uol.com.br (Sandro Merg Vaz) Date: Thu, 16 Jun 2005 13:20:55 -0300 Subject: Deleting Acknowledgement comments In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA630@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA630@tudor.com> Message-ID: <42B1A6E7.2050907@uol.com.br> Growing the "wish list", I'd like to see: 1) the comment "baloon" disappear after "x" minutes/hours after the service/host recovery. 2) sort options in the comments columns (date/hour mostly), as we see in status.cgi. TIA, SMV Andrew Laden wrote: > Can Nagios be automatically set up to delete Comments associated with > Acknowledgements? IE. There is a problem. I ack the problem and > include a comment. > > The problem goes away. The Ack clears but the comment remains. I'd > like the comment to clear as well, Else I have to go in manually, look > at all the comments, see which ones are on services that are no longer > problems, and clear them manually one at at time. > > > As a side note, for some enhancement requests. > 1: Ability to apply delete multiple comments from a single web page. > (ie, a checkbox for each comment, and an apply to all button. > > 2: A search field, so I can type in the name of a host, and have > nagios list the hosts, or if there is only one, list the service > details for the one host. Makes it much easier to find hosts. > > 3: Combine 1 and 2, so I can search for a set of hosts, and apply a > comment/downtime/etc to all of them. This way, I don't have to set up > hostgroups for every possible combinations of hosts that I would like > to work on. > > I am running Nagios 1.1 > Thanks > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aivaturi2 at unlnotes.unl.edu Thu Jun 16 18:25:04 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Thu, 16 Jun 2005 11:25:04 -0500 Subject: nrpe nsca docs In-Reply-To: References: 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 Could any body please tell me where I can download NRPE and NSCA packages. The download section in nagios doesn't list them. Or is it bundles with the nagios source files? --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan_Maxwell at hilton.com Thu Jun 16 18:38:32 2005 From: Alan_Maxwell at hilton.com (Alan Maxwell) Date: Thu, 16 Jun 2005 11:38:32 -0500 Subject: Schedule downtime from command line? Message-ID: <0CE7BC7B93C2F949ADF277B899547934089C5446@cmxsmbx1.hq.ad.hilton.com> Is it possible to schedule downtime via the command line? -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Thu Jun 16 18:45:53 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 16 Jun 2005 09:45:53 -0700 Subject: Schedule downtime from command line? Message-ID: <59B15593F41BD24591D59436E7226EAD02094F68@Khiphx2.khimetrics.com> There are tools on nagiosexchange to do this. I've written my own. Yes. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Alan Maxwell Sent: Thursday, June 16, 2005 9:39 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Schedule downtime from command line? Is it possible to schedule downtime via the command line? -------------- next part -------------- An HTML attachment was scrubbed... URL: From RAFULMH at usmc-mccs.org Thu Jun 16 18:51:02 2005 From: RAFULMH at usmc-mccs.org (Raful Mr Mitchell H) Date: Thu, 16 Jun 2005 12:51:02 -0400 Subject: Service stataus details Message-ID: <4BEB8E9952EF544284F706EAD70820B303FF042E@hqex2ksvr01.windows.usmc-mccs.org> My users complain that it is hard to see the hyperlink/hostname when it shows on the service status details web page. Any way to change this default behavior, that is either the link or background color. Mitch Raful MCSE, CCNP Network Engineer MCCS Quantico 3044 Catlin Avenue Quantico, VA 22134 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at fusionbroadband.com Thu Jun 16 00:52:50 2005 From: bsmith at fusionbroadband.com (Brian) Date: Wed, 15 Jun 2005 22:52:50 +0000 (UTC) Subject: "not authorized for any hosts" when should be authorized Message-ID: Hello all, having a weird issue with nagios. All CGIs display the error "it appears you do not have permission to view information for any of the services you requested" Here's the funky part - it does this even when authentication is turned completely off in cgi.cfg. It also accepts the username and password when authentication is turned on, and the apache logs seem to indicate authentication worked and that the CGIs are getting accessed. Also, I have a different box (a testing box) that seems to run nagios fine, and no problems with authentication or permissions going on at all. The systems are both running Gentoo. The (functional) test-box is using apache2, the main (nonfunctional) server is running apache. I've gone through cgi.cfg and made sure the user permissions make sense, i.e. the user being logged in with is listed under all the "authorized_for_..." entries. File permissions are good in the cgis folder and the cgis themselves. It appears that the cgi code is the bit that's deciding I don't have permission. Rather than spam huge config files into my post I'll try to watch the thread and supply them on demand when I'm back at work tomorrow. Thanks guys, hope someone knows what's going on because I'm stumped! -- Brian ------------------------------------------------------- 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 Thu Jun 16 19:45:14 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 16 Jun 2005 19:45:14 +0200 Subject: Service stataus details In-Reply-To: <4BEB8E9952EF544284F706EAD70820B303FF042E@hqex2ksvr01.windows.usmc-mccs.org> References: <4BEB8E9952EF544284F706EAD70820B303FF042E@hqex2ksvr01.windows.usmc-mccs.org> Message-ID: <42B1BAAA.6040309@its-lehmann.de> See my mail from yesterday. Arno Raful Mr Mitchell H wrote: > > My users complain that it is hard to see the hyperlink/hostname when it > shows on the service status details web page. Any way to change this > default behavior, that is either the link or background color. > > 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 ae at op5.se Thu Jun 16 19:46:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 19:46:38 +0200 Subject: NAN - Nagios Notification Daemon 0.02 - Anyone using it? In-Reply-To: References: Message-ID: <42B1BAFE.3040503@op5.se> Richard Patrick wrote: > RTE editors.... > > Here we go again. > > http://os.cyberheatinc.com/nan.php > > Has anyone used this addon? Its called NAN - Nagios Notification Daemon > and it looks like a nice addon to the Nagios paging system. We are > currently using Nans 0.6 which is working well, but not as flexiable as > NAN. > > I have followed all INSTALL documentation and am getting the following > error when testing. > > nan at nagioshost# /usr/local/nan/nand > Could not lock conf file: Bad file number > nan at nagioshost# > > > I have also used full paths with the same result? > > Server specs > > SunOS nagioshost 5.9 Generic_118558-04 sun4u sparc SUNW,Ultra-60 > > > nan at nagioshost# /usr/local/bin/perl -v > > This is perl, v5.8.5 built for sun4-solaris > > > nan at nagioshost# pwd > /usr/local/nan > nan at nagioshost# ls -la > total 162 > drwxr-sr-x 5 nan nan 512 Jun 15 19:04 . > drwxr-xr-x 14 root root 512 Jun 2 11:28 .. > -rw------- 1 nan nan 5800 Jun 16 11:09 .sh_history > -rw-r--r-- 1 nan nan 117 Aug 10 2004 CHANGES > -rw-r--r-- 1 nan nan 6085 Jul 29 2004 INSTALL > -rw-r--r-- 1 nan nan 18020 Jul 29 2004 LICENSE > drwxr-sr-x 2 nan nan 512 Jul 29 2004 Nagios > -rw-r--r-- 1 nan nan 7759 Aug 10 2004 README > drwxr-sr-x 2 nan nan 512 Jun 2 11:53 db > -rwxr-xr-x 1 nan nan 880 Jun 7 18:09 init-script > -rwxr-xr-x 1 nan nan 3536 Jun 2 11:15 nanc > -rw-rw-rw- 1 nan nan 234 Jun 2 11:57 nanc.conf > -rwxr-xr-x 1 nan nan 23315 Jun 15 19:03 nand > -rwxrwxrwx 1 nan nan 7220 Jun 15 19:03 nand.conf > drwxrwsr-x 2 nan nan 512 Jul 29 2004 queue > > > Any ideas? > Ask the NAN folks perhaps? I'm sure they've got a mailing-list/irc channel/forum or some such. -- 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 ae at op5.se Thu Jun 16 19:57:00 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 19:57:00 +0200 Subject: Deleting Acknowledgement comments In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA630@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA630@tudor.com> Message-ID: <42B1BD6C.8050102@op5.se> Andrew Laden wrote: > Can Nagios be automatically set up to delete Comments associated with > Acknowledgements? IE. There is a problem. I ack the problem and include a > comment. > > The problem goes away. The Ack clears but the comment remains. I'd like the > comment to clear as well, Else I have to go in manually, look at all the > comments, see which ones are on services that are no longer problems, and > clear them manually one at at time. > This is called "Persistent Comments" and can be defined through the GUI with a checkbox when acking the problem (at least in nagios 2.x, although I'm fairly sure this was in 1.x as well). > As a side note, for some enhancement requests. > 1: Ability to apply delete multiple comments from a single web page. (ie, a > checkbox for each comment, and an apply to all button. > 2: A search field, so I can type in the name of a host, and have nagios list > the hosts, or if there is only one, list the service details for the one > host. Makes it much easier to find hosts. The part after the 'or if there is only one' is already implemented in Nagios 2.x. > 3: Combine 1 and 2, so I can search for a set of hosts, and apply a > comment/downtime/etc to all of them. This way, I don't have to set up > hostgroups for every possible combinations of hosts that I would like to > work on. > > I am running Nagios 1.1 While these functions are all good and well, the current GUI will be dropped for something else entirely. This new GUI will most likely keep comments in a database by itself and only let Nagios know of acknowledgements (for notification purposes). No new features are planned for the current GUI, although patches implementing obviously desirable features are often accepted. Obviously desirable in this case means that no sane person can have anything to object to them, or they are optional and unobtrusive if unused. Patches that depend on the mood or opinion of the user are usually ignored. -- 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 tonye at billy.demon.nl Thu Jun 16 20:01:20 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Thu, 16 Jun 2005 20:01:20 +0200 Subject: nrpe nsca docs In-Reply-To: References: Message-ID: <1118944879.1830.125.camel@localhost> tor, 16.06.2005 kl. 18.25 skrev Aditya Ivaturi: [...] > Could any body please tell me where I can download NRPE and NSCA > packages. The download section in nagios doesn't list them. Or is it > bundles with the nagios source files? No. http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bphrase%5D=nrpe&tx_netnagext_pi1%5Bsubmit%5D=search&tx_netnagext_pi1%5Bsearch%5D=1 Be aware that this url is probably broken by the time it gets to your MUA. The crucial bit is: http://www.nagiosexchange.org. You have to register with a login ID and password before you can access it. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 rsantiago at rcm.upr.edu Thu Jun 16 21:37:20 2005 From: rsantiago at rcm.upr.edu (Richard Santiago) Date: Thu, 16 Jun 2005 15:37:20 -0400 Subject: Different Front-End Message-ID: Hi, I've been asked by my boss to try to implement a different web front-end over Nagios for non-technical users. The idea is to only display the following info: Host Name | Service | Status [up or down] | Uptime For statistics, we only need the Availability Report. Should you happen to know if this is possible, please let me know and what tool is available for this. I've seen the Nagios syNAPTic front-end webpage [http://www.iamafreeman.com/projects/synaptic/ ] but don't know if it provides or is capable of providing what we want. Thanks for your help. Richard Santiago rsantiago at rcm.upr.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From luke at rushmore.com Thu Jun 16 21:35:29 2005 From: luke at rushmore.com (Luke Johnson) Date: Thu, 16 Jun 2005 11:35:29 -0800 Subject: Makefile GD lib problem on Centos 4 (aka RHES4) Message-ID: <42B1D481.5090208@rushmore.com> Hi, I've setup a few Nagios boxes in years past, and trying it again today, however I'm running into a (first time for me, but I'm sure common) problem with GD libs on Centos 4 (x86_64, Which should be identical to Redhat ES 4). In the past I've hand compiled GD, but on this box I made sure to install the necessary packages (info attached below). I'm pretty dang sure I got all the libs (gd/png/jpeg) in all the right places (also below), I've double checked my /etc/ld.so.conf, I've specified the lib paths in the ./configure... and still the ./configure says: checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no I glared at the Makefile for a bit, but hopefully the mail list will be a bit faster... Any thoughts on why I can't get these dang libs included with my nagios would be great. Thanks, Luke My attachments (sorry for the length) 1-location of all the actual libs 2-contents of /etc/ld.so.conf 3- yum's info on my installed packages 4-full output of my ./configure run... ------------------------------------------------ [root at chilkat nagios-2.0b3]# locate libgd.so /usr/lib/libgd.so.2 /usr/lib/libgd.so.2.0.0 /usr/lib64/libgd.so.2 /usr/lib64/libgd.so.2.0.0 /usr/lib64/libgd.so [root at chilkat nagios-2.0b3]# locate libpng.so /usr/lib/libpng.so.2 /usr/lib/libpng.so.3.1.2.7 /usr/lib/libpng.so.2.1.0.16 /usr/lib/libpng.so.3 /usr/lib64/libpng.so.2 /usr/lib64/libpng.so.3.1.2.7 /usr/lib64/libpng.so.2.1.0.16 /usr/lib64/libpng.so.3 [root at chilkat nagios-2.0b3]# locate libjpeg.so /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62.0.0 /usr/lib64/libjpeg.so.62 /usr/lib64/libjpeg.so.62.0.0 [root at chilkat nagios-2.0b3]# cat /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/X11R6/lib /usr/X11R6/lib64 /usr/lib /usr/lib64 [root at chilkat nagios-2.0b3]# yum info gd-devel Installed Packages Name : gd-devel Arch : x86_64 Version: 2.0.28 Release: 4 Size : 351 k Repo : installed Summary: The development libraries and header files for gd. [root at chilkat nagios-2.0b3]# yum info libjpeg Installed Packages Name : libjpeg Arch : i386 Version: 6b Release: 33 Size : 245 k Repo : installed Summary: A library for manipulating JPEG image format files. Name : libjpeg Arch : x86_64 Version: 6b Release: 33 Size : 277 k Repo : installed Summary: A library for manipulating JPEG image format files. [root at chilkat nagios-2.0b3]# yum info libpng Installed Packages Name : libpng Arch : x86_64 Version: 1.2.7 Release: 1 Size : 406 k Repo : installed Summary: A library of functions for manipulating PNG image format files. Name : libpng Arch : i386 Version: 1.2.7 Release: 1 Size : 388 k Repo : installed Summary: A library of functions for manipulating PNG image format files. [root at chilkat nagios-2.0b3]# make clean > /dev/null [root at chilkat nagios-2.0b3]# ./configure --prefix=/usr/local/nagios --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --enable-embedded-perl --with-perlcache checking for a BSD compatible install... /usr/bin/install -c checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... yes checking for grp.h... yes checking for limits.h... yes checking for math.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for pthread.h... yes checking for pthreads.h... no checking for pwd.h... yes checking for regex.h... yes checking for signal.h... yes checking for socket.h... no checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for uio.h... no checking for sys/mman.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for sys/timeb.h... yes checking for sys/un.h... yes checking for sys/ipc.h... yes checking for sys/msg.h... yes checking for sys/poll.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... yes checking for socket in -lsocket... no checking for initgroups... yes checking for setenv... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... yes checking for type of socket size... size_t checking for pthread_create in -lcma... no checking for pthread_create in -lpthread... yes checking for library containing nanosleep... none required checking for mail... /bin/mail Init script directory: /etc/rc.d/init.d We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. ******************************************************************** checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -shared creating base/perlxsi.c Embedded Perl interpreter will be compiled in... Internally compiled Perl scripts will be cached... Using threaded perl checking for traceroute... /bin/traceroute checking for snprintf... yes checking for type va_list... yes checking for perl... /usr/bin/perl creating ./config.status creating Makefile creating subst creating pkginfo creating base/Makefile creating common/Makefile creating contrib/Makefile creating cgi/Makefile creating html/Makefile creating module/Makefile creating include/Makefile creating xdata/Makefile creating daemon-init creating html/index.html creating html/side.html creating include/config.h include/config.h is unchanged creating include/snprintf.h include/snprintf.h is unchanged creating include/nagios.h creating include/cgiutils.h include/cgiutils.h is unchanged Creating sample config files in sample-config/ ... *** Configuration summary for nagios 2.0b3 04-03-2005 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagcmd Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost// CGI URL: http://localhost/cgi-bin/ Traceroute (used by WAP): /bin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. [root at chilkat nagios-2.0b3]# ------------------------------------------------------- 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 Andrew.Laden at tudor.com Thu Jun 16 22:40:36 2005 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Thu, 16 Jun 2005 16:40:36 -0400 Subject: Deleting Acknowledgement comments Message-ID: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA635@tudor.com> Persistent comments, according to the docs, control if the comment survives a nagios restart. This has nothing to do with the comment surviving the Ack being cleared. Speaking of Documentation, I am having trouble finding documentation for end users. (ie, how to operate the GUI. What the difference between disabling notification, disabling checks, ack'ing a problem, etc. ) You have to infer a lot of it from the code. It would be nice to have a "helpdesk" level of documentation for the GUI. The "if there is only one" is useless without the search feature in front of it. I think the search feature is pretty important. I have hundreds of machines. I know that one of them is going to go down, so I want to schedule it for downtime (via the gui) Right now, I have to click through screens to find the host. Either look at the very long detail or overview pages, or else try to guess what hostgroup it might be in. Having a place that I could just type in the name would be a big help. (I know I can bring up the URL and type it in directly, but this isnt user friendly, especially since the page is in frames so you cant see the URL. What is the ETA on the New GUI? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Thursday, June 16, 2005 1:57 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Deleting Acknowledgement comments Andrew Laden wrote: > Can Nagios be automatically set up to delete Comments associated with > Acknowledgements? IE. There is a problem. I ack the problem and > include a comment. > > The problem goes away. The Ack clears but the comment remains. I'd > like the comment to clear as well, Else I have to go in manually, look > at all the comments, see which ones are on services that are no longer > problems, and clear them manually one at at time. > This is called "Persistent Comments" and can be defined through the GUI with a checkbox when acking the problem (at least in nagios 2.x, although I'm fairly sure this was in 1.x as well). > As a side note, for some enhancement requests. > 1: Ability to apply delete multiple comments from a single web page. > (ie, a checkbox for each comment, and an apply to all button. > 2: A search field, so I can type in the name of a host, and have > nagios list the hosts, or if there is only one, list the service > details for the one host. Makes it much easier to find hosts. The part after the 'or if there is only one' is already implemented in Nagios 2.x. > 3: Combine 1 and 2, so I can search for a set of hosts, and apply a > comment/downtime/etc to all of them. This way, I don't have to set up > hostgroups for every possible combinations of hosts that I would like > to work on. > > I am running Nagios 1.1 While these functions are all good and well, the current GUI will be dropped for something else entirely. This new GUI will most likely keep comments in a database by itself and only let Nagios know of acknowledgements (for notification purposes). No new features are planned for the current GUI, although patches implementing obviously desirable features are often accepted. Obviously desirable in this case means that no sane person can have anything to object to them, or they are optional and unobtrusive if unused. Patches that depend on the mood or opinion of the user are usually ignored. -- 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 ------------------------------------------------------- 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 James.P.Fuentes at boeing.com Thu Jun 16 22:49:15 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Thu, 16 Jun 2005 13:49:15 -0700 Subject: Different Front-End Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE84@XCH-SW-42.sw.nos.boeing.com> Anything is possible ;-) I personally am not familiar with any other web front-ends. However, it seems to me that with some basic web authoring skills you could simply provide links only to what you would like to be displayed to "non-technical" users. -Jim ________________________________ From: Richard Santiago [mailto:rsantiago at rcm.upr.edu] Sent: Thu 6/16/2005 12:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Different Front-End Hi, I've been asked by my boss to try to implement a different web front-end over Nagios for non-technical users. The idea is to only display the following info: Host Name | Service | Status [up or down] | Uptime For statistics, we only need the Availability Report. Should you happen to know if this is possible, please let me know and what tool is available for this. I've seen the Nagios syNAPTic front-end webpage [http://www.iamafreeman.com/projects/synaptic/ ] but don't know if it provides or is capable of providing what we want. Thanks for your help. Richard Santiago rsantiago at rcm.upr.edu ------------------------------------------------------- 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 EmmettH at Examen.com Thu Jun 16 22:53:34 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Thu, 16 Jun 2005 13:53:34 -0700 Subject: check_http vs "404 File Not Found" Message-ID: <42B1E6CE.6090803@Examen.com> Hi Folks, Does anyone know (outside of hacking the code) how to get check_https to consider a: 404 File Not Found message as a "CRITICAL" error? It seems to me that it would be a BAD thing if you are looking for a specific file and it's not even there..i.e. MORE than just a WARNING! Thanks, Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. ------------------------------------------------------- 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 bench at silentmedia.com Thu Jun 16 22:57:15 2005 From: bench at silentmedia.com (Ben) Date: Thu, 16 Jun 2005 13:57:15 -0700 (PDT) Subject: Different Front-End In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE84@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE84@XCH-SW-42.sw.nos.boeing.com> Message-ID: If you can use Nagios 2, then take a gander at nagios-db, available on sourceforge. It should be perfectly fine for you. On Thu, 16 Jun 2005, EXT-Fuentes, James P wrote: > Anything is possible ;-) > > I personally am not familiar with any other web front-ends. However, it seems to me that with some basic web authoring skills you could simply provide links only to what you would like to be displayed to "non-technical" users. > > -Jim > > ________________________________ > > From: Richard Santiago [mailto:rsantiago at rcm.upr.edu] > Sent: Thu 6/16/2005 12:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Different Front-End > > > > Hi, > > > > I've been asked by my boss to try to implement a different web front-end over Nagios for non-technical users. The idea is to only display the following info: > > > > Host Name | Service | Status [up or down] | Uptime > > > > For statistics, we only need the Availability Report. > > > > Should you happen to know if this is possible, please let me know and what tool is available for this. > > > > I've seen the Nagios syNAPTic front-end webpage [http://www.iamafreeman.com/projects/synaptic/ ] but don't know if it provides or is capable of providing what we want. > > > > Thanks for your help. > > > > Richard Santiago > > rsantiago at rcm.upr.edu > > > ------------------------------------------------------- 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 Thu Jun 16 23:00:06 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 16 Jun 2005 23:00:06 +0200 Subject: Makefile GD lib problem on Centos 4 (aka RHES4) In-Reply-To: <42B1D481.5090208@rushmore.com> References: <42B1D481.5090208@rushmore.com> Message-ID: <42B1E856.7090008@its-lehmann.de> Hello, Luke Johnson wrote: > Hi, > > I've setup a few Nagios boxes in years past, and trying it again today, > however I'm running into a (first time for me, but I'm sure common) > problem with GD libs on Centos 4 (x86_64, Which should be identical to > Redhat ES 4). In the past I've hand compiled GD, but on this box I made > sure to install the necessary packages (info attached below). Two things I noticed: - Have you installed the png and jpeg devel packages? I'm not used to RH systems, so I can't tell you how to check, though. - If necessary at all: have you tried giving the lib64 directories to ./configure? > [root at chilkat nagios-2.0b3]# make clean > /dev/null > [root at chilkat nagios-2.0b3]# ./configure --prefix=/usr/local/nagios > --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios > --with-nagios-group=nagios --with-command-group=nagcmd > --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --enable-embedded-perl like here? ... > Embedded Perl interpreter will be compiled in... > Internally compiled Perl scripts will be cached... > Using threaded perl Did you read the notes concerning embedded perl and memory leaks? I don't know if this is fixed by now, but that was an issue. Arno -- 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 Kevin.Andersen at 247RealMedia.com Thu Jun 16 23:03:14 2005 From: Kevin.Andersen at 247RealMedia.com (Andersen, Kevin J.) Date: Thu, 16 Jun 2005 14:03:14 -0700 Subject: check_http vs "404 File Not Found" Message-ID: <21F49672291A6D44B142DDF348ED690B013234B0@CBA0E2K05.CBA0.centerbeam.com> Does nagios treat that as a redirect? If so, you could have it go critical on redirect. I believe it's '-f critical' Kev -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Emmett Hogan Sent: Thursday, June 16, 2005 4:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http vs "404 File Not Found" Hi Folks, Does anyone know (outside of hacking the code) how to get check_https to consider a: 404 File Not Found message as a "CRITICAL" error? It seems to me that it would be a BAD thing if you are looking for a specific file and it's not even there..i.e. MORE than just a WARNING! Thanks, Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. ------------------------------------------------------- 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 ae at op5.se Thu Jun 16 23:14:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Jun 2005 23:14:55 +0200 Subject: Deleting Acknowledgement comments In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA635@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA635@tudor.com> Message-ID: <42B1EBCF.6050004@op5.se> It would help the debate immensely if you could reply inline. Scrolling up and down to find the original text and guess what part of the reply is in response to what is a bit tiresome. Andrew Laden wrote: > Persistent comments, according to the docs, control if the comment survives > a nagios restart. This has nothing to do with the comment surviving the Ack > being cleared. > Umm.. I'm fairly certain that's wrong. I might be mistaken though. I rarely dabble with the gui myself. > Speaking of Documentation, I am having trouble finding documentation > for end users. (ie, how to operate the GUI. What the difference between > disabling notification, disabling checks, ack'ing a problem, etc. ) You have > to infer a lot of it from the code. It would be nice to have a "helpdesk" > level of documentation for the GUI. > Feel free to write one. Noone else has felt the need to be so great so as to want to take the trouble to jot it down and publish it. > The "if there is only one" is useless without the search feature in front of > it. The search feature is there. > I think the search feature is pretty important. I have hundreds of > machines. I know that one of them is going to go down, so I want to schedule > it for downtime (via the gui) Right now, I have to click through screens to > find the host. You won't have to do that with Nagios 2.x. I thought I made this clear, but perhaps it wasn't clear enough. > Either look at the very long detail or overview pages, or > else try to guess what hostgroup it might be in. Having a place that I could > just type in the name would be a big help. (I know I can bring up the URL > and type it in directly, but this isnt user friendly, especially since the > page is in frames so you cant see the URL. > > What is the ETA on the New GUI? > As soon as someone feels the need to be so pressing that they can't wait longer, they'll hack it up. Ethan has expressed a desire to have this new gui in place in 3.0 at the very latest. There's no such thing as ETA when no money changes hands, because the people writing the code might well go off on a two-year vacation without bothering to finish what they were doing at the time. Feel free to contribute though; Money, code or hardware is well received. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Thursday, June 16, 2005 1:57 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Deleting Acknowledgement comments > > Andrew Laden wrote: > >>Can Nagios be automatically set up to delete Comments associated with >>Acknowledgements? IE. There is a problem. I ack the problem and >>include a comment. >> >> The problem goes away. The Ack clears but the comment remains. I'd >>like the comment to clear as well, Else I have to go in manually, look >>at all the comments, see which ones are on services that are no longer >>problems, and clear them manually one at at time. >> > > > This is called "Persistent Comments" and can be defined through the GUI with > a checkbox when acking the problem (at least in nagios 2.x, although I'm > fairly sure this was in 1.x as well). > > >>As a side note, for some enhancement requests. >>1: Ability to apply delete multiple comments from a single web page. >>(ie, a checkbox for each comment, and an apply to all button. >>2: A search field, so I can type in the name of a host, and have >>nagios list the hosts, or if there is only one, list the service >>details for the one host. Makes it much easier to find hosts. > > > The part after the 'or if there is only one' is already implemented in > Nagios 2.x. > > >>3: Combine 1 and 2, so I can search for a set of hosts, and apply a >>comment/downtime/etc to all of them. This way, I don't have to set up >>hostgroups for every possible combinations of hosts that I would like >>to work on. >> >>I am running Nagios 1.1 > > > While these functions are all good and well, the current GUI will be dropped > for something else entirely. This new GUI will most likely keep comments in > a database by itself and only let Nagios know of acknowledgements (for > notification purposes). No new features are planned for the current GUI, > although patches implementing obviously desirable features are often > accepted. > > Obviously desirable in this case means that no sane person can have anything > to object to them, or they are optional and unobtrusive if unused. Patches > that depend on the mood or opinion of the user are usually ignored. > -- 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 cameron.matheson at gmail.com Thu Jun 16 23:20:18 2005 From: cameron.matheson at gmail.com (Cam) Date: Thu, 16 Jun 2005 15:20:18 -0600 Subject: checking disk space of remote hosts Message-ID: <7e2f9af9050616142065d14e2b@mail.gmail.com> Hi, Just trying to figure out how the check_disk plugin works... it doesn't seem to have a way to pass the remote hosts ip address from the command line. Is there where NRPE is used? I can't find too much documentation about it... where does one learn about nrpe (or how do i check disk space on remote hosts?) 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 Thu Jun 16 23:30:44 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Thu, 16 Jun 2005 14:30:44 -0700 Subject: checking disk space of remote hosts Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE85@XCH-SW-42.sw.nos.boeing.com> I haven't played with check_disk so I'm not sure it does what you want it to do. However, I've successfully implemented disk checks on Win2K, tru64 and Netapp with check_nt and check_snmp repectively. What OS's are you trying to check? -Jim ________________________________ From: Cam [mailto:cameron.matheson at gmail.com] Sent: Thu 6/16/2005 2:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking disk space of remote hosts Hi, Just trying to figure out how the check_disk plugin works... it doesn't seem to have a way to pass the remote hosts ip address from the command line. Is there where NRPE is used? I can't find too much documentation about it... where does one learn about nrpe (or how do i check disk space on remote hosts?) 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 aivaturi2 at unlnotes.unl.edu Thu Jun 16 23:40:25 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Thu, 16 Jun 2005 16:40:25 -0500 Subject: checking disk space of remote hosts In-Reply-To: <7e2f9af9050616142065d14e2b@mail.gmail.com> References: <7e2f9af9050616142065d14e2b@mail.gmail.com> Message-ID: I just set this up this morning so lets see... > Hi, > > Just trying to figure out how the check_disk plugin works... it > doesn't seem to have a way to pass the remote hosts ip address from > the command line. If you are trying to execute check_disk on remote host then the docs (README file that came with your NRPE package) says it clearly that it is a risk. Hard code whatever arguments you have to pass. I think it is obvious why. > Is there where NRPE is used? Yes. As far as I understand, check_nrpe on the monitoring hosts requests the nrpe daemon on the client to execute the relevant plugin. > I can't find too much > documentation about it... where does one learn about nrpe (or how do i > check disk space on remote hosts?) There is a good example in the README file I mentioned. Apart from that there is nothing else. But if you have successfully set up and configured Nagios on a host implementing this should be rather easy. Again read that README file thoroughly. --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From Robert.Heise at Peopleclick.com Thu Jun 16 23:51:22 2005 From: Robert.Heise at Peopleclick.com (Heise, Robert) Date: Thu, 16 Jun 2005 17:51:22 -0400 Subject: Still pondering apache and perl issues with Nagios Message-ID: <9FF69050257FC0479018211CD530F8BC03303628@CORP2K3MAIL.corp.peopleclick.com> I posted a question around the use of mod_perl in my Apache config and I thank all of those who have answered. However, I still havent been able to solve the problem. Taking another look, Im even seeing my perl interpeter have issues with the .cgi files themselves, wheres previously i was assuming it was apache. perl -c avail.cgi Unrecognized character \x7F at avail.cgi line 1. Is this normal behavior? Thanks Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhawal at netmagicsolutions.com Thu Jun 16 23:52:38 2005 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Fri, 17 Jun 2005 03:22:38 +0530 Subject: Makefile GD lib problem on Centos 4 (aka RHES4) In-Reply-To: <42B1D481.5090208@rushmore.com> References: <42B1D481.5090208@rushmore.com> Message-ID: <42B1F4A6.3090706@netmagicsolutions.com> Luke Johnson wrote: > Hi, > > I've setup a few Nagios boxes in years past, and trying it again today, > however I'm running into a (first time for me, but I'm sure common) > problem with GD libs on Centos 4 (x86_64, Which should be identical to > Redhat ES 4). In the past I've hand compiled GD, but on this box I made > sure to install the necessary packages (info attached below). > > [snip] You need to install libiconv from http://www.gnu.org/software/libiconv/ wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.1.tar.gz tar xzf libiconv-1.9.1.tar.gz cd libiconv-1.9.1 ./configure --prefix=/usr make make install Now configure / make nagios as usual.. RedHat (actually their lists) claims libiconv is a part of glibc, but i couldn't find it anywhere.. however the above workaround did the job pretty well. - dhawal ------------------------------------------------------- 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 Fri Jun 17 00:12:20 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 17 Jun 2005 00:12:20 +0200 Subject: Still pondering apache and perl issues with Nagios In-Reply-To: <9FF69050257FC0479018211CD530F8BC03303628@CORP2K3MAIL.corp.peopleclick.com> References: <9FF69050257FC0479018211CD530F8BC03303628@CORP2K3MAIL.corp.peopleclick.com> Message-ID: <42B1F944.7020109@op5.se> Heise, Robert wrote: > I posted a question around the use of mod_perl in my Apache config and I > thank all of those who have answered. However, I still havent been able > to solve the problem. Taking another look, Im even seeing my perl > interpeter have issues with the .cgi files themselves, wheres previously > i was assuming it was apache. > > perl -c avail.cgi > Unrecognized character \x7F at avail.cgi line 1. > > Is this normal behavior? > Considering the fact that you're trying to feed an ELF binary into the perl interpreter, I would have to say that it is indeed normal behaviour. I told you quite clearly that you need to make sure that the nagios cgi's are *NOT* run by mod_perl. It appears you didn't listen then, so I doubt you will now. -- 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 luke at rushmore.com Fri Jun 17 00:25:03 2005 From: luke at rushmore.com (Luke Johnson) Date: Thu, 16 Jun 2005 14:25:03 -0800 Subject: Makefile GD lib problem on Centos 4 (aka RHES4) In-Reply-To: <42B1F4A6.3090706@netmagicsolutions.com> References: <42B1D481.5090208@rushmore.com> <42B1F4A6.3090706@netmagicsolutions.com> Message-ID: <42B1FC3F.6000308@rushmore.com> Not sure about how iconv is related to GD, other then coming before it in the Make check sequence... For kicks I downloaded/compiled/installed the new libiconv, but no change... my ./configure from before and after was: checking for *main in -liconv... yes* checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* ... So, I still got problems with gd. Thanks, LJ Dhawal Doshy wrote: > Luke Johnson wrote: > >> Hi, >> >> I've setup a few Nagios boxes in years past, and trying it again >> today, however I'm running into a (first time for me, but I'm sure >> common) problem with GD libs on Centos 4 (x86_64, Which should be >> identical to Redhat ES 4). In the past I've hand compiled GD, but on >> this box I made sure to install the necessary packages (info attached >> below). >> >> > [snip] > > You need to install libiconv from http://www.gnu.org/software/libiconv/ > > wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.1.tar.gz > tar xzf libiconv-1.9.1.tar.gz > cd libiconv-1.9.1 > ./configure --prefix=/usr > make > make install > > Now configure / make nagios as usual.. > > RedHat (actually their lists) claims libiconv is a part of glibc, but > i couldn't find it anywhere.. however the above workaround did the job > pretty well. > > - dhawal ------------------------------------------------------- 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 Fri Jun 17 00:25:49 2005 From: cameron.matheson at gmail.com (Cam) Date: Thu, 16 Jun 2005 16:25:49 -0600 Subject: checking disk space of remote hosts In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE86@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE86@XCH-SW-42.sw.nos.boeing.com> Message-ID: <7e2f9af90506161525bd1798a@mail.gmail.com> hi, there really isn't any specific reason to use check_disk... i just saw the plugin and thought that would be the thing to do. i'll check out check_snmp. thanks! Cameron Matheson On 6/16/05, EXT-Fuentes, James P wrote: > Cam, > > My point was that so far it's been quite easy to setup monitoring disk utilization services with plugins other than check_disk. Unless there's a compelling reason to use check_disk you might try the other effective options. I'm using check_nt which requires NSClient on Win2K boxes and all that's required on any UNIX variant in order to use check_snmp is a MIB on that box that provides disk info(which most - or at least all that I've seen - do). > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Thu 6/16/2005 2:33 PM > To: EXT-Fuentes, James P > Subject: Re: [Nagios-users] checking disk space of remote hosts > > > > On 6/16/05, EXT-Fuentes, James P wrote: > > However, I've successfully implemented disk checks on Win2K, tru64 and Netapp with check_nt and check_snmp repectively. > > > > What OS's are you trying to check? > > Right now i'm just monitoring linux boxes (i'm not sure if it will > expand to windoze in the futur or not). > > 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 luke at rushmore.com Fri Jun 17 00:41:04 2005 From: luke at rushmore.com (Luke Johnson) Date: Thu, 16 Jun 2005 14:41:04 -0800 Subject: Makefile GD lib problem on Centos 4 (aka RHES4) In-Reply-To: <42B1E856.7090008@its-lehmann.de> References: <42B1D481.5090208@rushmore.com> <42B1E856.7090008@its-lehmann.de> Message-ID: <42B20000.7040603@rushmore.com> Thanks Arno, In order... -I have all the library files, I believe, which the devel packages provide. Those were the bits I included showing the libpng.so, etc are the actual libraries in their respective paths, and the Yum snippets. I'm pretty dang sure I have libpng/libjpeg/libgd. As a second note, the ./configure spits out: checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no ... but Ifind this... [root at chilkat nagios-2.0b3]# grep gdImagePng /usr/include/gd.h BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out); BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * out); BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level); BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * out, int level); BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr out); BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int *size); BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, int *size, int level); [root at chilkat nagios-2.0b3]# grep gdImagePng /usr/lib/libgd.so.2 Binary file /usr/lib/libgd.so.2 matches [root at chilkat nagios-2.0b3]# -I have used the /lib64, /lib, and no paths (in which case Make should fall back to /etc/ld.so.conf file which has both the prior paths). -As for Perl, nope, missed those notes. Hmm, I'll go look for them, wonder what the preferred method is? Might make for an interesting second topic (embedded=possible memory leaks, mod_perl2='developmental' with Apache2, external perl='slower'). Thanks again, LJ Arno Lehmann wrote: > Hello, > > Luke Johnson wrote: > >> Hi, >> >> I've setup a few Nagios boxes in years past, and trying it again >> today, however I'm running into a (first time for me, but I'm sure >> common) problem with GD libs on Centos 4 (x86_64, Which should be >> identical to Redhat ES 4). In the past I've hand compiled GD, but on >> this box I made sure to install the necessary packages (info attached >> below). > > > Two things I noticed: > > - Have you installed the png and jpeg devel packages? > I'm not used to RH systems, so I can't tell you how to check, though. > > - If necessary at all: have you tried giving the lib64 directories to > ./configure? > >> [root at chilkat nagios-2.0b3]# make clean > /dev/null >> [root at chilkat nagios-2.0b3]# ./configure --prefix=/usr/local/nagios >> --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios >> --with-nagios-group=nagios --with-command-group=nagcmd >> --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --enable-embedded-perl > > like here? > > ... > >> Embedded Perl interpreter will be compiled in... >> Internally compiled Perl scripts will be cached... >> Using threaded perl > > > Did you read the notes concerning embedded perl and memory leaks? I > don't know if this is fixed by now, but that was an issue. > > Arno > ------------------------------------------------------- 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 dan.hopkins at uk.easynet.net Fri Jun 17 10:43:28 2005 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Fri, 17 Jun 2005 09:43:28 +0100 Subject: Deleting Acknowledgement comments Message-ID: <13E80BCA327C4D43AC2EFCE6B06E531405685E@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas > Ericsson > Sent: 16 June 2005 22:15 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Deleting Acknowledgement comments > > Andrew Laden wrote: > > Persistent comments, according to the docs, control if the > comment survives > > a nagios restart. This has nothing to do with the comment > surviving the Ack > > being cleared. > > > > Umm.. I'm fairly certain that's wrong. I might be mistaken though. I > rarely dabble with the gui myself. No, it's correct. I'm sure I read in the roadmap that comments existing for the lifetime of a critical state was a feature to be included in the 2 branch (something our users have been asking for, and I've put off implementing since it should be part of stock Nagios 2 when we come to upgrade. I need to rethink that by the looks) Dan ------------------------------------------------------- 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 francois.laupretre-prestataire at calyon.com Fri Jun 17 12:42:47 2005 From: francois.laupretre-prestataire at calyon.com (Fran=?utf-8?B?w6c=?=ois Laupretre) Date: Fri, 17 Jun 2005 12:42:47 +0200 Subject: Makefile GD lib problem on Centos 4 (aka RHES 4) Message-ID: <506CE696433BD711B7C6000802B2520C079871BC@mnts3023.capitalmarkets.fr.cly> Can you send your 'config.log' file ? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Luke Johnson > Sent: Friday, June 17, 2005 12:41 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Makefile GD lib problem on Centos > 4 (aka RHES4) > > > Thanks Arno, > > In order... > > -I have all the library files, I believe, which the devel packages > provide. Those were the bits I included showing the > libpng.so, etc are > the actual libraries in their respective paths, and the Yum > snippets. > I'm pretty dang sure I have libpng/libjpeg/libgd. > > As a second note, the ./configure spits out: > > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > checking for gdImagePng in -lgd (order 4)... no > > ... but Ifind this... > > [root at chilkat nagios-2.0b3]# grep gdImagePng /usr/include/gd.h > BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out); > BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * out); > BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level); > BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * > out, int level); > BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr > out); BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int > *size); BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, > int *size, int level); > > [root at chilkat nagios-2.0b3]# grep gdImagePng > /usr/lib/libgd.so.2 Binary file /usr/lib/libgd.so.2 matches > > [root at chilkat nagios-2.0b3]# > > -I have used the /lib64, /lib, and no paths (in which case > Make should > fall back to /etc/ld.so.conf file which has both the prior paths). > > -As for Perl, nope, missed those notes. Hmm, I'll go look for them, > wonder what the preferred method is? Might make for an interesting > second topic (embedded=possible memory leaks, > mod_perl2='developmental' > with Apache2, external perl='slower'). > > Thanks again, > LJ > > Arno Lehmann wrote: > > > Hello, > > > > Luke Johnson wrote: > > > >> Hi, > >> > >> I've setup a few Nagios boxes in years past, and trying it again > >> today, however I'm running into a (first time for me, but I'm sure > >> common) problem with GD libs on Centos 4 (x86_64, Which should be > >> identical to Redhat ES 4). In the past I've hand compiled > GD, but on > >> this box I made sure to install the necessary packages > (info attached > >> below). > > > > > > Two things I noticed: > > > > - Have you installed the png and jpeg devel packages? > > I'm not used to RH systems, so I can't tell you how to > check, though. > > > > - If necessary at all: have you tried giving the lib64 > directories to > > ./configure? > > > >> [root at chilkat nagios-2.0b3]# make clean > /dev/null [root at chilkat > >> nagios-2.0b3]# ./configure --prefix=/usr/local/nagios > >> --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios > >> --with-nagios-group=nagios --with-command-group=nagcmd > >> --with-gd-lib=/usr/lib --with-gd-inc=/usr/include > >> --enable-embedded-perl > > > > like here? > > > > ... > > > >> Embedded Perl interpreter will be compiled in... > >> Internally compiled Perl scripts will be cached... > >> Using threaded perl > > > > > > Did you read the notes concerning embedded perl and memory leaks? I > > don't know if this is fixed by now, but that was an issue. > > > > Arno > > > > > > ------------------------------------------------------- > 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 > -------------- 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 dhawal at netmagicsolutions.com Fri Jun 17 13:11:33 2005 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Fri, 17 Jun 2005 16:41:33 +0530 Subject: Makefile GD lib problem on Centos 4 (aka RHES 4) In-Reply-To: <506CE696433BD711B7C6000802B2520C079871BC@mnts3023.capitalmarkets.fr.cly> References: <506CE696433BD711B7C6000802B2520C079871BC@mnts3023.capitalmarkets.fr.cly> Message-ID: <42B2AFE5.5020407@netmagicsolutions.com> Fran?ois Laupretre wrote: > Can you send your 'config.log' file ? > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Luke Johnson > > Sent: Friday, June 17, 2005 12:41 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Makefile GD lib problem on Centos > > 4 (aka RHES4) > > > > > > Thanks Arno, > > > > In order... > > > > -I have all the library files, I believe, which the devel packages > > provide. Those were the bits I included showing the > > libpng.so, etc are > > the actual libraries in their respective paths, and the Yum > > snippets. > > I'm pretty dang sure I have libpng/libjpeg/libgd. > > > > As a second note, the ./configure spits out: > > > > checking for gdImagePng in -lgd (order 1)... no > > checking for gdImagePng in -lgd (order 2)... no > > checking for gdImagePng in -lgd (order 3)... no > > checking for gdImagePng in -lgd (order 4)... no > > > > ... but Ifind this... > > > > [root at chilkat nagios-2.0b3]# grep gdImagePng /usr/include/gd.h > > BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out); > > BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * out); > > BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level); > > BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * > > out, int level); > > BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr > > out); BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int > > *size); BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, > > int *size, int level); > > > > [root at chilkat nagios-2.0b3]# grep gdImagePng > > /usr/lib/libgd.so.2 Binary file /usr/lib/libgd.so.2 matches > > > > [root at chilkat nagios-2.0b3]# > > > > -I have used the /lib64, /lib, and no paths (in which case > > Make should > > fall back to /etc/ld.so.conf file which has both the prior paths). > > > > -As for Perl, nope, missed those notes. Hmm, I'll go look for them, > > wonder what the preferred method is? Might make for an interesting > > second topic (embedded=possible memory leaks, > > mod_perl2='developmental' > > with Apache2, external perl='slower'). > > > > Thanks again, > > LJ > > > > Arno Lehmann wrote: > > > > > Hello, > > > > > > Luke Johnson wrote: > > > > > >> Hi, > > >> > > >> I've setup a few Nagios boxes in years past, and trying it again > > >> today, however I'm running into a (first time for me, but I'm sure > > >> common) problem with GD libs on Centos 4 (x86_64, Which should be > > >> identical to Redhat ES 4). In the past I've hand compiled > > GD, but on > > >> this box I made sure to install the necessary packages > > (info attached > > >> below). > > > > > > > > > Two things I noticed: > > > > > > - Have you installed the png and jpeg devel packages? > > > I'm not used to RH systems, so I can't tell you how to > > check, though. > > > > > > - If necessary at all: have you tried giving the lib64 > > directories to > > > ./configure? > > > > > >> [root at chilkat nagios-2.0b3]# make clean > /dev/null [root at chilkat > > >> nagios-2.0b3]# ./configure --prefix=/usr/local/nagios > > >> --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios > > >> --with-nagios-group=nagios --with-command-group=nagcmd > > >> --with-gd-lib=/usr/lib --with-gd-inc=/usr/include > > >> --enable-embedded-perl > > > > > > like here? > > > > > > ... > > > > > >> Embedded Perl interpreter will be compiled in... > > >> Internally compiled Perl scripts will be cached... > > >> Using threaded perl > > > > > > > > > Did you read the notes concerning embedded perl and memory leaks? I > > > don't know if this is fixed by now, but that was an issue. > > > > > > Arno I have the following on centos 4.0, see if you are missing something.. gd-2.0.28-4 gd-devel-2.0.28-4 libjpeg-6b-33 libjpeg-devel-6b-33 libpng-1.2.7-1 libpng-devel-1.2.7-1 libpng10-devel-1.0.16-1 libpng10-1.0.16-1 - dhawal ------------------------------------------------------- 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 marco at mkohn.de Fri Jun 17 14:54:02 2005 From: marco at mkohn.de (Marco Kohn) Date: Fri, 17 Jun 2005 14:54:02 +0200 Subject: RHEL and check_ping Message-ID: <88606174.20050617145402@mkohn.de> Hello list, does anybody has a solution for the check_ping error on RHEL 4. The plugin could not interpret the ooutput from the executing ping-command. tnx for any idea Marco ------------------------------------------------------- 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 Fri Jun 17 15:03:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 17 Jun 2005 15:03:50 +0200 Subject: RHEL and check_ping In-Reply-To: <88606174.20050617145402@mkohn.de> References: <88606174.20050617145402@mkohn.de> Message-ID: <42B2CA36.60702@op5.se> Marco Kohn wrote: > Hello list, > > does anybody has a solution for the check_ping error on RHEL 4. The > plugin could not interpret the ooutput from the executing > ping-command. > Use check_icmp. The latest incarnation is at http://oss.op5.se/nagios > tnx for any idea > You're welcome. > Marco > > > > ------------------------------------------------------- > 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 > -- 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 James.Cammarata at altertrading.com Fri Jun 17 16:19:18 2005 From: James.Cammarata at altertrading.com (James Cammarata) Date: Fri, 17 Jun 2005 09:19:18 -0500 Subject: Service Notification Issues Message-ID: Hi all, I'm running nagios-1.1-3mdk (on Mandrake obviously) and I can't get service notifications to go out. Host notifications are working fine. We've been running nagios for over 2 years, and just recently decided to start working with some of the more advanced features. We monitor about 30 servers and 24 or so routers currently. Here are snips of the relevant configs: nagios.cfg: use_retained_program_state=0 enable_notifications=1 execute_service_checks=1 check_service_freshness=1 freshness_check_interval=60 enable_flap_detection=1 log_notifications=1 contacts.cfg define contact{ contact_name jamesc alias James Cammarata service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email james.cammarata at XXXXXXXXXXXX pager 314XXXXXXX } contactgroups.cfg define contactgroup{ contactgroup_name Admins alias Network Administrators members jamesc } hosts.cfg define host { use server-template host_name lnxbk alias Linux Backup Server address 192.168.XX.XX notifications_enabled 1 } hostgroups.cfg define hostgroup { hostgroup_name 000_stl_servers alias St.Louis Servers contact_groups Admins members lnxbk } services.cfg define service { name service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r contact_groups Admins } define service { use service-template host_name lnxbk service_description Ping check_command check_ping!100.0,20%!500.0,60% notifications_enabled 1 notification_options w,u,c,r } Here is what the web view shows for that service: Current Status: UNKNOWN Status Information: /bin/ping -n 192.168.10.88 -c 5 Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 06-17-2005 09:09:10 Status Data Age: 0d 0h 4m 18s Next Scheduled Active Check: 06-17-2005 09:14:10 Latency: < 1 second Check Duration: 5 seconds Last State Change: 06-17-2005 08:39:17 Current State Duration: 0d 0h 34m 11s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 5.46% In Scheduled Downtime? NO Last Update: 06-17-2005 09:13:17 Service Checks: ENABLED Passive Checks: ENABLED Service Notifications: ENABLED Event Handler: DISABLED Flap Detection: ENABLED As you can see, the "Last Service Notification" field is "N/A", is that relevant? Or does that just reflect the fact that there are no service notifications in the log file for this service? I'm thinking about upgrading to 2.0, but I haven't found any official Mandrake RPM's for the newer nagios versions, which means a hand compile. No big deal, but if I can avoid nuking our current setup I would prefer that. Have I missed something obvious? Or is it a known bug with this older 1.1 version that was fixed, thus necessitating an upgrade? James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net ------------------------------------------------------- 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 Fri Jun 17 16:33:28 2005 From: cameron.matheson at gmail.com (Cam) Date: Fri, 17 Jun 2005 08:33:28 -0600 Subject: checking disk space of remote hosts In-Reply-To: <626FC7C6A97381468FB872072AB5DDC801FE86@XCH-SW-42.sw.nos.boeing.com> References: <626FC7C6A97381468FB872072AB5DDC801FE86@XCH-SW-42.sw.nos.boeing.com> Message-ID: <7e2f9af905061707337d60bb80@mail.gmail.com> Hey, SNMP looks pretty sweet, i'm not sure how exactly to go about and set this up (right now i don't have any SNMP stuff running on these linux boxes). How hard is it to get that going? Also, it looks like SNMP is pretty flexible, could it be used to check on context switches, etc.? Thanks, Cameron Matheson On 6/16/05, EXT-Fuentes, James P wrote: > Cam, > > My point was that so far it's been quite easy to setup monitoring disk utilization services with plugins other than check_disk. Unless there's a compelling reason to use check_disk you might try the other effective options. I'm using check_nt which requires NSClient on Win2K boxes and all that's required on any UNIX variant in order to use check_snmp is a MIB on that box that provides disk info(which most - or at least all that I've seen - do). > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Thu 6/16/2005 2:33 PM > To: EXT-Fuentes, James P > Subject: Re: [Nagios-users] checking disk space of remote hosts > > > > On 6/16/05, EXT-Fuentes, James P wrote: > > However, I've successfully implemented disk checks on Win2K, tru64 and Netapp with check_nt and check_snmp repectively. > > > > What OS's are you trying to check? > > Right now i'm just monitoring linux boxes (i'm not sure if it will > expand to windoze in the futur or not). > > 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 luke at rushmore.com Fri Jun 17 17:30:04 2005 From: luke at rushmore.com (Luke Johnson) Date: Fri, 17 Jun 2005 07:30:04 -0800 Subject: Makefile GD lib problem on Centos 4 (aka RHES 4) In-Reply-To: <42B2AFE5.5020407@netmagicsolutions.com> References: <506CE696433BD711B7C6000802B2520C079871BC@mnts3023.capitalmarkets.fr.cly> <42B2AFE5.5020407@netmagicsolutions.com> Message-ID: <42B2EC7C.1000807@rushmore.com> Think it's all worked out... I meticulously went through Dhawal's list, and found one of the two libpng devel libs missing from my RPM set (can't recall which one right now). I installed it via Yum, and the ./configure went through fine. Apologies to all for assuming I had ALL the libs... As a second note, Dhawal was right a second time... The nagios ./configure was 'finding' libiconv and compiled fine, but when I ran the cgis (by hand or through Apache) it griped: [Fri Jun 17 07:11:52 2005] [error] [client 10.1.90.72] /usr/local/nagios/sbin/statusmap.cgi: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory, referrer: http://nagios/side.html So it wasn't finding the libiconv... I scratched my head for a bit, I compiled/installed the newest libiconv project again, still got the same error, then remembered the trick: ldconfig. That seemed to tie things together, and now my cgis are pretty again. Thanks all, and fwiw Nagios on Centos is pretty easy, all the packages except for libiconv and Nagios itself are available and seem to work out of the box. LJ Dhawal Doshy wrote: > Fran?ois Laupretre wrote: > >> Can you send your 'config.log' file ? >> > >> > >> > Thanks Arno, >> > >> > In order... >> > > > > I have the following on centos 4.0, see if you are missing something.. > > gd-2.0.28-4 > gd-devel-2.0.28-4 > libjpeg-6b-33 > libjpeg-devel-6b-33 > libpng-1.2.7-1 > libpng-devel-1.2.7-1 > libpng10-devel-1.0.16-1 > libpng10-1.0.16-1 > > - dhawal > ------------------------------------------------------- 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.Cammarata at altertrading.com Fri Jun 17 17:32:51 2005 From: James.Cammarata at altertrading.com (James Cammarata) Date: Fri, 17 Jun 2005 10:32:51 -0500 Subject: Service Notification Issues Message-ID: One other thing: If I go into the web interface and acknowledge the service alert, I am sent the service notification. So obviously the setup is working, as in there are no configuration errors in the commands, only the automatic notification of the service alert. James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Cammarata Sent: Friday, June 17, 2005 9:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Notification Issues Hi all, I'm running nagios-1.1-3mdk (on Mandrake obviously) and I can't get service notifications to go out. Host notifications are working fine. We've been running nagios for over 2 years, and just recently decided to start working with some of the more advanced features. We monitor about 30 servers and 24 or so routers currently. Here are snips of the relevant configs: nagios.cfg: use_retained_program_state=0 enable_notifications=1 execute_service_checks=1 check_service_freshness=1 freshness_check_interval=60 enable_flap_detection=1 log_notifications=1 contacts.cfg define contact{ contact_name jamesc alias James Cammarata service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email james.cammarata at XXXXXXXXXXXX pager 314XXXXXXX } contactgroups.cfg define contactgroup{ contactgroup_name Admins alias Network Administrators members jamesc } hosts.cfg define host { use server-template host_name lnxbk alias Linux Backup Server address 192.168.XX.XX notifications_enabled 1 } hostgroups.cfg define hostgroup { hostgroup_name 000_stl_servers alias St.Louis Servers contact_groups Admins members lnxbk } services.cfg define service { name service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r contact_groups Admins } define service { use service-template host_name lnxbk service_description Ping check_command check_ping!100.0,20%!500.0,60% notifications_enabled 1 notification_options w,u,c,r } Here is what the web view shows for that service: Current Status: UNKNOWN Status Information: /bin/ping -n 192.168.10.88 -c 5 Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 06-17-2005 09:09:10 Status Data Age: 0d 0h 4m 18s Next Scheduled Active Check: 06-17-2005 09:14:10 Latency: < 1 second Check Duration: 5 seconds Last State Change: 06-17-2005 08:39:17 Current State Duration: 0d 0h 34m 11s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 5.46% In Scheduled Downtime? NO Last Update: 06-17-2005 09:13:17 Service Checks: ENABLED Passive Checks: ENABLED Service Notifications: ENABLED Event Handler: DISABLED Flap Detection: ENABLED As you can see, the "Last Service Notification" field is "N/A", is that relevant? Or does that just reflect the fact that there are no service notifications in the log file for this service? I'm thinking about upgrading to 2.0, but I haven't found any official Mandrake RPM's for the newer nagios versions, which means a hand compile. No big deal, but if I can avoid nuking our current setup I would prefer that. Have I missed something obvious? Or is it a known bug with this older 1.1 version that was fixed, thus necessitating an upgrade? James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net ------------------------------------------------------- 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 mike at m5computersecurity.com Fri Jun 17 18:05:30 2005 From: mike at m5computersecurity.com (Michael J McCafferty) Date: Fri, 17 Jun 2005 09:05:30 -0700 Subject: Morning report email from Nagios In-Reply-To: References: Message-ID: <5.2.0.9.0.20050617090520.07235e68@stout.m5hosting.com> You want a once per day snapshot of what is down at the time of the email ? The first thing that comes to mind is to use cron to run a script that parses the status.log. status.log will have the current state of all hosts and services in it. At 11:41 AM 6/16/2005 +0200, hakan.smeds at skanska.se wrote: >I would like to have a morning report sent with email, that says either >"All is good", or specifies any current issues. Why? It would support our >process =) > >The "all is good" report also verifies that Nagios and the network is up >and running. > >Any ideas how to incorporate it into Nagios? I?m thinking of taking out a >Nagios day report via a cron job. Can that be done? > >Best regards > >H?kan Smeds > > >------------------------------------------------------- >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&opick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 Fri Jun 17 18:56:52 2005 From: James.P.Fuentes at boeing.com (EXT-Fuentes, James P) Date: Fri, 17 Jun 2005 09:56:52 -0700 Subject: checking disk space of remote hosts Message-ID: <626FC7C6A97381468FB872072AB5DDC801FE87@XCH-SW-42.sw.nos.boeing.com> Start with "man snmpd" on the box you want to monitor. You'll most likely find where config file/MIBs reside and how to start the daemon(snmpd). At that point you'll have to look through the MIB to see what information you can query with check_snmp. There's usually WAY more than you'd ever even think to monitor. -Jim ________________________________ From: Cam [mailto:cameron.matheson at gmail.com] Sent: Fri 6/17/2005 7:33 AM To: EXT-Fuentes, James P; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] checking disk space of remote hosts Hey, SNMP looks pretty sweet, i'm not sure how exactly to go about and set this up (right now i don't have any SNMP stuff running on these linux boxes). How hard is it to get that going? Also, it looks like SNMP is pretty flexible, could it be used to check on context switches, etc.? Thanks, Cameron Matheson On 6/16/05, EXT-Fuentes, James P wrote: > Cam, > > My point was that so far it's been quite easy to setup monitoring disk utilization services with plugins other than check_disk. Unless there's a compelling reason to use check_disk you might try the other effective options. I'm using check_nt which requires NSClient on Win2K boxes and all that's required on any UNIX variant in order to use check_snmp is a MIB on that box that provides disk info(which most - or at least all that I've seen - do). > > -Jim > > ________________________________ > > From: Cam [mailto:cameron.matheson at gmail.com] > Sent: Thu 6/16/2005 2:33 PM > To: EXT-Fuentes, James P > Subject: Re: [Nagios-users] checking disk space of remote hosts > > > > On 6/16/05, EXT-Fuentes, James P wrote: > > However, I've successfully implemented disk checks on Win2K, tru64 and Netapp with check_nt and check_snmp repectively. > > > > What OS's are you trying to check? > > Right now i'm just monitoring linux boxes (i'm not sure if it will > expand to windoze in the futur or not). > > 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 034710 at gmail.com Fri Jun 17 19:10:03 2005 From: 034710 at gmail.com (Stephen Cartwright) Date: Fri, 17 Jun 2005 11:10:03 -0600 Subject: Ganglia and Nagios Message-ID: <6e5bf816050617101061a6efc1@mail.gmail.com> Would you say it is worth it to run Ganglia in addition to Nagios, or can Ganglia's functionality be made up for with plugins? What are your thoughts? Thanks in advance. 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_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 dmourati at cm.math.uiuc.edu Fri Jun 17 19:40:18 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 17 Jun 2005 12:40:18 -0500 (CDT) Subject: Ganglia and Nagios In-Reply-To: <6e5bf816050617101061a6efc1@mail.gmail.com> References: <6e5bf816050617101061a6efc1@mail.gmail.com> Message-ID: On Fri, 17 Jun 2005, Stephen Cartwright wrote: > Would you say it is worth it to run Ganglia in addition to Nagios, or > can Ganglia's functionality be made up for with plugins? What are your > thoughts? > > Thanks in advance. > > Steve Ganglia kicks ass. I use it to complement Nagios especially for trend graphing. Together, Nagios and Ganglia provide quite the monitoring sweet. I haven't made much effort to cross-connect the two but it would be possible using plugins like check_proc and gmetric. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.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 RAFULMH at usmc-mccs.org Fri Jun 17 20:04:53 2005 From: RAFULMH at usmc-mccs.org (Raful Mr Mitchell H) Date: Fri, 17 Jun 2005 14:04:53 -0400 Subject: Ping timeouts Message-ID: <4BEB8E9952EF544284F706EAD70820B3192EA4@hqex2ksvr01.windows.usmc-mccs.org> I had to change the timout for warning and critical in the services definition for ping. Why is that? Also, in the hosts detail I get this message: (3000.000000) cannot be larger than (1000.000000) Thanks, Mitch -----Original Message----- From: Torleiv Ringer [mailto:tringer at mpr.org] Sent: Tuesday, June 14, 2005 9:43 AM To: Raful Mr Mitchell H Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Ping timeouts 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 ------------------------------------------------------- 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 mluettgen at nuvio.com Fri Jun 17 20:28:50 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Fri, 17 Jun 2005 13:28:50 -0500 Subject: nagios-2.0b3 and nagios-plugins-1.4 Message-ID: <1119032930.9843.1.camel@dhcp-63-77-68-95.ojc.nuvio.com> Can nagios-plugins-1.4 be used with nagios-2.0b3? I'm looking at the commands.cfg that came int he nagios-plugins package and it seems that the syntax for defining a check command has changed. While it would only be a trivial matter to fix the syntax, I'm wondering if I'm possibly barking up the wrong tree for getting nagios configured properly. M ------------------------------------------------------- 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 tonye at billy.demon.nl Fri Jun 17 21:20:48 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Fri, 17 Jun 2005 21:20:48 +0200 Subject: nagios-2.0b3 and nagios-plugins-1.4 In-Reply-To: <1119032930.9843.1.camel@dhcp-63-77-68-95.ojc.nuvio.com> References: <1119032930.9843.1.camel@dhcp-63-77-68-95.ojc.nuvio.com> Message-ID: <1119036047.5311.9.camel@localhost> fre, 17.06.2005 kl. 20.28 skrev Matt Luettgen: > Can nagios-plugins-1.4 be used with nagios-2.0b3? I'm looking at the > commands.cfg that came int he nagios-plugins package and it seems that > the syntax for defining a check command has changed. While it would > only be a trivial matter to fix the syntax, I'm wondering if I'm > possibly barking up the wrong tree for getting nagios configured > properly. I'm (and presumably hundreds of others are) using nagios-plugins-1.4 with nagios-2.0b3. They work perfectly Ok, apart from ping, which apparently should be replaced by icmp (personally I'm using fping, and that works Ok, too). nrpe works fine with all of them, too. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 kklein9 at uky.edu Fri Jun 17 22:33:18 2005 From: kklein9 at uky.edu (Kenneth Klein) Date: Fri, 17 Jun 2005 16:33:18 -0400 Subject: nagios and plugins installation on AIX 5.2 Message-ID: <42B3338E.1010200@uky.edu> Has anyone done this? I saw a few hints at it in the archive but definitive answer. I got the tarball but it will not tar xvf on my AIX system (5202) and not on my Mac os X system either. Is there an RPM out there that will work on AIX? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Jun 17 23:37:54 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 17 Jun 2005 17:37:54 -0400 (EDT) Subject: nagios and plugins installation on AIX 5.2 In-Reply-To: <42B3338E.1010200@uky.edu> References: <42B3338E.1010200@uky.edu> Message-ID: First gunzip and then use GNU tar to untar the tarball. On Fri, 17 Jun 2005, Kenneth Klein wrote: > Has anyone done this? I saw a few hints at it in the archive but definitive > answer. > I got the tarball but it will not tar xvf on my AIX system (5202) and not on > my Mac os X system either. > Is there an RPM out there that will work on AIX? > -- ------------------------------------------------------- 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 steven-danz at kc.rr.com Sat Jun 18 05:13:44 2005 From: steven-danz at kc.rr.com (Steven Danz) Date: Fri, 17 Jun 2005 22:13:44 -0500 Subject: Multiple service extended information objects per service/host? Message-ID: <42B39168.4010308@kc.rr.com> Hello Is it possible (in 1.x or 2.x) to configure multiple extended information definitions for the same service on the same host? I was hoping to have one extended information icon to bring up a graph with the performance information, and having another icon to bring up a page with troubleshooting information for the service. In my attempts to set this up, the second definition overrides the first, which is somewhat expected, but I was hoping that maybe I missed something. Thanks for your time. ------------------------------------------------------- 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 amoundalexis at gmail.com Sat Jun 18 18:14:04 2005 From: amoundalexis at gmail.com (Alex Moundalexis) Date: Sat, 18 Jun 2005 12:14:04 -0400 Subject: Schedule downtime from command line? In-Reply-To: <59B15593F41BD24591D59436E7226EAD02094F68@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD02094F68@Khiphx2.khimetrics.com> Message-ID: Or just edit the downtime.log by hand. Schedule downtime via the web interface to get the syntax down; afterwards you can do mass imports and edits. On 6/16/05, Nathan Oyler wrote: > > There are tools on nagiosexchange to do this. I've written my own. > Yes. > ________________________________ > > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Alan Maxwell > Sent: Thursday, June 16, 2005 9:39 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Schedule downtime from command line? > > > > > Is it possible to schedule downtime via the command line? > > > ------------------------------------------------------- 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 knitterb at blandsite.org Sun Jun 19 10:04:05 2005 From: knitterb at blandsite.org (Brandon Knitter) Date: Sun, 19 Jun 2005 01:04:05 -0700 Subject: Service Dependencies (execution_failure_criteria) Message-ID: <20050619010405.9od1gc9qpym80ws8@hurl.moil.blandsite.org> Nagios 2.0b3 I have found that when setting an execution_failure_criteria to "n", that my dependent (children) services just stop executing the service check. If I remove the execution_failure_criteria, then everything works as expected. Should the execution_failure_criteria of "n" be identical to no execution_failure_criteria at all? Or am I missing something in the description? -- -bk ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- 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 moshesharon at gmail.com Sun Jun 19 10:12:25 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Sun, 19 Jun 2005 08:12:25 +0000 (UTC) Subject: Multiple service extended information objects per service/host? References: <42B39168.4010308@kc.rr.com> Message-ID: Hello from my experience you cant do that. the last entry overrides the first one but what you can do build a frames page which passes id or name or something to each page of the frames this way you can grab the graph in one frame and grab the data in second frame hope it helped 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 sjacobs at frs.be Sun Jun 19 11:19:27 2005 From: sjacobs at frs.be (Jacobs, Sven) Date: Sun, 19 Jun 2005 11:19:27 +0200 Subject: Management reporting Message-ID: <43B5E93C7030714491583698996A22A9AF9EF3@sbeexc01.frs.local> Is there a plugin where i can generate a pdf that gives management information? You know availability, uptime errors ... and this per host/service/hostgroup? Met vriendelijke groet, FREE RECORD SHOP N.V. THAT'S ENTERTAINMENT Sven Jacobs ICT Systems Administrator Kontichsesteenweg 44 2630 Aartselaar t: +32 3 870 57 64 f: +32 3 877 45 47 e: sjacobs at frs.be on-line shopping: www.freerecordshop.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From knitterb at blandsite.org Sun Jun 19 18:28:05 2005 From: knitterb at blandsite.org (Brandon Knitter) Date: Sun, 19 Jun 2005 09:28:05 -0700 Subject: Solution: Exclamation Point Workaround Message-ID: <20050619092805.lop3v0uecdkowsoc@hurl.moil.blandsite.org> I'm not sure if this has been mentioned before, but I was having an issue where my password to a database had a "!" in it. So the service had the following: check_command check_database host!port!user!password! Where the password was "password!". Of course you can't do that cause the exclamation is a separator and a reserved character. So I changed my commmand from: command /path/to/check_database.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ to the following: command printf "$ARG3$ $ARG4$" | xargs /path/to/check_database.sh $ARG1$ $ARG2$ and then in my object definition, I changed my check command to: check_command check_database host!port!user!password\x21 The printf command will expand the "\x21" to a "!" when executing things. It's a nice little workaround that I found and figured I'd share. :) Hope this helps y'all. Cheers, -- -bk ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- 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 jnichols at pbp.net Sun Jun 19 20:17:58 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Sun, 19 Jun 2005 11:17:58 -0700 Subject: Notifications @ Cingular... Message-ID: <42B5B6D6.30305@pbp.net> Having recently switched service to Cingular, I'm now getting bitten by the "Uh oh, Nagios notifications come in 2 parts" issue. Has anyone successfully pared down the messages to fit into 1 SMS message? If so, how'd you do it? I saw some talk about this before on the list but didn't recall seeing a resolution. -Jonathan ------------------------------------------------------- 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 knitterb at blandsite.org Sun Jun 19 21:12:32 2005 From: knitterb at blandsite.org (Brandon Knitter) Date: Sun, 19 Jun 2005 12:12:32 -0700 Subject: Notifications @ Cingular... In-Reply-To: <42B5B6D6.30305@pbp.net> References: <42B5B6D6.30305@pbp.net> Message-ID: <20050619121232.f5qj6l1u47k8kcs8@hurl.moil.blandsite.org> I send mine to my Cingular phone (BlackBerry) using the WCTP interface. Mine all show up in a single message. I have my Nagios WCTP interface perl scripts (with 2-way ACKnowledgment) at: http://mundle.sf.net/ WCTP is similar to SNPP and is WAY more reliable and timely than any sort of email connectivity. The message is dropped off on the Cingular WCTP server via an HTTP connection and an XML message. The version at my site is designed for Nagios 1.x, but I've recently checked changes into CVS which will support Nagios 2.x. I'll be releasing that version in the coming week. Hope it works out for you! :) -- -bk Quoting Jonathan Nichols : > Having recently switched service to Cingular, I'm now getting bitten by > the "Uh oh, Nagios notifications come in 2 parts" issue. > > Has anyone successfully pared down the messages to fit into 1 SMS > message? If so, how'd you do it? I saw some talk about this before on > the list but didn't recall seeing a resolution. > > -Jonathan > > > > ------------------------------------------------------- > 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 > > !DSPAM:42b5b61077171290140515! > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- 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 Sun Jun 19 23:02:44 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 19 Jun 2005 23:02:44 +0200 Subject: Schedule downtime from command line? In-Reply-To: References: <59B15593F41BD24591D59436E7226EAD02094F68@Khiphx2.khimetrics.com> Message-ID: <42B5DD74.8070509@op5.se> Alex Moundalexis wrote: > Or just edit the downtime.log by hand. Schedule downtime via the web > interface to get the syntax down; afterwards you can do mass imports > and edits. > This is fairly stupid, as Nagios won't know about the downtime and will keep sending notifications. Any modifications to downtime.log are overwritten by Nagios btw. > On 6/16/05, Nathan Oyler wrote: > >>There are tools on nagiosexchange to do this. I've written my own. >>Yes. > > >> ________________________________ >> >> >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of Alan Maxwell >> Sent: Thursday, June 16, 2005 9:39 AM >> To: Nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Schedule downtime from command line? >> >> >> >> >>Is it possible to schedule downtime via the command line? >> >> >> > > > > ------------------------------------------------------- > 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 > -- 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 ae at op5.se Sun Jun 19 23:08:47 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 19 Jun 2005 23:08:47 +0200 Subject: Solution: Exclamation Point Workaround In-Reply-To: <20050619092805.lop3v0uecdkowsoc@hurl.moil.blandsite.org> References: <20050619092805.lop3v0uecdkowsoc@hurl.moil.blandsite.org> Message-ID: <42B5DEDF.4010601@op5.se> Brandon Knitter wrote: > I'm not sure if this has been mentioned before, but I was having an issue where > my password to a database had a "!" in it. So the service had the following: > > check_command check_database host!port!user!password! > > Where the password was "password!". Of course you can't do that cause the > exclamation is a separator and a reserved character. So I changed my commmand > from: > > command /path/to/check_database.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ > > to the following: > > command printf "$ARG3$ $ARG4$" | xargs /path/to/check_database.sh $ARG1$ > $ARG2$ > A simpler solution is ofcourse to define the command as check_database.sh '$ARG1$' '$ARG2$' '$ARG3$' '$ARG4$' and the service as check_command check_database!host!port!user!password\! > and then in my object definition, I changed my check command to: > > check_command check_database host!port!user!password\x21 > > The printf command will expand the "\x21" to a "!" when executing things. It's > a nice little workaround that I found and figured I'd share. :) Hope this > helps y'all. > > Cheers, > -- 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 jnichols at pbp.net Sun Jun 19 23:48:17 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Sun, 19 Jun 2005 14:48:17 -0700 Subject: Notifications @ Cingular... In-Reply-To: <20050619121232.f5qj6l1u47k8kcs8@hurl.moil.blandsite.org> References: <42B5B6D6.30305@pbp.net> <20050619121232.f5qj6l1u47k8kcs8@hurl.moil.blandsite.org> Message-ID: <42B5E821.8010800@pbp.net> > The version at my site is designed for Nagios 1.x, but I've recently > checked > changes into CVS which will support Nagios 2.x. I'll be releasing that > version > in the coming week. > > Hope it works out for you! :) > Cool. I shall keep a lookout for it. :) "logmerge" looks useful too.. but that's off-topic... dang it! :) ------------------------------------------------------- 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 g.vickers at qut.edu.au Mon Jun 20 02:13:53 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 20 Jun 2005 10:13:53 +1000 Subject: Deleting Acknowledgement comments In-Reply-To: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA630@tudor.com> References: <56EAA5BC64E6C34F8C9EE6725D4A2DFA1EA630@tudor.com> Message-ID: <42B60A41.6010101@qut.edu.au> Andrew, Please find attached a hack to side.html that was posted to the list a year or more ago. It will allow you to type a host name into the search field, hit enter and have that host come up on the right frame. Greg Andrew Laden wrote: > Can Nagios be automatically set up to delete Comments associated with > Acknowledgements? IE. There is a problem. I ack the problem and > include a comment. > > The problem goes away. The Ack clears but the comment remains. I'd > like the comment to clear as well, Else I have to go in manually, look > at all the comments, see which ones are on services that are no longer > problems, and clear them manually one at at time. > > > As a side note, for some enhancement requests. > 1: Ability to apply delete multiple comments from a single web page. > (ie, a checkbox for each comment, and an apply to all button. > > 2: A search field, so I can type in the name of a host, and have > nagios list the hosts, or if there is only one, list the service > details for the one host. Makes it much easier to find hosts. > > 3: Combine 1 and 2, so I can search for a set of hosts, and apply a > comment/downtime/etc to all of them. This way, I don't have to set up > hostgroups for every possible combinations of hosts that I would like > to work on. > > I am running Nagios 1.1 > Thanks > -- Greg Vickers, RHCT Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: (07) 3864 9536 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: side.html.diff URL: From Stanley.Hopcroft at IPAustralia.gov.au Mon Jun 20 08:44:29 2005 From: Stanley.Hopcroft at IPAustralia.gov.au (Stanley Hopcroft) Date: Mon, 20 Jun 2005 16:44:29 +1000 Subject: Notifications by jabber In-Reply-To: <20050620031827.975FD33DDB@sc8-sf-spam1.sourceforge.net> References: <20050620031827.975FD33DDB@sc8-sf-spam1.sourceforge.net> Message-ID: <20050620064429.GB46142@ws11114.aipo.gov.au> Dear Folks, I am writing with some notes about distributing Nagios alerts to a Jabber conference (ie logical multicast distribution of alerts to an attractive and pervasive client). What is in use here is 1 Jabber client - sendxmpp a command line Jabber client (requires Net::XMPP from CPAN) that can send to a conference (-c option) and also run in interactive (-i) mode in which it reads from stdin and sends each line as a jabber message 2 Jabber server - jabberd 2.0 still under development but works Ok 3 Jabber viewing clients - Exodus for MS Win, Psi or TkAbber for Unix. A primitive daemon process (in this case) running on the Nagios server - tails the Nagios log - applies any necessary filters (eg discard non HARD events) & - writes the filtered (& possibly transformed events [eg adding emoticons _may_ be possible]) to stdout (connected to the sendxmpp process). There is at least one GOTCHA, namely that the jabber user that sendxmpp uses to send the message (to the conference on the jabber server) must have administrative rights (granted by the jabber serve) to be able to drop the message in the conference. The process running sendxmpp runs as a normal user (eg the same user as the Nagios daemon) but it authenticates to the jabber server as a jabber user that has jabber admininstrative priviledges. Without this, jabber clients connected to the conference see the 'nagios jabber user' join and leave the conference but the message it drops is not visible. This may be a bug in the jabberd 2.0 server since both the client and the jabberd server logs show no signs of error or unusual messages. Yours sincerely. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From davidj at synaq.com Mon Jun 20 09:16:34 2005 From: davidj at synaq.com (David Jacobson) Date: Mon, 20 Jun 2005 09:16:34 +0200 Subject: IBM Director In-Reply-To: <20050616052805.61265.qmail@web54409.mail.yahoo.com> References: <20050616052805.61265.qmail@web54409.mail.yahoo.com> Message-ID: <1119251794.1763.0.camel@jakes.synaq.com> Hi, Funny you ask, I did this the other day. Basically you need to setup snmptt,snmptrapd and snmpd - get the IBM Director MIBS, convert them to SNMPTT format, and setup the config files. Regards, David On Wed, 2005-06-15 at 22:28 -0700, G?fffff6ran Almvik wrote: > Hi there! > > Anybody been using Nagios to monitor servers/other hardware through > IBM Director? The idea is to be able to check hardware status etc > available through the IBM Director. > Would be nice to have some info regarding problems and good solutions! > Any feedback welcome! > //G > > > ______________________________________________________________________ > Discover Yahoo! > Have fun online with music videos, cool games, IM & more. Check it > out! -- 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 Philipp.Sand at sycor.de Mon Jun 20 09:24:29 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 20 Jun 2005 09:24:29 +0200 Subject: AW: IBM Director Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9696@SYGOMAIL.GOE.AD.SYCOR.DE> Nice to hear, can you provide a short howto please :) I already configured all the snmp stuff on my nagios serverm but how do I have to configure the IBM Director? > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von David Jacobson > Gesendet: Montag, 20. Juni 2005 09:17 > An: G?fffff6ran Almvik > Cc: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] IBM Director > > Hi, > > Funny you ask, I did this the other day. Basically you need to setup > snmptt,snmptrapd and snmpd - get the IBM Director MIBS, convert them to > SNMPTT format, and setup the config files. > > Regards, > David > > On Wed, 2005-06-15 at 22:28 -0700, G?fffff6ran Almvik wrote: > > Hi there! > > > > Anybody been using Nagios to monitor servers/other hardware through > > IBM Director? The idea is to be able to check hardware status etc > > available through the IBM Director. > > Would be nice to have some info regarding problems and good solutions! > > Any feedback welcome! > > //G > > > > > > ______________________________________________________________________ > > Discover Yahoo! > > Have fun online with music videos, cool games, IM & more. Check it > > out! > -- > 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 ------------------------------------------------------- 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 wolf2k5 at gmail.com Mon Jun 20 10:35:45 2005 From: wolf2k5 at gmail.com (wolf2k5) Date: Mon, 20 Jun 2005 10:35:45 +0200 Subject: no check_command for host Message-ID: <8d8ba2bb05062001355f1f0b9c@mail.gmail.com> Hi, I use Nagios 1.2. I have no 'check_command' for my hosts (since the firewall blocks ping echo requests and the Nagios host is outside the firewall). I only have a 'check_command' for each one of the services on each host. Will Nagios still work fine with such configuration? Will I loose any useful Nagios feature? 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 Philipp.Sand at sycor.de Mon Jun 20 11:16:39 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 20 Jun 2005 11:16:39 +0200 Subject: AW: no check_command for host Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC96C4@SYGOMAIL.GOE.AD.SYCOR.DE> Yes, Nagios will work fine with this configuration, and yes, you will use a useful Nagios feature ;) When you have no Host check, Nagios won't report any Host UP or DOWNs. Beware, that you can use any check for the host check command, you mustn't ping a host to see if it's up or down. On the other hand, why don't configure the firewall to permit icmp echo only from the Nagios Server? Philipp > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von wolf2k5 > Gesendet: Montag, 20. Juni 2005 10:36 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] no check_command for host > > Hi, > > I use Nagios 1.2. > > I have no 'check_command' for my hosts (since the firewall blocks ping > echo requests and the Nagios host is outside the firewall). > I only have a 'check_command' for each one of the services on each host. > > Will Nagios still work fine with such configuration? > Will I loose any useful Nagios feature? > > 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=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 chris_e_wall at mac.com Mon Jun 20 13:28:01 2005 From: chris_e_wall at mac.com (Christopher Wall) Date: Mon, 20 Jun 2005 06:28:01 -0500 Subject: no check_command for host In-Reply-To: <8d8ba2bb05062001355f1f0b9c@mail.gmail.com> References: <8d8ba2bb05062001355f1f0b9c@mail.gmail.com> Message-ID: <1119266881.13973.5.camel@ratatosk> On Mon, 2005-06-20 at 10:35 +0200, wolf2k5 wrote: > Hi, > > I use Nagios 1.2. > > I have no 'check_command' for my hosts (since the firewall blocks ping > echo requests and the Nagios host is outside the firewall). > I only have a 'check_command' for each one of the services on each host. > > Will Nagios still work fine with such configuration? > Will I loose any useful Nagios feature? This is one of the situations for which passive checks are recommended. Check in the docuemntation that comes with nagios regarding passive checks and they'll mention an example situation (briefly) that is like what you mention. Basically, set any services you would like checked as passive and have the hosts themselves send to the nagios server. ------------------------------------------------------- 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 sekuela at gmail.com Mon Jun 20 13:59:04 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 20 Jun 2005 08:59:04 -0300 Subject: about nsca Message-ID: <806f904f050620045970cdcd5b@mail.gmail.com> Hello folks, I'm trying to execute a nsca daemon over a Fedora Core 3 with Nagios 2.0b2 The service start with sucessfully.... my /etc/services: nsca 5667/tcp # NSCA my xinetd.d/nsca : service nsca { flags = REUSE type = UNLISTED port = 5667 socket_type = stream wait = no user = nagios group = nagios server = /usr/sbin/nsca server_args = -c /etc/nagios/nsca.cfg --inetd log_on_failure += USERID disable = yes only_from = 192.168.10.0 } BUT, when I execute "nmap localhost" I can't see my 5667 port opened or I cant telnet the port from my machine to my nsca server... somebody already passed by this problem? Thanks for all... Daniel Szortyka Brasil - Rio Grande do Sul - Porto Alegre ------------------------------------------------------- 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 Roberto.Balestra at getronics.com Mon Jun 20 14:05:37 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Mon, 20 Jun 2005 14:05:37 +0200 Subject: about nsca Message-ID: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> Hi, change 'disable = yes' to 'disable = no' and restart xinetd Bye Roberto > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > Szortyka > Sent: luned? 20 giugno 2005 13.59 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] about nsca > > > Hello folks, > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > Nagios 2.0b2 > > The service start with sucessfully.... > > my /etc/services: > nsca 5667/tcp # NSCA > > my xinetd.d/nsca : > > service nsca > { > flags = REUSE > type = UNLISTED > port = 5667 > socket_type = stream > wait = no > user = nagios > group = nagios > server = /usr/sbin/nsca > server_args = -c /etc/nagios/nsca.cfg --inetd > log_on_failure += USERID > disable = yes > only_from = 192.168.10.0 > } > > BUT, when I execute "nmap localhost" I can't see my 5667 port opened > or I cant telnet the port from my machine to my nsca server... > somebody already passed by this problem? > > Thanks for all... > > Daniel Szortyka > Brasil - Rio Grande do Sul - Porto Alegre > > > ------------------------------------------------------- > 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 sekuela at gmail.com Mon Jun 20 14:26:02 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 20 Jun 2005 09:26:02 -0300 Subject: about nsca In-Reply-To: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> References: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> Message-ID: <806f904f05062005263f486cf7@mail.gmail.com> Hi, Sorry, but the service starts sucessfully but I still don't seeing the service when I execute a nmap localhost.... here is my nsca.conf in /etc/nagios/ server_port=5667 server_address=192.168.10.2 allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 nsca_user=nagios nsca_group=nagios debug=0 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/var/spool/nagios/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 password=Supp0rt1t decryption_method=2 Some idea about the problem? Thanks! Daniel On 6/20/05, Balestra, Roberto wrote: > Hi, > change 'disable = yes' to 'disable = no' and restart xinetd > Bye > Roberto > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > Szortyka > > Sent: luned? 20 giugno 2005 13.59 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] about nsca > > > > > > Hello folks, > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > Nagios 2.0b2 > > > > The service start with sucessfully.... > > > > my /etc/services: > > nsca 5667/tcp # NSCA > > > > my xinetd.d/nsca : > > > > service nsca > > { > > flags = REUSE > > type = UNLISTED > > port = 5667 > > socket_type = stream > > wait = no > > user = nagios > > group = nagios > > server = /usr/sbin/nsca > > server_args = -c /etc/nagios/nsca.cfg --inetd > > log_on_failure += USERID > > disable = yes > > only_from = 192.168.10.0 > > } > > > > BUT, when I execute "nmap localhost" I can't see my 5667 port opened > > or I cant telnet the port from my machine to my nsca server... > > somebody already passed by this problem? > > > > Thanks for all... > > > > Daniel Szortyka > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > ------------------------------------------------------- > > 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 Roberto.Balestra at getronics.com Mon Jun 20 14:39:33 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Mon, 20 Jun 2005 14:39:33 +0200 Subject: about nsca Message-ID: <4E3FFB397E161940867E0B56F0B640D701388862@excbebr203.europe.unity> Hi, I don't understand your problem. If you run 'netstat -nat' you should see nsca port open. If you run 'nmap -sT localhost -p 5667' you sould see nsca port open. If you use only 'nsca localhost' only a few set of port (well-known) are scanning (use nmap -v localhost to see how much port are scanning). I hope it might be usefull. bye Roberto > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > Szortyka > Sent: luned? 20 giugno 2005 14.26 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] about nsca > > > Hi, > > Sorry, but the service starts sucessfully but I still don't seeing the > service when I execute a nmap localhost.... > > here is my nsca.conf in /etc/nagios/ > > server_port=5667 > server_address=192.168.10.2 > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > nsca_user=nagios > nsca_group=nagios > debug=0 > command_file=/usr/local/nagios/var/rw/nagios.cmd > alternate_dump_file=/var/spool/nagios/nsca.dump > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > password=Supp0rt1t > decryption_method=2 > > Some idea about the problem? > > Thanks! > > Daniel > > On 6/20/05, Balestra, Roberto wrote: > > Hi, > > change 'disable = yes' to 'disable = no' and restart xinetd > > Bye > > Roberto > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On > Behalf Of Daniel > > > Szortyka > > > Sent: luned? 20 giugno 2005 13.59 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] about nsca > > > > > > > > > Hello folks, > > > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > > Nagios 2.0b2 > > > > > > The service start with sucessfully.... > > > > > > my /etc/services: > > > nsca 5667/tcp # NSCA > > > > > > my xinetd.d/nsca : > > > > > > service nsca > > > { > > > flags = REUSE > > > type = UNLISTED > > > port = 5667 > > > socket_type = stream > > > wait = no > > > user = nagios > > > group = nagios > > > server = /usr/sbin/nsca > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > log_on_failure += USERID > > > disable = yes > > > only_from = 192.168.10.0 > > > } > > > > > > BUT, when I execute "nmap localhost" I can't see my 5667 > port opened > > > or I cant telnet the port from my machine to my nsca server... > > > somebody already passed by this problem? > > > > > > Thanks for all... > > > > > > Daniel Szortyka > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > ------------------------------------------------------- > > > 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=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 sekuela at gmail.com Mon Jun 20 14:48:58 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 20 Jun 2005 09:48:58 -0300 Subject: about nsca In-Reply-To: <4E3FFB397E161940867E0B56F0B640D701388862@excbebr203.europe.unity> References: <4E3FFB397E161940867E0B56F0B640D701388862@excbebr203.europe.unity> Message-ID: <806f904f050620054841f602bd@mail.gmail.com> Hi Roberto, Thanks for your help, ok!? When I execute a "nmap -sT localhost -p 5667"... return this: PORT STATE SERVICE 5667/tcp open unknown Nmap run completed -- 1 IP address (1 host up) scanned in 0.147 seconds When I execute a "netstat -nat"... return this: tcp 0 0 0.0.0.0:5667 0.0.0.0:* LISTEN and when I execute a "nmap -v localhost"... dont return nothing related to port 5667. in the /var/log/messages when I try to telnet from my machine to nsca server, return this log: Jun 20 09:58:04 pernalonga nsca[26684]: Host 192.168.0.171 is not allowed to talk to us! Jun 20 09:58:46 pernalonga nsca[26686]: Error: Network server getpeername() failure (107: Transport endpoint is not connected) Stay more clear my problem now? :( Thanks, I'm trying to modify some params, if return a positive result I put here!!! :) Daniel On 6/20/05, Balestra, Roberto wrote: > Hi, > I don't understand your problem. If you run 'netstat -nat' you should see nsca port open. > If you run 'nmap -sT localhost -p 5667' you sould see nsca port open. > If you use only 'nsca localhost' only a few set of port (well-known) are scanning (use nmap -v localhost to see how much port are scanning). > I hope it might be usefull. > bye > Roberto > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > Szortyka > > Sent: luned? 20 giugno 2005 14.26 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] about nsca > > > > > > Hi, > > > > Sorry, but the service starts sucessfully but I still don't seeing the > > service when I execute a nmap localhost.... > > > > here is my nsca.conf in /etc/nagios/ > > > > server_port=5667 > > server_address=192.168.10.2 > > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > > nsca_user=nagios > > nsca_group=nagios > > debug=0 > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > alternate_dump_file=/var/spool/nagios/nsca.dump > > aggregate_writes=0 > > append_to_file=0 > > max_packet_age=30 > > password=Supp0rt1t > > decryption_method=2 > > > > Some idea about the problem? > > > > Thanks! > > > > Daniel > > > > On 6/20/05, Balestra, Roberto wrote: > > > Hi, > > > change 'disable = yes' to 'disable = no' and restart xinetd > > > Bye > > > Roberto > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > > > [mailto:nagios-users-admin at lists.sourceforge.net]On > > Behalf Of Daniel > > > > Szortyka > > > > Sent: luned? 20 giugno 2005 13.59 > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] about nsca > > > > > > > > > > > > Hello folks, > > > > > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > > > Nagios 2.0b2 > > > > > > > > The service start with sucessfully.... > > > > > > > > my /etc/services: > > > > nsca 5667/tcp # NSCA > > > > > > > > my xinetd.d/nsca : > > > > > > > > service nsca > > > > { > > > > flags = REUSE > > > > type = UNLISTED > > > > port = 5667 > > > > socket_type = stream > > > > wait = no > > > > user = nagios > > > > group = nagios > > > > server = /usr/sbin/nsca > > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > > log_on_failure += USERID > > > > disable = yes > > > > only_from = 192.168.10.0 > > > > } > > > > > > > > BUT, when I execute "nmap localhost" I can't see my 5667 > > port opened > > > > or I cant telnet the port from my machine to my nsca server... > > > > somebody already passed by this problem? > > > > > > > > Thanks for all... > > > > > > > > Daniel Szortyka > > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > > > > ------------------------------------------------------- > > > > 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=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 tonye at billy.demon.nl Mon Jun 20 14:52:40 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Mon, 20 Jun 2005 14:52:40 +0200 Subject: about nsca In-Reply-To: <806f904f05062005263f486cf7@mail.gmail.com> References: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> <806f904f05062005263f486cf7@mail.gmail.com> Message-ID: <1119271960.32219.44.camel@localhost> man, 20.06.2005 kl. 14.26 skrev Daniel Szortyka: > Sorry, but the service starts sucessfully but I still don't seeing the > service when I execute a nmap localhost.... You won't unless you do as Roberto tells you to. --Tonni -- > here is my nsca.conf in /etc/nagios/ > > server_port=5667 > server_address=192.168.10.2 > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > nsca_user=nagios > nsca_group=nagios > debug=0 > command_file=/usr/local/nagios/var/rw/nagios.cmd > alternate_dump_file=/var/spool/nagios/nsca.dump > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > password=Supp0rt1t > decryption_method=2 > > Some idea about the problem? > > Thanks! > > Daniel > > On 6/20/05, Balestra, Roberto wrote: > > Hi, > > change 'disable = yes' to 'disable = no' and restart xinetd > > Bye > > Roberto > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > > Szortyka > > > Sent: luned? 20 giugno 2005 13.59 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] about nsca > > > > > > > > > Hello folks, > > > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > > Nagios 2.0b2 > > > > > > The service start with sucessfully.... > > > > > > my /etc/services: > > > nsca 5667/tcp # NSCA > > > > > > my xinetd.d/nsca : > > > > > > service nsca > > > { > > > flags = REUSE > > > type = UNLISTED > > > port = 5667 > > > socket_type = stream > > > wait = no > > > user = nagios > > > group = nagios > > > server = /usr/sbin/nsca > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > log_on_failure += USERID > > > disable = yes > > > only_from = 192.168.10.0 > > > } > > > > > > BUT, when I execute "nmap localhost" I can't see my 5667 port opened > > > or I cant telnet the port from my machine to my nsca server... > > > somebody already passed by this problem? > > > > > > Thanks for all... > > > > > > Daniel Szortyka > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > ------------------------------------------------------- > > > 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 > > !DSPAM:42b6b6dd21632031120657! -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 sekuela at gmail.com Mon Jun 20 15:13:09 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 20 Jun 2005 10:13:09 -0300 Subject: about nsca In-Reply-To: <1119271960.32219.44.camel@localhost> References: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> <806f904f05062005263f486cf7@mail.gmail.com> <1119271960.32219.44.camel@localhost> Message-ID: <806f904f05062006137617d26b@mail.gmail.com> Hi, Finally I obtained my telnet conection from the network... but.... Still my "nmap localhost" command without "see" my 5667 opened port. When I restart my xinetd I obtain this result... Jun 20 10:18:51 pernalonga xinetd[27427]: bind failed (Address already in use (errno = 98)). service = nsca Jun 20 10:18:51 pernalonga xinetd[27427]: Service nsca failed to start and is deactivated. Thanks! Daniel On 6/20/05, Tony Earnshaw wrote: > man, 20.06.2005 kl. 14.26 skrev Daniel Szortyka: > > > Sorry, but the service starts sucessfully but I still don't seeing the > > service when I execute a nmap localhost.... > > You won't unless you do as Roberto tells you to. > > --Tonni > > -- > > > here is my nsca.conf in /etc/nagios/ > > > > server_port=5667 > > server_address=192.168.10.2 > > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > > nsca_user=nagios > > nsca_group=nagios > > debug=0 > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > alternate_dump_file=/var/spool/nagios/nsca.dump > > aggregate_writes=0 > > append_to_file=0 > > max_packet_age=30 > > password=Supp0rt1t > > decryption_method=2 > > > > Some idea about the problem? > > > > Thanks! > > > > Daniel > > > > On 6/20/05, Balestra, Roberto wrote: > > > Hi, > > > change 'disable = yes' to 'disable = no' and restart xinetd > > > Bye > > > Roberto > > > > > > > -----Original Message----- > > > > From: nagios-users-admin at lists.sourceforge.net > > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > > > Szortyka > > > > Sent: luned? 20 giugno 2005 13.59 > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] about nsca > > > > > > > > > > > > Hello folks, > > > > > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > > > Nagios 2.0b2 > > > > > > > > The service start with sucessfully.... > > > > > > > > my /etc/services: > > > > nsca 5667/tcp # NSCA > > > > > > > > my xinetd.d/nsca : > > > > > > > > service nsca > > > > { > > > > flags = REUSE > > > > type = UNLISTED > > > > port = 5667 > > > > socket_type = stream > > > > wait = no > > > > user = nagios > > > > group = nagios > > > > server = /usr/sbin/nsca > > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > > log_on_failure += USERID > > > > disable = yes > > > > only_from = 192.168.10.0 > > > > } > > > > > > > > BUT, when I execute "nmap localhost" I can't see my 5667 port opened > > > > or I cant telnet the port from my machine to my nsca server... > > > > somebody already passed by this problem? > > > > > > > > Thanks for all... > > > > > > > > Daniel Szortyka > > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 > > > > !DSPAM:42b6b6dd21632031120657! > -- > mail: tonye at billy.demon.nl > http://www.billy.demon.nl > > > > > ------------------------------------------------------- > 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 ae at op5.se Mon Jun 20 15:57:12 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 20 Jun 2005 15:57:12 +0200 Subject: about nsca In-Reply-To: <806f904f050620054841f602bd@mail.gmail.com> References: <4E3FFB397E161940867E0B56F0B640D701388862@excbebr203.europe.unity> <806f904f050620054841f602bd@mail.gmail.com> Message-ID: <42B6CB38.5030204@op5.se> Daniel Szortyka wrote: > Hi Roberto, > > Thanks for your help, ok!? > > When I execute a "nmap -sT localhost -p 5667"... return this: > PORT STATE SERVICE > 5667/tcp open unknown > Nmap run completed -- 1 IP address (1 host up) scanned in 0.147 seconds > > When I execute a "netstat -nat"... return this: > tcp 0 0 0.0.0.0:5667 0.0.0.0:* > LISTEN > So it's open and listening. No probs so far then. > and when I execute a "nmap -v localhost"... dont return nothing > related to port 5667. > Well, you wouldn't, as nmap per default doesn't scan port 5667. > in the /var/log/messages when I try to telnet from my machine to nsca > server, return this log: > Jun 20 09:58:04 pernalonga nsca[26684]: Host 192.168.0.171 is not > allowed to talk to us! Which is expected, since you're not. > Jun 20 09:58:46 pernalonga nsca[26686]: Error: Network server > getpeername() failure (107: Transport endpoint is not connected) > > > Stay more clear my problem now? :( > > Thanks, > I'm trying to modify some params, if return a positive result I put here!!! :) > Telnet (or netcat) in from the host you're expecting answers from, and set disabled = no in the xinetd config file. It will work. > Daniel > > > On 6/20/05, Balestra, Roberto wrote: > >>Hi, >>I don't understand your problem. If you run 'netstat -nat' you should see nsca port open. >>If you run 'nmap -sT localhost -p 5667' you sould see nsca port open. >>If you use only 'nsca localhost' only a few set of port (well-known) are scanning (use nmap -v localhost to see how much port are scanning). >>I hope it might be usefull. >>bye >> Roberto >> >> >>>-----Original Message----- >>>From: nagios-users-admin at lists.sourceforge.net >>>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel >>>Szortyka >>>Sent: luned? 20 giugno 2005 14.26 >>>To: nagios-users at lists.sourceforge.net >>>Subject: Re: [Nagios-users] about nsca >>> >>> >>>Hi, >>> >>>Sorry, but the service starts sucessfully but I still don't seeing the >>>service when I execute a nmap localhost.... >>> >>>here is my nsca.conf in /etc/nagios/ >>> >>>server_port=5667 >>>server_address=192.168.10.2 >>>allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 >>>nsca_user=nagios >>>nsca_group=nagios >>>debug=0 >>>command_file=/usr/local/nagios/var/rw/nagios.cmd >>>alternate_dump_file=/var/spool/nagios/nsca.dump >>>aggregate_writes=0 >>>append_to_file=0 >>>max_packet_age=30 >>>password=Supp0rt1t >>>decryption_method=2 >>> >>>Some idea about the problem? >>> >>>Thanks! >>> >>>Daniel >>> >>>On 6/20/05, Balestra, Roberto wrote: >>> >>>>Hi, >>>>change 'disable = yes' to 'disable = no' and restart xinetd >>>>Bye >>>> Roberto >>>> >>>> >>>>>-----Original Message----- >>>>>From: nagios-users-admin at lists.sourceforge.net >>>>>[mailto:nagios-users-admin at lists.sourceforge.net]On >>> >>>Behalf Of Daniel >>> >>>>>Szortyka >>>>>Sent: luned? 20 giugno 2005 13.59 >>>>>To: nagios-users at lists.sourceforge.net >>>>>Subject: [Nagios-users] about nsca >>>>> >>>>> >>>>>Hello folks, >>>>> >>>>>I'm trying to execute a nsca daemon over a Fedora Core 3 with >>>>>Nagios 2.0b2 >>>>> >>>>>The service start with sucessfully.... >>>>> >>>>>my /etc/services: >>>>>nsca 5667/tcp # NSCA >>>>> >>>>>my xinetd.d/nsca : >>>>> >>>>>service nsca >>>>>{ >>>>> flags = REUSE >>>>> type = UNLISTED >>>>> port = 5667 >>>>> socket_type = stream >>>>> wait = no >>>>> user = nagios >>>>> group = nagios >>>>> server = /usr/sbin/nsca >>>>> server_args = -c /etc/nagios/nsca.cfg --inetd >>>>> log_on_failure += USERID >>>>> disable = yes >>>>> only_from = 192.168.10.0 >>>>>} >>>>> >>>>>BUT, when I execute "nmap localhost" I can't see my 5667 >>> >>>port opened >>> >>>>>or I cant telnet the port from my machine to my nsca server... >>>>>somebody already passed by this problem? >>>>> >>>>>Thanks for all... >>>>> >>>>>Daniel Szortyka >>>>>Brasil - Rio Grande do Sul - Porto Alegre >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>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=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 > -- 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_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 sekuela at gmail.com Mon Jun 20 16:06:50 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 20 Jun 2005 11:06:50 -0300 Subject: about nsca In-Reply-To: <42B6CB38.5030204@op5.se> References: <4E3FFB397E161940867E0B56F0B640D701388862@excbebr203.europe.unity> <806f904f050620054841f602bd@mail.gmail.com> <42B6CB38.5030204@op5.se> Message-ID: <806f904f050620070664035222@mail.gmail.com> Thanks Andreas... It's working now.... Thanks for nagios-list help..... Daniel Szortyka Porto Alegre - RS - Brasil On 6/20/05, Andreas Ericsson wrote: > Daniel Szortyka wrote: > > Hi Roberto, > > > > Thanks for your help, ok!? > > > > When I execute a "nmap -sT localhost -p 5667"... return this: > > PORT STATE SERVICE > > 5667/tcp open unknown > > Nmap run completed -- 1 IP address (1 host up) scanned in 0.147 seconds > > > > When I execute a "netstat -nat"... return this: > > tcp 0 0 0.0.0.0:5667 0.0.0.0:* > > LISTEN > > > > So it's open and listening. No probs so far then. > > > and when I execute a "nmap -v localhost"... dont return nothing > > related to port 5667. > > > > Well, you wouldn't, as nmap per default doesn't scan port 5667. > > > in the /var/log/messages when I try to telnet from my machine to nsca > > server, return this log: > > Jun 20 09:58:04 pernalonga nsca[26684]: Host 192.168.0.171 is not > > allowed to talk to us! > > Which is expected, since you're not. > > > Jun 20 09:58:46 pernalonga nsca[26686]: Error: Network server > > getpeername() failure (107: Transport endpoint is not connected) > > > > > > Stay more clear my problem now? :( > > > > Thanks, > > I'm trying to modify some params, if return a positive result I put here!!! :) > > > > Telnet (or netcat) in from the host you're expecting answers from, and > set disabled = no in the xinetd config file. It will work. > > > Daniel > > > > > > On 6/20/05, Balestra, Roberto wrote: > > > >>Hi, > >>I don't understand your problem. If you run 'netstat -nat' you should see nsca port open. > >>If you run 'nmap -sT localhost -p 5667' you sould see nsca port open. > >>If you use only 'nsca localhost' only a few set of port (well-known) are scanning (use nmap -v localhost to see how much port are scanning). > >>I hope it might be usefull. > >>bye > >> Roberto > >> > >> > >>>-----Original Message----- > >>>From: nagios-users-admin at lists.sourceforge.net > >>>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > >>>Szortyka > >>>Sent: luned? 20 giugno 2005 14.26 > >>>To: nagios-users at lists.sourceforge.net > >>>Subject: Re: [Nagios-users] about nsca > >>> > >>> > >>>Hi, > >>> > >>>Sorry, but the service starts sucessfully but I still don't seeing the > >>>service when I execute a nmap localhost.... > >>> > >>>here is my nsca.conf in /etc/nagios/ > >>> > >>>server_port=5667 > >>>server_address=192.168.10.2 > >>>allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > >>>nsca_user=nagios > >>>nsca_group=nagios > >>>debug=0 > >>>command_file=/usr/local/nagios/var/rw/nagios.cmd > >>>alternate_dump_file=/var/spool/nagios/nsca.dump > >>>aggregate_writes=0 > >>>append_to_file=0 > >>>max_packet_age=30 > >>>password=Supp0rt1t > >>>decryption_method=2 > >>> > >>>Some idea about the problem? > >>> > >>>Thanks! > >>> > >>>Daniel > >>> > >>>On 6/20/05, Balestra, Roberto wrote: > >>> > >>>>Hi, > >>>>change 'disable = yes' to 'disable = no' and restart xinetd > >>>>Bye > >>>> Roberto > >>>> > >>>> > >>>>>-----Original Message----- > >>>>>From: nagios-users-admin at lists.sourceforge.net > >>>>>[mailto:nagios-users-admin at lists.sourceforge.net]On > >>> > >>>Behalf Of Daniel > >>> > >>>>>Szortyka > >>>>>Sent: luned? 20 giugno 2005 13.59 > >>>>>To: nagios-users at lists.sourceforge.net > >>>>>Subject: [Nagios-users] about nsca > >>>>> > >>>>> > >>>>>Hello folks, > >>>>> > >>>>>I'm trying to execute a nsca daemon over a Fedora Core 3 with > >>>>>Nagios 2.0b2 > >>>>> > >>>>>The service start with sucessfully.... > >>>>> > >>>>>my /etc/services: > >>>>>nsca 5667/tcp # NSCA > >>>>> > >>>>>my xinetd.d/nsca : > >>>>> > >>>>>service nsca > >>>>>{ > >>>>> flags = REUSE > >>>>> type = UNLISTED > >>>>> port = 5667 > >>>>> socket_type = stream > >>>>> wait = no > >>>>> user = nagios > >>>>> group = nagios > >>>>> server = /usr/sbin/nsca > >>>>> server_args = -c /etc/nagios/nsca.cfg --inetd > >>>>> log_on_failure += USERID > >>>>> disable = yes > >>>>> only_from = 192.168.10.0 > >>>>>} > >>>>> > >>>>>BUT, when I execute "nmap localhost" I can't see my 5667 > >>> > >>>port opened > >>> > >>>>>or I cant telnet the port from my machine to my nsca server... > >>>>>somebody already passed by this problem? > >>>>> > >>>>>Thanks for all... > >>>>> > >>>>>Daniel Szortyka > >>>>>Brasil - Rio Grande do Sul - Porto Alegre > >>>>> > >>>>> > >>>>>------------------------------------------------------- > >>>>>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=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 > > > > -- > 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_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 nagiosadmin at snef.fr Mon Jun 20 17:04:23 2005 From: nagiosadmin at snef.fr (Davy Gaussen) Date: Mon, 20 Jun 2005 15:04:23 +0000 (UTC) Subject: check_http stats References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC96C4@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <42B6DC5A.000005.07300@GAUSSEN> Hi, I use Nagios 2.0b2. Do someone know how to check a http site hits. Int that, I mean to know how many users connect on my site per day ? Thank you !! -------------- 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 progressivepenguin at gmail.com Mon Jun 20 17:57:30 2005 From: progressivepenguin at gmail.com (Steve Tripp) Date: Mon, 20 Jun 2005 10:57:30 -0500 Subject: Nagios themes. Message-ID: <7156d5f2050620085743b7ec78@mail.gmail.com> Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola and like it, but am just curious if anyone knows of any others. Thank you much. Steve -- The Ambassador and the General were briefing me on the -- the vast majority of Iraqis want to live in a peaceful, free world. And we will find these people and we will bring them to justice. -- Preznit Junior Samples. White House, Oct. 27, 2003 ------------------------------------------------------- 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 tonye at billy.demon.nl Mon Jun 20 16:09:45 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Mon, 20 Jun 2005 16:09:45 +0200 Subject: about nsca In-Reply-To: <806f904f05062006137617d26b@mail.gmail.com> References: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> <806f904f05062005263f486cf7@mail.gmail.com> <1119271960.32219.44.camel@localhost> <806f904f05062006137617d26b@mail.gmail.com> Message-ID: <1119276584.32219.55.camel@localhost> man, 20.06.2005 kl. 15.13 skrev Daniel Szortyka: > Finally I obtained my telnet conection from the network... but.... > Still my "nmap localhost" command without "see" my 5667 opened port. > When I restart my xinetd I obtain this result... > > Jun 20 10:18:51 pernalonga xinetd[27427]: bind failed (Address already > in use (errno = 98)). service = nsca > Jun 20 10:18:51 pernalonga xinetd[27427]: Service nsca failed to start > and is deactivated. Then you /are/ running ncsa as a daemon, before you attempt to start it under xinetd. Obviously you can't have both. Can you 'telnet localhost 5666' on the machine it's running on? --Tonni -- > Thanks! > Daniel > > On 6/20/05, Tony Earnshaw wrote: > > man, 20.06.2005 kl. 14.26 skrev Daniel Szortyka: > > > > > Sorry, but the service starts sucessfully but I still don't seeing the > > > service when I execute a nmap localhost.... > > > > You won't unless you do as Roberto tells you to. > > > > --Tonni > > > > -- > > > > > here is my nsca.conf in /etc/nagios/ > > > > > > server_port=5667 > > > server_address=192.168.10.2 > > > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > > > nsca_user=nagios > > > nsca_group=nagios > > > debug=0 > > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > alternate_dump_file=/var/spool/nagios/nsca.dump > > > aggregate_writes=0 > > > append_to_file=0 > > > max_packet_age=30 > > > password=Supp0rt1t > > > decryption_method=2 > > > > > > Some idea about the problem? > > > > > > Thanks! > > > > > > Daniel > > > > > > On 6/20/05, Balestra, Roberto wrote: > > > > Hi, > > > > change 'disable = yes' to 'disable = no' and restart xinetd > > > > Bye > > > > Roberto > > > > > > > > > -----Original Message----- > > > > > From: nagios-users-admin at lists.sourceforge.net > > > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > > > > Szortyka > > > > > Sent: luned? 20 giugno 2005 13.59 > > > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: [Nagios-users] about nsca > > > > > > > > > > > > > > > Hello folks, > > > > > > > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > > > > Nagios 2.0b2 > > > > > > > > > > The service start with sucessfully.... > > > > > > > > > > my /etc/services: > > > > > nsca 5667/tcp # NSCA > > > > > > > > > > my xinetd.d/nsca : > > > > > > > > > > service nsca > > > > > { > > > > > flags = REUSE > > > > > type = UNLISTED > > > > > port = 5667 > > > > > socket_type = stream > > > > > wait = no > > > > > user = nagios > > > > > group = nagios > > > > > server = /usr/sbin/nsca > > > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > > > log_on_failure += USERID > > > > > disable = yes > > > > > only_from = 192.168.10.0 > > > > > } > > > > > > > > > > BUT, when I execute "nmap localhost" I can't see my 5667 port opened > > > > > or I cant telnet the port from my machine to my nsca server... > > > > > somebody already passed by this problem? > > > > > > > > > > Thanks for all... > > > > > > > > > > Daniel Szortyka > > > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > 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 > > > > > > > > -- > > mail: tonye at billy.demon.nl > > http://www.billy.demon.nl > > > > > > > > > > ------------------------------------------------------- > > 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 > > !DSPAM:42b6c93e21631064557733! -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 sekuela at gmail.com Mon Jun 20 18:37:43 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 20 Jun 2005 13:37:43 -0300 Subject: about nsca In-Reply-To: <1119276584.32219.55.camel@localhost> References: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> <806f904f05062005263f486cf7@mail.gmail.com> <1119271960.32219.44.camel@localhost> <806f904f05062006137617d26b@mail.gmail.com> <1119276584.32219.55.camel@localhost> Message-ID: <806f904f05062009377fce3114@mail.gmail.com> Tonni, The service are running, but telnet on localhost isnt possible. Need some other configuration? Thanks, Daniel On 6/20/05, Tony Earnshaw wrote: > man, 20.06.2005 kl. 15.13 skrev Daniel Szortyka: > > > Finally I obtained my telnet conection from the network... but.... > > Still my "nmap localhost" command without "see" my 5667 opened port. > > When I restart my xinetd I obtain this result... > > > > Jun 20 10:18:51 pernalonga xinetd[27427]: bind failed (Address already > > in use (errno = 98)). service = nsca > > Jun 20 10:18:51 pernalonga xinetd[27427]: Service nsca failed to start > > and is deactivated. > > Then you /are/ running ncsa as a daemon, before you attempt to start it > under xinetd. Obviously you can't have both. Can you 'telnet localhost > 5666' on the machine it's running on? > > --Tonni > > -- > > > Thanks! > > Daniel > > > > On 6/20/05, Tony Earnshaw wrote: > > > man, 20.06.2005 kl. 14.26 skrev Daniel Szortyka: > > > > > > > Sorry, but the service starts sucessfully but I still don't seeing the > > > > service when I execute a nmap localhost.... > > > > > > You won't unless you do as Roberto tells you to. > > > > > > --Tonni > > > > > > -- > > > > > > > here is my nsca.conf in /etc/nagios/ > > > > > > > > server_port=5667 > > > > server_address=192.168.10.2 > > > > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > > > > nsca_user=nagios > > > > nsca_group=nagios > > > > debug=0 > > > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > > alternate_dump_file=/var/spool/nagios/nsca.dump > > > > aggregate_writes=0 > > > > append_to_file=0 > > > > max_packet_age=30 > > > > password=Supp0rt1t > > > > decryption_method=2 > > > > > > > > Some idea about the problem? > > > > > > > > Thanks! > > > > > > > > Daniel > > > > > > > > On 6/20/05, Balestra, Roberto wrote: > > > > > Hi, > > > > > change 'disable = yes' to 'disable = no' and restart xinetd > > > > > Bye > > > > > Roberto > > > > > > > > > > > -----Original Message----- > > > > > > From: nagios-users-admin at lists.sourceforge.net > > > > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > > > > > Szortyka > > > > > > Sent: luned? 20 giugno 2005 13.59 > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > Subject: [Nagios-users] about nsca > > > > > > > > > > > > > > > > > > Hello folks, > > > > > > > > > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > > > > > Nagios 2.0b2 > > > > > > > > > > > > The service start with sucessfully.... > > > > > > > > > > > > my /etc/services: > > > > > > nsca 5667/tcp # NSCA > > > > > > > > > > > > my xinetd.d/nsca : > > > > > > > > > > > > service nsca > > > > > > { > > > > > > flags = REUSE > > > > > > type = UNLISTED > > > > > > port = 5667 > > > > > > socket_type = stream > > > > > > wait = no > > > > > > user = nagios > > > > > > group = nagios > > > > > > server = /usr/sbin/nsca > > > > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > > > > log_on_failure += USERID > > > > > > disable = yes > > > > > > only_from = 192.168.10.0 > > > > > > } > > > > > > > > > > > > BUT, when I execute "nmap localhost" I can't see my 5667 port opened > > > > > > or I cant telnet the port from my machine to my nsca server... > > > > > > somebody already passed by this problem? > > > > > > > > > > > > Thanks for all... > > > > > > > > > > > > Daniel Szortyka > > > > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > 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 > > > > > > > > > > > -- > > > mail: tonye at billy.demon.nl > > > http://www.billy.demon.nl > > > > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > !DSPAM:42b6c93e21631064557733! > -- > mail: tonye at billy.demon.nl > http://www.billy.demon.nl > > > > > ------------------------------------------------------- > 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 Roberto.Balestra at getronics.com Mon Jun 20 18:47:37 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Mon, 20 Jun 2005 18:47:37 +0200 Subject: about nsca Message-ID: <4E3FFB397E161940867E0B56F0B640D701388866@excbebr203.europe.unity> Hi, you should have nsca listening on 192.168.10.2. When you ask for localhost you try to connect to 127.0.0.1. If it's true you cannot connect on localhost without change your hosts file or nsca.cfg file. Bye Roberto > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > Szortyka > Sent: luned? 20 giugno 2005 18.38 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] about nsca > > > Tonni, > > The service are running, but telnet on localhost isnt possible. > > Need some other configuration? > > Thanks, > Daniel > > On 6/20/05, Tony Earnshaw wrote: > > man, 20.06.2005 kl. 15.13 skrev Daniel Szortyka: > > > > > Finally I obtained my telnet conection from the network... but.... > > > Still my "nmap localhost" command without "see" my 5667 > opened port. > > > When I restart my xinetd I obtain this result... > > > > > > Jun 20 10:18:51 pernalonga xinetd[27427]: bind failed > (Address already > > > in use (errno = 98)). service = nsca > > > Jun 20 10:18:51 pernalonga xinetd[27427]: Service nsca > failed to start > > > and is deactivated. > > > > Then you /are/ running ncsa as a daemon, before you attempt > to start it > > under xinetd. Obviously you can't have both. Can you > 'telnet localhost > > 5666' on the machine it's running on? > > > > --Tonni > > > > -- > > > > > Thanks! > > > Daniel > > > > > > On 6/20/05, Tony Earnshaw wrote: > > > > man, 20.06.2005 kl. 14.26 skrev Daniel Szortyka: > > > > > > > > > Sorry, but the service starts sucessfully but I still > don't seeing the > > > > > service when I execute a nmap localhost.... > > > > > > > > You won't unless you do as Roberto tells you to. > > > > > > > > --Tonni > > > > > > > > -- > > > > > > > > > here is my nsca.conf in /etc/nagios/ > > > > > > > > > > server_port=5667 > > > > > server_address=192.168.10.2 > > > > > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > > > > > nsca_user=nagios > > > > > nsca_group=nagios > > > > > debug=0 > > > > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > > > alternate_dump_file=/var/spool/nagios/nsca.dump > > > > > aggregate_writes=0 > > > > > append_to_file=0 > > > > > max_packet_age=30 > > > > > password=Supp0rt1t > > > > > decryption_method=2 > > > > > > > > > > Some idea about the problem? > > > > > > > > > > Thanks! > > > > > > > > > > Daniel > > > > > > > > > > On 6/20/05, Balestra, Roberto > wrote: > > > > > > Hi, > > > > > > change 'disable = yes' to 'disable = no' and restart xinetd > > > > > > Bye > > > > > > Roberto > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: nagios-users-admin at lists.sourceforge.net > > > > > > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > > > > > > Szortyka > > > > > > > Sent: luned? 20 giugno 2005 13.59 > > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > > Subject: [Nagios-users] about nsca > > > > > > > > > > > > > > > > > > > > > Hello folks, > > > > > > > > > > > > > > I'm trying to execute a nsca daemon over a Fedora > Core 3 with > > > > > > > Nagios 2.0b2 > > > > > > > > > > > > > > The service start with sucessfully.... > > > > > > > > > > > > > > my /etc/services: > > > > > > > nsca 5667/tcp # NSCA > > > > > > > > > > > > > > my xinetd.d/nsca : > > > > > > > > > > > > > > service nsca > > > > > > > { > > > > > > > flags = REUSE > > > > > > > type = UNLISTED > > > > > > > port = 5667 > > > > > > > socket_type = stream > > > > > > > wait = no > > > > > > > user = nagios > > > > > > > group = nagios > > > > > > > server = /usr/sbin/nsca > > > > > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > > > > > log_on_failure += USERID > > > > > > > disable = yes > > > > > > > only_from = 192.168.10.0 > > > > > > > } > > > > > > > > > > > > > > BUT, when I execute "nmap localhost" I can't see > my 5667 port opened > > > > > > > or I cant telnet the port from my machine to my > nsca server... > > > > > > > somebody already passed by this problem? > > > > > > > > > > > > > > Thanks for all... > > > > > > > > > > > > > > Daniel Szortyka > > > > > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > 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 > > > > > > > > > > > > > > -- > > > > mail: tonye at billy.demon.nl > > > > http://www.billy.demon.nl > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 > > > > > > !DSPAM:42b6c93e21631064557733! > > -- > > mail: tonye at billy.demon.nl > > http://www.billy.demon.nl > > > > > > > > > > ------------------------------------------------------- > > 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=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 mmarch at gmail.com Mon Jun 20 19:50:47 2005 From: mmarch at gmail.com (Michael March) Date: Mon, 20 Jun 2005 10:50:47 -0700 Subject: "Service Status Details For All Hosts" weirdness... Message-ID: <48bc406705062010507c9e6225@mail.gmail.com> I am using Nagios 2.0.3b.. When I view the "Service Status Details For All Hosts" option.. most of the time I get something like this: http://cowmix.com/NAGIOS/service-status-view-2.gif However, two services are being monitored for that host, not one.. So once out of every four page views the 2nd service WILL pop up on the list: http://cowmix.com/NAGIOS/service-status-view-1.gif Has anyone seen this sporadic weirdness? -- Michael F. March "Seriously" - HSR -------------- next part -------------- An HTML attachment was scrubbed... URL: From bestevez at gmail.com Mon Jun 20 20:00:05 2005 From: bestevez at gmail.com (Bernardo Estevez) Date: Mon, 20 Jun 2005 14:00:05 -0400 Subject: TempTrax and 2.0b3 Message-ID: Hi: I'm having a slight problem with TempTrax after I upgraded Nagios to version 2.0b3. Here's what my output looked like on 1.2 ================================== Service: 1_Rack_Area Host: TempTrax02 Address: 10.243.9.54 State: WARNING Date/Time: Mon Dec 27 13:47:27 EST 2004 Additional Info: Temp Warning: 1_Rack_Area = 86.4 F =================================== Here's what the ouput looks like on 2.0b3 ================================ Service: 1_Rack_Area Host: TempTrax02 Address: 10.243.9.54 State: WARNING Date/Time: $ Additional Info: $ ================================ The last two fields (Date/Time, and Additional Info) are not being populated and instead all I see is $. Where is a good place to start troubleshooting this? Any help would be greately appreciated. -Bernardo ------------------------------------------------------- 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 Mon Jun 20 20:05:01 2005 From: ladams at cloudmark.com (Lori Adams) Date: Mon, 20 Jun 2005 11:05:01 -0700 Subject: Service Notification Issues Message-ID: Your notifications_enabled in services.cfg was set to 0. Try setting it to 1. -Lori -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Cammarata Sent: Friday, June 17, 2005 8:33 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service Notification Issues One other thing: If I go into the web interface and acknowledge the service alert, I am sent the service notification. So obviously the setup is working, as in there are no configuration errors in the commands, only the automatic notification of the service alert. James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Cammarata Sent: Friday, June 17, 2005 9:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Notification Issues Hi all, I'm running nagios-1.1-3mdk (on Mandrake obviously) and I can't get service notifications to go out. Host notifications are working fine. We've been running nagios for over 2 years, and just recently decided to start working with some of the more advanced features. We monitor about 30 servers and 24 or so routers currently. Here are snips of the relevant configs: nagios.cfg: use_retained_program_state=0 enable_notifications=1 execute_service_checks=1 check_service_freshness=1 freshness_check_interval=60 enable_flap_detection=1 log_notifications=1 contacts.cfg define contact{ contact_name jamesc alias James Cammarata service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email james.cammarata at XXXXXXXXXXXX pager 314XXXXXXX } contactgroups.cfg define contactgroup{ contactgroup_name Admins alias Network Administrators members jamesc } hosts.cfg define host { use server-template host_name lnxbk alias Linux Backup Server address 192.168.XX.XX notifications_enabled 1 } hostgroups.cfg define hostgroup { hostgroup_name 000_stl_servers alias St.Louis Servers contact_groups Admins members lnxbk } services.cfg define service { name service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r contact_groups Admins } define service { use service-template host_name lnxbk service_description Ping check_command check_ping!100.0,20%!500.0,60% notifications_enabled 1 notification_options w,u,c,r } Here is what the web view shows for that service: Current Status: UNKNOWN Status Information: /bin/ping -n 192.168.10.88 -c 5 Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 06-17-2005 09:09:10 Status Data Age: 0d 0h 4m 18s Next Scheduled Active Check: 06-17-2005 09:14:10 Latency: < 1 second Check Duration: 5 seconds Last State Change: 06-17-2005 08:39:17 Current State Duration: 0d 0h 34m 11s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 5.46% In Scheduled Downtime? NO Last Update: 06-17-2005 09:13:17 Service Checks: ENABLED Passive Checks: ENABLED Service Notifications: ENABLED Event Handler: DISABLED Flap Detection: ENABLED As you can see, the "Last Service Notification" field is "N/A", is that relevant? Or does that just reflect the fact that there are no service notifications in the log file for this service? I'm thinking about upgrading to 2.0, but I haven't found any official Mandrake RPM's for the newer nagios versions, which means a hand compile. No big deal, but if I can avoid nuking our current setup I would prefer that. Have I missed something obvious? Or is it a known bug with this older 1.1 version that was fixed, thus necessitating an upgrade? James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net ------------------------------------------------------- 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 bestevez at gmail.com Mon Jun 20 20:07:53 2005 From: bestevez at gmail.com (Bernardo Estevez) Date: Mon, 20 Jun 2005 14:07:53 -0400 Subject: TempTrax and 2.0b3 In-Reply-To: References: Message-ID: I noticed the problem is not specific to TempTrax. I see it happening with other services as well. On 6/20/05, Bernardo Estevez wrote: > Hi: > > I'm having a slight problem with TempTrax after I upgraded Nagios to > version 2.0b3. > > Here's what my output looked like on 1.2 > ================================== > Service: 1_Rack_Area > Host: TempTrax02 > Address: 10.243.9.54 > State: WARNING > > Date/Time: Mon Dec 27 13:47:27 EST 2004 > > Additional Info: > > Temp Warning: 1_Rack_Area = 86.4 F > =================================== > > > Here's what the ouput looks like on 2.0b3 > ================================ > Service: 1_Rack_Area > Host: TempTrax02 > Address: 10.243.9.54 > State: WARNING > > Date/Time: $ > > Additional Info: > > $ > ================================ > > The last two fields (Date/Time, and Additional Info) are not being > populated and instead all I see is $. > > Where is a good place to start troubleshooting this? > > Any help would be greately appreciated. > -Bernardo > ------------------------------------------------------- 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 zsitfa at t-online.hu Mon Jun 20 20:09:05 2005 From: zsitfa at t-online.hu (Horvath Tamas) Date: Mon, 20 Jun 2005 20:09:05 +0200 Subject: Notifications @ Cingular... In-Reply-To: <20050620031827.975FD33DDB@sc8-sf-spam1.sourceforge.net> References: <20050620031827.975FD33DDB@sc8-sf-spam1.sourceforge.net> Message-ID: <20050620180900.7F07A33C034@mail.t-online.hu> Hi! I did this: I created an excel sheet with all of the possible message items (macros) in a raw. Then I counted the lengths of each message. If one of them was greater than 160, than I change hostname, hostalias, etc. (In the date field I put the longest possible date. Int he status filed I put CRITICAL for the same reason.) It is very time consuming, but it works. Bye, Tamas! >Message: 5 >Date: Sun, 19 Jun 2005 11:17:58 -0700 >From: Jonathan Nichols >Reply-To: jnichols at pbp.net >Organization: pbp.net >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Notifications @ Cingular... > >Having recently switched service to Cingular, I'm now getting bitten by >the "Uh oh, Nagios notifications come in 2 parts" issue. > >Has anyone successfully pared down the messages to fit into 1 SMS >message? If so, how'd you do it? I saw some talk about this before on >the list but didn't recall seeing a resolution. > >-Jonathan ------------------------------------------------------- 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 ladams at cloudmark.com Mon Jun 20 20:10:27 2005 From: ladams at cloudmark.com (Lori Adams) Date: Mon, 20 Jun 2005 11:10:27 -0700 Subject: Notifications @ Cingular... Message-ID: yes, in the misccommands.cfg file. ### what do the alerts to phones look like ### # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "From: \nSubject:$SERVICESTATE$:$HOSTALIAS$/$SERVICEDESC$\n\ nInfo:$OUTPUT$\nDate:$DATETIME$" | /usr/sbin/sendmail $CONTACTPAGER$ } do make sure that the $OUTPUT$ is short though. Most of my alerts will fit in one SMS page, but an occasional one slips by in 2 parts. Folks that I work with that can, have had lots of success with SNMP. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jonathan Nichols Sent: Sunday, June 19, 2005 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notifications @ Cingular... Having recently switched service to Cingular, I'm now getting bitten by the "Uh oh, Nagios notifications come in 2 parts" issue. Has anyone successfully pared down the messages to fit into 1 SMS message? If so, how'd you do it? I saw some talk about this before on the list but didn't recall seeing a resolution. -Jonathan ------------------------------------------------------- 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 scott_yem at agilent.com Mon Jun 20 20:35:11 2005 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Mon, 20 Jun 2005 11:35:11 -0700 Subject: TempTrax and 2.0b3 Message-ID: <65213341217E8D458E7C78E6640C74950742FB6C@waglmb01.labs.agilent.com> The notification macros changed. You will have to realign the macros to the correct information for your specific notification. The documentation is pretty good about describing this change. Scott Yem Research Computing Services Agilent Laboratories -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bernardo Estevez Sent: Monday, June 20, 2005 11:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: TempTrax and 2.0b3 I noticed the problem is not specific to TempTrax. I see it happening with other services as well. On 6/20/05, Bernardo Estevez wrote: > Hi: > > I'm having a slight problem with TempTrax after I upgraded Nagios to > version 2.0b3. > > Here's what my output looked like on 1.2 > ================================== > Service: 1_Rack_Area > Host: TempTrax02 > Address: 10.243.9.54 > State: WARNING > > Date/Time: Mon Dec 27 13:47:27 EST 2004 > > Additional Info: > > Temp Warning: 1_Rack_Area = 86.4 F > =================================== > > > Here's what the ouput looks like on 2.0b3 > ================================ > Service: 1_Rack_Area > Host: TempTrax02 > Address: 10.243.9.54 > State: WARNING > > Date/Time: $ > > Additional Info: > > $ > ================================ > > The last two fields (Date/Time, and Additional Info) are not being > populated and instead all I see is $. > > Where is a good place to start troubleshooting this? > > Any help would be greately appreciated. > -Bernardo > ------------------------------------------------------- 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 progressivepenguin at gmail.com Mon Jun 20 20:41:13 2005 From: progressivepenguin at gmail.com (Steve Tripp) Date: Mon, 20 Jun 2005 13:41:13 -0500 Subject: Nagios themes. In-Reply-To: <7156d5f2050620085743b7ec78@mail.gmail.com> References: <7156d5f2050620085743b7ec78@mail.gmail.com> Message-ID: <7156d5f20506201141330328f0@mail.gmail.com> Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola and like it, but am just curious if anyone knows of any others. Thank you much. Steve -- The Ambassador and the General were briefing me on the -- the vast majority of Iraqis want to live in a peaceful, free world. And we will find these people and we will bring them to justice. -- Preznit Junior Samples. White House, Oct. 27, 2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonye at billy.demon.nl Mon Jun 20 20:12:27 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Mon, 20 Jun 2005 20:12:27 +0200 Subject: about nsca In-Reply-To: <806f904f05062009377fce3114@mail.gmail.com> References: <4E3FFB397E161940867E0B56F0B640D701388861@excbebr203.europe.unity> <806f904f05062005263f486cf7@mail.gmail.com> <1119271960.32219.44.camel@localhost> <806f904f05062006137617d26b@mail.gmail.com> <1119276584.32219.55.camel@localhost> <806f904f05062009377fce3114@mail.gmail.com> Message-ID: <1119291147.32219.91.camel@localhost> man, 20.06.2005 kl. 18.37 skrev Daniel Szortyka: > The service are running, but telnet on localhost isnt possible. > > Need some other configuration? No. Unfortunately you have a problem that I cannot solve, without debugging on my own machine. I don't know what you mean by "telnet on localhost isnt possible". Apart from which, for nsca it should be port 5667, sorry. I.e., why not? Can't you log in to that host? Or does it just not work? --Tonni -- > > Thanks, > Daniel > > On 6/20/05, Tony Earnshaw wrote: > > man, 20.06.2005 kl. 15.13 skrev Daniel Szortyka: > > > > > Finally I obtained my telnet conection from the network... but.... > > > Still my "nmap localhost" command without "see" my 5667 opened port. > > > When I restart my xinetd I obtain this result... > > > > > > Jun 20 10:18:51 pernalonga xinetd[27427]: bind failed (Address already > > > in use (errno = 98)). service = nsca > > > Jun 20 10:18:51 pernalonga xinetd[27427]: Service nsca failed to start > > > and is deactivated. > > > > Then you /are/ running ncsa as a daemon, before you attempt to start it > > under xinetd. Obviously you can't have both. Can you 'telnet localhost > > 5666' on the machine it's running on? > > > > --Tonni > > > > -- > > > > > Thanks! > > > Daniel > > > > > > On 6/20/05, Tony Earnshaw wrote: > > > > man, 20.06.2005 kl. 14.26 skrev Daniel Szortyka: > > > > > > > > > Sorry, but the service starts sucessfully but I still don't seeing the > > > > > service when I execute a nmap localhost.... > > > > > > > > You won't unless you do as Roberto tells you to. > > > > > > > > --Tonni > > > > > > > > -- > > > > > > > > > here is my nsca.conf in /etc/nagios/ > > > > > > > > > > server_port=5667 > > > > > server_address=192.168.10.2 > > > > > allowed_hosts=127.0.0.1 192.168.10.3 192.168.0.171 > > > > > nsca_user=nagios > > > > > nsca_group=nagios > > > > > debug=0 > > > > > command_file=/usr/local/nagios/var/rw/nagios.cmd > > > > > alternate_dump_file=/var/spool/nagios/nsca.dump > > > > > aggregate_writes=0 > > > > > append_to_file=0 > > > > > max_packet_age=30 > > > > > password=Supp0rt1t > > > > > decryption_method=2 > > > > > > > > > > Some idea about the problem? > > > > > > > > > > Thanks! > > > > > > > > > > Daniel > > > > > > > > > > On 6/20/05, Balestra, Roberto wrote: > > > > > > Hi, > > > > > > change 'disable = yes' to 'disable = no' and restart xinetd > > > > > > Bye > > > > > > Roberto > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: nagios-users-admin at lists.sourceforge.net > > > > > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Daniel > > > > > > > Szortyka > > > > > > > Sent: luned? 20 giugno 2005 13.59 > > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > > Subject: [Nagios-users] about nsca > > > > > > > > > > > > > > > > > > > > > Hello folks, > > > > > > > > > > > > > > I'm trying to execute a nsca daemon over a Fedora Core 3 with > > > > > > > Nagios 2.0b2 > > > > > > > > > > > > > > The service start with sucessfully.... > > > > > > > > > > > > > > my /etc/services: > > > > > > > nsca 5667/tcp # NSCA > > > > > > > > > > > > > > my xinetd.d/nsca : > > > > > > > > > > > > > > service nsca > > > > > > > { > > > > > > > flags = REUSE > > > > > > > type = UNLISTED > > > > > > > port = 5667 > > > > > > > socket_type = stream > > > > > > > wait = no > > > > > > > user = nagios > > > > > > > group = nagios > > > > > > > server = /usr/sbin/nsca > > > > > > > server_args = -c /etc/nagios/nsca.cfg --inetd > > > > > > > log_on_failure += USERID > > > > > > > disable = yes > > > > > > > only_from = 192.168.10.0 > > > > > > > } > > > > > > > > > > > > > > BUT, when I execute "nmap localhost" I can't see my 5667 port opened > > > > > > > or I cant telnet the port from my machine to my nsca server... > > > > > > > somebody already passed by this problem? > > > > > > > > > > > > > > Thanks for all... > > > > > > > > > > > > > > Daniel Szortyka > > > > > > > Brasil - Rio Grande do Sul - Porto Alegre > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > 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 > > > > > > > > > > > > > > -- > > > > mail: tonye at billy.demon.nl > > > > http://www.billy.demon.nl > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 > > > > > > > > -- > > mail: tonye at billy.demon.nl > > http://www.billy.demon.nl > > > > > > > > > > ------------------------------------------------------- > > 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 > > !DSPAM:42b703c621632076914085! -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 andrew at profitability.net Mon Jun 20 21:08:33 2005 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 20 Jun 2005 15:08:33 -0400 Subject: "Service Status Details For All Hosts" weirdness... In-Reply-To: <48bc406705062010507c9e6225@mail.gmail.com> References: <48bc406705062010507c9e6225@mail.gmail.com> Message-ID: Sounds like you've got two copies of Nagios running. Try shutting down Nagios, then kill any remaining Nagios processes, then start Nagios. Andrew _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael March Sent: Monday, June 20, 2005 1:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] "Service Status Details For All Hosts" weirdness... I am using Nagios 2.0.3b.. When I view the "Service Status Details For All Hosts" option.. most of the time I get something like this: http://cowmix.com/NAGIOS/service-status-view-2.gif However, two services are being monitored for that host, not one.. So once out of every four page views the 2nd service WILL pop up on the list: http://cowmix.com/NAGIOS/service-status-view-1.gif Has anyone seen this sporadic weirdness? -- Michael F. March "Seriously" - HSR -------------- next part -------------- An HTML attachment was scrubbed... URL: From cameron.matheson at gmail.com Mon Jun 20 22:11:13 2005 From: cameron.matheson at gmail.com (Cam) Date: Mon, 20 Jun 2005 14:11:13 -0600 Subject: getting meaningful information from snmp Message-ID: <7e2f9af90506201311141fa1f2@mail.gmail.com> Hi guys, I'm using the check_snmp plugin to get some information about various systems on my network... but the stuff i'm getting is not very helpful... for example, i need to be checking the context switches on all my boxes, and the plugin works (it gets me the right information from the MIB. Unfortunately, the data in the MIB is weird (i think it's a counter value or something?). What i would like to see is the snmp reporting back the same value as the information in vmstat. It seems like Cacti and MRTG have a cool way of graphing this information to make it more meaningful. Is there any way to do that w/ nagios? 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 mluettgen at nuvio.com Mon Jun 20 22:14:59 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Mon, 20 Jun 2005 15:14:59 -0500 Subject: check_mysql and check_pgsql over ssh Message-ID: <1119298499.9843.56.camel@dhcp-63-77-68-95.ojc.nuvio.com> My sql connections are all done via ssh, is there a way to have nagios- plugins monitor these connections over ssh? M ------------------------------------------------------- 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 James.Cammarata at altertrading.com Mon Jun 20 22:18:09 2005 From: James.Cammarata at altertrading.com (James Cammarata) Date: Mon, 20 Jun 2005 15:18:09 -0500 Subject: Service Notification Issues Message-ID: Yes, for the template, it is enabled on a per-service basis. I wish the solution was that easy :) I have verified that the service is showing as "Service Notifications: ENABLED" in the web GUI. James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: Lori Adams [mailto:ladams at cloudmark.com] Sent: Monday, June 20, 2005 1:05 PM To: James Cammarata; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service Notification Issues Your notifications_enabled in services.cfg was set to 0. Try setting it to 1. -Lori -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Cammarata Sent: Friday, June 17, 2005 8:33 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Service Notification Issues One other thing: If I go into the web interface and acknowledge the service alert, I am sent the service notification. So obviously the setup is working, as in there are no configuration errors in the commands, only the automatic notification of the service alert. James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Cammarata Sent: Friday, June 17, 2005 9:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Notification Issues Hi all, I'm running nagios-1.1-3mdk (on Mandrake obviously) and I can't get service notifications to go out. Host notifications are working fine. We've been running nagios for over 2 years, and just recently decided to start working with some of the more advanced features. We monitor about 30 servers and 24 or so routers currently. Here are snips of the relevant configs: nagios.cfg: use_retained_program_state=0 enable_notifications=1 execute_service_checks=1 check_service_freshness=1 freshness_check_interval=60 enable_flap_detection=1 log_notifications=1 contacts.cfg define contact{ contact_name jamesc alias James Cammarata service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email james.cammarata at XXXXXXXXXXXX pager 314XXXXXXX } contactgroups.cfg define contactgroup{ contactgroup_name Admins alias Network Administrators members jamesc } hosts.cfg define host { use server-template host_name lnxbk alias Linux Backup Server address 192.168.XX.XX notifications_enabled 1 } hostgroups.cfg define hostgroup { hostgroup_name 000_stl_servers alias St.Louis Servers contact_groups Admins members lnxbk } services.cfg define service { name service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r contact_groups Admins } define service { use service-template host_name lnxbk service_description Ping check_command check_ping!100.0,20%!500.0,60% notifications_enabled 1 notification_options w,u,c,r } Here is what the web view shows for that service: Current Status: UNKNOWN Status Information: /bin/ping -n 192.168.10.88 -c 5 Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 06-17-2005 09:09:10 Status Data Age: 0d 0h 4m 18s Next Scheduled Active Check: 06-17-2005 09:14:10 Latency: < 1 second Check Duration: 5 seconds Last State Change: 06-17-2005 08:39:17 Current State Duration: 0d 0h 34m 11s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 5.46% In Scheduled Downtime? NO Last Update: 06-17-2005 09:13:17 Service Checks: ENABLED Passive Checks: ENABLED Service Notifications: ENABLED Event Handler: DISABLED Flap Detection: ENABLED As you can see, the "Last Service Notification" field is "N/A", is that relevant? Or does that just reflect the fact that there are no service notifications in the log file for this service? I'm thinking about upgrading to 2.0, but I haven't found any official Mandrake RPM's for the newer nagios versions, which means a hand compile. No big deal, but if I can avoid nuking our current setup I would prefer that. Have I missed something obvious? Or is it a known bug with this older 1.1 version that was fixed, thus necessitating an upgrade? James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net ------------------------------------------------------- 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 Mon Jun 20 22:12:36 2005 From: moshesharon at gmail.com (MosheSharon) Date: Mon, 20 Jun 2005 20:12:36 +0000 (UTC) Subject: =?utf-8?b?Y2hlY2tfaHR0cA==?= stats References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC96C4@SYGOMAIL.GOE.AD.SYCOR.DE> <42B6DC5A.000005.07300@GAUSSEN> Message-ID: Hello you didnt write what type of server you are using. so if you are using IIS on windows you can use the wincheck counter nrpe plugin retrieving the key value of IIS users example: \\Web Service(_Total)\\Total Anonymous Users" if you are using apache you need to enable the server-status and then parse the line * requests ... you can do that with wget plugin maybe ill find the time to write something more generic for apache someday :-) Hope it helped 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 moshesharon at gmail.com Mon Jun 20 22:20:21 2005 From: moshesharon at gmail.com (MosheSharon) Date: Mon, 20 Jun 2005 20:20:21 +0000 (UTC) Subject: AW: IBM Director References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9696@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: hello if you need ago solution to implement snmptraps please follow this articale. http://article.gmane.org/gmane.network.nagios.user/23712/match=+snmptraphandling it was also published in sys admin. and its working in our enviroment with IBM director 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 sekuela at gmail.com Mon Jun 20 22:44:13 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 20 Jun 2005 17:44:13 -0300 Subject: About a active plugin in local machine Message-ID: <806f904f0506201344ebd7a20@mail.gmail.com> Hello Folks, Currently nagios send a request to a host that have a NS_Client, and the Windows Plugin return a answer of the monitored Service. I'm searching for a Local Windows Plugin... that stay checking your host, and send the result to the nagios host. I found a "NC_Net" that have active and passive checks... but, dont check your services local. Somebody know some Windows Plugin that check your services local and send the result to nagios? Thanks! Daniel ------------------------------------------------------- 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 Daniel.Rusch at fotf.org Mon Jun 20 23:43:41 2005 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Mon, 20 Jun 2005 15:43:41 -0600 Subject: Sound an alarm Message-ID: <8514B8AEA269234B82EF64E707E5885005886972@nahum.mis.fotf.priv> All, How can I have Nagios sound a physical alarm. In other words I want to wake up the NOC if a a system goes critical? Thank you, Daniel G. Rusch x2027 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinzauro at ha-solutions.net Mon Jun 20 23:56:49 2005 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Mon, 20 Jun 2005 16:56:49 -0500 Subject: Sound an alarm In-Reply-To: <8514B8AEA269234B82EF64E707E5885005886972@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E5885005886972@nahum.mis.fotf.priv> Message-ID: <42B73BA1.8000506@ha-solutions.net> Rusch, Daniel wrote: > All, > > How can I have Nagios sound a physical alarm. In other words I want to > wake up the NOC if a a system goes critical? > > Thank you, > > Daniel G. Rusch > x2027 > find a relay with a serial interface attached to the alarm of your choice....... i'll follow up with a parts list. i think i did this when i was college. _Terry ------------------------------------------------------- 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 nkondra at telus.net Tue Jun 21 00:09:14 2005 From: nkondra at telus.net (Nathan Kondra) Date: Mon, 20 Jun 2005 15:09:14 -0700 Subject: Taking a poll, Remote or Not Remote. Message-ID: <1119305354.11476.5.camel@localhost.localdomain> I just started down the road to install Nagios, I just wanted to know what the lists thoughts were on where to install Nagios. I was thinking to install it remote from the network that is going to be monitored but are there any benefits to putting it in the same network. Thanks Nathan Kondra ------------------------------------------------------- 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 Daniel.Rusch at fotf.org Tue Jun 21 00:36:52 2005 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Mon, 20 Jun 2005 16:36:52 -0600 Subject: Sound an alarm Message-ID: <8514B8AEA269234B82EF64E707E5885005886975@nahum.mis.fotf.priv> My bad I don't need help with the hardware side, my question is how do I get nagios to sound the alarm connected to the serial interface or whatever Thank you, Daniel G. Rusch x2027 -----Original Message----- From: Terry L. Inzauro [mailto:tinzauro at ha-solutions.net] Sent: Monday, June 20, 2005 3:57 PM To: Rusch, Daniel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sound an alarm Rusch, Daniel wrote: > All, > > How can I have Nagios sound a physical alarm. In other words I want to > wake up the NOC if a a system goes critical? > > Thank you, > > Daniel G. Rusch > x2027 > find a relay with a serial interface attached to the alarm of your choice....... i'll follow up with a parts list. i think i did this when i was college. _Terry ------------------------------------------------------- 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 progressivepenguin at gmail.com Tue Jun 21 00:37:32 2005 From: progressivepenguin at gmail.com (Steve Tripp) Date: Mon, 20 Jun 2005 17:37:32 -0500 Subject: Themes. In-Reply-To: <7156d5f20506201141330328f0@mail.gmail.com> References: <7156d5f2050620085743b7ec78@mail.gmail.com> <7156d5f20506201141330328f0@mail.gmail.com> Message-ID: <7156d5f2050620153740167575@mail.gmail.com> Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola and like it, but am just curious if anyone knows of any others. Thank you much. Steve -- The Ambassador and the General were briefing me on the -- the vast majority of Iraqis want to live in a peaceful, free world. And we will find these people and we will bring them to justice. -- Preznit Junior Samples. White House, Oct. 27, 2003 ------------------------------------------------------- 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 progressivepenguin at gmail.com Tue Jun 21 03:13:32 2005 From: progressivepenguin at gmail.com (Steve Tripp) Date: Mon, 20 Jun 2005 20:13:32 -0500 Subject: Nagios themes. Message-ID: <7156d5f20506201813554cdcdc@mail.gmail.com> Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola and like it, but am just curious if anyone knows of any others. Thank you much. Steve -- The Ambassador and the General were briefing me on the -- the vast majority of Iraqis want to live in a peaceful, free world. And we will find these people and we will bring them to justice. -- Preznit Junior Samples. White House, Oct. 27, 2003 ------------------------------------------------------- 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 pla at softflare.com Tue Jun 21 03:40:40 2005 From: pla at softflare.com (Paul L. Allen) Date: Tue, 21 Jun 2005 02:40:40 +0100 Subject: Nagios themes. In-Reply-To: <7156d5f20506201813554cdcdc@mail.gmail.com> References: <7156d5f20506201813554cdcdc@mail.gmail.com> Message-ID: <20050621014040.16041.qmail@mullet.softflare.net> Steve Tripp writes: Well, Steve Tripp has written this same message at least twice. Earlier repeats had the same message-id (which could indicate the well-known SMTP duplicate message race hazzard) but different "Original-Date" headers and different references. I gave him the benefit of the doubt. This message has a totally different message-id. > Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola > and like it, but am just curious if anyone knows of any others. What you're looking for is the "I am a complete moron who has no idea how mailing lists work and will keep posting my request every few hours if I don't get an immediate answer because I am a complete fucking dickhead" theme. Since you're one of only half a dozen people I've seen on this mailing list in the past year who require a theme of this nature and none of you are even remotely capable of coming up with such a theme even if you were given detailed instructions on how to do it then you're shit out of luck. Hint: if nobody answers your question WITHIN TWO OR THREE DAYS it's because either nobody knows the answer of because YOU'RE A COMPLETE DICKHEAD. Either way, don't expect an answer other than "rm -Rf /". -- Paul Allen Softflare Support ------------------------------------------------------- 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 steven-danz at kc.rr.com Tue Jun 21 04:28:41 2005 From: steven-danz at kc.rr.com (Steven Danz) Date: Mon, 20 Jun 2005 21:28:41 -0500 Subject: Multiple service extended information objects per service/host? In-Reply-To: References: <42B39168.4010308@kc.rr.com> Message-ID: <42B77B59.7010008@kc.rr.com> Hello Thanks for the reply. I figured as much and spent a couple hours and added the code to the CGIs to allow use of the | character to separate multiple entries in notes_url, icon_image, and icon_image_alt for extended info for both hosts and services. Its in 1.2, if anyone is interested I can bundle up a patch file. Steven Moshe Sharon wrote: >Hello > >from my experience you cant do that. the last entry overrides the first one >but what you can do build a frames page which passes id or name or something >to each page of the frames this way you can grab the graph in one frame >and grab the data in second frame > >hope it helped > >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 > > > ------------------------------------------------------- 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 sghosh at sghosh.org Tue Jun 21 05:10:07 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 20 Jun 2005 23:10:07 -0400 (EDT) Subject: Sound an alarm In-Reply-To: <8514B8AEA269234B82EF64E707E5885005886975@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E5885005886975@nahum.mis.fotf.priv> Message-ID: Have you looked at Audio alerts - if you have a pc/web browser/speakers you can play whatever sound you want. Downside - it gets enable for all browsers. http://nagios.sourceforge.net/docs/1_0/configcgi.html#audio_alerts On Mon, 20 Jun 2005, Rusch, Daniel wrote: > My bad I don't need help with the hardware side, my question is how do I > get nagios to sound the alarm connected to the serial interface or > whatever > > > Thank you, > > Daniel G. Rusch > x2027 > > -----Original Message----- > From: Terry L. Inzauro [mailto:tinzauro at ha-solutions.net] > Sent: Monday, June 20, 2005 3:57 PM > To: Rusch, Daniel > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Sound an alarm > > Rusch, Daniel wrote: >> All, >> >> How can I have Nagios sound a physical alarm. In other words I want to > >> wake up the NOC if a a system goes critical? >> >> Thank you, >> >> Daniel G. Rusch >> x2027 >> > > > find a relay with a serial interface attached to the alarm of your > choice....... i'll follow up with a parts list. > > i think i did this when i was college. > > > > _Terry > > > > > > ------------------------------------------------------- > 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?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 Tue Jun 21 05:38:21 2005 From: eford at nexusenergy.com (Edward Ford) Date: Mon, 20 Jun 2005 23:38:21 -0400 Subject: Nagios themes. Message-ID: Does anyone monitor these boards? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Paul L. Allen Sent: Monday, June 20, 2005 9:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Nagios themes. Steve Tripp writes: Well, Steve Tripp has written this same message at least twice. Earlier repeats had the same message-id (which could indicate the well-known SMTP duplicate message race hazzard) but different "Original-Date" headers and different references. I gave him the benefit of the doubt. This message has a totally different message-id. > Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola > and like it, but am just curious if anyone knows of any others. What you're looking for is the "I am a complete moron who has no idea how mailing lists work and will keep posting my request every few hours if I don't get an immediate answer because I am a complete fucking dickhead" theme. Since you're one of only half a dozen people I've seen on this mailing list in the past year who require a theme of this nature and none of you are even remotely capable of coming up with such a theme even if you were given detailed instructions on how to do it then you're shit out of luck. Hint: if nobody answers your question WITHIN TWO OR THREE DAYS it's because either nobody knows the answer of because YOU'RE A COMPLETE DICKHEAD. Either way, don't expect an answer other than "rm -Rf /". -- Paul Allen Softflare Support ------------------------------------------------------- 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_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 jamie.baddeley at vpc.co.nz Tue Jun 21 05:53:56 2005 From: jamie.baddeley at vpc.co.nz (jamie.baddeley at vpc.co.nz) Date: Tue, 21 Jun 2005 15:53:56 +1200 Subject: Nagios themes. In-Reply-To: References: Message-ID: <1119326036.16382.190.camel@localhost.localdomain> Ah, you've noticed Paul. He does this from time to time. Usually he's well behaved. But occasionally he'll have some outburst, sometimes with a Wine in hand (Red I think). Then sometimes Andreas will smack him down with a well placed comment, Paul might bicker a bit, and eventually reconfirms to us all of what he's like, and then eventually goes back to lurking, interrupted very occasionally with some vaguely useful technical comment. Since I worked this out I largely ignore him. As do most people. Don't sweat it. Cheers jamie On Mon, 2005-06-20 at 23:38 -0400, Edward Ford wrote: > Does anyone monitor these boards? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Paul L. Allen > Sent: Monday, June 20, 2005 9:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Nagios themes. > > Steve Tripp writes: > > Well, Steve Tripp has written this same message at least twice. Earlier > repeats had the same message-id (which could indicate the well-known SMTP > duplicate message race hazzard) but different "Original-Date" headers and > different references. I gave him the benefit of the doubt. This message > has a totally different message-id. > > > Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola > > and like it, but am just curious if anyone knows of any others. > > What you're looking for is the "I am a complete moron who has no idea how > mailing lists work and will keep posting my request every few hours if I > don't get an immediate answer because I am a complete fucking dickhead" > theme. Since you're one of only half a dozen people I've seen on this > mailing list in the past year who require a theme of this nature and none > of you are even remotely capable of coming up with such a theme even if > you were given detailed instructions on how to do it then you're shit out > of luck. > > Hint: if nobody answers your question WITHIN TWO OR THREE DAYS it's because > either nobody knows the answer of because YOU'RE A COMPLETE DICKHEAD. > Either way, don't expect an answer other than "rm -Rf /". > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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_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_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 at richardharman.com Tue Jun 21 06:31:10 2005 From: nagios at richardharman.com (Richard Harman) Date: Tue, 21 Jun 2005 00:31:10 -0400 Subject: Sound an alarm In-Reply-To: <8514B8AEA269234B82EF64E707E5885005886972@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E5885005886972@nahum.mis.fotf.priv> Message-ID: <42B7980E.2080707@richardharman.com> Serial interface? Alarm clock? Wow. Leave it to the EEs to whip out a soldering iron. ;) Not that there's anything wrong with that. I'm in the process of replacing a WhatsUpGold box (that already makes noise and has a decent pair of speakers that can be heard throughout the entire OPS floor) with Nagios, and here's my solution to the same problem: misccommands.cfg: define command { command_name host-notify-by-sound command_line $USER2$/notify_by_sound $HOSTSTATE$ } notify_by_sound: #!/usr/bin/perl use strict; use warnings; my ($status) = @ARGV; if ($status eq "DOWN" || $status eq "UNREACHABLE") { system("/usr/lib/nagios/plugins/check_nrpe -H windows.box.running.nrpe-nt -c sfx_hostdown"); } else { system("/usr/lib/nagios/plugins/check_nrpe -H windows.box.running.nrpe-nt -c sfx_hostup"); } sfx_hostdown.cmd: @echo off sndrec32 /play /cluse "c:\nrpe\host_down.wav": echo Command completed successfully exit 0 HTH! Rusch, Daniel wrote: > All, > > How can I have Nagios sound a physical alarm. In other words I want to > wake up the NOC if a a system goes critical? > > Thank you, > > Daniel G. Rusch > x2027 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Tue Jun 21 08:10:56 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 21 Jun 2005 08:10:56 +0200 Subject: Howto Build your own NC_Net_setup.msi Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9737@SYGOMAIL.GOE.AD.SYCOR.DE> Morning, I wonder if it's possible to build your own NC_Net_setup.msi. I have over 100 Windows Hosts where almost every one of these could use the same config files. I don't know msi packets that well, but it would be nice if there would be a possibility to modify the config files within those packets somehow. Thanks in advance! 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 ------------------------------------------------ ? ------------------------------------------------------- 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 knitterb at blandsite.org Tue Jun 21 08:31:08 2005 From: knitterb at blandsite.org (Brandon Knitter) Date: Mon, 20 Jun 2005 23:31:08 -0700 Subject: Taking a poll, Remote or Not Remote. In-Reply-To: <1119305354.11476.5.camel@localhost.localdomain> References: <1119305354.11476.5.camel@localhost.localdomain> Message-ID: <20050620233108.jb5dv7jv20v4ko0g@hurl.moil.blandsite.org> External service monitoring is a different problem to solve than internal system monitoring. Internal system monitoring (which cannot/shouldn't be done remotely) will give you things like CPU, Load, Disk Space, application stats, etc. Remote/external monitorinng will give you an idea of uptime, end-user experience and overall availability of service. They are two completely different beasts. Install two systems, or install the internal one only and check out the very reasonably priced services of RedAlert or SiteSeer. You can obviously find much more expensive solutions from Keynote and Mercury Interactive. Cheers, -- -bk Quoting Nathan Kondra : > I just started down the road to install Nagios, > > I just wanted to know what the lists thoughts were on where > to install Nagios. I was thinking to install it remote from the > network that is going to be monitored but are there any benefits > to putting it in the same network. > > Thanks > > Nathan Kondra > > > > ------------------------------------------------------- > 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 > > !DSPAM:42b73d88283672998342940! > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- 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 moshesharon at gmail.com Tue Jun 21 09:01:34 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Tue, 21 Jun 2005 07:01:34 +0000 (UTC) Subject: Howto Build your own =?utf-8?b?TkNfTmV0X3NldHVwLm1zaQ==?= References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9737@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: hello i can recommend and excellent packaging tool for windows. null soft nsis installer http://nsis.sourceforge.net we did some customization with NRPE NT. if you need more info. contact me 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 amontibello at gmail.com Tue Jun 21 10:32:54 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 21 Jun 2005 04:32:54 -0400 Subject: Howto Build your own NC_Net_setup.msi In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9737@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9737@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: Good luck in makeing your own msi packet or install script. NC_Net critical files are in the output and config directories. (NC_NEt does not access any other files that are copied) The file output/nc_net.exe needs to then be installed as a service.(via installutil.exe) once that is done a registy key should have been created. (NC_Net uses this key durring startup to determin the path of the config files) Key== LocalMachine\\SYSTEM\\CurrentControlSet\\Services\\NC_Ne name:"ImagePath" If you have Visual Studio installed you can always compile NC_Net and create your own MSI. The source code is in the source directory. hope this helps Tony On 6/21/05, Sand Philipp wrote: > Morning, > > I wonder if it's possible to build your own NC_Net_setup.msi. I have over 100 Windows Hosts where almost every one of these could use the same config files. I don't know msi packets that well, but it would be nice if there would be a possibility to modify the config files within those packets somehow. > > Thanks in advance! > 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 > ------------------------------------------------ > > > > > ------------------------------------------------------- > 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 amontibello at gmail.com Tue Jun 21 10:40:53 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 21 Jun 2005 04:40:53 -0400 Subject: About a active plugin in local machine In-Reply-To: <806f904f0506201344ebd7a20@mail.gmail.com> References: <806f904f0506201344ebd7a20@mail.gmail.com> Message-ID: NC_Net does check services, the passive.cfg can be configured to check anything that can be checked remotely. You can also see if there is a NRPE Plugin that does this. Good Luck Tony On 6/20/05, Daniel Szortyka wrote: > Hello Folks, > > Currently nagios send a request to a host that have a NS_Client, and > the Windows Plugin return a answer of the monitored Service. > > I'm searching for a Local Windows Plugin... that stay checking your > host, and send the result to the nagios host. > > I found a "NC_Net" that have active and passive checks... but, dont > check your services local. > > Somebody know some Windows Plugin that check your services local and > send the result to nagios? > > Thanks! > Daniel > > > ------------------------------------------------------- > 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 kirby_12172004 at yahoo.com Tue Jun 21 11:29:20 2005 From: kirby_12172004 at yahoo.com (Michael Carel) Date: Tue, 21 Jun 2005 10:29:20 +0100 (BST) Subject: statuswml.cgi page error Message-ID: <20050621092920.4040.qmail@web31301.mail.mud.yahoo.com> Hi to all; I have problem with the Statuswml.cgi page... I'm receiving error with my wap mobile phone , and yet the wap server log says statuswml.cgi?style=aprobs too large (size 4050 B, limit 3000 B). It seems statuswml.cgi list all the result in one CARD only which is limited to 3000B . Is there any solution for this? I cannot view some link with a long list more than 3000B. Thanks, Mike Send instant messages to your online friends http://uk.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From progressivepenguin at gmail.com Tue Jun 21 13:51:55 2005 From: progressivepenguin at gmail.com (Steve Tripp) Date: Tue, 21 Jun 2005 06:51:55 -0500 Subject: Nagios themes. In-Reply-To: <20050621014040.16041.qmail@mullet.softflare.net> References: <7156d5f20506201813554cdcdc@mail.gmail.com> <20050621014040.16041.qmail@mullet.softflare.net> Message-ID: <7156d5f205062104516c1c614d@mail.gmail.com> Wow, such animosity! You kiss your mother with that mouth? Obviously it does not matter in the least why there were three postings, as you have already made up your mind on the issue. Grow up little boy. On 6/20/05, Paul L. Allen wrote: > Steve Tripp writes: > > Well, Steve Tripp has written this same message at least twice. Earlier > repeats had the same message-id (which could indicate the well-known SMTP > duplicate message race hazzard) but different "Original-Date" headers and > different references. I gave him the benefit of the doubt. This message > has a totally different message-id. > > > Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola > > and like it, but am just curious if anyone knows of any others. > > What you're looking for is the "I am a complete moron who has no idea how > mailing lists work and will keep posting my request every few hours if I > don't get an immediate answer because I am a complete fucking dickhead" > theme. Since you're one of only half a dozen people I've seen on this > mailing list in the past year who require a theme of this nature and none > of you are even remotely capable of coming up with such a theme even if > you were given detailed instructions on how to do it then you're shit out > of luck. > > Hint: if nobody answers your question WITHIN TWO OR THREE DAYS it's because > either nobody knows the answer of because YOU'RE A COMPLETE DICKHEAD. > Either way, don't expect an answer other than "rm -Rf /". > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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 > -- The Ambassador and the General were briefing me on the -- the vast majority of Iraqis want to live in a peaceful, free world. And we will find these people and we will bring them to justice. -- Preznit Junior Samples. White House, Oct. 27, 2003 ------------------------------------------------------- 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 kindy_s at yahoo.fr Tue Jun 21 18:58:54 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Tue, 21 Jun 2005 18:58:54 +0200 (CEST) Subject: Email Notification using Postfix Message-ID: <20050621165854.89739.qmail@web26905.mail.ukl.yahoo.com> Hello, I am having problems with email notifications and wondering if someone can help. I have the nagios running fine but no emails are sent out. This is my notify-by-mail command : # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/sbin/sendmail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } The log file doesn't contain any errors. I have the following line : [1119372445] SERVICE NOTIFICATION: Kindy;monediabackup;HTTP Service;CRITICAL;notify-by-email;Connection refused I am using postfix as MTA. Do I need to change something in postfix configurations files in order to get it working with nagios? Is there something else to do? Any idea can help! Thanks in advance!!!! Kindy ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.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 sekuela at gmail.com Tue Jun 21 16:46:31 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Tue, 21 Jun 2005 11:46:31 -0300 Subject: About a active plugin in local machine In-Reply-To: References: <806f904f0506201344ebd7a20@mail.gmail.com> Message-ID: <806f904f050621074632ca4be6@mail.gmail.com> Hi Tony, The NRPE receive a request from nagios host and after send a result, or a passive check into nagios host. I'm searching for a plugin that auto-check in the windows machine, and only send a passive check to nagios if the service go down... it's diferent from the nagios request... I'm reading about a NC_Net V1_x windows plugin.... but it work's equal a NS_Client... Do you undertand now what I want? because my nagios host stay in my work, and my other clients will only send your self-monitorating.... Thanks for help! Daniel Szortyka - Porto Alegre - RS - Brasil On 6/21/05, Anthony Montibello wrote: > NC_Net does check services, the passive.cfg can be configured to check > anything that can be checked remotely. > > You can also see if there is a NRPE Plugin that does this. > > Good Luck > Tony > > > On 6/20/05, Daniel Szortyka wrote: > > Hello Folks, > > > > Currently nagios send a request to a host that have a NS_Client, and > > the Windows Plugin return a answer of the monitored Service. > > > > I'm searching for a Local Windows Plugin... that stay checking your > > host, and send the result to the nagios host. > > > > I found a "NC_Net" that have active and passive checks... but, dont > > check your services local. > > > > Somebody know some Windows Plugin that check your services local and > > send the result to nagios? > > > > Thanks! > > Daniel > > > > > > ------------------------------------------------------- > > 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&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 Tue Jun 21 19:25:07 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Tue, 21 Jun 2005 12:25:07 -0500 Subject: Email Notification using Postfix In-Reply-To: <20050621165854.89739.qmail@web26905.mail.ukl.yahoo.com> References: <20050621165854.89739.qmail@web26905.mail.ukl.yahoo.com> Message-ID: <1119374708.27867.3.camel@dhcp-63-77-68-95.ojc.nuvio.com> Kindy, I think this may be due to postfix, as I have the same problem with my development box. I can copy the configs to my development box and mail is never sent, but on the production machine it works fine. I'm still working on hashing this out, if I figure something out I will let the list know. Matt On Tue, 2005-06-21 at 11:58 -0500, Kindy Sylla wrote: > Hello, > I am having problems with email notifications and > wondering if someone can help. > I have the nagios running fine but no emails are sent > out. > This is my notify-by-mail command : > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** > Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /usr/sbin/sendmail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ > is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > The log file doesn't contain any errors. I have the > following line : > [1119372445] SERVICE NOTIFICATION: > Kindy;monediabackup;HTTP > Service;CRITICAL;notify-by-email;Connection refused > > I am using postfix as MTA. Do I need to change > something in postfix configurations files in order to > get it working with nagios? Is there something else to > do? Any idea can help! > Thanks in advance!!!! > Kindy > > > > > > > ___________________________________________________________________________ > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! > Messenger > T?l?chargez cette version sur http://fr.messenger.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 > > ------------------------------------------------------- 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 boinger at tradingtechnologies.com Tue Jun 21 16:38:00 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 21 Jun 2005 09:38:00 -0500 Subject: Nagios themes. In-Reply-To: <1119326036.16382.190.camel@localhost.localdomain> References: <1119326036.16382.190.camel@localhost.localdomain> Message-ID: <1119364680.7077.63.camel@chi101100.int.tt.local> On Tue, 2005-06-21 at 15:53 +1200, jamie.baddeley at vpc.co.nz wrote: > Ah, you've noticed Paul. > > He does this from time to time. > > Usually he's well behaved. But occasionally he'll have some outburst, > sometimes with a Wine in hand (Red I think). Perhaps the message was a bit gruff on the delivery, but I am getting as fed up with the incessant repeats as Paul. It's one thing to subscribe and immediately ask a question that was answered last week (rude...but within the realm of 'normal'). Asking over and over and over some obscure question is the height of rudeness, well beyond acceptable behavior in a private community environment (as this is). That said - Paul, be nice. It's more fun to send people like that on wild goose chases, anyway. Keeps them away from the list for at least a while, no? --boinger -------------- 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 adam at networkdr.net Tue Jun 21 17:30:47 2005 From: adam at networkdr.net (Adam Stern) Date: Tue, 21 Jun 2005 11:30:47 -0400 Subject: Compilation, etc. Message-ID: Okay, I have two issues: 1) I noticed that my statusmap.cgi was never made, so I tried "make statusmap.cgi" and I got the following error: linuxbox# make statusmap.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiuti ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o statusmap.c:40:53: gd.h: No such file or directory statusmap.c:41:61: gdfonts.h: No such file or directory statusmap.c:125: error: syntax error before "load_image_from_file" statusmap.c:125: warning: data definition has no type or storage class statusmap.c:157: error: syntax error before "unknown_logo_image" statusmap.c:157: warning: initialization makes integer from pointer without a ca st statusmap.c:157: warning: data definition has no type or storage class statusmap.c:158: error: syntax error before "logo_image" statusmap.c:158: warning: initialization makes integer from pointer without a ca st statusmap.c:158: warning: data definition has no type or storage class statusmap.c:159: error: syntax error before "map_image" statusmap.c:159: warning: initialization makes integer from pointer without a ca st statusmap.c:159: warning: data definition has no type or storage class statusmap.c:160: error: syntax error before "background_image" statusmap.c:160: warning: initialization makes integer from pointer without a ca st statusmap.c:160: warning: data definition has no type or storage class statusmap.c: In function `load_background_image': statusmap.c:1417: warning: comparison between pointer and integer statusmap.c:1418: error: invalid type argument of `->' statusmap.c:1419: error: invalid type argument of `->' statusmap.c:1423: warning: comparison between pointer and integer statusmap.c: In function `draw_background_image': statusmap.c:1438: warning: comparison between pointer and integer statusmap.c: In function `draw_hosts': statusmap.c:1667: warning: comparison between pointer and integer statusmap.c:1668: error: invalid type argument of `->' statusmap.c:1668: error: invalid type argument of `->' statusmap.c:1825: warning: comparison between pointer and integer statusmap.c:1826: error: invalid type argument of `->' statusmap.c:1826: error: invalid type argument of `->' statusmap.c:1836: warning: comparison between pointer and integer statusmap.c:1837: error: invalid type argument of `->' statusmap.c:1837: error: invalid type argument of `->' statusmap.c: In function `draw_text': statusmap.c:1896: error: `gdFontSmall' undeclared (first use in this function) statusmap.c:1896: error: (Each undeclared identifier is reported only once statusmap.c:1896: error: for each function it appears in.) statusmap.c: In function `draw_host_text': statusmap.c:1952: error: `gdFontSmall' undeclared (first use in this function) statusmap.c: In function `draw_dotted_line': statusmap.c:2096: error: `gdTransparent' undeclared (first use in this function) statusmap.c:2112: error: `gdStyled' undeclared (first use in this function) statusmap.c: In function `draw_dashed_line': statusmap.c:2125: error: `gdTransparent' undeclared (first use in this function) statusmap.c:2138: error: `gdStyled' undeclared (first use in this function) statusmap.c: In function `initialize_graphics': statusmap.c:2158: warning: comparison between pointer and integer statusmap.c: At top level: statusmap.c:2195: error: syntax error before "load_image_from_file" statusmap.c: In function `load_image_from_file': statusmap.c:2197: error: syntax error before "im" statusmap.c:2202: warning: return makes integer from pointer without a cast statusmap.c:2206: warning: return makes integer from pointer without a cast statusmap.c:2211: warning: return makes integer from pointer without a cast statusmap.c:2215: error: `im' undeclared (first use in this function) *** Error code 1 So, the two important lines are: statusmap.c:40:53: gd.h: No such file or directory statusmap.c:41:61: gdfonts.h: No such file or directory The gd library is installed in my system, and other apps that use it are happy. The header file IS in /usr/local/include. I tried changing it from to "/various/directories/on/my/machine/where/gd_h/is/located/gd.h" and I just got errors about undefined objects like gdDestroyImage or something like that. Anyway, after much experimenting, I gave up on compiling statusmap.c, hoping you can help me. The second problem is: I go to the web and click on a link to a cgi and I just get the "Error: Could not read object configuration data!" page. My nagios -v shows no errors or warnings, and my log is empty. I tried tracing through all the .c files to see what causes that error message, and I couldn't figure it out. So basically, Nagios doesn't work at all. I REALLY REALLY need help. So please contact me at adam at networkdr.net. Thanks in advance! 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 dmourati at cm.math.uiuc.edu Tue Jun 21 19:33:36 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 21 Jun 2005 12:33:36 -0500 (CDT) Subject: Email Notification using Postfix In-Reply-To: <20050621165854.89739.qmail@web26905.mail.ukl.yahoo.com> References: <20050621165854.89739.qmail@web26905.mail.ukl.yahoo.com> Message-ID: On Tue, 21 Jun 2005, Kindy Sylla wrote: > Hello, > I am having problems with email notifications and > wondering if someone can help. > I have the nagios running fine but no emails are sent > out. > This is my notify-by-mail command : > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** > Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /usr/sbin/sendmail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ > is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > The log file doesn't contain any errors. I have the > following line : > [1119372445] SERVICE NOTIFICATION: > Kindy;monediabackup;HTTP > Service;CRITICAL;notify-by-email;Connection refused > > I am using postfix as MTA. Do I need to change > something in postfix configurations files in order to > get it working with nagios? Is there something else to > do? Any idea can help! > Thanks in advance!!!! > Kindy Try which sendmail from the root console. Is the sendmail binary or link there? On my system, RHEL 3 ES, /usr/sbin/sendmail is a symlink to /etc/alternatives/mta, and /etc/alternatives/mta is a symlink to /usr/bin/sendmail.postfix. (Sounds weird right?) [root at nocmon2 root]# which sendmail /usr/sbin/sendmail [root at nocmon2 root]# ls -l /usr/sbin/sendmail lrwxr-xr-x 1 root root 21 Sep 10 2004 /usr/sbin/sendmail -> /etc/alternatives/mta [root at nocmon2 root]# file /etc/alternatives/mta /etc/alternatives/mta: symbolic link to /usr/sbin/sendmail.postfix [root at nocmon2 root]# ls -l /etc/alternatives/mta lrwxrwxrwx 1 root root 26 Feb 24 17:14 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix [root at nocmon2 root]# ls -l /usr/sbin/sendmail.postfix -rwxr-xr-x 1 root root 92424 Jun 29 2004 /usr/sbin/sendmail.postfix [root at nocmon2 root]# rpm -qf /usr/sbin/sendmail.postfix postfix-2.0.16-14.RHEL3 On RHEL 3 ES, you can use redhat-switch-mail from the GUI or the following: /usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix /sbin/service sendmail stop /sbin/service postfix start /sbin/chkconfig sendmail off /sbin/chkconfig postfix on Hope that helps. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.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 lambert at lambertfam.org Tue Jun 21 19:39:47 2005 From: lambert at lambertfam.org (Scott Lambert) Date: Tue, 21 Jun 2005 12:39:47 -0500 Subject: Email Notification using Postfix In-Reply-To: <1119374708.27867.3.camel@dhcp-63-77-68-95.ojc.nuvio.com> References: <20050621165854.89739.qmail@web26905.mail.ukl.yahoo.com> <1119374708.27867.3.camel@dhcp-63-77-68-95.ojc.nuvio.com> Message-ID: <20050621173947.GA44507@sysmon.tcworks.net> On Tue, Jun 21, 2005 at 12:25:07PM -0500, Matt Luettgen wrote: > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** > > Nagios *****\n\nNotification Type: > > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > > Info:\n\n$OUTPUT$" | /usr/sbin/sendmail -s "** > > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ > > is $SERVICESTATE$ **" $CONTACTEMAIL$ Try changing sendmail(8) to mail(1). The manpage for sendmail's sendmail(8) on my system, FreeBSD 4.11, does not list a -s parameter. mail(1), on the other hand, does. -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------- 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 tomvanoverbeke at yahoo.co.uk Tue Jun 21 12:36:43 2005 From: tomvanoverbeke at yahoo.co.uk (tom van overbeke) Date: Tue, 21 Jun 2005 11:36:43 +0100 (BST) Subject: LONGDATETIME variable: can it be changed ? Message-ID: <20050621103643.14722.qmail@web26505.mail.ukl.yahoo.com> Hi, (nagios version 2.0b2) I would like to change the LONGDATETIME variable, is it possible ? Why ? because our sms application only allows 160 characters, and sometimes, i really need the extra 6 or 7 characters that i could send extra by shortening the longdatetime variable. I grepped for longdatetime, but only saw it mentioned in misccommands.cfg. thanks, tom ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.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 marc at ena.com Tue Jun 21 19:47:17 2005 From: marc at ena.com (Marc Powell) Date: Tue, 21 Jun 2005 12:47:17 -0500 Subject: Email Notification using Postfix Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kindy Sylla > Sent: Tuesday, June 21, 2005 11:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Email Notification using Postfix > > Hello, > I am having problems with email notifications and > wondering if someone can help. > I have the nagios running fine but no emails are sent > out. > This is my notify-by-mail command : > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** > Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" | /usr/sbin/sendmail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ > is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > The log file doesn't contain any errors. I have the > following line : > [1119372445] SERVICE NOTIFICATION: > Kindy;monediabackup;HTTP > Service;CRITICAL;notify-by-email;Connection refused > > I am using postfix as MTA. Do I need to change > something in postfix configurations files in order to > get it working with nagios? Is there something else to > do? Any idea can help! Did you edit this command by hand to change it from its installation default? Can you run the following consolidated representation of your command above? -- /usr/bin/printf "%b" "testing" | /usr/sbin/sendmail -s "Test Message" some at email.address I'll bet you can't ;) For starters, sendmail doesn't understand a '-s' command line switch, among other problems. You should switch it back to using the mail[x] binary to pass the message to postfix properly by changing /usr/sbin/sendmail back to /path/to/mail (use 'which mail' to determine the proper path). If you don't have mail or mailx installed, you'll either need to install one of them or see http://www.nagios.org/faqs/viewfaq.php?faq_id=150 -- 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 marc at ena.com Tue Jun 21 19:49:05 2005 From: marc at ena.com (Marc Powell) Date: Tue, 21 Jun 2005 12:49:05 -0500 Subject: LONGDATETIME variable: can it be changed ? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of tom van overbeke > Sent: Tuesday, June 21, 2005 5:37 AM > To: nagios > Subject: [Nagios-users] LONGDATETIME variable: can it be changed ? > > Hi, > > (nagios version 2.0b2) > > I would like to change the LONGDATETIME variable, is > it possible ? > > Why ? because our sms application only allows 160 > characters, and sometimes, i really need the extra 6 > or 7 characters that i could send extra by shortening > the longdatetime variable. > > I grepped for longdatetime, but only saw it mentioned > in misccommands.cfg. http://nagios.sourceforge.net/docs/2_0/macros.html -- 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 tinzauro at ha-solutions.net Tue Jun 21 15:27:33 2005 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 21 Jun 2005 08:27:33 -0500 Subject: Sound an alarm In-Reply-To: <42B7980E.2080707@richardharman.com> References: <8514B8AEA269234B82EF64E707E5885005886972@nahum.mis.fotf.priv> <42B7980E.2080707@richardharman.com> Message-ID: <42B815C5.3070408@ha-solutions.net> Richard Harman wrote: > Serial interface? Alarm clock? Wow. Leave it to the EEs to whip out a > soldering iron. ;) Not that there's anything wrong with that. > > I'm in the process of replacing a WhatsUpGold box (that already makes > noise and has a decent pair of speakers that can be heard throughout the > entire OPS floor) with Nagios, and here's my solution to the same problem: > > misccommands.cfg: > define command { > command_name host-notify-by-sound > command_line $USER2$/notify_by_sound $HOSTSTATE$ > } > > notify_by_sound: > #!/usr/bin/perl > > use strict; > use warnings; > > my ($status) = @ARGV; > > if ($status eq "DOWN" || $status eq "UNREACHABLE") > { system("/usr/lib/nagios/plugins/check_nrpe -H > windows.box.running.nrpe-nt -c sfx_hostdown"); } > else > { system("/usr/lib/nagios/plugins/check_nrpe -H > windows.box.running.nrpe-nt -c sfx_hostup"); } > > sfx_hostdown.cmd: > @echo off > sndrec32 /play /cluse "c:\nrpe\host_down.wav": > echo Command completed successfully > exit 0 > > HTH! > > Rusch, Daniel wrote: > >> All, >> >> How can I have Nagios sound a physical alarm. In other words I want to >> wake up the NOC if a a system goes critical? >> >> Thank you, >> >> Daniel G. Rusch >> x2027 >> > > > Hey now Mr. perl dude. tmtowtdi As far as the part that you will need, I would recommend something along these lines. Get creative, this is the fun part of comuter systems. http://www.phanderson.com/iom141.html _Terry ------------------------------------------------------- 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 bsmith at fusionbroadband.com Tue Jun 21 21:09:59 2005 From: bsmith at fusionbroadband.com (Brian Smith) Date: Tue, 21 Jun 2005 14:09:59 -0500 Subject: Sound an alarm Message-ID: <76260EC12F72AF4582D3582554CBE108DA28A4@iron.fusionbb.corp> To get the sound into more different places without relying on really loud speakers, you could implement something involving IceCast or ShoutCast and some machines set to tune in to the Nagios box's sound stream. Ogg123 or mpg123 (I think that's how they're spelled? Can't double check atm.) or even xmms, a few different sound files, and the Jack sound system I think would be where to start on that. Also the Festival speech synthesis system is designed to be able to accept "say text" requests from networked clients. It's quite a pain to set up and hogs the sound card for itself when it runs, but could be used to speak the hostnames in trouble. "Speech-Dispatcher" is another synthesis program that's much easier to use, but is single-system only unless you plug it into Festival (which it is built to be able to do through an output module if you get the Festival-enabled package). Good luck, -- Brian ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Richard Harman Sent: Monday, June 20, 2005 11:31 PM To: Rusch, Daniel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sound an alarm Serial interface? Alarm clock? Wow. Leave it to the EEs to whip out a soldering iron. ;) Not that there's anything wrong with that. I'm in the process of replacing a WhatsUpGold box (that already makes noise and has a decent pair of speakers that can be heard throughout the entire OPS floor) with Nagios, and here's my solution to the same problem: misccommands.cfg: define command { command_name host-notify-by-sound command_line $USER2$/notify_by_sound $HOSTSTATE$ } notify_by_sound: #!/usr/bin/perl use strict; use warnings; my ($status) = @ARGV; if ($status eq "DOWN" || $status eq "UNREACHABLE") { system("/usr/lib/nagios/plugins/check_nrpe -H windows.box.running.nrpe-nt -c sfx_hostdown"); } else { system("/usr/lib/nagios/plugins/check_nrpe -H windows.box.running.nrpe-nt -c sfx_hostup"); } sfx_hostdown.cmd: @echo off sndrec32 /play /cluse "c:\nrpe\host_down.wav": echo Command completed successfully exit 0 HTH! Rusch, Daniel wrote: All, How can I have Nagios sound a physical alarm. In other words I want to wake up the NOC if a a system goes critical? Thank you, Daniel G. Rusch x2027 -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.Cammarata at altertrading.com Tue Jun 21 21:36:15 2005 From: James.Cammarata at altertrading.com (James Cammarata) Date: Tue, 21 Jun 2005 14:36:15 -0500 Subject: Service Notification Issues [RESOLVED] Message-ID: After plugging away at this, I finally setup a new box with Nagios 1.2 on it and that fixed the problem, exact same configs and all. So for future reference, if someone's having trouble sending out service notifications, make sure they're on the newest version. James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Cammarata Sent: Friday, June 17, 2005 9:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Notification Issues Hi all, I'm running nagios-1.1-3mdk (on Mandrake obviously) and I can't get service notifications to go out. Host notifications are working fine. We've been running nagios for over 2 years, and just recently decided to start working with some of the more advanced features. We monitor about 30 servers and 24 or so routers currently. Here are snips of the relevant configs: nagios.cfg: use_retained_program_state=0 enable_notifications=1 execute_service_checks=1 check_service_freshness=1 freshness_check_interval=60 enable_flap_detection=1 log_notifications=1 contacts.cfg define contact{ contact_name jamesc alias James Cammarata service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r,u service_notification_commands notify-by-email host_notification_commands host-notify-by-email email james.cammarata at XXXXXXXXXXXX pager 314XXXXXXX } contactgroups.cfg define contactgroup{ contactgroup_name Admins alias Network Administrators members jamesc } hosts.cfg define host { use server-template host_name lnxbk alias Linux Backup Server address 192.168.XX.XX notifications_enabled 1 } hostgroups.cfg define hostgroup { hostgroup_name 000_stl_servers alias St.Louis Servers contact_groups Admins members lnxbk } services.cfg define service { name service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r contact_groups Admins } define service { use service-template host_name lnxbk service_description Ping check_command check_ping!100.0,20%!500.0,60% notifications_enabled 1 notification_options w,u,c,r } Here is what the web view shows for that service: Current Status: UNKNOWN Status Information: /bin/ping -n 192.168.10.88 -c 5 Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 06-17-2005 09:09:10 Status Data Age: 0d 0h 4m 18s Next Scheduled Active Check: 06-17-2005 09:14:10 Latency: < 1 second Check Duration: 5 seconds Last State Change: 06-17-2005 08:39:17 Current State Duration: 0d 0h 34m 11s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 5.46% In Scheduled Downtime? NO Last Update: 06-17-2005 09:13:17 Service Checks: ENABLED Passive Checks: ENABLED Service Notifications: ENABLED Event Handler: DISABLED Flap Detection: ENABLED As you can see, the "Last Service Notification" field is "N/A", is that relevant? Or does that just reflect the fact that there are no service notifications in the log file for this service? I'm thinking about upgrading to 2.0, but I haven't found any official Mandrake RPM's for the newer nagios versions, which means a hand compile. No big deal, but if I can avoid nuking our current setup I would prefer that. Have I missed something obvious? Or is it a known bug with this older 1.1 version that was fixed, thus necessitating an upgrade? James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net ------------------------------------------------------- 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 jqualkenbush at iso-ne.com Tue Jun 21 22:30:34 2005 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Tue, 21 Jun 2005 16:30:34 -0400 Subject: Sound an alarm In-Reply-To: <76260EC12F72AF4582D3582554CBE108DA28A4@iron.fusionbb.corp> References: <76260EC12F72AF4582D3582554CBE108DA28A4@iron.fusionbb.corp> Message-ID: <42B878EA.4090705@iso-ne.com> Brian Smith wrote: > To get the sound into more different places without relying on really > loud speakers, you could implement something involving IceCast or > ShoutCast and some machines set to tune in to the Nagios box?s sound > stream. Ogg123 or mpg123 (I think that?s how they?re spelled? Can?t > double check atm.) or even xmms, a few different sound files, and the > Jack sound system I think would be where to start on that. > Wouldn't this work? http://radscan.com/nas.html ------------------------------------------------------- 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 scott_yem at agilent.com Tue Jun 21 22:25:57 2005 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Tue, 21 Jun 2005 13:25:57 -0700 Subject: Compilation, etc. Message-ID: <65213341217E8D458E7C78E6640C74950742FCB0@waglmb01.labs.agilent.com> This is normally due to the gd-devel, libpng-devel, libjpeg-devel libraries not being installed. You will have to install the libraries, recompile and reinstall. Scott Yem Research Computing Services Agilent Laboratories _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Adam Stern Sent: Tuesday, June 21, 2005 8:31 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Compilation, etc. Okay, I have two issues: 1) I noticed that my statusmap.cgi was never made, so I tried "make statusmap.cgi" and I got the following error: linuxbox# make statusmap.cgi gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiuti ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o statusmap.c:40:53: gd.h: No such file or directory statusmap.c:41:61: gdfonts.h: No such file or directory statusmap.c:125: error: syntax error before "load_image_from_file" statusmap.c:125: warning: data definition has no type or storage class statusmap.c:157: error: syntax error before "unknown_logo_image" statusmap.c:157: warning: initialization makes integer from pointer without a ca st statusmap.c:157: warning: data definition has no type or storage class statusmap.c:158: error: syntax error before "logo_image" statusmap.c:158: warning: initialization makes integer from pointer without a ca st statusmap.c:158: warning: data definition has no type or storage class statusmap.c:159: error: syntax error before "map_image" statusmap.c:159: warning: initialization makes integer from pointer without a ca st statusmap.c:159: warning: data definition has no type or storage class statusmap.c:160: error: syntax error before "background_image" statusmap.c:160: warning: initialization makes integer from pointer without a ca st statusmap.c:160: warning: data definition has no type or storage class statusmap.c: In function `load_background_image': statusmap.c:1417: warning: comparison between pointer and integer statusmap.c:1418: error: invalid type argument of `->' statusmap.c:1419: error: invalid type argument of `->' statusmap.c:1423: warning: comparison between pointer and integer statusmap.c: In function `draw_background_image': statusmap.c:1438: warning: comparison between pointer and integer statusmap.c: In function `draw_hosts': statusmap.c:1667: warning: comparison between pointer and integer statusmap.c:1668: error: invalid type argument of `->' statusmap.c:1668: error: invalid type argument of `->' statusmap.c:1825: warning: comparison between pointer and integer statusmap.c:1826: error: invalid type argument of `->' statusmap.c:1826: error: invalid type argument of `->' statusmap.c:1836: warning: comparison between pointer and integer statusmap.c:1837: error: invalid type argument of `->' statusmap.c:1837: error: invalid type argument of `->' statusmap.c: In function `draw_text': statusmap.c:1896: error: `gdFontSmall' undeclared (first use in this function) statusmap.c:1896: error: (Each undeclared identifier is reported only once statusmap.c:1896: error: for each function it appears in.) statusmap.c: In function `draw_host_text': statusmap.c:1952: error: `gdFontSmall' undeclared (first use in this function) statusmap.c: In function `draw_dotted_line': statusmap.c:2096: error: `gdTransparent' undeclared (first use in this function) statusmap.c:2112: error: `gdStyled' undeclared (first use in this function) statusmap.c: In function `draw_dashed_line': statusmap.c:2125: error: `gdTransparent' undeclared (first use in this function) statusmap.c:2138: error: `gdStyled' undeclared (first use in this function) statusmap.c: In function `initialize_graphics': statusmap.c:2158: warning: comparison between pointer and integer statusmap.c: At top level: statusmap.c:2195: error: syntax error before "load_image_from_file" statusmap.c: In function `load_image_from_file': statusmap.c:2197: error: syntax error before "im" statusmap.c:2202: warning: return makes integer from pointer without a cast statusmap.c:2206: warning: return makes integer from pointer without a cast statusmap.c:2211: warning: return makes integer from pointer without a cast statusmap.c:2215: error: `im' undeclared (first use in this function) *** Error code 1 So, the two important lines are: statusmap.c:40:53: gd.h: No such file or directory statusmap.c:41:61: gdfonts.h: No such file or directory The gd library is installed in my system, and other apps that use it are happy. The header file IS in /usr/local/include. I tried changing it from to "/various/directories/on/my/machine/where/gd_h/is/located/gd.h" and I just got errors about undefined objects like gdDestroyImage or something like that. Anyway, after much experimenting, I gave up on compiling statusmap.c, hoping you can help me. The second problem is: I go to the web and click on a link to a cgi and I just get the "Error: Could not read object configuration data!" page. My nagios -v shows no errors or warnings, and my log is empty. I tried tracing through all the .c files to see what causes that error message, and I couldn't figure it out. So basically, Nagios doesn't work at all. I REALLY REALLY need help. So please contact me at adam at networkdr.net. Thanks in advance! 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 Joseph.Petrucci at ddiworld.com Tue Jun 21 13:00:36 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Tue, 21 Jun 2005 07:00:36 -0400 Subject: Nagios themes. Message-ID: Good observation on Paul, BUT the discussion groups are a lot of the times the first place people look in eveluating a product, (especially an opensource product) to see what type of expertise is out there, what problems people are getting, how responsive the community is, etc..... Having someone sounding off like that uncensored could be hurting the adoption of this product in some companies by making the support base look bad. Joseph A. Petrucci E Systems DBA ------------------------------------------------ Desk: 412-220-2646 Cell: 412-916-2867 Text message (e-mail) 4129162867 at mobile.att.net e-mail joseph.petrucci at ddiworld.com Personal Cell: 724-462-0443 Personal e-mail: japetrucci at hotmail.com Joseph A. Petrucci E Systems DBA ------------------------------------------------ Desk: 412-220-2646 Cell: 412-916-2867 Text message (e-mail) 4129162867 at mobile.att.net e-mail joseph.petrucci at ddiworld.com Personal Cell: 724-462-0443 Personal e-mail: japetrucci at hotmail.com ________________________________ From: nagios-users-admin at lists.sourceforge.net on behalf of jamie.baddeley at vpc.co.nz Sent: Mon 6/20/2005 11:53 PM To: Edward Ford Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Nagios themes. Ah, you've noticed Paul. He does this from time to time. Usually he's well behaved. But occasionally he'll have some outburst, sometimes with a Wine in hand (Red I think). Then sometimes Andreas will smack him down with a well placed comment, Paul might bicker a bit, and eventually reconfirms to us all of what he's like, and then eventually goes back to lurking, interrupted very occasionally with some vaguely useful technical comment. Since I worked this out I largely ignore him. As do most people. Don't sweat it. Cheers jamie On Mon, 2005-06-20 at 23:38 -0400, Edward Ford wrote: > Does anyone monitor these boards? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Paul L. Allen > Sent: Monday, June 20, 2005 9:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Nagios themes. > > Steve Tripp writes: > > Well, Steve Tripp has written this same message at least twice. Earlier > repeats had the same message-id (which could indicate the well-known SMTP > duplicate message race hazzard) but different "Original-Date" headers and > different references. I gave him the benefit of the doubt. This message > has a totally different message-id. > > > Does anyone know of any themes for Nagios? I have tried Nagios-Nuvola > > and like it, but am just curious if anyone knows of any others. > > What you're looking for is the "I am a complete moron who has no idea how > mailing lists work and will keep posting my request every few hours if I > don't get an immediate answer because I am a complete fucking dickhead" > theme. Since you're one of only half a dozen people I've seen on this > mailing list in the past year who require a theme of this nature and none > of you are even remotely capable of coming up with such a theme even if > you were given detailed instructions on how to do it then you're shit out > of luck. > > Hint: if nobody answers your question WITHIN TWO OR THREE DAYS it's because > either nobody knows the answer of because YOU'RE A COMPLETE DICKHEAD. > Either way, don't expect an answer other than "rm -Rf /". > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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_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_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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at fusionbroadband.com Tue Jun 21 22:55:40 2005 From: bsmith at fusionbroadband.com (Brian Smith) Date: Tue, 21 Jun 2005 15:55:40 -0500 Subject: Sound an alarm Message-ID: <76260EC12F72AF4582D3582554CBE108DA28BA@iron.fusionbb.corp> Yeah, looks like that would also work in place of icecast etc. to send audio to multiple stations. I have one immediate concern about it - it describes itself as the "audio equivalent of an X server", so that might mean it would be slightly difficult to get *all* stations to hear the same alerts, because X seems designed mostly for multiple separate users to get an individualized network connection to the shared server, not for multiple users to get the *same* connection to the shared server. (as with icecast etc.) (But, all I read was the first page, so I might not know! :) Obviously it's free so wouldn't cost anything but time to try out.) -- Brian -----Original Message----- From: Jason Qualkenbush [mailto:jqualkenbush at iso-ne.com] Sent: Tuesday, June 21, 2005 3:31 PM To: Brian Smith Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sound an alarm Brian Smith wrote: > To get the sound into more different places without relying on really > loud speakers, you could implement something involving IceCast or > ShoutCast and some machines set to tune in to the Nagios box's sound > stream. Ogg123 or mpg123 (I think that's how they're spelled? Can't > double check atm.) or even xmms, a few different sound files, and the > Jack sound system I think would be where to start on that. > Wouldn't this work? http://radscan.com/nas.html ------------------------------------------------------- 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 pla at softflare.com Wed Jun 22 01:12:59 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 00:12:59 +0100 Subject: Nagios themes. In-Reply-To: References: Message-ID: <20050621231259.1780.qmail@mullet.softflare.net> Petrucci, Joseph writes: > Good observation on Paul, BUT the discussion groups are a lot of the > times the first place people look in eveluating a product, They are the FIRST place people look? All the competent people I have encountered look first at the brief product description to see if it is even CLOSE to what they're after. If it is they then read (or at least skim) the documentation. If it still looks as though it might do the job they download it and install it on a test box and if it does what they want they don't need to do anything else. If the installation fails, or they can't figure out how to make specific features work, or they can't determine if something works how the documentation implies it should, then they read the documentation more thoroughly. If the documentation doesn't help they try the FAQ. If the FAQ doesn't help they google for an answer. If google doesn't help they have a quick look through the source code. If the source code doesn't help they search the mailing list archives. Only AFTER all of those fail to give the required answer do COMPETENT people consider asking on the mailing list to see if they've misunderstood something, or if the product simply isn't up to the job it was supposed to be able to do, or to see if anybody knows an answer. Here's an example of the sort of question a competent person might ask: I want to monitor Windows Active Directory. I've looked at all the official plugins and the contributed plugins but there's nothing. I've googled for it and I've searched the list archives but not found anything. I can use check_tcp to establish if something is listening on the Kerberos, Kerberos password, LDAP and MS Directory Service ports but I know only too well that computers can do a three-way handshake that satisfies check_tcp but be unable to respond to real queries. I can use check_ldap for the LDAP service but that still leaves the other three without real checks. Does anybody have anything that will do sensible checks on all four services and integrate the answers from each so that the plugin can report the status of Active Directory as a whole rather than the status of four individual services (which would still not guarantee that the responses from each of the four services is both consistent and correct for the domain/workgroup in question). If not, is anybody working on such a plugin? I have a client with Active Directory that they would like us to monitor but the only info I can get on what it does is from unhelpful Microsoft documentation and tcpdump output. So if nobody is working on a plugin but there is somebody out there who knows more about Active Directory than I do but not about writing plugins then please contact me and perhaps between us we can come up with something that will do what is required. That's not a hypothetical question. I really would like to monitor Active Directory. The time it would take me to figure out the intricacies of the protocols is more than the client is willing to pay (the client thinks a ping check of the machine in question is a good test) but I'd like to do the job right. So if anyone has an intricate knowledge of the protocols but knows nothing about writing plugins then mail me. And here's the sort of question an incompetent person would ask: I made some changes to my configuration and restarted Nagios and now every time I refresh the web page services appear and disappear. Granted that is a bug in the Nagios 1.x startup script, but it is a DOCUMENTED bug. It's in the FAQ. It could (and perhaps should) be more prominently documented, but it's documented. It's not a question anyone who should be let near the root login of a linux server should be asking on the mailing list. And if you disagree with me on that one, then read . > to see what type of expertise is out there, Dunno about you, but if I were looking for an expert I'd go by my perception of the quality and range of the answers. If there's a dickhead asking stupid questions or giving obviosly wrong answers I don't consider him an expert. If somebody is giving good answers to a wide range of questions I consider him an expert. And if there are people having side-arguments I'm not interested in I skip those posts in order to evaluate their other posts and the posts of other people. But if I really wanted to pay for somebody to do an installation or configuration for me I would FIRST look at the development team to see if any of them do contract work on Nagios (they do). > what problems people are getting These days mailing list archives will give a very misleading impression because lazy, incompetent people use the mailing list as a first resort for dealing with the slightest problem - the sort of problem they would not have had if they had read the documentation. So scratch that as a means of evaluating the product: all you're evaluating is how many morons don't bother to read the documentation. That is especially true in this list where the boss of a Windows shop has the idea of getting one of his Microsoft-certified point-and-click-monkeys to install Linux and Nagios and said monkey asks basic questions about linux here. After they've progressed from "how do I unpack the source without Winzip" it goes rapidly downhill. And there are a lot of those people these days. If you go by the mailing list questions then Nagios is chock full of problems and totally useless; if you read the documentation then you realize the list is full of people who never read the documentation. > how responsive the community is, In my experience, any newsgroup or mailing list that responds with anything but "RTFM" to questions that would never have arisen had people read the documentation is almost certain to become useless. The real experts get fed up with the clutter from the moronic questions and the answers to those questions. The nett expertise goes down considerably. I have seen it in lists I've looked at hoping for sensible answers and seen nothing but "how do I do X" when "X" is covered on the first page of the installation documentation and responses that were obviously incorrect and nobody putting them right. But it would appear that some people would prefer a list where there are lots of "I don't really know, but maybe if you try this" responses because that list would be "responsive." I prefer one right answer to my question (even if it's "RTFM" or "you're an idiot, RTFM") to dozens of wrong answers, but that's just the way I am. Never do COMPETENT people turn to a mailing list for free support on using the software. Incompetent or lazy people do that. Competent people can either figure it out themselves or know that it would take them too long and it's more economic to pay an expert to sort it out for them. > Having someone sounding off like that uncensored could Key word: "could." As in might, perhaps, maybe. > be hurting the adoption of this product in some Key word: "some." Anywhere from 0% to 100% depending on arbitrary (and unspecified by you) assumptions. > companies by making the support base look bad. Ah, your arbitrary assumptions become clear to me now you say "support base." If there is a company that hasn't a clue about using linux or open source, and if the employees of that company don't read the documentation, read the FAQs, use google or do any of the things COMPETENT people do, and if those employees are under the mistaken impression that the people on the mailing list OWE them FREE support for moronic questions, and if they look at the "support base" with the expectation that everyone on the list exists to give them polite courteous answers to moronic questions (as a paid-for support person would, and as I do to paying customers), and if they are too stupid to understand that even if they dislike one (or even all) of my posts that in no way invalidates the posts of others, and if they don't know how to use a killfile, then yes, perhaps that company might get a bad impression of the "support base." I can understand why you are so upset. A (hypothetical) clueless company with clueless employees expects the people on this list to do their work for them for free and here I am making posts that discourage them. Far better that they swamp the list with their moronic questions and the experts bugger off because then the list will have lots and lots of polite (but incorrect) responses and everyone will be in happy bunny land where the carrots are tasty and the clouds are fluffy and shit don't stink. -- Paul Allen Softflare Support ------------------------------------------------------- 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 pla at softflare.com Wed Jun 22 01:20:46 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 00:20:46 +0100 Subject: Compilation, etc. In-Reply-To: <65213341217E8D458E7C78E6640C74950742FCB0@waglmb01.labs.agilent.com> References: <65213341217E8D458E7C78E6640C74950742FCB0@waglmb01.labs.agilent.com> Message-ID: <20050621232046.2700.qmail@mullet.softflare.net> scott_yem at agilent.com writes: > This is normally due to the gd-devel, libpng-devel, libjpeg-devel > libraries not being installed. Yes, but if you read his post in detail you would see that he did have the devel libraries installed and even gave configure explicit paths to them. More likely is that he has an old version of GD installed that does not have the necessary subroutines because the GD API used by Nagios relies on stuff that his version of GD does not implement. There are other possibilities including compiler/linker issues and make issues, but my first approach (having read his post in more detail than you but still only having skimmed it) would be to install a more recent version of GD. -- Paul Allen Softflare Support ------------------------------------------------------- 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 sushildeshmukh at sqtl.com Wed Jun 22 07:29:58 2005 From: sushildeshmukh at sqtl.com (sushilatsqtl) Date: Wed, 22 Jun 2005 10:59:58 +0530 Subject: Mysql Message-ID: <1119418198.4917.2.camel@pluto.intraosl.com> Dear Folks, I wish to monitor my mysql (service, database). Does anybody know where i can get the nagios plugin (script) for it?. I am using Mysql Server/client 4.1.12. Thanks & regards sushil ------------------------------------------------------- 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 rockyhorror at witty.com Wed Jun 22 10:05:04 2005 From: rockyhorror at witty.com (Rocky Horror) Date: Wed, 22 Jun 2005 03:05:04 -0500 Subject: check_snmp help Message-ID: <20050622080504.AC3DD164037@ws1-4.us4.outblaze.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From tjl at topdanmark.dk Wed Jun 22 10:16:40 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Wed, 22 Jun 2005 10:16:40 +0200 Subject: Vedr.: check_snmp help Message-ID: Hi there, You could make a small plugin shell script file to solve this .... Thomas |---------+----------------------------------------> | | "Rocky Horror" | | | | | | Sendt af: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 22-06-2005 10:05 | | | | |---------+----------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | Til: nagios-users at lists.sourceforge.net | | cc: | | Vedr.: [Nagios-users] check_snmp help | >--------------------------------------------------------------------------------------------------------------| Hi all, I need some help with check_snmp critical and warning range : my oid can return 3 integers values: here is (in order): return value - Status (from mib) - check status I want 1 - Active - should give snmp ok 2 - NotInService - should give snmp critical 3 - noSession - should give snmp ok is there a way to do something like that ( probably with -w -c options) Thanks for help -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- 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 ------------------------------------------------------- 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 22 10:21:46 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 22 Jun 2005 10:21:46 +0200 Subject: Nagios themes. In-Reply-To: <20050621231259.1780.qmail@mullet.softflare.net> References: <20050621231259.1780.qmail@mullet.softflare.net> Message-ID: <42B91F9A.4000903@its-lehmann.de> Thanks. you might be rude*, but you're right. ;-) Arno * I'd prefer to say 'outspoken' or something, though. Paul L. Allen wrote: ... quite a lot... -- 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 mailing-lists at fabalabs.org Wed Jun 22 11:16:29 2005 From: mailing-lists at fabalabs.org (Fabalabs Mailing-Lists) Date: Wed, 22 Jun 2005 11:16:29 +0200 Subject: trends.cgi not always working! Message-ID: Hello! I'm having troubles with the functionality of the trends.cgi page. Sometimes it works and sometimes not. --> The resulting error message says: Whoops Error: Could not read object configuration data! Here are some things you should check ... ... I've tested it really comprehensive, but I didn't find the real reason of this bug. For example: I've a host with the name "new2" for which I can view the trends page (host view) This host contains 2 services (PING, SSH): (both currently in status critical) * The Trend-Page for PING doesn't work! * But the Trend-Page for SSH does work! The weird thing is, that both trend-info pages do work, if I call them out of the service detail page (view trends for this service) Another example: (the other way round) My host "Management server" has the services "Disk Usage: /" and "Disk Usage: /var" * Here both trends-pages selected out of the trends main page do work * But if I call the trends-page out of the service-detail page: o "Disk Usage: /var" doesn't work! o "Disk Usage: /" works And the Trends-Page for the "Management server" itself don't work in both cases (neither through the host detail page link, nor through direct call with the trends.cgi page) IS THIS A REALLY TRICKY BUG??? I also had the problem that the trends-page will be displayed but the graph window was empty / wasn't displayed. If you then click on the empty graph window, the error message mentioned above occurs (couldn't read obj. config data) I don't know how to solve this problem! System and version info: * nagios 2.0b3 * nagios-plugins-1.4 * RHEL4ES * Firefox 1.04 * Apache 2.0.52 Best regards, Klaus Pesendorfer Klaus Pesendorfer Software Engineer Fabalabs Software GmbH Honauerstra?e 4 A-4020 Linz Tel.: +43 732 2468 5092 e-mail: mailto:klaus.pesendorfer at fabalabs.org http://www.fabalabs.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Jun 22 11:28:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 22 Jun 2005 11:28:55 +0200 Subject: Nagios themes. In-Reply-To: <20050621231259.1780.qmail@mullet.softflare.net> References: <20050621231259.1780.qmail@mullet.softflare.net> Message-ID: <42B92F57.3070605@op5.se> Is there some constructive hacker out there (not on vacation) who could perhaps hack up a mailing-list bot to greet every newcomer to this list with a "The documentation is here. Read it or noone will care about your question."? I'd be happy to host it. If noone else feels like it, I'll write it myself when I get back from my supposedly laptop-free vacation. Paul L. Allen wrote: .. an eloquent, sulfurous, succinct and proper response, filled with splendid rhetorics and a fair few quotes worth borrowing. I particularly enjoyed the part about MS-Certified point-and-click-monkeys. -- 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 lee at effective-it.co.uk Wed Jun 22 12:28:14 2005 From: lee at effective-it.co.uk (Lee Ball) Date: Wed, 22 Jun 2005 11:28:14 +0100 Subject: Nagios themes. In-Reply-To: <42B92F57.3070605@op5.se> References: <20050621231259.1780.qmail@mullet.softflare.net> <42B92F57.3070605@op5.se> Message-ID: <42B93D3E.7000608@effective-it.co.uk> Andreas Ericsson wrote: > Is there some constructive hacker out there (not on vacation) who > could perhaps hack up a mailing-list bot to greet every newcomer to > this list with a "The documentation is here. Read it or noone will > care about your question."? > > I'd be happy to host it. If noone else feels like it, I'll write it > myself when I get back from my supposedly laptop-free vacation. > > > Paul L. Allen wrote: > .. an eloquent, sulfurous, succinct and proper response, filled with > splendid rhetorics and a fair few quotes worth borrowing. I > particularly enjoyed the part about MS-Certified point-and-click-monkeys. > Can't that just be put into the reply you get when you subscribe that confirms your subscription? Be slightly easier then knocking up a bot. I know how you hackers like to code though so if you feel its a requirement that go ahead :) ------------------------------------------------------- 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 22 12:42:25 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 22 Jun 2005 12:42:25 +0200 Subject: Nagios themes. In-Reply-To: <42B93D3E.7000608@effective-it.co.uk> References: <20050621231259.1780.qmail@mullet.softflare.net> <42B92F57.3070605@op5.se> <42B93D3E.7000608@effective-it.co.uk> Message-ID: <42B94091.4040201@op5.se> Lee Ball wrote: > Andreas Ericsson wrote: > >> Is there some constructive hacker out there (not on vacation) who >> could perhaps hack up a mailing-list bot to greet every newcomer to >> this list with a "The documentation is here. Read it or noone will >> care about your question."? >> >> I'd be happy to host it. If noone else feels like it, I'll write it >> myself when I get back from my supposedly laptop-free vacation. >> >> >> Paul L. Allen wrote: >> .. an eloquent, sulfurous, succinct and proper response, filled with >> splendid rhetorics and a fair few quotes worth borrowing. I >> particularly enjoyed the part about MS-Certified point-and-click-monkeys. >> > Can't that just be put into the reply you get when you subscribe that > confirms your subscription? Be slightly easier then knocking up a bot. Possibly, but many subscribe just to read, and most people don't keep their auto-response mail unless it solves a real problem for them. > I > know how you hackers like to code though so if you feel its a > requirement that go ahead :) > Well, there's that too ofcourse. ;) -- 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 sekuela at gmail.com Wed Jun 22 13:43:25 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Wed, 22 Jun 2005 08:43:25 -0300 Subject: About a active plugin in local machine In-Reply-To: References: <806f904f0506201344ebd7a20@mail.gmail.com> <806f904f050621074632ca4be6@mail.gmail.com> Message-ID: <806f904f050622044358c61d9d@mail.gmail.com> Hi, Thanks for your reply Tony. SNMP traps I know how it works, but I still have the problem, with SNMP nagios will perform a send request to the remote host (windows as example), and this remote host return a status, 0, 1, 2 4.... ok?! to me SNMP will not work :( I NEED a plugin that I can configure in a windows machine all the services that I want to monitor (how memory and other executables). But this plugin has that to be executing in the windows machine, and ONLY send a passive check to nagios when a Service change your state. Does the NC_Net have this self-monitorating? or I will have to configure on the Nagios the services to monitorate how I do in other services? NSCA is running on my Nagios, it's all ok. :) Thanks for you interest!!! Daniel Szortyka On 6/22/05, Anthony Montibello wrote: > I understand what you are saying, However I am a little confused as to > how you want to configure the service checks. > > If you have a remote host that can send service down alerts - then why > can that host not send OK results? > > Read the nsca plugin. it is used to send passive checks to nagios > form a remote host. it has 2 parts the daemon on the Nagios server > that recieves results from the client on the remote host. using NSCA > the remote host can send a result to nagios whenever it wants. > > NC_Net can preform passive checks were it uses nsca. NC_Net is > configured to run passive checks on the windows host. the time > between passive checks can be increased to help minimise the network > trafic, the default setting is 5 minutes between sending the results. > > were NC_Net differes from what you want is NC_Net will always return > the result to nagios via NSCA. > > I would suggest you look into SNMP Traps as well as reading the Nagios > Documentation on Volatile Services checks. if you only want the > service down to be sent. Since I do not have any experience with SNMP > I cannot help anymore. > > I would also suggest you repost your question to the list, if you > have not had any good responses yet; because it was not clear to me > when I read it that you were looking for a windows plug-in that would > only send a alert to nagios when the service goes down. > > IF the remote clients being can freely send service check results to > the nagios server, then I would suggest using NC_net's passive > checks, or using some other script or program that uses NSCA. > > to summarize: > Read Nagios Documentaiton on NSCA, Volatile services and SNMP Traps. > Then Post a new Question to the List. > > I hope this helps, > Good Luck > Tony > > > On 6/21/05, Daniel Szortyka wrote: > > Hi Tony, > > > > The NRPE receive a request from nagios host and after send a result, > > or a passive check into nagios host. > > > > I'm searching for a plugin that auto-check in the windows machine, and > > only send a passive check to nagios if the service go down... it's > > diferent from the nagios request... > > > > I'm reading about a NC_Net V1_x windows plugin.... but it work's equal > > a NS_Client... > > > > Do you undertand now what I want? because my nagios host stay in my > > work, and my other clients will only send your self-monitorating.... > > > > Thanks for help! > > Daniel Szortyka - Porto Alegre - RS - Brasil > > > > On 6/21/05, Anthony Montibello wrote: > > > NC_Net does check services, the passive.cfg can be configured to check > > > anything that can be checked remotely. > > > > > > You can also see if there is a NRPE Plugin that does this. > > > > > > Good Luck > > > Tony > > > > > > > > > On 6/20/05, Daniel Szortyka wrote: > > > > Hello Folks, > > > > > > > > Currently nagios send a request to a host that have a NS_Client, and > > > > the Windows Plugin return a answer of the monitored Service. > > > > > > > > I'm searching for a Local Windows Plugin... that stay checking your > > > > host, and send the result to the nagios host. > > > > > > > > I found a "NC_Net" that have active and passive checks... but, dont > > > > check your services local. > > > > > > > > Somebody know some Windows Plugin that check your services local and > > > > send the result to nagios? > > > > > > > > Thanks! > > > > Daniel > > > > > > > > > > > > ------------------------------------------------------- > > > > 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&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&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 pla at softflare.com Wed Jun 22 14:41:50 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 13:41:50 +0100 Subject: About a active plugin in local machine In-Reply-To: <806f904f050622044358c61d9d@mail.gmail.com> References: <806f904f0506201344ebd7a20@mail.gmail.com> <806f904f050621074632ca4be6@mail.gmail.com> <806f904f050622044358c61d9d@mail.gmail.com> Message-ID: <20050622124150.15899.qmail@mullet.softflare.net> Daniel Szortyka writes: > I NEED a plugin that I can configure in a windows machine all the > services that I want to monitor (how memory and other executables). > But this plugin has that to be executing in the windows machine, and > ONLY send a passive check to nagios when a Service change your state. This is not a sensible way of doing it. If a service fails, the plugin sends a critical result, you know the service has failed. If the service recovers you get an OK result and you know the service has recovered. If the computer itself dies, you don't get any result at all and so you continue to believe that the service is OK. Normally with passive checks you run them at periodic intervals and have Nagios check if the result is stale (so if the computer you're monitoring dies Nagios will eventually report the result as stale and flag it as critical) but with your "only report if the service changes state" you can't do staleness checks. I suggest you think again about why you want to do this. -- Paul Allen Softflare Support ------------------------------------------------------- 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 sekuela at gmail.com Wed Jun 22 14:50:55 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Wed, 22 Jun 2005 09:50:55 -0300 Subject: About a active plugin in local machine In-Reply-To: <20050622124150.15899.qmail@mullet.softflare.net> References: <806f904f0506201344ebd7a20@mail.gmail.com> <806f904f050621074632ca4be6@mail.gmail.com> <806f904f050622044358c61d9d@mail.gmail.com> <20050622124150.15899.qmail@mullet.softflare.net> Message-ID: <806f904f0506220550519e3a8@mail.gmail.com> It's simply, I will have many other computers in other clients networks... My nagios can't stay checking other networks... so I need that the other computers send me your result states. Have a way to do this? :'( Thanks! Daniel On 6/22/05, Paul L. Allen wrote: > Daniel Szortyka writes: > > > I NEED a plugin that I can configure in a windows machine all the > > services that I want to monitor (how memory and other executables). > > But this plugin has that to be executing in the windows machine, and > > ONLY send a passive check to nagios when a Service change your state. > > This is not a sensible way of doing it. If a service fails, the plugin > sends a critical result, you know the service has failed. If the service > recovers you get an OK result and you know the service has recovered. If > the computer itself dies, you don't get any result at all and so you > continue to believe that the service is OK. Normally with passive checks > you run them at periodic intervals and have Nagios check if the result is > stale (so if the computer you're monitoring dies Nagios will eventually > report the result as stale and flag it as critical) but with your "only > report if the service changes state" you can't do staleness checks. > > I suggest you think again about why you want to do this. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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 rick.vandermieden at orangemail.nl Wed Jun 22 15:11:25 2005 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Wed, 22 Jun 2005 15:11:25 +0200 Subject: huge performance problems Message-ID: <88001FC5C453764CA6597FB29874249402F550B1@svex03> We have heavy performance problems with Nagios. We monitor 174 hosts, with 2255 services and an average latency off 400 seconds!!!! Off course that's not exceptable. I use perl plugins with ssh and snmp plugins. I'v compiled nagios with perlcache and embedded-perl enabled. The server is a sparc server with 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) I played around with all kind of parameters and read the tuning docs for nagios. Below the output of "nagios -s nagios.cfg": Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 04-03-2005 License: GPL Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 174 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2255 Total scheduled services: 2255 Service inter-check delay method: SMART Average service check interval: 222.47 sec Inter-check delay: 0.10 sec Interleave factor method: SMART Average services per host: 12.96 Service interleave factor: 13 Max service check spread: 30 min First scheduled check: Wed Jun 22 15:05:08 2005 Last scheduled check: Wed Jun 22 15:08:50 2005 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 5 sec Max concurrent service checks: 200 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. And a nagiostat output: CURRENT STATUS DATA ---------------------------------------------------- Status File: /usr/local/nagios/var/status.dat Status File Age: 0d 0h 0m 13s Status File Version: 2.0b3 Program Running Time: 0d 32h 0m 13s Total Services: 2255 Services Checked: 2255 Services Scheduled: 2255 Active Service Checks: 2255 Passive Service Checks: 0 Total Service State Change: 0.000 / 5.860 / 0.003 % Active Service Latency: 386.526 / 414.446 / 394.100 % Active Service Execution Time: 0.062 / 60.349 / 1.428 sec Active Service State Change: 0.000 / 5.860 / 0.003 % Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255 Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 174 Hosts Checked: 174 Hosts Scheduled: 0 Active Host Checks: 174 Passive Host Checks: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.000 / 0.000 / 0.000 % Active Host Execution Time: 0.137 / 1.109 / 0.582 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 174 / 0 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Anybody an idea what went wrong here? There must be something...... Regards, Rick =========================================================== 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 askarali at beaconet.net Wed Jun 22 15:16:01 2005 From: askarali at beaconet.net (Askar Ali) Date: Wed, 22 Jun 2005 18:16:01 +0500 Subject: oracle forms and reports Message-ID: <42B96491.5020706@beaconet.net> hi, I'm just curious is it possible to monitor Oracle forms and reports via nagios, is it possible ? any link , suggestion in this regards will be highly appreciated :) regards Askar ------------------------------------------------------- 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 at richardharman.com Wed Jun 22 15:29:43 2005 From: nagios at richardharman.com (Richard Harman) Date: Wed, 22 Jun 2005 09:29:43 -0400 Subject: RFC: Solaris Disk Suite check plugin (check_disksuite2 on NX) Message-ID: <42B967C7.4050007@richardharman.com> Hey folks, I'm always in favor of advances in plugin development :) I uploaded my disk suite check plugin to NagiosExchange.org -- http://www.nagiosexchange.org/Solaris.50.0.html?&tx_netnagext_pi1[p_view]=286 Looking for suggestions, comments, ideas. I hope you find it useful! 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_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 andrew at profitability.net Wed Jun 22 15:33:37 2005 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 22 Jun 2005 09:33:37 -0400 Subject: check_snmp help In-Reply-To: <20050622080504.AC3DD164037@ws1-4.us4.outblaze.com> References: <20050622080504.AC3DD164037@ws1-4.us4.outblaze.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Hi all, > > I need some help with check_snmp critical and warning range : > > my oid can return 3 integers values: > here is (in order): return value - Status (from mib) - check > status I want > 1 - Active - should give snmp ok > 2 - NotInService - should give snmp critical > 3 - noSession - should give snmp ok > > is there a way to do something like that ( probably with -w -c > options) Have a look at the -r option. You should be able to craft a regex that encompasses both "Active" and "noSession" values. Andrew ------------------------------------------------------- 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 kidd1270 at gmail.com Wed Jun 22 15:41:21 2005 From: kidd1270 at gmail.com (Kidd Chaos) Date: Wed, 22 Jun 2005 08:41:21 -0500 Subject: check_fping all hosts at once Message-ID: <91a354090506220641f8fac6a@mail.gmail.com> I need to do a check_fping for all hosts at once...is this contrary to normal nagios host checks. Has anyone done this? ------------------------------------------------------- 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 pla at softflare.com Wed Jun 22 15:41:18 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 14:41:18 +0100 Subject: About a active plugin in local machine In-Reply-To: <806f904f0506220550519e3a8@mail.gmail.com> References: <806f904f0506201344ebd7a20@mail.gmail.com> <806f904f050621074632ca4be6@mail.gmail.com> <806f904f050622044358c61d9d@mail.gmail.com> <20050622124150.15899.qmail@mullet.softflare.net> <806f904f0506220550519e3a8@mail.gmail.com> Message-ID: <20050622134118.31514.qmail@mullet.softflare.net> Daniel Szortyka writes: > I will have many other computers in other clients networks... My > nagios can't stay checking other networks... so I need that the other > computers send me your result states. What you want is passive checks submitted to *regularly* (say every 5 minutes) via NCSA to your Nagios machine. Either install Nagios on a *nix machine on the remote network or install NC_Net on each of the Windows servers to be monitored (I've never used NC_Net but the documentation says it can submit passive checks via inbuilt NSCA routines). Install the NSCA daemon on your Nagios box. Configure Nagios to accept the passive checks. Make sure you create an active check for each passive service that returns a critical result and the text "Passive check is stale" (if the passive check is stale the active check gets called). You had almost the right idea but your Windows machines must submit passive checks regularly rather than on a service state change or you won't know if one of the Windows machines fails completely because you'll never get a critical result for any of its services. -- Paul Allen Softflare Support ------------------------------------------------------- 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 mmusone at gmail.com Wed Jun 22 15:45:30 2005 From: mmusone at gmail.com (Mark Musone) Date: Wed, 22 Jun 2005 09:45:30 -0400 Subject: Nagios themes. In-Reply-To: <42B94091.4040201@op5.se> References: <20050621231259.1780.qmail@mullet.softflare.net> <42B92F57.3070605@op5.se> <42B93D3E.7000608@effective-it.co.uk> <42B94091.4040201@op5.se> Message-ID: <1bee355905062206457f0c6781@mail.gmail.com> While I agree with Paul's general concerns (except for his rudeness and utter lack of respect for others) I fail to see how: #1 he has made duplicate posts for this question. Barring an obvious mail server problem that was not intentional, he most likely did not intend on posts this question multiple times. #2 how this is a FAQ, or RTFM or even google answer. nowhere in the nagios documentation do i see "themes" or locations where to get themes for nagios. so how in the world is this a "dont bother me..look up the answer yourself" response? Please enlighten me Mr. Paul, since you know so much. This may not of the caliber of question that meets your such high expectations, but, in short get the hell over it and learn that you're not the center of the universe. -Mark On 6/22/05, Andreas Ericsson wrote: > Lee Ball wrote: > > Andreas Ericsson wrote: > > > >> Is there some constructive hacker out there (not on vacation) who > >> could perhaps hack up a mailing-list bot to greet every newcomer to > >> this list with a "The documentation is here. Read it or noone will > >> care about your question."? > >> > >> I'd be happy to host it. If noone else feels like it, I'll write it > >> myself when I get back from my supposedly laptop-free vacation. > >> > >> > >> Paul L. Allen wrote: > >> .. an eloquent, sulfurous, succinct and proper response, filled with > >> splendid rhetorics and a fair few quotes worth borrowing. I > >> particularly enjoyed the part about MS-Certified point-and-click-monkeys. > >> > > Can't that just be put into the reply you get when you subscribe that > > confirms your subscription? Be slightly easier then knocking up a bot. > > > Possibly, but many subscribe just to read, and most people don't keep > their auto-response mail unless it solves a real problem for them. > > > > I > > know how you hackers like to code though so if you feel its a > > requirement that go ahead :) > > > > Well, there's that too ofcourse. ;) > > -- > 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 > ------------------------------------------------------- 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 nagios at richardharman.com Wed Jun 22 15:47:37 2005 From: nagios at richardharman.com (Richard Harman) Date: Wed, 22 Jun 2005 09:47:37 -0400 Subject: check_fping all hosts at once In-Reply-To: <91a354090506220641f8fac6a@mail.gmail.com> References: <91a354090506220641f8fac6a@mail.gmail.com> Message-ID: <42B96BF9.9000509@richardharman.com> would check_cluster do what you neeed? Kidd Chaos wrote: >I need to do a check_fping for all hosts at once...is this contrary to >normal nagios host checks. Has anyone done this? > > >------------------------------------------------------- >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?k >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 mmusone at gmail.com Wed Jun 22 15:53:58 2005 From: mmusone at gmail.com (Mark Musone) Date: Wed, 22 Jun 2005 09:53:58 -0400 Subject: Nagios themes. In-Reply-To: <1bee355905062206457f0c6781@mail.gmail.com> References: <20050621231259.1780.qmail@mullet.softflare.net> <42B92F57.3070605@op5.se> <42B93D3E.7000608@effective-it.co.uk> <42B94091.4040201@op5.se> <1bee355905062206457f0c6781@mail.gmail.com> Message-ID: <1bee355905062206533aded1c5@mail.gmail.com> Oh, sorry i apologise, i did find a single email that was posted yesterday by him...so yes, the _real_ duplicate posting today was a bad on his part (obvously not imnsho enough for your childish rant and your ignorant display of how "smart" you are compared to others).. The rest of my message still stands. -Mark On 6/22/05, Mark Musone wrote: > While I agree with Paul's general concerns (except for his rudeness > and utter lack of respect for others) > > I fail to see how: > > #1 he has made duplicate posts for this question. Barring an obvious > mail server problem that was not intentional, he most likely did not > intend on posts this question multiple times. > > #2 how this is a FAQ, or RTFM or even google answer. nowhere in the > nagios documentation do i see "themes" or locations where to get > themes for nagios. > > so how in the world is this a "dont bother me..look up the answer > yourself" response? > > Please enlighten me Mr. Paul, since you know so much. > > This may not of the caliber of question that meets your such high > expectations, but, in short get the hell over it and learn that you're > not the center of the universe. > > -Mark > > > On 6/22/05, Andreas Ericsson wrote: > > Lee Ball wrote: > > > Andreas Ericsson wrote: > > > > > >> Is there some constructive hacker out there (not on vacation) who > > >> could perhaps hack up a mailing-list bot to greet every newcomer to > > >> this list with a "The documentation is here. Read it or noone will > > >> care about your question."? > > >> > > >> I'd be happy to host it. If noone else feels like it, I'll write it > > >> myself when I get back from my supposedly laptop-free vacation. > > >> > > >> > > >> Paul L. Allen wrote: > > >> .. an eloquent, sulfurous, succinct and proper response, filled with > > >> splendid rhetorics and a fair few quotes worth borrowing. I > > >> particularly enjoyed the part about MS-Certified point-and-click-monkeys. > > >> > > > Can't that just be put into the reply you get when you subscribe that > > > confirms your subscription? Be slightly easier then knocking up a bot. > > > > > > Possibly, but many subscribe just to read, and most people don't keep > > their auto-response mail unless it solves a real problem for them. > > > > > > > I > > > know how you hackers like to code though so if you feel its a > > > requirement that go ahead :) > > > > > > > Well, there's that too ofcourse. ;) > > > > -- > > 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 > > > ------------------------------------------------------- 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 HarlanRichardC at JohnDeere.com Wed Jun 22 15:53:39 2005 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Wed, 22 Jun 2005 08:53:39 -0500 Subject: About a active plugin in local machine Message-ID: <3C2C08B4FEE12B418B1F7A2950B9A91B03809D@edxmb9.jdnet.deere.com> It would work just fine if you add another service check to ping to box. That way you will find out if the service if up or down. Lot of the larger monitoring systems work this way. Why check the or care about the service state if nothing is changing. Just my 2 cents. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul L. Allen Sent: Wednesday, June 22, 2005 7:42 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: About a active plugin in local machine Daniel Szortyka writes: > I NEED a plugin that I can configure in a windows machine all the > services that I want to monitor (how memory and other executables). > But this plugin has that to be executing in the windows machine, and > ONLY send a passive check to nagios when a Service change your state. This is not a sensible way of doing it. If a service fails, the plugin sends a critical result, you know the service has failed. If the service recovers you get an OK result and you know the service has recovered. If the computer itself dies, you don't get any result at all and so you continue to believe that the service is OK. Normally with passive checks you run them at periodic intervals and have Nagios check if the result is stale (so if the computer you're monitoring dies Nagios will eventually report the result as stale and flag it as critical) but with your "only report if the service changes state" you can't do staleness checks. I suggest you think again about why you want to do this. -- Paul Allen Softflare Support ------------------------------------------------------- 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 askarali at beaconet.net Wed Jun 22 15:55:40 2005 From: askarali at beaconet.net (Askar Ali) Date: Wed, 22 Jun 2005 18:55:40 +0500 Subject: oracle forms and reports Message-ID: <42B96DDC.1040108@beaconet.net> I'm just curious is it possible to monitor Oracle forms and reports via nagios, is it possible ? any link , suggestion in this regards will be highly appreciated . . . Okay say I want to check if Orcale Form service on windows "f60run.exe" is alive "running" or not same for Oracle Reports. The problem we have that something both of the above services stopping working "killed" without any reason, what we want to that nagios reports teh problem before any of our developer or clients call us and told us the problem. I thinks i made myself clear ;) regards ------------------------------------------------------- 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 mluettgen at nuvio.com Wed Jun 22 15:57:13 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Wed, 22 Jun 2005 08:57:13 -0500 Subject: About a active plugin in local machine In-Reply-To: <3C2C08B4FEE12B418B1F7A2950B9A91B03809D@edxmb9.jdnet.deere.com> References: <3C2C08B4FEE12B418B1F7A2950B9A91B03809D@edxmb9.jdnet.deere.com> Message-ID: <20050622085713.2b340957.mluettgen@nuvio.com> I would agree with this, accept I've seen many machines that were 'dead' and still responded to ping. On Wed, 22 Jun 2005 08:53:39 -0500 "Harlan Richard C" wrote: > It would work just fine if you add another service check to ping to box. > That way you will find out if the service if up or down. Lot of the > larger monitoring systems work this way. Why check the or care about the > service state if nothing is changing. Just my 2 cents. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul L. > Allen > Sent: Wednesday, June 22, 2005 7:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: About a active plugin in local machine > > Daniel Szortyka writes: > > > I NEED a plugin that I can configure in a windows machine all the > > services that I want to monitor (how memory and other executables). > > But this plugin has that to be executing in the windows machine, and > > ONLY send a passive check to nagios when a Service change your state. > > This is not a sensible way of doing it. If a service fails, the plugin > sends a critical result, you know the service has failed. If the > service recovers you get an OK result and you know the service has > recovered. If the computer itself dies, you don't get any result at all > and so you continue to believe that the service is OK. Normally with > passive checks you run them at periodic intervals and have Nagios check > if the result is stale (so if the computer you're monitoring dies Nagios > will eventually report the result as stale and flag it as critical) but > with your "only report if the service changes state" you can't do > staleness checks. > > I suggest you think again about why you want to do this. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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=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 ss543 at cornell.edu Wed Jun 22 16:02:33 2005 From: ss543 at cornell.edu (Stephen J. Scheck) Date: Wed, 22 Jun 2005 10:02:33 -0400 Subject: Host checks without service check Message-ID: <42B96F79.4060007@cornell.edu> Hello, Is there a way to have Nagios execute a host check (e.g. a simple check-host-alive ping) without having any service checks defined for that host? Whenever I configure hosts without configuring service checks for them, nagios gives me configuration file warnings, and then the host checks remain in "pending" state. I have some devices that I only need to monitor for ping-ability. I solved the problem by also adding a service check which also just does a ping, but I'm wondering if I missed something and there is a simpler way to do it. Thanks -sjs ------------------------------------------------------- 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 andrea.mueller at ufz.de Wed Jun 22 16:12:49 2005 From: andrea.mueller at ufz.de (Andrea Mueller) Date: Wed, 22 Jun 2005 16:12:49 +0200 Subject: oracle forms and reports In-Reply-To: <42B96DDC.1040108@beaconet.net> References: <42B96DDC.1040108@beaconet.net> Message-ID: <200506221612.52911.andrea.mueller@ufz.de> Am Mittwoch, 22. Juni 2005 15:55 schrieb Askar Ali: > I'm just curious is it possible to monitor Oracle forms and reports via > nagios, is it possible ? > > > any link , suggestion in this regards will be highly appreciated > > > . > . > . > > Okay say I want to check if Orcale Form service on windows "f60run.exe" > is alive "running" or not same for Oracle Reports. > > The problem we have that something both of the above services stopping > working "killed" without any reason, what we want to that nagios reports > teh problem before any of our developer or clients call us and told us > the problem. > > > I thinks i made myself clear ;) > > regards > You can use the NSClient on the Windows-Server and the check_nt-Plugin on your Nagios-Server to check the state of Services or Processes. Andrea M?ller -- UFZ-Umweltforschungszentrum Andrea Mueller Leipzig-Halle GmbH WKDV Permoserstr. 15 Tel.: +49(341) 235-2437 04318 Leipzig e-mail: andrea.mueller at ufz.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From pla at softflare.com Wed Jun 22 16:16:27 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 15:16:27 +0100 Subject: About a active plugin in local machine In-Reply-To: <20050622085713.2b340957.mluettgen@nuvio.com> References: <3C2C08B4FEE12B418B1F7A2950B9A91B03809D@edxmb9.jdnet.deere.com> <20050622085713.2b340957.mluettgen@nuvio.com> Message-ID: <20050622141627.11392.qmail@mullet.softflare.net> Matt Luettgen writes: > I would agree with this, accept I've seen many machines that were 'dead' > and still responded to ping. I've seen machines that complete the TCP three-way handshake for a service but don't get any further. The problem is usually that of running out of some critical resource needed to fork off the service to handle the connection although the TCP stack itself continues to function. Check_ping is a very poor test of a service. Check_telnet is a little better but all it really tells you is that you have a functioning stack, not that the service behind it is running correctly. A check that tests for a response from the service (like a 220 response from SMTP) is better still. Best of all would be a check that runs through the whole sequence, such as sending mail on port 25 and checking that the final response is OK (because you might get a temporary or permanent failure code when SMTP tries to queue or deliver the mail), although that's probably too much overhead if you're monitoring lots of servers. -- Paul Allen Softflare Support ------------------------------------------------------- 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 HarlanRichardC at JohnDeere.com Wed Jun 22 16:28:06 2005 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Wed, 22 Jun 2005 09:28:06 -0500 Subject: About a active plugin in local machine Message-ID: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A0@edxmb9.jdnet.deere.com> I see what you are saying in stead of using check_pick you could use check_smb or something in layer 7. Over all I am not a fan of passive checks, in my option if the service check is not critical enough to perform a active check but wait for the host, then it is a nice to know but not critical. Though my views are slant to our environment, all web sites, each site displays a page giving information of the health of the site. From there we are firm believers if the service is critical we will actively probe it, not waits for it. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul L. Allen Sent: Wednesday, June 22, 2005 9:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: About a active plugin in local machine Matt Luettgen writes: > I would agree with this, accept I've seen many machines that were 'dead' > and still responded to ping. I've seen machines that complete the TCP three-way handshake for a service but don't get any further. The problem is usually that of running out of some critical resource needed to fork off the service to handle the connection although the TCP stack itself continues to function. Check_ping is a very poor test of a service. Check_telnet is a little better but all it really tells you is that you have a functioning stack, not that the service behind it is running correctly. A check that tests for a response from the service (like a 220 response from SMTP) is better still. Best of all would be a check that runs through the whole sequence, such as sending mail on port 25 and checking that the final response is OK (because you might get a temporary or permanent failure code when SMTP tries to queue or deliver the mail), although that's probably too much overhead if you're monitoring lots of servers. -- Paul Allen Softflare Support ------------------------------------------------------- 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 eford at nexusenergy.com Wed Jun 22 16:30:36 2005 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 22 Jun 2005 10:30:36 -0400 Subject: E-Mail Notifications Help Message-ID: Even though I will probably get a lot of flack from some I would like to attempt to get assistance with this issue that I am having. I am having issues with the Nagios notifications being sent out. 1) If I goto the command prompt and type out /bin/mail ?s ?subject? myname at mydomain.com <.usr/loca/nagios/libexec/temp.txt I get the email no problem 2) If I put the same command in misccommands.cfg within notify-by-email I and then disable a monitored service on purpose to put in the alert stage I get nothing. 3) I also put the same command in the host-notify-by-email just in case. 4) In Services.cfg I have notifications_enabled = 1 notification_options=w,u,c,r and contact groups pointing at admins which is defined in contactgroups.cfg then points to contacts.cfg. 5) In hosts.cfg I have notifications enabled and also using the admins group to contact. Again when I send an email from the command line it works but when I attempt to get a notification using the misccommands.cfg I get nothing.. Any assistance would be appreciated. Thank You; -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmusone at gmail.com Wed Jun 22 16:37:13 2005 From: mmusone at gmail.com (Mark Musone) Date: Wed, 22 Jun 2005 10:37:13 -0400 Subject: About a active plugin in local machine In-Reply-To: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A0@edxmb9.jdnet.deere.com> References: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A0@edxmb9.jdnet.deere.com> Message-ID: <1bee355905062207371e989cd1@mail.gmail.com> he main reason why you want regular updates is less for the "up/down" state of the services/elements, and more of the metrics. By sending performance data at regular intervals, you have real INFORMATION that you can use to determine problems BEFORE they occur. without that, you're generally monitoring blindly. As far as your specific environment, you mentioned that you have client machine on remote networks that you cannot remotely monitor via active checks. another options is to install a nagios box at their location, have it do local active checks, have it collect the information, and send it via passive checks to your main nagios machine. look up distributed monitoing in the nagios docs. -Mark On 6/22/05, Harlan Richard C wrote: > I see what you are saying in stead of using check_pick you could use > check_smb or something in layer 7. Over all I am not a fan of passive > checks, in my option if the service check is not critical enough to > perform a active check but wait for the host, then it is a nice to know > but not critical. > > Though my views are slant to our environment, all web sites, each site > displays a page giving information of the health of the site. From there > we are firm believers if the service is critical we will actively probe > it, not waits for it. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul L. > Allen > Sent: Wednesday, June 22, 2005 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: About a active plugin in local machine > > Matt Luettgen writes: > > > I would agree with this, accept I've seen many machines that were > 'dead' > > and still responded to ping. > > I've seen machines that complete the TCP three-way handshake for a > service but don't get any further. The problem is usually that of > running out of some critical resource needed to fork off the service to > handle the connection although the TCP stack itself continues to > function. > > Check_ping is a very poor test of a service. Check_telnet is a little > better but all it really tells you is that you have a functioning stack, > not that the service behind it is running correctly. A check that tests > for a response from the service (like a 220 response from SMTP) is > better still. Best of all would be a check that runs through the whole > sequence, such as sending mail on port 25 and checking that the final > response is OK (because you might get a temporary or permanent failure > code when SMTP tries to queue or deliver the mail), although that's > probably too much overhead if you're monitoring lots of servers. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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&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 bolducb at brandonrha.mb.ca Wed Jun 22 16:43:01 2005 From: bolducb at brandonrha.mb.ca (Blair Bolduc) Date: Wed, 22 Jun 2005 09:43:01 -0500 Subject: E-Mail Notifications Help In-Reply-To: References: Message-ID: 1) Check the eventlog or notifications log on nagios webpage and see if nagios is attempting to send the email. If you have entries for the notifications in the log your problem is not nagios. If you don't, then your config somewhere is preventing nagios from sending the email. You'll just have to pick through your cfg files to see where the problem is. Blair. Even though I will probably get a lot of flack from some I would like to attempt to get assistance with this issue that I am having. I am having issues with the Nagios notifications being sent out. 1) If I goto the command prompt and type out /bin/mail ?s ?subject? myname at mydomain.com <.usr/loca/nagios/libexec/temp.txt I get the email no problem 2) If I put the same command in misccommands.cfg within notify-by-email I and then disable a monitored service on purpose to put in the alert stage I get nothing. 3) I also put the same command in the host-notify-by-email just in case. 4) In Services.cfg I have notifications_enabled = 1 notification_options=w,u,c,r and contact groups pointing at admins which is defined in contactgroups.cfg then points to contacts.cfg. 5) In hosts.cfg I have notifications enabled and also using the admins group to contact. Again when I send an email from the command line it works but when I attempt to get a notification using the misccommands.cfg I get nothing.. Any assistance would be appreciated. Thank You; -------------- next part -------------- An HTML attachment was scrubbed... URL: From HarlanRichardC at JohnDeere.com Wed Jun 22 16:47:51 2005 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Wed, 22 Jun 2005 09:47:51 -0500 Subject: About a active plugin in local machine Message-ID: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A1@edxmb9.jdnet.deere.com> I know about distributed monitoring, and we have run it before, the question the way I read it was had nothing to do with distributed monitoring but sending a change of state of the service. Witch is a valid thing to want to do. The metrics over all will not be off, if the service goes down Nagios will get the passive results sent to it, if the box goes down you have another check to allow Nagios to down the box. If the Nagios is setup with passive check with a time out Nagios will force the check it self get an unknown and then ping the box. If it turn out to be the case we talking about where pings works Nagios will show the box up but service in a unknown state. The other way the passive monitor will stay in a ok state but the second check will return unknown. Over all I do not think it is a big deal over all, there are many way in witch you can setup your box. But over all I still think that if you are waiting for the host to update Nagios about the state of the service then it is a non critical check. That is not the same a down stream Nagios box running a active check then sending the data to the Main Nagios server. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Musone Sent: Wednesday, June 22, 2005 9:37 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: About a active plugin in local machine he main reason why you want regular updates is less for the "up/down" state of the services/elements, and more of the metrics. By sending performance data at regular intervals, you have real INFORMATION that you can use to determine problems BEFORE they occur. without that, you're generally monitoring blindly. As far as your specific environment, you mentioned that you have client machine on remote networks that you cannot remotely monitor via active checks. another options is to install a nagios box at their location, have it do local active checks, have it collect the information, and send it via passive checks to your main nagios machine. look up distributed monitoing in the nagios docs. -Mark On 6/22/05, Harlan Richard C wrote: > I see what you are saying in stead of using check_pick you could use > check_smb or something in layer 7. Over all I am not a fan of passive > checks, in my option if the service check is not critical enough to > perform a active check but wait for the host, then it is a nice to > know but not critical. > > Though my views are slant to our environment, all web sites, each site > displays a page giving information of the health of the site. From > there we are firm believers if the service is critical we will > actively probe it, not waits for it. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul L. > Allen > Sent: Wednesday, June 22, 2005 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: About a active plugin in local machine > > Matt Luettgen writes: > > > I would agree with this, accept I've seen many machines that were > 'dead' > > and still responded to ping. > > I've seen machines that complete the TCP three-way handshake for a > service but don't get any further. The problem is usually that of > running out of some critical resource needed to fork off the service > to handle the connection although the TCP stack itself continues to > function. > > Check_ping is a very poor test of a service. Check_telnet is a little > better but all it really tells you is that you have a functioning > stack, not that the service behind it is running correctly. A check > that tests for a response from the service (like a 220 response from > SMTP) is better still. Best of all would be a check that runs through > the whole sequence, such as sending mail on port 25 and checking that > the final response is OK (because you might get a temporary or > permanent failure code when SMTP tries to queue or deliver the mail), > although that's probably too much overhead if you're monitoring lots of servers. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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&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=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 sekuela at gmail.com Wed Jun 22 17:19:20 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Wed, 22 Jun 2005 12:19:20 -0300 Subject: About a active plugin in local machine In-Reply-To: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A1@edxmb9.jdnet.deere.com> References: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A1@edxmb9.jdnet.deere.com> Message-ID: <806f904f050622081979a0fe3a@mail.gmail.com> Hi people... I will work this afternoon in the NC_Net plugin on my windows machines.... If I obtain some good or bad result I will post here... and my conf's too... My NSCA is working fine, and my sent_nsca on windows is ok too... I sent passive checks to nagios from my windows machines and it's ok. After I post my result here! Thanks for all! Daniel MSN: hellhead_thc at hotmail.com On 6/22/05, Harlan Richard C wrote: > I know about distributed monitoring, and we have run it before, the > question the way I read it was had nothing to do with distributed > monitoring but sending a change of state of the service. Witch is a > valid thing to want to do. The metrics over all will not be off, if the > service goes down Nagios will get the passive results sent to it, if the > box goes down you have another check to allow Nagios to down the box. If > the Nagios is setup with passive check with a time out Nagios will force > the check it self get an unknown and then ping the box. If it turn out > to be the case we talking about where pings works Nagios will show the > box up but service in a unknown state. The other way the passive monitor > will stay in a ok state but the second check will return unknown. Over > all I do not think it is a big deal over all, there are many way in > witch you can setup your box. But over all I still think that if you are > waiting for the host to update Nagios about the state of the service > then it is a non critical check. That is not the same a down stream > Nagios box running a active check then sending the data to the Main > Nagios server. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark > Musone > Sent: Wednesday, June 22, 2005 9:37 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: About a active plugin in local machine > > he main reason why you want regular updates is less for the "up/down" > state of the services/elements, and more of the metrics. > > By sending performance data at regular intervals, you have real > INFORMATION that you can use to determine problems BEFORE they occur. > without that, you're generally monitoring blindly. > > As far as your specific environment, you mentioned that you have client > machine on remote networks that you cannot remotely monitor via active > checks. another options is to install a nagios box at their location, > have it do local active checks, have it collect the information, and > send it via passive checks to your main nagios machine. look up > distributed monitoing in the nagios docs. > > > -Mark > > On 6/22/05, Harlan Richard C wrote: > > I see what you are saying in stead of using check_pick you could use > > check_smb or something in layer 7. Over all I am not a fan of passive > > checks, in my option if the service check is not critical enough to > > perform a active check but wait for the host, then it is a nice to > > know but not critical. > > > > Though my views are slant to our environment, all web sites, each site > > > displays a page giving information of the health of the site. From > > there we are firm believers if the service is critical we will > > actively probe it, not waits for it. > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul L. > > Allen > > Sent: Wednesday, June 22, 2005 9:16 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Re: About a active plugin in local machine > > > > Matt Luettgen writes: > > > > > I would agree with this, accept I've seen many machines that were > > 'dead' > > > and still responded to ping. > > > > I've seen machines that complete the TCP three-way handshake for a > > service but don't get any further. The problem is usually that of > > running out of some critical resource needed to fork off the service > > to handle the connection although the TCP stack itself continues to > > function. > > > > Check_ping is a very poor test of a service. Check_telnet is a little > > > better but all it really tells you is that you have a functioning > > stack, not that the service behind it is running correctly. A check > > that tests for a response from the service (like a 220 response from > > SMTP) is better still. Best of all would be a check that runs through > > > the whole sequence, such as sending mail on port 25 and checking that > > the final response is OK (because you might get a temporary or > > permanent failure code when SMTP tries to queue or deliver the mail), > > although that's probably too much overhead if you're monitoring lots > of servers. > > > > -- > > Paul Allen > > Softflare Support > > > > > > > > > > ------------------------------------------------------- > > 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&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=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 eford at nexusenergy.com Wed Jun 22 17:20:30 2005 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 22 Jun 2005 11:20:30 -0400 Subject: E-Mail Notifications Help In-Reply-To: References: Message-ID: Thank you for this information it does look like Nagios did not send out anything (there is nothing about notification in the event or notification logs). Can you let me know if I was on the right track with the configuration files below? Thank You; -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Blair Bolduc Sent: Wednesday, June 22, 2005 10:43 AM To: Nagios (E-mail) Subject: RE: [Nagios-users] E-Mail Notifications Help 1) Check the eventlog or notifications log on nagios webpage and see if nagios is attempting to send the email. If you have entries for the notifications in the log your problem is not nagios. If you don't, then your config somewhere is preventing nagios from sending the email. You'll just have to pick through your cfg files to see where the problem is. Blair. Even though I will probably get a lot of flack from some I would like to attempt to get assistance with this issue that I am having. I am having issues with the Nagios notifications being sent out. 1) If I goto the command prompt and type out /bin/mail ?s ?subject? myname at mydomain.com <.usr/loca/nagios/libexec/temp.txt I get the email no problem 2) If I put the same command in misccommands.cfg within notify-by-email I and then disable a monitored service on purpose to put in the alert stage I get nothing. 3) I also put the same command in the host-notify-by-email just in case. 4) In Services.cfg I have notifications_enabled = 1 notification_options=w,u,c,r and contact groups pointing at admins which is defined in contactgroups.cfg then points to contacts.cfg. 5) In hosts.cfg I have notifications enabled and also using the admins group to contact. Again when I send an email from the command line it works but when I attempt to get a notification using the misccommands.cfg I get nothing.. Any assistance would be appreciated. Thank You; -------------- next part -------------- An HTML attachment was scrubbed... URL: From goldenhawk at rogers.com Wed Jun 22 17:25:39 2005 From: goldenhawk at rogers.com (Daniel Benoy) Date: Wed, 22 Jun 2005 11:25:39 -0400 Subject: Multiple inheritance Message-ID: <200506221125.39970.goldenhawk@rogers.com> I want to have multiple 'use' statements in one objest entry which derives the object from both (Allowing an inheritence tree instead of a straight lineage). Evidently that capabilttiy doesn't exist though. Can anyone tell me where in the source I should look to try and patch this? -- Daniel Benoy ------------------------------------------------------- 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 22 17:24:54 2005 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Wed, 22 Jun 2005 10:24:54 -0500 Subject: Authorizations Message-ID: Is it possible to do create users and allow them access to only certain hosts? The only directive I am seeing in the docs is authorized_for_all_hosts. Is there any thing like authorized _for_host1 so that I can restrict a user to view info about only certain host or host group? --Turi -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Wed Jun 22 17:24:54 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 16:24:54 +0100 Subject: Nagios themes. In-Reply-To: <1bee355905062206533aded1c5@mail.gmail.com> References: <20050621231259.1780.qmail@mullet.softflare.net> <42B92F57.3070605@op5.se> <42B93D3E.7000608@effective-it.co.uk> <42B94091.4040201@op5.se> <1bee355905062206457f0c6781@mail.gmail.com> <1bee355905062206533aded1c5@mail.gmail.com> Message-ID: <20050622152454.30618.qmail@mullet.softflare.net> Mark Musone writes: > Oh, sorry i apologise, i did find a single email that was posted > yesterday by him...so yes, the _real_ duplicate posting today was a > bad on his part Thanks for the apology about that - many people would have stayed silent rather than admit to an error. > (obvously not imnsho enough for your childish rant and As you said, that is a matter of opinion rather than of fact. > your ignorant display of how "smart" you are compared to others).. I believe that making posts that demonstrate a lack of knowledge or understanding on my part is something to be avoided, which means that I try to post intelligently if I can do so or refrain from posting if I cannot. There are already plenty of people whose posts display how stupid they are, so if you don't like intelligent posts you can read those instead. > The rest of my message still stands. Which I didn't bother responding to earlier. But since I'm posting to acknowledge your apology (because I think people should admit to errors and would like to encourage such behaviour), I might as well deal with your earlier message. >> I fail to see how: >> >> #1 he has made duplicate posts for this question. Barring an obvious >> mail server problem that was not intentional, he most likely did not >> intend on posts this question multiple times. "He most likely did not intend"? How do you reach that conclusion? At least once a week some new user appears here and does deliberately post the same thing several times a couple of hours apart because he expected his free "support base" (as somebody else called it) to respond instantly. The odds are very much in favour that, unless the dupes were caused by the well-known SMTP race hazard (in which case they would all have identical message IDs and identical timestamps from the first SMTP server in the chain), the multiple posts were intentional. His response to my post lends further support to that statistical conclusion. Along with a few insults, he stated that I didn't know if there was a valid reason for those multiple posts. What he was trying to imply, of course, was that there was such a reason. However, since his post insulted me and called me stupid then surely the best way of proving exactly how stupid I am would be to post that valid reason. "Here's why there were multiple posts, you didn't even consider that possibility, so you're an idiot." He could have made me look really stupid by giving his valid reason and I would have had to apologize for my stupidity. So why didn't he do that? >> #2 how this is a FAQ, or RTFM or even google answer. nowhere in the >> nagios documentation do i see "themes" or locations where to get >> themes for nagios. Did I tell him to look at the documentation for themes? I don't recall doing so. I did tell somebody else who thought the mailing list should be the first place people should look if they wanted to evaluate Nagios that reading the documentation and setting up a test installation ought to be the first things people try and looking on the list should be the last thing they try. >> so how in the world is this a "dont bother me..look up the answer >> yourself" response? Again, I don't recall telling him to look at the documentation to find out where to get themes. However, if he had looked at the documentation he'd have found out where Nagios add-ons live, which would have led him to a couple of alternative web interfaces/modifications to the existing web interface. A google search would have turned up others. I assumed that he had already done at least one of those things because he had already found one theme for Nagios, which is why I didn't tell him to look up the answer himself. His question was not out of place here, it was the number of times he asked it that was the problem. >> This may not of the caliber of question that meets your such high >> expectations, Correct. You made one factual error (there really were multiple posts) and you also conflated two posts of mine in order to accuse me of something I did not do (telling him to look at the docs to find themes). >> but, in short get the hell over it and learn that you're not the >> center of the universe. I would suggest that those who don't get their facts straight before leaping in to flame somebody are more egocentric than I am because they are confident that they can form a correct opinion without investigating the evidence. -- Paul Allen Softflare Support ------------------------------------------------------- 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 22 17:39:45 2005 From: marc at ena.com (Marc Powell) Date: Wed, 22 Jun 2005 10:39:45 -0500 Subject: Authorizations 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: Wednesday, June 22, 2005 10:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Authorizations > > > Is it possible to do create users and allow them access to only certain > hosts? The only directive I am seeing in the docs is > authorized_for_all_hosts. Is there any thing like authorized _for_host1 so > that I can restrict a user to view info about only certain host or host > group? With CGI authentication/authorization enabled, logged in users can only see hosts and services that they are contacts for. The authorized_for _* cgi.cfg variables are for overrides of that behavior. -- 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 marc at ena.com Wed Jun 22 17:48:50 2005 From: marc at ena.com (Marc Powell) Date: Wed, 22 Jun 2005 10:48:50 -0500 Subject: Host checks without service check Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Stephen J. Scheck > Sent: Wednesday, June 22, 2005 9:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host checks without service check > > Hello, > > Is there a way to have Nagios execute a host check (e.g. a simple > check-host-alive ping) without having any service checks defined for > that host? Whenever I configure hosts without configuring service checks > for them, nagios gives me configuration file warnings, and then the host > checks remain in "pending" state. No. Nagios is designed to be a service monitor primarily. Every host must have at least one service defined for it. Nagios 2.0 adds the ability to have regularly scheduled host checks but they are highly discouraged for normal operation. > I have some devices that I only need to monitor for ping-ability. I > solved the problem by also adding a service check which also just does a > ping, but I'm wondering if I missed something and there is a simpler way > to do it. That's what I and many others are doing as needed. -- 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 bolducb at brandonrha.mb.ca Wed Jun 22 17:49:30 2005 From: bolducb at brandonrha.mb.ca (Blair Bolduc) Date: Wed, 22 Jun 2005 10:49:30 -0500 Subject: E-Mail Notifications Help In-Reply-To: References: Message-ID: Looks to me like it should work, but that don't mean much. Couple initial things to check - 1) whats your max_check_attempts set to? Is the check reaching that number before you decide it isn't emailing you. 2) Is the service_notification_commands correct in your contacts.cfg definitions? It should be notify-by-email or whatever it is you called your command. 3) Is the notification_period correct for the contact and service definitions? (use 24x7 until you get things working) 4) Shouldn't matter but, su to nagios on the command line and try sending the email. (assuming your running nagios under user/group nagios) -----Original Message----- From: Edward Ford [mailto:eford at nexusenergy.com] Sent: Wednesday, June 22, 2005 10:21 To: Bolduc, Blair; Nagios (E-mail) Subject: RE: [Nagios-users] E-Mail Notifications Help Thank you for this information it does look like Nagios did not send out anything (there is nothing about notification in the event or notification logs). Can you let me know if I was on the right track with the configuration files below? Thank You; -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Blair Bolduc Sent: Wednesday, June 22, 2005 10:43 AM To: Nagios (E-mail) Subject: RE: [Nagios-users] E-Mail Notifications Help 1) Check the eventlog or notifications log on nagios webpage and see if nagios is attempting to send the email. If you have entries for the notifications in the log your problem is not nagios. If you don't, then your config somewhere is preventing nagios from sending the email. You'll just have to pick through your cfg files to see where the problem is. Blair. Even though I will probably get a lot of flack from some I would like to attempt to get assistance with this issue that I am having. I am having issues with the Nagios notifications being sent out. 1) If I goto the command prompt and type out /bin/mail ?s ?subject? myname at mydomain.com <.usr/loca/nagios/libexec/temp.txt I get the email no problem 2) If I put the same command in misccommands.cfg within notify-by-email I and then disable a monitored service on purpose to put in the alert stage I get nothing. 3) I also put the same command in the host-notify-by-email just in case. 4) In Services.cfg I have notifications_enabled = 1 notification_options=w,u,c,r and contact groups pointing at admins which is defined in contactgroups.cfg then points to contacts.cfg. 5) In hosts.cfg I have notifications enabled and also using the admins group to contact. Again when I send an email from the command line it works but when I attempt to get a notification using the misccommands.cfg I get nothing.. Any assistance would be appreciated. Thank You; -------------- next part -------------- An HTML attachment was scrubbed... URL: From RMontemayor at huntoil.com Wed Jun 22 18:13:17 2005 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Wed, 22 Jun 2005 11:13:17 -0500 Subject: oracle forms and reports Message-ID: Try NRPE_NT, it may have what you need. http://sourceforge.net/projects/nrpent/ Rudy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Askar Ali Sent: Wednesday, June 22, 2005 8:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] oracle forms and reports I'm just curious is it possible to monitor Oracle forms and reports via nagios, is it possible ? any link , suggestion in this regards will be highly appreciated . . . Okay say I want to check if Orcale Form service on windows "f60run.exe" is alive "running" or not same for Oracle Reports. The problem we have that something both of the above services stopping working "killed" without any reason, what we want to that nagios reports teh problem before any of our developer or clients call us and told us the problem. I thinks i made myself clear ;) regards ------------------------------------------------------- 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 bmathieu at siris.sorbonne.fr Wed Jun 22 18:05:36 2005 From: bmathieu at siris.sorbonne.fr (bmathieu) Date: Wed, 22 Jun 2005 18:05:36 +0200 Subject: output of script in nagios interface Message-ID: <1119456336.12825.27.camel@basile.siris.sorbonne.fr> i ve got personnal script which give vlan of switch ports in nagios 1.2 all works fine with that for ( each port ) do echo " $port : $vlan
/c " done and i have in the interface 1 : vlan 10 2 : vlan 11 etc .... and now ( nagios 2.0b ) i just have the first line and i see 1 : vlan 10 br if someone can help for this problem thanks a lot basile -- bmathieu ------------------------------------------------------- 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 bmathieu at siris.sorbonne.fr Wed Jun 22 18:25:58 2005 From: bmathieu at siris.sorbonne.fr (bmathieu) Date: Wed, 22 Jun 2005 18:25:58 +0200 Subject: output of script in nagios interface In-Reply-To: <1119456336.12825.27.camel@basile.siris.sorbonne.fr> References: <1119456336.12825.27.camel@basile.siris.sorbonne.fr> Message-ID: <1119457559.12825.33.camel@basile.siris.sorbonne.fr> i have all the lines ( i change \b for \c ) but still have br and 1 : vlan 10 br 2 : vlan 11 br ... etc basile Le mercredi 22 juin 2005 ? 18:05 +0200, bmathieu a ?crit : > i ve got personnal script which give vlan of switch ports > > in nagios 1.2 all works fine with that > > for ( each port ) > do > echo " $port : $vlan
/c " > done > > and i have in the interface > > 1 : vlan 10 > 2 : vlan 11 > etc .... > > and now ( nagios 2.0b ) i just have the first line and i see > > 1 : vlan 10 br > > if someone can help for this problem > thanks a lot > basile > > > -- bmathieu ------------------------------------------------------- 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 22 19:01:43 2005 From: marc at ena.com (Marc Powell) Date: Wed, 22 Jun 2005 12:01:43 -0500 Subject: output of script in nagios interface Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of bmathieu > Sent: Wednesday, June 22, 2005 11:26 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] output of script in nagios interface > > i have all the lines ( i change \b for \c ) but still have br > and > 1 : vlan 10 br 2 : vlan 11 br ... etc > basile > > > Le mercredi 22 juin 2005 ? 18:05 +0200, bmathieu a ?crit : > > i ve got personnal script which give vlan of switch ports > > > > in nagios 1.2 all works fine with that > > > > for ( each port ) > > do > > echo " $port : $vlan
/c " > > done > > > > and i have in the interface > > > > 1 : vlan 10 > > 2 : vlan 11 > > etc .... > > > > and now ( nagios 2.0b ) i just have the first line and i see > > > > 1 : vlan 10 br > > > > if someone can help for this problem In nagios.cfg you probably have something like -- illegal_macro_output_chars=`~$^&"|'<> http://nagios.sourceforge.net/docs/1_0/configmain.html#illegal_macro_output_chars -- 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 pla at softflare.com Wed Jun 22 19:03:22 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 18:03:22 +0100 Subject: About a active plugin in local machine In-Reply-To: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A1@edxmb9.jdnet.deere.com> References: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A1@edxmb9.jdnet.deere.com> Message-ID: <20050622170322.10050.qmail@mullet.softflare.net> Harlan Richard C writes: > I know about distributed monitoring, and we have run it before, the > question the way I read it was had nothing to do with distributed > monitoring but sending a change of state of the service. It was a mixture of both. He wants to monitor machines on remote networks but (I assume) has found that active checks put too much load on his Nagios box or he can't get the checks through firewalls. His solution is to use what is effectively *very* distributed monitoring by puting NC_Net on every server he wants to monitor and having each monitored server submit its own passive checks. I would guess he's doing that because he can't install a linux box with Nagios in each of the remote sites. So he is doing distributed monitoring, although whether for sensible reasons or not we do not know for sure. What he also wanted to do was only submit passive results if a service changed state in order to reduce the load. That would be reasonable IF he had a remote Nagios box doing the checks and IF he performed active checks on the remote Nagios box or if he had staleness checks on the passive results the remote Nagios box submitted for its own service. In that situation if a service on the monitored server goes down the remote Nagios box spots the problem and submits a passive result. If the remote Nagios box goes down then the master Nagios box spots the problem. But with each server monitoring itself and submitting results only if a state changes there are failure modes he cannot detect. He can't enable staleness checking because the results don't come in on a regular basis. That means if he only submits state changes and the server itself dies or goes up in flames, or loses power, or whatever, his Nagios server will continue to think the service is up. As somebody else suggested you can add check_ping as a service check to the monitored servers but you can get ping responses from machines that have got themselves into a state where nothing else is working. So the web server, mail server, and NC_Net could all be locked up but ping is OK so you think everything is working. > Witch is a valid thing to want to do. The metrics over all will not be > off, if the service goes down Nagios will get the passive results sent > to it, if the box goes down you have another check to allow Nagios to > down the box. Which ought to be better than a ping check. It needs to be a check of one of the essential services. Except it could well be that each of the servers he's monitoring only have one or two essential network services (we have a client that has several computers that are each dedicated to being web servers and nothing else, other computers dedicated to being mail servers and nothing else, other computers that are dedicated to being MS SQL servers and nothing else, etc.) If his servers are like that then he's back in the situation of active checks. And even if his servers run multiple services and he actively checks only one, there's a small possibility that one or more of the passively checked services could fail along with NC_Net but the service he actively checks continues to give good results. I admit it's a very small chance, but it's a real one. For instance, running out of disk space might kill SMTP and NC_Net (if he's having it write to a log) but DNS could continue to work. DNS is a lightweight protocol so would be the obvious choice to reduce the load placed on the main Nagios box. > If the Nagios is setup with passive check with a time out Nagios will > force the check it self get an unknown and then ping the box. That is the normal way of doing it. But he wanted to only submit state changes, which means he can't do staleness checking - the service could be up for days or weeks (or even longer with a non-Microsoft OS) so staleness checks couldn't be used. > But over all I still think that if you are waiting for the host to > update Nagios about the state of the service then it is a non critical > check. I don't think it is unsuitable for checking critical services provided you have staleness checking enabled or at least one active service check for each server. Without staleness checks or the overhead of at least one active service check per server you have too many failure modes that will result in you not knowing services have gone down. And that was the point I was trying to get through to him, that submitting only state changes would mean either that the monitoring was unreliable or that he'd have to do other things in order to get anything he could trust. > That is not the same a down stream Nagios box running a active check > then sending the data to the Main Nagios server. There's no real difference provided you do it right (regular submission of passive check results whether there has been a state change or not together with staleness checking). It's just very, very distributed monitoring. -- Paul Allen Softflare Support ------------------------------------------------------- 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 sekuela at gmail.com Wed Jun 22 19:26:28 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Wed, 22 Jun 2005 14:26:28 -0300 Subject: About a active plugin in local machine In-Reply-To: <20050622170322.10050.qmail@mullet.softflare.net> References: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A1@edxmb9.jdnet.deere.com> <20050622170322.10050.qmail@mullet.softflare.net> Message-ID: <806f904f05062210261e31d3ff@mail.gmail.com> Hi, I'm thinking write a Perl script that read a config file and stay in loop (has it be a service), checking some usefull informations about services, process, load, etc.... This script, when some strange thing occur, the script use the "send_nsca" that send a passive result to nagios server. Thus I solve my problem... and maybe it's coming a new windows plugin, or addon... Some other idea of what way I check windows processes, services with a LOCAL PLUGIN, that my nagios dont need to send a request.... but only RECEIVE a status has a passive check...? ps.: people, excuse me for my bad or confusing english.. but I'm trying.... :) Thanks4all.... Daniel Szortyka On 6/22/05, Paul L. Allen wrote: > Harlan Richard C writes: > > > I know about distributed monitoring, and we have run it before, the > > question the way I read it was had nothing to do with distributed > > monitoring but sending a change of state of the service. > > It was a mixture of both. He wants to monitor machines on remote networks > but (I assume) has found that active checks put too much load on his > Nagios box or he can't get the checks through firewalls. His solution > is to use what is effectively *very* distributed monitoring by puting > NC_Net on every server he wants to monitor and having each monitored > server submit its own passive checks. I would guess he's doing that > because he can't install a linux box with Nagios in each of the > remote sites. So he is doing distributed monitoring, although whether > for sensible reasons or not we do not know for sure. > > What he also wanted to do was only submit passive results if a service > changed state in order to reduce the load. That would be reasonable IF > he had a remote Nagios box doing the checks and IF he performed active > checks on the remote Nagios box or if he had staleness checks on the > passive results the remote Nagios box submitted for its own service. > In that situation if a service on the monitored server goes down the > remote Nagios box spots the problem and submits a passive result. If > the remote Nagios box goes down then the master Nagios box spots the > problem. > > But with each server monitoring itself and submitting results only if a > state changes there are failure modes he cannot detect. He can't enable > staleness checking because the results don't come in on a regular basis. > That means if he only submits state changes and the server itself dies > or goes up in flames, or loses power, or whatever, his Nagios server will > continue to think the service is up. > > As somebody else suggested you can add check_ping as a service check > to the monitored servers but you can get ping responses from machines > that have got themselves into a state where nothing else is working. So > the web server, mail server, and NC_Net could all be locked up but ping > is OK so you think everything is working. > > > Witch is a valid thing to want to do. The metrics over all will not be > > off, if the service goes down Nagios will get the passive results sent > > to it, if the box goes down you have another check to allow Nagios to > > down the box. > > Which ought to be better than a ping check. It needs to be a check of > one of the essential services. Except it could well be that each of the > servers he's monitoring only have one or two essential network services > (we have a client that has several computers that are each dedicated to > being web servers and nothing else, other computers dedicated to being > mail servers and nothing else, other computers that are dedicated to > being MS SQL servers and nothing else, etc.) If his servers are like > that then he's back in the situation of active checks. And even if > his servers run multiple services and he actively checks only one, there's > a small possibility that one or more of the passively checked services > could fail along with NC_Net but the service he actively checks continues > to give good results. I admit it's a very small chance, but it's a real > one. For instance, running out of disk space might kill SMTP and NC_Net > (if he's having it write to a log) but DNS could continue to work. DNS > is a lightweight protocol so would be the obvious choice to reduce the > load placed on the main Nagios box. > > > If the Nagios is setup with passive check with a time out Nagios will > > force the check it self get an unknown and then ping the box. > > That is the normal way of doing it. But he wanted to only submit state > changes, which means he can't do staleness checking - the service could > be up for days or weeks (or even longer with a non-Microsoft OS) so > staleness checks couldn't be used. > > > But over all I still think that if you are waiting for the host to > > update Nagios about the state of the service then it is a non critical > > check. > > I don't think it is unsuitable for checking critical services provided > you have staleness checking enabled or at least one active service check > for each server. Without staleness checks or the overhead of at least one > active service check per server you have too many failure modes that > will result in you not knowing services have gone down. And that was the > point I was trying to get through to him, that submitting only state > changes would mean either that the monitoring was unreliable or that he'd > have to do other things in order to get anything he could trust. > > > That is not the same a down stream Nagios box running a active check > > then sending the data to the Main Nagios server. > > There's no real difference provided you do it right (regular submission > of passive check results whether there has been a state change or not > together with staleness checking). It's just very, very distributed > monitoring. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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 ladams at cloudmark.com Wed Jun 22 20:02:53 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 22 Jun 2005 11:02:53 -0700 Subject: Mysql Message-ID: It comes with the nagios plugins download 1.4 or 1.3.1. -Lori -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of sushilatsqtl Sent: Tuesday, June 21, 2005 10:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mysql Dear Folks, I wish to monitor my mysql (service, database). Does anybody know where i can get the nagios plugin (script) for it?. I am using Mysql Server/client 4.1.12. Thanks & regards sushil ------------------------------------------------------- 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.mohr at elaxy.com Wed Jun 22 20:05:10 2005 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 22 Jun 2005 20:05:10 +0200 Subject: Details of Nagios Reporting Message-ID: Hi All! As the subject says, I am looking for details of how the nagios reporting works (versions 1.2 and 2.0). In particular, I am looking for confirmation that reporting cgi's will automatically go through the archived log files to report. Looking through trends.c, I see that the number of archived logs to used is based on the 'backtrack_archives' variable and the default used is dependant on the frequency the logs are rotated. It *seems* that regardless of what you set "Backtracked archives" to, it will automatically pull out the correct number of archived logs. Is this correct? I probably could see this better, if the graphics were being displayed correctly, but I am getting "Premature end of script headers: trends.cgi" (as well as histogram.cgi ), but that is a different issue. Another issue is the alert history. Is there any way to specify a specific date? Is there any way of specifying a range of dates? Also I would be interested in any documentation describing the details of other aspects of the reporting. Any help is greatly appreaciated Regards, Jim Mohr ------------------------------------------------------- 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 22 20:23:18 2005 From: marc at ena.com (Marc Powell) Date: Wed, 22 Jun 2005 13:23:18 -0500 Subject: Details of Nagios Reporting Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mohr James > Sent: Wednesday, June 22, 2005 1:05 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Details of Nagios Reporting > > Hi All! > > As the subject says, I am looking for details of how the nagios > reporting works (versions 1.2 and 2.0). In particular, I am looking for > confirmation that reporting cgi's will automatically go through the > archived log files to report. Looking through trends.c, I see that the > number of archived logs to used is based on the 'backtrack_archives' > variable and the default used is dependant on the frequency the logs are > rotated. It *seems* that regardless of what you set "Backtracked > archives" to, it will automatically pull out the correct number of > archived logs. Is this correct? Nagios will automagically figure out what log files it needs to look at for your reporting period only. The backtracked archives feature is useful to determine the initial state of the host/service at the beginning of the reporting period. For example, if you run a report for this month but don't have any log entries for the host or service in question until the 20th, nagios will show the first 19 days as undetermined. If there was a log entry showing the host was OK on May 29th, you can use the backtracked archives feature to include that log file as well to set the initial state. You can also use the First assumed state option if you want to assume an initial starting state if there is no log entry. > I probably could see this better, if the graphics were being displayed > correctly, but I am getting "Premature end of script headers: > trends.cgi" (as well as histogram.cgi ), but that is a different issue. Check your web server error logs. They'll detail the problem. Typically the GD libs are not available or not where they were at compile time. > Another issue is the alert history. Is there any way to specify a > specific date? Is there any way of specifying a range of dates? No but you could grep the information out of the archived log files if you needed that. > Also I would be interested in any documentation describing the details > of other aspects of the reporting. There isn't much (http://nagios.sourceforge.net/docs/1_0/cgis.html). Most of the CGI's are pretty standard/self explanatory if you're familiar with monitoring systems. I haven't really seen any good end-user documentation. Maybe others have... -- 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 basile.mathieu at siris.sorbonne.fr Wed Jun 22 20:35:41 2005 From: basile.mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Wed, 22 Jun 2005 20:35:41 +0200 Subject: output of script in nagios interface In-Reply-To: References: Message-ID: <1119465341.42b9af7d423d9@mail.sorbonne.fr> all works fine thank you basile Selon Marc Powell : > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of bmathieu > > Sent: Wednesday, June 22, 2005 11:26 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] output of script in nagios interface > > > > i have all the lines ( i change \b for \c ) but still have br > > and > > 1 : vlan 10 br 2 : vlan 11 br ... etc > > basile > > > > > > Le mercredi 22 juin 2005 ? 18:05 +0200, bmathieu a ?crit : > > > i ve got personnal script which give vlan of switch ports > > > > > > in nagios 1.2 all works fine with that > > > > > > for ( each port ) > > > do > > > echo " $port : $vlan
/c " > > > done > > > > > > and i have in the interface > > > > > > 1 : vlan 10 > > > 2 : vlan 11 > > > etc .... > > > > > > and now ( nagios 2.0b ) i just have the first line and i see > > > > > > 1 : vlan 10 br > > > > > > if someone can help for this problem > > > In nagios.cfg you probably have something like -- > > illegal_macro_output_chars=`~$^&"|'<> > > http://nagios.sourceforge.net/docs/1_0/configmain.html#illegal_macro_output_chars > > -- > 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?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 a ?t? envoy? par le Webmail Sorbonne via IMP. http://courrier.sorbonne.fr/ http://mail.sorbonne.fr/ ------------------------------------------------------- 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 sxanrr at yahoo.com Wed Jun 22 20:44:07 2005 From: sxanrr at yahoo.com (Sxan) Date: Wed, 22 Jun 2005 11:44:07 -0700 (PDT) Subject: NRPE Agent Download site? Message-ID: <20050622184407.23510.qmail@web32215.mail.mud.yahoo.com> Hey all, I've been looking around for the proper NRPE downloads so that I can start monitoring some things on remote servers, but I'm having a bit of a hard time finding the right nrpe agent downloads. I've gone to sites like rpmfind.net and such, but there are different ones and I don't know which to get. I'm running Nagios v1.2 on SuSE Linux 9.2 Pro. The remote servers are running either SuSE, Red Hat, and Solaris (The Solaris servers may not end up needing it). I've also found it kind of odd that I have no nrpe anything on my nagios box as it is now. I was under the impression that it would have at least check_nrpe in the libexec directory or something. Anyway, thanks for any help! ~Jim --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -------------- next part -------------- An HTML attachment was scrubbed... URL: From esac at javanet.info Wed Jun 22 20:57:14 2005 From: esac at javanet.info (Eli Spizzichino) Date: Wed, 22 Jun 2005 20:57:14 +0200 Subject: NRPE allowed_hosts directive doesn't work? Message-ID: <42B9B48A.3020103@javanet.info> Hi all, It's all the day I'm trying to make nrpe accept connection from my host but it seems ignoring allowed_host directive. When is run in inetd + tcpwrapper _it works_ but I don't whant this setup because nagios server is running from an host with a dynamic ip and the reverse dns points conflict with the dns name I update when my ip changes. So or I recompile tcp-wrappers without paranoia config or I just use the firewall for access control and this is what I whant to do. I've read the FAQ(s) about "CHECK_NRPE: Error - Could not complete SSL handshake" and several mails in the archive this are things I checked: ? telnetting to 5666 closes connection ? Different versions? on server (gentoo) nagios-nrpe is 2.0 on client (the monitored host) there is debian-sarge and apt-cache show nagios-nrpe-server Version: 2.0-7 maybe this is the problem... ? SSL: both on server and client side is installed server 0.9.7e-r1 client 0.9.7e-3 ? Incorrect file permissions: -rw-rw---- 1 nagios nagios 5.0K /etc/nagios/nrpe.cfg ? nrpe.cfg have allowed_hosts=127.0.0.1,[my_current_ip] ? netstat -pta |grep nrpe tcp 0 0 *:nrpe *:* LISTEN 31399/nrpe ? nmap -sT -p 5666 -PT client-IP 5666/tcp open unknown on server it shouldn't needed to open up ports but I enable both in and out connection to 5666. ? command line used to run the client: su -c '/usr/sbin/nrpe -d -c /etc/nagios/nrpe.cfg' nagios ? logs (not very helpfull) Added command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 Added command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 Added command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z Added command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200 INFO: SSL/TLS initialized. All network traffic will be encrypted. Starting up daemon Listening for connections on port 5666 Allowing connections from: 127.0.0.1, [my_temp_IP] Connection from [my_temp_IP] port 57860 Host [my_temp_IP] is not allowed to talk to us! Connection from [my_temp_IP] closed. I hope someone has good ideas... thanks in advance Eli ------------------------------------------------------- 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 bigwavedave at gmail.com Wed Jun 22 21:00:06 2005 From: bigwavedave at gmail.com (Big Wave Dave) Date: Wed, 22 Jun 2005 12:00:06 -0700 Subject: NRPE Agent Download site? In-Reply-To: <20050622184407.23510.qmail@web32215.mail.mud.yahoo.com> References: <20050622184407.23510.qmail@web32215.mail.mud.yahoo.com> Message-ID: <8e124f16050622120057447a34@mail.gmail.com> > I've been looking around for the proper NRPE downloads so that I can start > monitoring > some things on remote servers, but I'm having a bit of a hard time finding > the right nrpe agent > downloads. I've gone to sites like rpmfind.net and such, but there are > different ones and > I don't know which to get. You can probably use: http://www.nagiosexchange.org/NRPE.77.0.html?&tx_netnagext_pi1[p_view]=126 ... as one resource. >I'm running Nagios v1.2 on SuSE Linux 9.2 Pro. > The remote > servers are running either SuSE, Red Hat, and Solaris (The Solaris servers > may not end > up needing it). I've also found it kind of odd that I have no nrpe anything > on my nagios box > as it is now. I don't believe that the check_nrpe comes by default. You need to build it separately. You can download RPMs for RedHat at: http://dag.wieers.com/packages/ You'll notice that there is a nagios-nrpe (what you would install on the remote machines). There is a nagios-plugins-nrpe (under nagios-plugins) that you would install on your Nagios machine. Pretty much all this RPM does is install the check_nrpe in your plugins folder. You might be able to use the SRC RPMs on that site for your SUSE... or at least modify the spec file to customize for your situation. >I was under the impression that it would have at least > check_nrpe in the libexec > directory or something. Anyway, thanks for any help! > I'm sorry I don't have a quick solution for you, but hopefully the info will get you started in the right direction. Dave ---------------------------------------------------------- Are Your Friends Lemmings? -- http://www.lemmingshirts.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_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 22 21:46:34 2005 From: marc at ena.com (Marc Powell) Date: Wed, 22 Jun 2005 14:46:34 -0500 Subject: GD, PNG, and/or JPEG libraries could not be located - is this a problem? Message-ID: Please use the mailing list. I am not associated with Nagios in any way other than being a user like yourself and generally don't provide Nagios support outside of the lists. > -----Original Message----- > From: Kenneth Klein [mailto:kklein9 at uky.edu] > Sent: Wednesday, June 22, 2005 1:47 PM > To: Marc Powell > Subject: GD, PNG, and/or JPEG libraries could not be located - is this a > problem? > > I got these messages when I ran the "configure" command. > Is this a serious problem? I am just installing for the first time on AIX > 5.3.0.2. This is not a problem if you don't want or need the statusmap, trends and histogram CGIs. If you want those then you'll need to install gd and gd-devel, re-configure Nagios and compile. I believe there is information in the archives specifically related to gd on AIX if you get stuck. -- Marc > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Boutell's GD library is required to compile the statusmap, trends > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > the locations of the GD library and include files. > > NOTE: In addition to the gd-devel library, you'll also need to make > sure you have the png-devel and jpeg-devel libraries installed > on your system. > > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the GD, PNG, and JPEG libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make clean' in the Nagios distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > NOTE: If you can't get the configure script to recognize the GD libs > on your system, get over it and move on to other things. The > CGIs that use the GD libs are just a small part of the entire > Nagios package. Get everything else working first and then > revisit the problem. Make sure to check the nagios-users > mailing list archives for possible solutions to GD library > problems when you resume your troubleshooting. > > ******************************************************************** > > > > -- > I am told that the US spent a lot of money trying to find a pen that > would write in weightlessness. They showed the "Space Pen" to the > competing Russians. They showed the US reps - a pencil. ------------------------------------------------------- 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 22 21:57:47 2005 From: moshesharon at gmail.com (Moshe Sharon) Date: Wed, 22 Jun 2005 19:57:47 +0000 (UTC) Subject: huge performance problems References: <88001FC5C453764CA6597FB29874249402F550B1@svex03> Message-ID: hello first for the delay problem. Inter-check delay method: SMART. doesnt work for you. you can always change the value in nagios.cfg to USER-SUPPLIED VALUE and then supply your own values. second from my experience with plugins ssh and snmp written in perl. no matter if its embeded / compiled. you get lousy preformance. better to write them in C. and if its not possible write them in php-snmp the results are much better. please also check you computer load. Hope it helped 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 eford at nexusenergy.com Wed Jun 22 22:44:31 2005 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 22 Jun 2005 16:44:31 -0400 Subject: Is there a SQL Plugin Message-ID: I am in search of a SQL Plugin, not mysql by sql.. Is there one? I went through the plugins at Nagios.com but came up with nothing.. Thank You; -------------- next part -------------- An HTML attachment was scrubbed... URL: From mluettgen at nuvio.com Wed Jun 22 22:50:06 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Wed, 22 Jun 2005 15:50:06 -0500 Subject: Is there a SQL Plugin In-Reply-To: References: Message-ID: <20050622155006.4fde8ce7.mluettgen@nuvio.com> mssql? postgresql? oracle? I hate guessing games. On Wed, 22 Jun 2005 15:44:31 -0500 "Edward Ford" wrote: > I am in search of a SQL Plugin, not mysql by sql.. > > Is there one? I went through the plugins at Nagios.com but came up with nothing.. > > > 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 sekuela at gmail.com Wed Jun 22 22:50:03 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Wed, 22 Jun 2005 17:50:03 -0300 Subject: Is there a SQL Plugin In-Reply-To: References: Message-ID: <806f904f05062213504e996841@mail.gmail.com> You can check sql port.... or then, use NS_Client.... Do you need only verify if the sql server is alive or need more usefull information? Att, Daniel On 6/22/05, Edward Ford wrote: > > > > I am in search of a SQL Plugin, not mysql by sql.. > > > > Is there one? I went through the plugins at Nagios.com but came up with > nothing.. > > > > > > 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_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 goldenhawk at rogers.com Wed Jun 22 22:54:51 2005 From: goldenhawk at rogers.com (Daniel Benoy) Date: Wed, 22 Jun 2005 16:54:51 -0400 Subject: Is there a SQL Plugin In-Reply-To: References: Message-ID: <200506221654.51218.goldenhawk@rogers.com> SQL is just a Database language.. it's not a program in and of itself... There are many programs which use the SQL language, including mysql, oracle and postgresql. The reason why a plugin refers specifically to mysql is because each database server has its own independant protocol for transfering SQL commands and results. Find out which one you have or want, and get a plugin for that. On Wednesday 22 June 2005 16:44, Edward Ford wrote: > I am in search of a SQL Plugin, not mysql by sql.. > > Is there one? I went through the plugins at Nagios.com but came up with > nothing.. > > > Thank You; -- Daniel Benoy ------------------------------------------------------- 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 wright at imageworks.com Wed Jun 22 22:53:17 2005 From: wright at imageworks.com (Pete Wright) Date: Wed, 22 Jun 2005 13:53:17 -0700 Subject: Is there a SQL Plugin In-Reply-To: References: Message-ID: <42B9CFBD.2000508@imageworks.com> Edward Ford wrote: > I am in search of a SQL Plugin, not mysql by sql.. > > > > Is there one? I went through the plugins at Nagios.com but came up > with nothing.. > Are you looking for a plugin to check SQL servers, or something that will give SQL DB functionality to nagios. If you are looking for a specific plugin to check a SQL server which server are you looking to check? -p -- Peter Wright Systems Administrator Sony Pictures Imageworks wright at imageworks.com www.imageworks.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 eford at nexusenergy.com Wed Jun 22 22:57:34 2005 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 22 Jun 2005 16:57:34 -0400 Subject: Is there a SQL Plugin In-Reply-To: <42B9CFBD.2000508@imageworks.com> References: <42B9CFBD.2000508@imageworks.com> Message-ID: I am in search of a plugin for SQL 2000. To check SQL. Thanks; -----Original Message----- From: Pete Wright [mailto:wright at imageworks.com] Sent: Wednesday, June 22, 2005 4:53 PM To: Edward Ford Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is there a SQL Plugin Edward Ford wrote: > I am in search of a SQL Plugin, not mysql by sql.. > > > > Is there one? I went through the plugins at Nagios.com but came up > with nothing.. > Are you looking for a plugin to check SQL servers, or something that will give SQL DB functionality to nagios. If you are looking for a specific plugin to check a SQL server which server are you looking to check? -p -- Peter Wright Systems Administrator Sony Pictures Imageworks wright at imageworks.com www.imageworks.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 boinger at tradingtechnologies.com Wed Jun 22 23:04:26 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 22 Jun 2005 16:04:26 -0500 Subject: Is there a SQL Plugin In-Reply-To: References: Message-ID: <1119474266.7077.93.camel@chi101100.int.tt.local> On Wed, 2005-06-22 at 16:57 -0400, Edward Ford wrote: > I am in search of a plugin for SQL 2000. To check SQL. Ohhh. *MICROSOFT* SQL Server 2000. You should have said that. > Thanks; > > > -----Original Message----- > From: Pete Wright [mailto:wright at imageworks.com] > Sent: Wednesday, June 22, 2005 4:53 PM > To: Edward Ford > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Is there a SQL Plugin > > Edward Ford wrote: > > > I am in search of a SQL Plugin, not mysql by sql.. > > > > > > > > Is there one? I went through the plugins at Nagios.com but came up > > with nothing.. > > > Are you looking for a plugin to check SQL servers, or something that > will give SQL DB functionality to nagios. If you are looking for a > specific plugin to check a SQL server which server are you looking to check? > > -p > > > > -- > Peter Wright > Systems Administrator > Sony Pictures Imageworks > wright at imageworks.com > www.imageworks.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 -------------- 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 James.Cammarata at altertrading.com Wed Jun 22 23:10:46 2005 From: James.Cammarata at altertrading.com (James Cammarata) Date: Wed, 22 Jun 2005 16:10:46 -0500 Subject: Is there a SQL Plugin Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=156 James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Edward Ford Sent: Wednesday, June 22, 2005 3:58 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Is there a SQL Plugin I am in search of a plugin for SQL 2000. To check SQL. Thanks; -----Original Message----- From: Pete Wright [mailto:wright at imageworks.com] Sent: Wednesday, June 22, 2005 4:53 PM To: Edward Ford Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is there a SQL Plugin Edward Ford wrote: > I am in search of a SQL Plugin, not mysql by sql.. > > > > Is there one? I went through the plugins at Nagios.com but came up > with nothing.. > Are you looking for a plugin to check SQL servers, or something that will give SQL DB functionality to nagios. If you are looking for a specific plugin to check a SQL server which server are you looking to check? -p -- Peter Wright Systems Administrator Sony Pictures Imageworks wright at imageworks.com www.imageworks.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 ------------------------------------------------------- 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 behrens at mcs.anl.gov Wed Jun 22 23:06:01 2005 From: behrens at mcs.anl.gov (Scott Behrens) Date: Wed, 22 Jun 2005 16:06:01 -0500 Subject: checkcommand.cfg and SNMP problems Message-ID: <42B9D2B9.5000406@mcs.anl.gov> I am defining a check_snmp for two OID's the first one is an exit code the second is a description. It seems that the ',' used to separate the two OID's is being replaced by a ' ' in Nagios. Running the following from the command line produces: behrens: /usr/lib/nagios/plugins/check_snmp -H tg-v001 -p 1 -c 0:0 -C watchme -o enterprises.ucdavis.extTable.extEntry.extResult.1,enterprises.ucdavis.extTable.extEntry.extOutput.1 SNMP OK - 0 ypmatch -k user password This is all the correct information, however if I look at the process tree for nagios as it runs the command: behrens: /usr/lib/nagios/plugins/check_snmp -H tg-v001 -p 1 -c 0:0 -C watchme -o enterprises.ucdavis.extTable.extEntry.extResult.1 enterprises.ucdavis.extTable.extEntry.extOutput.1 Basically what is happening is the ',' is getting replaced witha space. I tried everytning from backslashes to double and single quotes. This is causing the results in nagios to only display the exit code. What needs to change to allow the ',' to stay? Scott Behrens Network and Systems Staff Room B-244 1-630-252-4198 Mathematics and Computer Science Division Argonne National Laboratory ------------------------------------------------------- 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 22 23:23:27 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 22 Jun 2005 23:23:27 +0200 Subject: Is there a SQL Plugin In-Reply-To: <1119474266.7077.93.camel@chi101100.int.tt.local> References: <1119474266.7077.93.camel@chi101100.int.tt.local> Message-ID: <42B9D6CF.3070508@its-lehmann.de> jeff vier wrote: > On Wed, 2005-06-22 at 16:57 -0400, Edward Ford wrote: > >>I am in search of a plugin for SQL 2000. To check SQL. > > > Ohhh. > > *MICROSOFT* SQL Server 2000. > > You should have said that. Hey, great, there is an entry in the FAQs! I didn't read anything about Edward trying that... I guess here's one candidate for Paul :-) Arno > >>Thanks; >> >> >>-----Original Message----- >>From: Pete Wright [mailto:wright at imageworks.com] >>Sent: Wednesday, June 22, 2005 4:53 PM >>To: Edward Ford >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Is there a SQL Plugin >> >>Edward Ford wrote: >> >> >>>I am in search of a SQL Plugin, not mysql by sql.. >>> >>> >>> >>>Is there one? I went through the plugins at Nagios.com but came up >>>with nothing.. >>> >> >>Are you looking for a plugin to check SQL servers, or something that >>will give SQL DB functionality to nagios. If you are looking for a >>specific plugin to check a SQL server which server are you looking to check? >> >>-p >> >> >> >>-- >>Peter Wright >>Systems Administrator >>Sony Pictures Imageworks >>wright at imageworks.com >>www.imageworks.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 > > -- 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 pla at softflare.com Wed Jun 22 23:24:34 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 22 Jun 2005 22:24:34 +0100 Subject: Is there a SQL Plugin In-Reply-To: <200506221654.51218.goldenhawk@rogers.com> References: <200506221654.51218.goldenhawk@rogers.com> Message-ID: <20050622212434.18738.qmail@mullet.softflare.net> Daniel Benoy writes: > SQL is just a Database language.. True. > There are many programs which use the SQL language, including mysql, > oracle and postgresql. Not entirely true. Each database has its own proprietary extensions. That said, I cannot conceive of any *sane* system where a plugin would need to check the functioning of those proprietary features rather than performing a simpler check of access to a particular table or record. > The reason why a plugin refers specifically to mysql is because each > database server has its own independant protocol for transfering SQL > commands and results. Not entirely true. Microsoft's SQL Server ripped off somebody else's protocol - it's the Microsoft way, they never innovate, they either buy somebody else's technology (if they have to) or rip it off (if they can get away with it). > Find out which one you have or want, and get a plugin for that. I see from other posts that he needs to check MS SQL 2000. There are two plugins in the contrib directory that check MS SQL. The one that uses freetds is, in my opinion, the better one. The one that uses freetds copes with all MS SQL network protocols from the earliest to the latest that has been released (it's not automatic, you have to configure freetds so it knows that server X uses protocol version Y and that server A uses protocol version B) but it's the one I'd recommend. -- Paul Allen Softflare Support ------------------------------------------------------- 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 digitalnervesystem at gmail.com Thu Jun 23 03:47:05 2005 From: digitalnervesystem at gmail.com (digital nerve) Date: Thu, 23 Jun 2005 09:47:05 +0800 Subject: Authorizations In-Reply-To: References: Message-ID: Hi Marc, Sorry i cannot send to sourceforge-nagios mailing list. I just found out the authenticated contact can access to host or services that. The authenticated contact, however can also perform Host and service command. Do you know how to restrict this authenticated contact to be able to perform Host and service command ? Basically, I just want the authenticated contact to be able to view the host and services status only. Regards, digitalnerve. On 6/22/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 Aditya Ivaturi > > Sent: Wednesday, June 22, 2005 10:25 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Authorizations > > > > > > Is it possible to do create users and allow them access to only > certain > > hosts? The only directive I am seeing in the docs is > > authorized_for_all_hosts. Is there any thing like authorized > _for_host1 so > > that I can restrict a user to view info about only certain host or > host > > group? > > With CGI authentication/authorization enabled, logged in users can only > see hosts and services that they are contacts for. The authorized_for > _* cgi.cfg variables are for overrides of that behavior. > > -- > 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&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 > -- digitalnervesystem ------------------------------------------------------- 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 sghosh at sghosh.org Thu Jun 23 03:52:37 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 22 Jun 2005 21:52:37 -0400 (EDT) Subject: Authorizations In-Reply-To: References: Message-ID: that is not possible with the current cgis On Thu, 23 Jun 2005, digital nerve wrote: > Hi Marc, > > Sorry i cannot send to sourceforge-nagios mailing list. I just found > out the authenticated contact can access to host or services that. The > authenticated contact, however can also perform Host and service > command. Do you know how to restrict this authenticated contact to be > able to perform Host and service command ? Basically, I just want the > authenticated contact to be able to view the host and services status > only. > > Regards, > digitalnerve. > > On 6/22/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 Aditya Ivaturi >>> Sent: Wednesday, June 22, 2005 10:25 AM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Authorizations >>> >>> >>> Is it possible to do create users and allow them access to only >> certain >>> hosts? The only directive I am seeing in the docs is >>> authorized_for_all_hosts. Is there any thing like authorized >> _for_host1 so >>> that I can restrict a user to view info about only certain host or >> host >>> group? >> >> With CGI authentication/authorization enabled, logged in users can only >> see hosts and services that they are contacts for. The authorized_for >> _* cgi.cfg variables are for overrides of that behavior. >> >> -- >> 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&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_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 sekuela at gmail.com Thu Jun 23 06:53:17 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Thu, 23 Jun 2005 01:53:17 -0300 Subject: Authorizations In-Reply-To: References: Message-ID: <806f904f0506222153687b983c@mail.gmail.com> Hi :) Maybe if you want have a little more work on httpd.conf, you can define nagios cgi's scripts with some groups in httpd.conf... and after, create some htpasswd files to define groups.... Thanks, Daniel Szortyka On 6/22/05, Subhendu Ghosh wrote: > > that is not possible with the current cgis > > On Thu, 23 Jun 2005, digital nerve wrote: > > > Hi Marc, > > > > Sorry i cannot send to sourceforge-nagios mailing list. I just found > > out the authenticated contact can access to host or services that. The > > authenticated contact, however can also perform Host and service > > command. Do you know how to restrict this authenticated contact to be > > able to perform Host and service command ? Basically, I just want the > > authenticated contact to be able to view the host and services status > > only. > > > > Regards, > > digitalnerve. > > > > On 6/22/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 Aditya Ivaturi > >>> Sent: Wednesday, June 22, 2005 10:25 AM > >>> To: nagios-users at lists.sourceforge.net > >>> Subject: [Nagios-users] Authorizations > >>> > >>> > >>> Is it possible to do create users and allow them access to only > >> certain > >>> hosts? The only directive I am seeing in the docs is > >>> authorized_for_all_hosts. Is there any thing like authorized > >> _for_host1 so > >>> that I can restrict a user to view info about only certain host or > >> host > >>> group? > >> > >> With CGI authentication/authorization enabled, logged in users can only > >> see hosts and services that they are contacts for. The authorized_for > >> _* cgi.cfg variables are for overrides of that behavior. > >> > >> -- > >> 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&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_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 Nick.Lunt at wesleyan.co.uk Thu Jun 23 09:48:49 2005 From: Nick.Lunt at wesleyan.co.uk (Lunt, Nick) Date: Thu, 23 Jun 2005 08:48:49 +0100 Subject: Plugin help Message-ID: Hello list, first off I know there's a seperate list for plugins but I think this question should be OK for this list :) I have created a bash script that checks if Oracle is running on server x, I cannot used the supplied check_oracle plugin because I do not have Oracle installed on the Nagios machine. My problem is that even if I deliberately make the script fail it will still show as OK in Nagios. And the status information shows 'no output returned from plugin'. If the script fails I have it exiting with status code 2, and it exits with a 0 if the script works. The script is below if that will help. Could someone please tell me how to get user created plugins to give the correct info back to nagios ? I cannot find this in the nagios docs, nor on google. If someone knows where this info is then a link would be appreciated. Or just tell me to RTFM - but please supply a specific M :) Many thanks Nick. // The script: #!/bin/bash USERNAME=someuser PASSWORD=password HOSTNAME=bishop1 PORT=1552 DB=TEC RES=0 SQL=/usr/local/instantclient/sqlplus SQLOUT=/tmp/instantoracle.${DB}.out SQLFILE=/tmp/instantoracle.${DB}.sql SQLCOMMAND="select count(*) from tec_t_evt_rep;" cat > $SQLFILE << EOF spool $SQLOUT; $SQLCOMMAND exit; EOF cat $SQLFILE | $SQL ${USERNAME}/${PASSWORD}@//${HOSTNAME}:${PORT}/${DB} RES=$? if [ $RES -ne 0 ]; then EPOCHTIME=`python -c "import time; print str(time.time()).split('.')[0]"` echo "CRITICAL - $EPOCHTIME $HOSTNAME.$DB Down" RES=2 else EPOCHTIME=`python -c "import time; print str(time.time()).split('.')[0]"` echo "OK - $EPOCHTIME from $HOSTNAME.$DB" RES=0 fi exit $RES // End of script 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. ------------------------------------------------------- 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 Thu Jun 23 10:16:17 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 23 Jun 2005 10:16:17 +0200 Subject: Plugin help In-Reply-To: References: Message-ID: <42BA6FD1.2030300@its-lehmann.de> Hi, Lunt, Nick wrote: > Hello list, > > first off I know there's a seperate list for plugins but I think this question should be OK for this list :) > > I have created a bash script that checks if Oracle is running on server x, I cannot used the supplied check_oracle plugin because I do not have Oracle installed on the Nagios machine. > > My problem is that even if I deliberately make the script fail it will still show as OK in Nagios. And the status information shows 'no output returned from plugin'. > > If the script fails I have it exiting with status code 2, and it exits with a 0 if the script works. > > The script is below if that will help. Could someone please tell me how to get user created plugins to give the correct info back to nagios ? I cannot find this in the nagios docs, nor on google. If someone knows where this info is then a link would be appreciated. Or just tell me to RTFM - but please supply a specific M :) Well, the script looks basically ok in hat it should always exit with status 0 or 2 and some output. Unless it is aborted earlier, which I wouldn't know. Two hints / question? - Multiple nagios instances running? top, ps or pstree might tell you. - can you run the script as the nagios user in the shell and does it work correctly? And look at the result code! For example su - nagios /usr/local/nagios/libexec/check_your_script; echo $? Arno > Many thanks > Nick. > > // The script: > > #!/bin/bash > > USERNAME=someuser > PASSWORD=password > HOSTNAME=bishop1 > PORT=1552 > DB=TEC > > RES=0 > > SQL=/usr/local/instantclient/sqlplus > SQLOUT=/tmp/instantoracle.${DB}.out > SQLFILE=/tmp/instantoracle.${DB}.sql > SQLCOMMAND="select count(*) from tec_t_evt_rep;" > > cat > $SQLFILE << EOF > spool $SQLOUT; > $SQLCOMMAND > exit; > EOF > > cat $SQLFILE | $SQL ${USERNAME}/${PASSWORD}@//${HOSTNAME}:${PORT}/${DB} > > RES=$? > if [ $RES -ne 0 ]; then > EPOCHTIME=`python -c "import time; print str(time.time()).split('.')[0]"` > echo "CRITICAL - $EPOCHTIME $HOSTNAME.$DB Down" > RES=2 > else > EPOCHTIME=`python -c "import time; print str(time.time()).split('.')[0]"` > echo "OK - $EPOCHTIME from $HOSTNAME.$DB" > RES=0 > fi > > exit $RES > > // End of script > > > 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. > > > > ------------------------------------------------------- > 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 rockyhorror at witty.com Thu Jun 23 10:22:32 2005 From: rockyhorror at witty.com (Rocky Horror) Date: Thu, 23 Jun 2005 03:22:32 -0500 Subject: check_snmp help Message-ID: <20050623082232.564974BEAD@ws1-1.us4.outblaze.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Nick.Lunt at wesleyan.co.uk Thu Jun 23 10:23:42 2005 From: Nick.Lunt at wesleyan.co.uk (Lunt, Nick) Date: Thu, 23 Jun 2005 09:23:42 +0100 Subject: Plugin help Message-ID: Hi Arno, thanks for your response. > -----Original Message----- > From: Arno Lehmann [mailto:al at its-lehmann.de] > > Well, the script looks basically ok in hat it should always exit with > status 0 or 2 and some output. Unless it is aborted earlier, which I > wouldn't know. > > Two hints / question? > - Multiple nagios instances running? top, ps or pstree might tell you. I definitely only have one instance of Nagios running. > - can you run the script as the nagios user in the shell and does it > work correctly? And look at the result code! > For example > su - nagios > /usr/local/nagios/libexec/check_your_script; echo $? Yes that works fine thanks as the nagios user and exits with the correct exit code. Thanks, Nick . 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. ------------------------------------------------------- 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 chris at aidworld.org Thu Jun 23 11:37:21 2005 From: chris at aidworld.org (Chris Wilson) Date: Thu, 23 Jun 2005 10:37:21 +0100 Subject: About a active plugin in local machine In-Reply-To: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A0@edxmb9.jdnet.deere.com> References: <3C2C08B4FEE12B418B1F7A2950B9A91B0380A0@edxmb9.jdnet.deere.com> Message-ID: <1119519441.16985.5.camel@localhost> Hi Richard, > Over all I am not a fan of passive > checks, in my option if the service check is not critical enough to > perform a active check but wait for the host, then it is a nice to know > but not critical. Then you probably haven't tried to monitor hundreds of hosts or thousands of services :-) Active checks do NOT scale. Unless you involve passive checks at some point (even if it's a Nagios slave server submitting results to a master by passive checks), as your system grows it will get slower and slower until it falls over when it reaches a certain size. > Though my views are slant to our environment, all web sites, each site > displays a page giving information of the health of the site. From there > we are firm believers if the service is critical we will actively probe > it, not waits for it. Passive checks submitted to the master, backed up by an active check from the master if the results become stale, are every bit as good as active checks in my book. Plus they reduce the load on our monitoring server by an order of magnitude. Since we don't have infinite resources, that really helps a lot. And we do still get timely alerts of problems. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- 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 sivan.deray at net-aptitude.fr Thu Jun 23 12:56:11 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Thu, 23 Jun 2005 12:56:11 +0200 Subject: About check_disk_smb plugin Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45CF07@srv-nap-atlas-1.net-aptitude.fr> Hi, I'm runing Nagios 1.2 with the latest nagios-plugin. When I test the following command : ./check_disk_smb -H 192.168.2.10 -s Share -W na -u sderay -p yaya -w 85 -c 95 192.168.2.10 is a windows 2K server Here is the error : Can't exec "//192.168.2.10/Share": Aucun fichier ou r??pertoire de ce type at ./check_disk_smb line 126. Use of uninitialized value in split at ./check_disk_smb line 135. Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. Result from smbclient not suitable Any idea regarding to the synthax or ... ? 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 ralf.prengel at comline.de Thu Jun 23 13:11:11 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Thu, 23 Jun 2005 13:11:11 +0200 Subject: how to check MS Exchange webaccess page Message-ID: <42BA98CF.2000701@comline.de> Hallo, I try to check a webexchnagepage using check_http. Checking company.de is working fine but how can I check company.de/exchange. The error message Invalid host name 'http://www.company.de/exchange' Unable to open TCP socket Thanks for hints ------------------------------------------------------- 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 ceres at mail.isis.de Thu Jun 23 13:39:26 2005 From: ceres at mail.isis.de (Christian Schlettig) Date: Thu, 23 Jun 2005 13:39:26 +0200 Subject: how to check MS Exchange webaccess page In-Reply-To: <42BA98CF.2000701@comline.de> References: <42BA98CF.2000701@comline.de> Message-ID: <42BA9F6E.2050804@mail.isis.de> Hello, Ralf Prengel schrieb: > Hallo, > > I try to check a webexchnagepage using check_http. > Checking company.de is working fine but how can I check > company.de/exchange. > The error message > Invalid host name 'http://www.company.de/exchange' > Unable to open TCP socket > don't remember the exact parameter, but you have to supply two arguments. One for servername and another one for the path you would like to retrive. try check_http --help Cheers, Christian ------------------------------------------------------- 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 ralf.prengel at comline.de Thu Jun 23 15:01:12 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Thu, 23 Jun 2005 15:01:12 +0200 Subject: savest way to check Windows 2000/ XP and 2003 systems Message-ID: <42BAB298.8040005@comline.de> Hallo, what is the savest way monitoring windows systems. The problem is that I ve to transfer informations through unsave networks. Thank for some general hints. ------------------------------------------------------- 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 James.Cammarata at altertrading.com Thu Jun 23 15:11:34 2005 From: James.Cammarata at altertrading.com (James Cammarata) Date: Thu, 23 Jun 2005 08:11:34 -0500 Subject: savest way to check Windows 2000/ XP and 2003 systems Message-ID: James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ralf Prengel Sent: Thursday, June 23, 2005 8:01 AM To: nagios_list Subject: [Nagios-users] savest way to check Windows 2000/ XP and 2003 systems Hallo, what is the savest way monitoring windows systems. The problem is that I ve to transfer informations through unsave networks. Thank for some general hints. ------------------------------------------------------- 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 Paul.Poltorak at evosoft.com Thu Jun 23 15:13:29 2005 From: Paul.Poltorak at evosoft.com (Poltorak Paul) Date: Thu, 23 Jun 2005 15:13:29 +0200 Subject: check_radius Message-ID: Hi, i have a problem with the check_radius plugin. When i use the plugin it show me the folow problem Out of Memory? What i have to do to fix the problem? Freundliche Gr??e ------------------------------------------------- Paul Poltorak Auszubildender evosoft GmbH Hugo-Junkers-Strasse 11, D-90411 N?rnberg Phone: +49 911 53991 153 Fax: +49 911 53991 390 Mobil: +49 179 8308831 eMail: Paul.Poltorak at evosoft.com http://www.evosoft.com ------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2823 bytes Desc: not available URL: From nagios at pointpub.net Thu Jun 23 15:21:43 2005 From: nagios at pointpub.net (Sebastien Roy) Date: Thu, 23 Jun 2005 09:21:43 -0400 Subject: Nagios 2.x on AIX 5.x Message-ID: <42BAB767.1070800@pointpub.net> Hey folks.. Anyone have succesfully compiled Nagios and the plugins for AIX 5.x ? I tried the ./configure and works perfectly with no error and tried to compile, but got this error: # make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c In file included from ../include/config.h:220, from broker.c:26: /usr/include/pthread.h:652: error: parse error before '*' token /usr/include/pthread.h:655: error: parse error before '*' token /usr/include/pthread.h:658: error: parse error before '*' token /usr/include/pthread.h:661: error: parse error before '*' token /usr/include/pthread.h:664: error: parse error before '*' token /usr/include/pthread.h:672: error: parse error before '*' token /usr/include/pthread.h:675: error: parse error before '*' token /usr/include/pthread.h:678: error: parse error before '*' token /usr/include/pthread.h:681: error: parse error before '*' token /usr/include/pthread.h:689: error: parse error before '*' token /usr/include/pthread.h:693: error: parse error before '*' token /usr/include/pthread.h:696: error: parse error before '*' token make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Thanks S?bastien Roy Administrateur de Syst?mes Senior / Senior System Administrator PointPub Communications. - Laval, Canada (514) 867-1079 Sebastien.Roy at PointPub.NET www.pointpub.net ------------------------------------------------------- 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 sekuela at gmail.com Thu Jun 23 15:29:29 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Thu, 23 Jun 2005 10:29:29 -0300 Subject: savest way to check Windows 2000/ XP and 2003 systems In-Reply-To: References: Message-ID: <806f904f050623062926aac146@mail.gmail.com> Ralf, You can use two plugins together, a NSCA (daemon) that runs in you nagios server listening on a defined port. After this you configure a NC_Net plugin on your machine windows and configure it. After, you will have to configure the NSCA Client on windows, this client will do the comunication with nagios server and sent it the result of a service monitored. Daniel [NC_Net_V1_x] http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=199 [NCSA] http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=199 [NSCA Win32Client] http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=141 On 6/23/05, James Cammarata wrote: > > > James Cammarata > > System Administrator/Developer > Alter Trading > Desk: (314) 872-2426 > Cell: (314) 409-0583 > ________________________________________ > Out the Ethernet, through the router, > down the fiber, off another router, > down the T1, past the fire-wall > ...nothing but Net > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ralf Prengel > Sent: Thursday, June 23, 2005 8:01 AM > To: nagios_list > Subject: [Nagios-users] savest way to check Windows 2000/ XP and 2003 systems > > Hallo, > > what is the savest way monitoring windows systems. > The problem is that I ve to transfer informations through unsave networks. > > Thank for some general hints. > > > ------------------------------------------------------- > 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&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 tthogersen at interstatelumber.com Thu Jun 23 15:44:26 2005 From: tthogersen at interstatelumber.com (Tom Thogersen) Date: Thu, 23 Jun 2005 15:44:26 +0200 (CEST) Subject: Upgrade Message-ID: <20050623134426.DDDA94F4002@desire.netways.de> Hi list I have a fully functioning version 2.0b1 running and was considering moving to 2.0b3. However the install instructions seem to be just that an install. Is there any information out there in regards to upgrading from one version to the next. Thanks - Tom Thogersen (tthogersen) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- 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 HarlanRichardC at JohnDeere.com Thu Jun 23 15:45:14 2005 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Thu, 23 Jun 2005 08:45:14 -0500 Subject: About a active plugin in local machine Message-ID: <3C2C08B4FEE12B418B1F7A2950B9A91B0380B3@edxmb9.jdnet.deere.com> Like I said before I have not problem with distributed monitoring. I know they use passive checks back to main Nagios Host. The problem I have is for a critical peace of infrastructure is relying on the passive check to the Host. I prefer active check. The problem with passive check is you are relaying on the host to update Nagios instead of Nagios actively polling for information. Like you said below I know if the data becomes stale Nagios will fore a check on the service. I just prefer to cut the middle man out of the system and reline on active checks. Over all Nagios will scale to a very large amount of active service check in a short amount of time. For the most part most check take very little system recourses, but the problem becomes you can only do some many checks in a set time frame. Right now our site of Nagios is not the Biggest, we only monitor 495 host with 518 service every three mins. Though we have to be rock solid and quick, here Nagios is the underdog we had to carve out a nitch for our self from the likes of Patrol, MOM, HP Open view and sitescope. Over all I believe Nagios hold it own, in a few cases our little free services has to be tone back because we were performing services of the high price monitoring apps. Over all I under stand passive checks, I have user them a lot before for monitoring services and in distributed monitoring, in my option I like active check better and I like the theory of polling for data instead of the push modal. I have been using the product sine it was Netsaint 0.7, over all love this app and the way I can make it work with other monitoring app. The one thing I was sad to see was when it became Nagios we lost the little penguin. Again this is all my two cents. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chris Wilson Sent: Thursday, June 23, 2005 4:37 AM To: Nagios Users Subject: RE: [Nagios-users] Re: About a active plugin in local machine Hi Richard, > Over all I am not a fan of passive > checks, in my option if the service check is not critical enough to > perform a active check but wait for the host, then it is a nice to > know but not critical. Then you probably haven't tried to monitor hundreds of hosts or thousands of services :-) Active checks do NOT scale. Unless you involve passive checks at some point (even if it's a Nagios slave server submitting results to a master by passive checks), as your system grows it will get slower and slower until it falls over when it reaches a certain size. > Though my views are slant to our environment, all web sites, each site > displays a page giving information of the health of the site. From > there we are firm believers if the service is critical we will > actively probe it, not waits for it. Passive checks submitted to the master, backed up by an active check from the master if the results become stale, are every bit as good as active checks in my book. Plus they reduce the load on our monitoring server by an order of magnitude. Since we don't have infinite resources, that really helps a lot. And we do still get timely alerts of problems. Cheers, Chris. -- (aidworld) chris wilson | chief engineer (chris at aidworld.org) ------------------------------------------------------- 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 ralf.prengel at comline.de Thu Jun 23 15:46:18 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Thu, 23 Jun 2005 15:46:18 +0200 Subject: savest way to check Windows 2000/ XP and 2003 systems In-Reply-To: <806f904f050623062926aac146@mail.gmail.com> References: <806f904f050623062926aac146@mail.gmail.com> Message-ID: <42BABD2A.9000707@comline.de> Daniel Szortyka wrote: > Ralf, > > You can use two plugins together, a NSCA (daemon) that runs in you > nagios server listening on a defined port. After this you configure a > NC_Net plugin on your machine windows and configure it. After, you > will have to configure the NSCA Client on windows, this client will do > the comunication with nagios server and sent it the result of a > service monitored. Ok, I will check this. One question: Are the results crypted to be protected against sniffing on the "transport" in the net? Ralf ------------------------------------------------------- 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 b00mer at gmx.net Thu Jun 23 15:49:47 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 23 Jun 2005 15:49:47 +0200 Subject: huge performance problems In-Reply-To: <88001FC5C453764CA6597FB29874249402F550B1@svex03> References: <88001FC5C453764CA6597FB29874249402F550B1@svex03> Message-ID: <42BABDFB.1@gmx.net> Hi, one year ago we have had nearly the same performance Problems too. It seems that the scheduler of nagios roles over itself if the count of services is to big. Therefore we decided to install another nagios process with different configs in a different directory. So we splitted our nagios like our networks. One Nagios (nagios-1) for Network A and another one (nagios-2) for Network B. So our count of services per nagios instance was decreased and it runs so far so good. All this was under version 1.2. In the past I posted some questions about our problem but there were no good answer on it, so today I just only know that it works for us. So far for this. I hope nobody will geek me when I take your post to describe some problems we now have on testing above doing with different instances on the same host with nagios 2.02b. When I fire up my instance "nagios-1" with around 1600 Service Checks it runs very fine with nearly no latency. But when I fire up the "nagios-2" with around 1850 services this instance runs very fast to latencies around 100 seconds. When I now stop the first instance the latencies on the second one decrease down to < 5 seconds. Perhaps some of the developer can tell me if I am right in theory that (one of) the working thread(s) with the scheduling queue can see the other scheduling queue? Are the possibly the same? I am not a programmer but I can think about following: Starting nagios-1 will create the scheduling queue and gives it to RAM. So far so good. There it is and the worker runs through it and executes the checks. I am now afraid that when I start my second nagios process this will also create the scheduling queue into the system RAM but that the two proceses don't have their own queues... Hope that anybody understand what I mean. Best regards Hendrik Mieden, Rick van der schrieb: > We have heavy performance problems with Nagios. We monitor 174 hosts, > with 2255 services and an average latency off 400 seconds!!!! Off > course that's not exceptable. > > > > I use perl plugins with ssh and snmp plugins. I'v compiled nagios with > perlcache and embedded-perl enabled. The server is a sparc server with > 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) > > > > I played around with all kind of parameters and read the tuning docs > for nagios. > > > > Below the output of "nagios -s nagios.cfg": > > > > Nagios 2.0b3 > > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) > > Last Modified: 04-03-2005 > > License: GPL > > > > Projected scheduling information for host and service > > checks is listed below. This information assumes that > > you are going to start running Nagios with your current > > config files. > > > > HOST SCHEDULING INFORMATION > > --------------------------- > > Total hosts: 174 > > Total scheduled hosts: 0 > > Host inter-check delay method: SMART > > Average host check interval: 0.00 sec > > Host inter-check delay: 0.00 sec > > Max host check spread: 30 min > > First scheduled check: N/A > > Last scheduled check: N/A > > > > > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 2255 > > Total scheduled services: 2255 > > Service inter-check delay method: SMART > > Average service check interval: 222.47 sec > > Inter-check delay: 0.10 sec > > Interleave factor method: SMART > > Average services per host: 12.96 > > Service interleave factor: 13 > > Max service check spread: 30 min > > First scheduled check: Wed Jun 22 15:05:08 2005 > > Last scheduled check: Wed Jun 22 15:08:50 2005 > > > > > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Service check reaper interval: 5 sec > > Max concurrent service checks: 200 > > > > > > PERFORMANCE SUGGESTIONS > > ----------------------- > > I have no suggestions - things look okay. > > > > > > And a nagiostat output: > > > > CURRENT STATUS DATA > > ---------------------------------------------------- > > Status File: /usr/local/nagios/var/status.dat > > Status File Age: 0d 0h 0m 13s > > Status File Version: 2.0b3 > > > > Program Running Time: 0d 32h 0m 13s > > > > Total Services: 2255 > > Services Checked: 2255 > > Services Scheduled: 2255 > > Active Service Checks: 2255 > > Passive Service Checks: 0 > > Total Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Service Latency: 386.526 / 414.446 / 394.100 %* > > Active Service Execution Time: 0.062 / 60.349 / 1.428 sec > > Active Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255* > > Passive Service State Change: 0.000 / 0.000 / 0.000 % > > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 > > Services Flapping: 0 > > Services In Downtime: 0 > > > > Total Hosts: 174 > > Hosts Checked: 174 > > Hosts Scheduled: 0 > > Active Host Checks: 174 > > Passive Host Checks: 0 > > Total Host State Change: 0.000 / 0.000 / 0.000 % > > Active Host Latency: 0.000 / 0.000 / 0.000 % > > Active Host Execution Time: 0.137 / 1.109 / 0.582 sec > > Active Host State Change: 0.000 / 0.000 / 0.000 % > > Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 > > Passive Host State Change: 0.000 / 0.000 / 0.000 % > > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Hosts Up/Down/Unreach: 174 / 0 / 0 > > Hosts Flapping: 0 > > Hosts In Downtime: 0 > > > > > > Anybody an idea what went wrong here? There must be something...... > > > > Regards, > > > > Rick > > > > > > > > > > > > > > =========================================================== > > 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 sekuela at gmail.com Thu Jun 23 15:54:00 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Thu, 23 Jun 2005 10:54:00 -0300 Subject: savest way to check Windows 2000/ XP and 2003 systems In-Reply-To: <42BABD2A.9000707@comline.de> References: <806f904f050623062926aac146@mail.gmail.com> <42BABD2A.9000707@comline.de> Message-ID: <806f904f050623065471d2c300@mail.gmail.com> Yes!!! When you configure a NSCA daemon on linux you configure a password and a encryption method... after... you configure the same thing on windows machine, the same config file practically. In NC_Net you configure the services that you will check... And "send_nsca" will make the comunication with nagios server.] Regards, Daniel On 6/23/05, Ralf Prengel wrote: > Daniel Szortyka wrote: > > Ralf, > > > > You can use two plugins together, a NSCA (daemon) that runs in you > > nagios server listening on a defined port. After this you configure a > > NC_Net plugin on your machine windows and configure it. After, you > > will have to configure the NSCA Client on windows, this client will do > > the comunication with nagios server and sent it the result of a > > service monitored. > > Ok, > > I will check this. > One question: > Are the results crypted to be protected against sniffing on the > "transport" in the net? > > Ralf > > > ------------------------------------------------------- > 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 mandrews at dkp.com Thu Jun 23 17:00:15 2005 From: mandrews at dkp.com (Mark Andrews) Date: Thu, 23 Jun 2005 11:00:15 -0400 Subject: Problems creating service to monitor ftp service Message-ID: <42BACE7F.9010707@dkp.com> I've installed Nagios 2.0b3 on a Suse Enterprise 9 (SLES9) server system and am trying to configure it to monitor the ftp service on an ftp server located on the LAN. I'm using the 'check_ftp' plugin to monitor the service: check_ftp -H ftp.example.com -j but any problems with the ftp server on the SLES9 system are being reported as "HOST down" messages instead of "Service down" messages. I'm receiving email similar to the following: From: nagios at example.com To: nagios-admin at example.com Subject: Host DOWN alert for ftp.example.com! ***** Nagios ***** Notification Type: PROBLEM Host: ftp.example.com State: DOWN Address: 10.0.0.216 Info: Connection refused Date/Time: Thu Jun 23 10:22:56 EDT 2005 Nagios is configured to use two configuration files, nagios.cfg and minimal.cfg. The appropriate sections of minimal.cfg are included at the end of this mesage. How do I modify my nagios configuration to recognize a down service instead of a down host? Thanks My configuration is below: define host{ use generic-host ; Name of host template to use host_name ftp.example.com alias ftp address IP-address-of-ftp.example.com check_command check-ftpx max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define service{ use generic-service ; Name of service template to use host_name ftp.example.com service_description ftp login 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 notification_options w,u,c,r,f notifications_enabled 1 active_checks_enabled 1 passive_checks_enabled 1 check_command check-ftpx } define command{ command_name notify-by-email 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$ } define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } define command{ command_name check-ftpx command_line $USER1$/check_ftp -H $HOSTADDRESS$ -j } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email nagios-admin at example.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 noyler at khimetrics.com Thu Jun 23 17:05:47 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 23 Jun 2005 08:05:47 -0700 Subject: Problems creating service to monitor ftp service Message-ID: <59B15593F41BD24591D59436E7226EAD021187D5@Khiphx2.khimetrics.com> Your check command for the host is FTP, which dictates the host's status. Change the check command of the host. check_command check-ftpx to check with ICMP. That way the host will be up if it's pingable, and you'll have a service with check-ftp dictating the response of that. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark Andrews > Sent: Thursday, June 23, 2005 8:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems creating service to monitor ftp service > > I've installed Nagios 2.0b3 on a Suse Enterprise 9 (SLES9) server system > and am trying to configure it to monitor > the ftp service on an ftp server located on the LAN. > > I'm using the 'check_ftp' plugin to monitor the service: > > check_ftp -H ftp.example.com -j > > but any problems with the ftp server on the SLES9 system > are being reported as "HOST down" messages instead of "Service down" > messages. I'm receiving email similar > to the following: > > From: nagios at example.com > To: nagios-admin at example.com > Subject: Host DOWN alert for ftp.example.com! > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: ftp.example.com > State: DOWN > Address: 10.0.0.216 > Info: Connection refused > > Date/Time: Thu Jun 23 10:22:56 EDT 2005 > > > Nagios is configured to use two configuration files, nagios.cfg and > minimal.cfg. The appropriate sections of minimal.cfg > are included at the end of this mesage. How do I modify my nagios > configuration to recognize a down service instead of > a down host? > > Thanks > > My configuration is below: > > define host{ > use generic-host ; Name of host > template to use > host_name ftp.example.com > alias ftp > address IP-address-of-ftp.example.com > check_command check-ftpx > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > > define service{ > use generic-service ; Name > of service template to use > host_name ftp.example.com > service_description ftp login > 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 > notification_options w,u,c,r,f > notifications_enabled 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_command check-ftpx > } > > define command{ > command_name notify-by-email > 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$ > } > > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > $HOSTNAME$!" $CONTACTEMAIL$ > } > > > define command{ > command_name check-ftpx > command_line $USER1$/check_ftp -H $HOSTADDRESS$ -j > } > > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members nagios-admin > } > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email nagios-admin at example.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 ------------------------------------------------------- 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 andrew at profitability.net Thu Jun 23 17:07:39 2005 From: andrew at profitability.net (Andrew Cruse) Date: Thu, 23 Jun 2005 11:07:39 -0400 Subject: Problems creating service to monitor ftp service In-Reply-To: <42BACE7F.9010707@dkp.com> References: <42BACE7F.9010707@dkp.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > I've installed Nagios 2.0b3 on a Suse Enterprise 9 (SLES9) > server system and am trying to configure it to monitor the > ftp service on an ftp server located on the LAN. > > I'm using the 'check_ftp' plugin to monitor the service: > > check_ftp -H ftp.example.com -j > > but any problems with the ftp server on the SLES9 system are > being reported as "HOST down" messages instead of "Service down" > messages. I'm receiving email similar > to the following: You have the host check command set to be the same command as the service check command. Ergo, whenever that service check fails, the host check will fail as well and you will receive a report of the host being down. Andrew ------------------------------------------------------- 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 James.Cammarata at altertrading.com Thu Jun 23 17:18:11 2005 From: James.Cammarata at altertrading.com (James Cammarata) Date: Thu, 23 Jun 2005 10:18:11 -0500 Subject: Upgrade Message-ID: For me, running Mandrake (which is a RedHat based distro), all I needed to do to move from 1.1 to 2.0b3 was this: rpm -Uhv nagios-2.0b3-1mdk nagios-www-2.0b3-1mdk And it upgraded (the -U option) my installation. It wasn't quite that easy (I had to upgrade glibc and a dozen other things first too), but it was all done with rpm -U. All I needed was the right RPMs, which I found on http://rpmfind.net. Now, as far as Suse and Debian-based distros go, they have similar tools to manage this as well (yast2 on Suse, apt on Debian). Have fun! James Cammarata ? System Administrator/Developer Alter Trading Desk: (314) 872-2426 Cell: (314) 409-0583 ________________________________________ Out the Ethernet, through the router, down the fiber, off another router, down the T1, past the fire-wall ...nothing but Net -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tom Thogersen Sent: Thursday, June 23, 2005 8:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Upgrade Hi list I have a fully functioning version 2.0b1 running and was considering moving to 2.0b3. However the install instructions seem to be just that an install. Is there any information out there in regards to upgrading from one version to the next. Thanks - Tom Thogersen (tthogersen) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- 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 kindy_s at yahoo.fr Thu Jun 23 17:23:57 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Thu, 23 Jun 2005 17:23:57 +0200 (CEST) Subject: Email Notification using Postfix In-Reply-To: References: Message-ID: <20050623152357.68507.qmail@web26903.mail.ukl.yahoo.com> Hello, I just want to thanks you for the help. I went through all the mail this morning and finally manage to get notification. I removed the -s using /us/bin/sendail and it works. Still I can't set the subject of the message( something I probably may be able to do with mail) but at least notifications are sent!!!! Regards, Kindy --- Marc Powell a ?crit : > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Kindy > Sylla > > Sent: Tuesday, June 21, 2005 11:59 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Email Notification using > Postfix > > > > Hello, > > I am having problems with email notifications and > > wondering if someone can help. > > I have the nagios running fine but no emails are > sent > > out. > > This is my notify-by-mail command : > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" > "***** > > Nagios *****\n\nNotification Type: > > $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: > > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional > > Info:\n\n$OUTPUT$" | /usr/sbin/sendmail -s "** > > $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ > > is $SERVICESTATE$ **" $CONTACTEMAIL$ > > } > > The log file doesn't contain any errors. I have > the > > following line : > > [1119372445] SERVICE NOTIFICATION: > > Kindy;monediabackup;HTTP > > Service;CRITICAL;notify-by-email;Connection > refused > > > > I am using postfix as MTA. Do I need to change > > something in postfix configurations files in order > to > > get it working with nagios? Is there something > else to > > do? Any idea can help! > > Did you edit this command by hand to change it from > its installation > default? Can you run the following consolidated > representation of your > command above? -- > > /usr/bin/printf "%b" "testing" | /usr/sbin/sendmail > -s "Test Message" > some at email.address > > I'll bet you can't ;) For starters, sendmail doesn't > understand a '-s' > command line switch, among other problems. > > You should switch it back to using the mail[x] > binary to pass the > message to postfix properly by changing > /usr/sbin/sendmail back to > /path/to/mail (use 'which mail' to determine the > proper path). If you > don't have mail or mailx installed, you'll either > need to install one of > them or see > http://www.nagios.org/faqs/viewfaq.php?faq_id=150 > > -- > 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 > ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.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 james.mohr at elaxy.com Thu Jun 23 17:35:42 2005 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 23 Jun 2005 17:35:42 +0200 Subject: AW: Details of Nagios Reporting Message-ID: Hi Marc! Thanks for the reply. What I had done with the trends.cgi and histogram.cgi was to simply copy them from another machine. Apparently that does not work as easily as one would hope, although the libraries are there. Safest things is always recompile everything. regards, Jim Mohr >> -----Urspr?ngliche Nachricht----- >> Von: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag >> von Marc Powell >> Gesendet: Mittwoch, 22. Juni 2005 20:23 >> An: Nagios-users at lists.sourceforge.net >> Betreff: RE: [Nagios-users] Details of Nagios Reporting >> > >> > As the subject says, I am looking for details of how the nagios >> > reporting works (versions 1.2 and 2.0). In particular, I am looking >> for >> > confirmation that reporting cgi's will automatically go >> through the >> > archived log files to report. Looking through trends.c, I >> see that the >> > number of archived logs to used is based on the >> 'backtrack_archives' >> > variable and the default used is dependant on the >> frequency the logs >> are >> > rotated. It *seems* that regardless of what you set "Backtracked >> > archives" to, it will automatically pull out the correct number of >> > archived logs. Is this correct? >> >> Nagios will automagically figure out what log files it needs >> to look at for your reporting period only. The backtracked >> archives feature is useful to determine the initial state of >> the host/service at the beginning of the reporting period. >> For example, if you run a report for this month but don't >> have any log entries for the host or service in question >> until the 20th, nagios will show the first 19 days as >> undetermined. If there was a log entry showing the host was >> OK on May 29th, you can use the backtracked archives feature >> to include that log file as well to set the initial state. >> You can also use the First assumed state option if you want >> to assume an initial starting state if there is no log entry. >> >> >> > I probably could see this better, if the graphics were >> being displayed >> > correctly, but I am getting "Premature end of script headers: >> > trends.cgi" (as well as histogram.cgi ), but that is a different >> issue. >> >> Check your web server error logs. They'll detail the >> problem. Typically the GD libs are not available or not >> where they were at compile time. >> >> > Another issue is the alert history. Is there any way to specify a >> > specific date? Is there any way of specifying a range of dates? >> >> No but you could grep the information out of the archived >> log files if you needed that. >> >> > Also I would be interested in any documentation describing >> the details >> > of other aspects of the reporting. >> >> There isn't much (http://nagios.sourceforge.net/docs/1_0/cgis.html). >> Most of the CGI's are pretty standard/self explanatory if >> you're familiar with monitoring systems. I haven't really >> seen any good end-user documentation. Maybe others have... >> >> -- >> 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_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.mohr at elaxy.com Thu Jun 23 17:53:40 2005 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 23 Jun 2005 17:53:40 +0200 Subject: Notifications: Downtimes and contacts Message-ID: Hi All! We're running Nagios 2.0. According to the doc, when a node is in a scheduled downtime, no notifications are sent for the related services during this time. According to the Nagios GUI, when I simply disable notification for node, notifications for any related services will continue. Is that right so far? We have a number of services where an SMS notifications is sent as well as a trouble ticket is generated (using two different contacts). here are some cases, where we want an SMS notification send, but we do not want a trouble ticket generated. Is there any easy way of doing this? Regards, Jim Mohr ------------------------------------------------------- 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 tonye at billy.demon.nl Thu Jun 23 18:08:55 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Thu, 23 Jun 2005 18:08:55 +0200 Subject: About check_disk_smb plugin In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A45CF07@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A45CF07@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <1119542935.17380.10.camel@localhost> tor, 23.06.2005 kl. 12.56 skrev Sivan DERAY: > I'm runing Nagios 1.2 with the latest nagios-plugin. > > When I test the following command : > > ./check_disk_smb -H 192.168.2.10 -s Share -W na -u sderay -p yaya -w 85 -c 95 > > 192.168.2.10 is a windows 2K server > > Here is the error : > > Can't exec "//192.168.2.10/Share": Aucun fichier ou r??pertoire de ce type at ./check_disk_smb line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. > Result from smbclient not suitable > Any idea regarding to the synthax or ... ? Yeah. It's spitting out what you want to know in your own language, Franglais. If you look at what you're telling it to do and what it says it can't do, one in English and one in French, you can fathom it out for yourself: ?No program or service of that type at ...?. That's what I have to do in my own chosen language, Nornglish, on my own test machine ... Best, --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 Thu Jun 23 18:27:01 2005 From: marc at ena.com (Marc Powell) Date: Thu, 23 Jun 2005 11:27:01 -0500 Subject: Upgrade Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tom Thogersen > Sent: Thursday, June 23, 2005 8:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Upgrade > > Hi list > > > > I have a fully functioning version 2.0b1 running and was considering > moving to 2.0b3. However the install instructions seem to be just > that an install. Is there any information out there in regards > to upgrading from one version to the next. Within the same major version it's usually as simple as './configure --whatever-options; make all; make install' to just install over your existing installation. None of the config files get overwritten. Always check the CHANGELOG if there is one to make sure there are no important config changes you need to make but those are rare. -- 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 mark.duling at biola.edu Thu Jun 23 18:41:03 2005 From: mark.duling at biola.edu (Mark Duling) Date: Thu, 23 Jun 2005 09:41:03 -0700 Subject: check_radius In-Reply-To: <20050623135403.3324D89A16@sc8-sf-spam1.sourceforge.net> References: <20050623135403.3324D89A16@sc8-sf-spam1.sourceforge.net> Message-ID: >i have a problem with the check_radius plugin. > >When i use the plugin it show me the folow problem > >Out of Memory? > >What i have to do to fix the problem? I have also not been able to get check_radius working. I am not using Linux which might complicate it. I finally gave up and used my vendor's (I use the Radiator non-open source RADIUS server) Radius test routine and hacked it to make my own check_radius script. See what test routines your Radius vendor provides. If you've not written a script before it might seem daunting, but it isn't that hard. And I found it to be easier than getting the standard check_radius nagios plugin to work on a non-Linux system if it works that way at all, which I'm not sure. Mark ------------------------------------------------------- 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 ladams at cloudmark.com Thu Jun 23 18:53:26 2005 From: ladams at cloudmark.com (Lori Adams) Date: Thu, 23 Jun 2005 09:53:26 -0700 Subject: Notifications: Downtimes and contacts Message-ID: There are contacts and contactgroups. You could put all SMS notifications in one contact group and trouble tickets in another group. Then in your service config, you say: contact_groups This would leave out the trouble tickets. If you want both: contact_groups , Hope that helps. -Lori -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mohr James Sent: Thursday, June 23, 2005 8:54 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notifications: Downtimes and contacts Hi All! We're running Nagios 2.0. According to the doc, when a node is in a scheduled downtime, no notifications are sent for the related services during this time. According to the Nagios GUI, when I simply disable notification for node, notifications for any related services will continue. Is that right so far? We have a number of services where an SMS notifications is sent as well as a trouble ticket is generated (using two different contacts). here are some cases, where we want an SMS notification send, but we do not want a trouble ticket generated. Is there any easy way of doing this? Regards, Jim Mohr ------------------------------------------------------- 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 behrens at mcs.anl.gov Thu Jun 23 19:29:40 2005 From: behrens at mcs.anl.gov (Scott Behrens) Date: Thu, 23 Jun 2005 12:29:40 -0500 Subject: checkcommands.cfg trouble Message-ID: <42BAF184.5090206@mcs.anl.gov> I am defining a check_snmp for two OID's (using a ',' to separate them as requested by the check_snmp comand) the first one is an exit code the second is a description. It seems that the ',' used to separate the two OID's is being replaced by a ' ' in Nagios. Basically what is happening is the ',' is getting replaced witha space. I tried everytning from backslashes to double and single quotes. This is causing the results in nagios to only display the exit code. What needs to change to allow the ',' to stay? -- Scott Behrens Network and Systems Staff Room B-244 1-630-252-4198 Mathematics and Computer Science Division Argonne National Laboratory ------------------------------------------------------- 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 kklein9 at uky.edu Thu Jun 23 20:04:54 2005 From: kklein9 at uky.edu (Kenneth Klein) Date: Thu, 23 Jun 2005 14:04:54 -0400 Subject: [ibm-aix-l] Re: Does gcc and glibc work on AIX 5.3? <-- and installing nagios with gcc?? In-Reply-To: References: Message-ID: <42BAF9C6.5020202@uky.edu> Still don't work. Theres a guy on the nagios list that is having the exact same problem. Hey folks.. Anyone have successfully compiled Nagios and the plugins for AIX 5.x ? I tried the ./configure and works perfectly with no error and tried to compile, but got this error: # make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c In file included from ../include/config.h:220, from broker.c:26: /usr/include/pthread.h:652: error: parse error before '*' token /usr/include/pthread.h:655: error: parse error before '*' token /usr/include/pthread.h:658: error: parse error before '*' token /usr/include/pthread.h:661: error: parse error before '*' token /usr/include/pthread.h:664: error: parse error before '*' token /usr/include/pthread.h:672: error: parse error before '*' token /usr/include/pthread.h:675: error: parse error before '*' token /usr/include/pthread.h:678: error: parse error before '*' token /usr/include/pthread.h:681: error: parse error before '*' token /usr/include/pthread.h:689: error: parse error before '*' token /usr/include/pthread.h:693: error: parse error before '*' token /usr/include/pthread.h:696: error: parse error before '*' token make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Thanks S?bastien Roy I installed gcc, gcc++ libgcc libstdc libstdc-devel and the pth rpms with no problems. I even rebooted the partition. Here's what happens when I try to run make all: root at f2sys1 (1719)[/usr/local/sbin/nagios-2.0b3]# make all cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c In file included from ../include/config.h:220, from broker.c:26: /usr/include/pthread.h:652: error: parse error before '*' token Weird thing now is that the failure is happening on line 652 and before I installed all these rpms it was happening on 582!?!?!?!? root at f2sys1 (1721)[/usr/local/sbin/nagios-2.0b3]# lslpp -L | grep gcc gcc 3.3.2-5 C R GNU Compiler Collection gcc-c++ 3.3.2-5 C R C++ support for GCC (/bin/rpm) libgcc 3.3.2-5 C R GCC compiler dynamic runtime root at f2sys1 (1722)[/usr/local/sbin/nagios-2.0b3]# lslpp -L | grep stdc libstdc++ 3.3.2-5 C R G++ compiler dynamic runtime libstdc++-devel 3.3.2-5 C R Include files and libraries root at f2sys1 (1736)[/usr/local/sbin/nagios-2.0b3]# lslpp -L |grep pth bos.rte.libpthreads 5.3.0.20 C F libpthreads Library pth 1.4.0-2 C R GNU Pth - GNU Portable pth-devel 1.4.0-2 C R GNU Pth - GNU Portable Threads I did indeed use LIBS=-lpthread ./configure (but I have no idea what the first of the command does). o.decorse via ibm-aix-l wrote: > > >for the "/usr/include/pthread.h:582: error: parse error before '*' token-l" error message, you need to install : >- pth-1.4.0-2.aix4.3.ppc.rpm, >- pth-devel.rpm, > >and certainly use : >LIBS=-lpthread ./configure >make > >Olivier. > >-----Message d'origine----- >De : Kenneth Klein via ibm-aix-l [mailto:ibm-aix-l at Groups.ITtoolbox.com] >Envoy? : jeudi 23 juin 2005 15:55 >? : DECORSE Olivier >Objet : [ibm-aix-l] Re: Does gcc and glibc work on AIX 5.3? > > ># Compare Secure Remote Access Options: IPSec VPNs vs. SSL VPNs. ># Aventail white paper: http://www.ITtoolbox.com/i/rd.asp?i=10533 > ># View Group Archive: http://ITtoolbox.com/hrd.asp?i=803 > >What does this mean? : > >using gcc with the vendor C >library. > > >AIX seems to have the "include" library, but I cannot find cc anywhere. > >Trouble is, I get these errors when I try to "make all" of nagios: > >]# make all > cd ./base && make > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c >In file included from ../include/config.h:220, > from broker.c:26: >/usr/include/pthread.h:582: error: parse error before '*' token-l > > >Dan Stromberg via ibm-aix-l wrote: > > >>On Wed, 2005-06-22 at 16:03 -0400, Kenneth Klein via ibm-aix-l wrote: >> >> >>># SAS: The Path to Maximum SATA Scalability >>># Free white paper: http://www.ITtoolbox.com/i/rd.asp?i=10594 >>> >>># View Group Archive: http://ITtoolbox.com/hrd.asp?i=803 >>> >>>Has anyone installed and used gnu gcc and gnu glibc on AIX?? >>> >>> >>> >>> >>In most (nonlinux) cases, you're better off using gcc with the vendor C >>library. >> >>Also, gcc 3.4.x appears to tickle a bug in some versions of the AIX >>linker, which leads to an infinite loop. gcc 3.3.x seems an easy build >>though. I haven't tried gcc 4.0.x on AIX yet. >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Jun 23 22:30:56 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 23 Jun 2005 16:30:56 -0400 (EDT) Subject: checkcommands.cfg trouble In-Reply-To: <42BAF184.5090206@mcs.anl.gov> References: <42BAF184.5090206@mcs.anl.gov> Message-ID: On Thu, 23 Jun 2005, Scott Behrens wrote: > I am defining a check_snmp for two OID's (using a ',' to separate them as > requested by the check_snmp comand) the first one is an exit code the second > is a description. It seems that the ',' used to separate the two OID's is > being replaced by a ' ' in Nagios. Basically what is happening is the ',' > is getting replaced witha space. I tried everytning from backslashes to > double and single quotes. This is causing the results in nagios to only > display the exit code. What needs to change to allow the ',' to stay? > > The plugins argument parser uses a comma as a token to separate multiple oids. However the underlying command "snmpget" or "snmpgetnext" requires the oids to be separated by a space not a comma. So if you run command under verbose mode, you will see the command being generated with spaces. The plugin will print out the text values of both the oids as they were returned. which version of the plugin are you using? -- -sg ------------------------------------------------------- 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 dveldhuisen at bartlesville.oilfield.slb.com Thu Jun 23 22:50:15 2005 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Thu, 23 Jun 2005 15:50:15 -0500 Subject: Nagios printer plugin for Savin printers Message-ID: <6.1.1.1.2.20050623154415.0367a498@pop.nam.slb.com> I am currently running the Nagios 2.0b3 with plugins 1.4. I am looking to see if anyone has written/modified/figured out a way to monitor a Savin printer. I have looked at the check_hpjd plugin and it does not work. It appears to want to talk on the 9100 port and Savin wants to talk on the snmp port. I guess I could do some modifying on the hpjd module, but was wondering if anyone has been down this road before--I just don't like re-inventing the wheel if I don't have to. Searches via google have not turned up anything. The machine does use the printer-mib and the hr-resources mib as well as a their own. Thanks Doug Veldhuisen ------------------------------------------------------- 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 sghosh at sghosh.org Thu Jun 23 23:04:53 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 23 Jun 2005 17:04:53 -0400 (EDT) Subject: Nagios printer plugin for Savin printers In-Reply-To: <6.1.1.1.2.20050623154415.0367a498@pop.nam.slb.com> References: <6.1.1.1.2.20050623154415.0367a498@pop.nam.slb.com> Message-ID: You can try the check_snmp_printer.pl in the contrib dir - it supports HP-mib and print-mib. It needs some additions for multiple paper trays/toner - but the basics work. If can post the savin mib that would be great. -sg On Thu, 23 Jun 2005, Doug Veldhuisen wrote: > > I am currently running the Nagios 2.0b3 with plugins 1.4. I am looking to > see if anyone has written/modified/figured out a way to monitor a Savin > printer. I have looked at the check_hpjd plugin and it does not work. It > appears to want to talk on the 9100 port and Savin wants to talk on the snmp > port. > > I guess I could do some modifying on the hpjd module, but was wondering if > anyone has been down this road before--I just don't like re-inventing the > wheel if I don't have to. Searches via google have not turned up anything. > > The machine does use the printer-mib and the hr-resources mib as well as a > their own. > > Thanks > Doug Veldhuisen > > > ------------------------------------------------------- > 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_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 dveldhuisen at bartlesville.oilfield.slb.com Thu Jun 23 23:40:33 2005 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Thu, 23 Jun 2005 16:40:33 -0500 Subject: Nagios printer plugin for Savin printers In-Reply-To: References: <6.1.1.1.2.20050623154415.0367a498@pop.nam.slb.com> Message-ID: <6.1.1.1.2.20050623163810.03740330@pop.nam.slb.com> Not sure I can post the Savin mib...I got it under an unofficial non-disclosure, pretty please may I have a copy kinda thing. I might get myself in deep doo-doo. Doug At 04:04 PM 6/23/2005, Subhendu Ghosh wrote: >You can try the check_snmp_printer.pl in the contrib dir - it supports >HP-mib and print-mib. It needs some additions for multiple paper >trays/toner - but the basics work. > >If can post the savin mib that would be great. > >-sg > >On Thu, 23 Jun 2005, Doug Veldhuisen wrote: > >> >>I am currently running the Nagios 2.0b3 with plugins 1.4. I am looking >>to see if anyone has written/modified/figured out a way to monitor a >>Savin printer. I have looked at the check_hpjd plugin and it does not >>work. It appears to want to talk on the 9100 port and Savin wants to >>talk on the snmp port. >> >>I guess I could do some modifying on the hpjd module, but was wondering >>if anyone has been down this road before--I just don't like re-inventing >>the wheel if I don't have to. Searches via google have not turned up anything. >> >>The machine does use the printer-mib and the hr-resources mib as well as >>a their own. >> >>Thanks >>Doug Veldhuisen >> >>------------------------------------------------------- >>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_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_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 pla at softflare.com Thu Jun 23 23:50:36 2005 From: pla at softflare.com (Paul L. Allen) Date: Thu, 23 Jun 2005 22:50:36 +0100 Subject: Nagios printer plugin for Savin printers In-Reply-To: <6.1.1.1.2.20050623154415.0367a498@pop.nam.slb.com> References: <6.1.1.1.2.20050623154415.0367a498@pop.nam.slb.com> Message-ID: <20050623215036.6180.qmail@mullet.softflare.net> Doug Veldhuisen writes: > The machine does use the printer-mib and the hr-resources mib as well as a > their own. I knocked up a perl plugin that checks printers using the RFC 3805 MIB. I've not been able to test it on many printers by causing various error conditions to confirm that it gives sensible answers. A couple of HP printers I tried it on gave some spurious answers during the tests. Since HP is pretty clued up I suspect my plugin to be at fault rather than their SNMP implementation, but since the printers were at a remote site and somebody else was doing things like emptying paper trays I don't know for sure if he was doing what I asked him to. If you want to play with it you can have it - you might even spot what mistake I made. -- Paul Allen Softflare Support ------------------------------------------------------- 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 dveldhuisen at bartlesville.oilfield.slb.com Fri Jun 24 00:13:28 2005 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Thu, 23 Jun 2005 17:13:28 -0500 Subject: Nagios printer plugin for Savin printers In-Reply-To: <20050623215036.6180.qmail@mullet.softflare.net> References: <6.1.1.1.2.20050623154415.0367a498@pop.nam.slb.com> <20050623215036.6180.qmail@mullet.softflare.net> Message-ID: <6.1.1.1.2.20050623171220.037da2e8@pop.nam.slb.com> Paul: Sure I would like to take a peek and help test it. Send to the list or to my email . Doug At 04:50 PM 6/23/2005, Paul L. Allen wrote: >Doug Veldhuisen writes: > >>The machine does use the printer-mib and the hr-resources mib as well as >>a their own. > >I knocked up a perl plugin that checks printers using the RFC 3805 MIB. >I've not been able to test it on many printers by causing various error >conditions to confirm that it gives sensible answers. A couple of HP >printers I tried it on gave some spurious answers during the tests. Since >HP is pretty clued up I suspect my plugin to be at fault rather than their >SNMP implementation, but since the printers were at a remote site and >somebody else was doing things like emptying paper trays I don't know for >sure if he was doing what I asked him to. If you want to play with it >you can have it - you might even spot what mistake I made. >-- >Paul Allen >Softflare Support > > > >------------------------------------------------------- >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_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 amontibello at gmail.com Fri Jun 24 07:32:39 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 24 Jun 2005 01:32:39 -0400 Subject: savest way to check Windows 2000/ XP and 2003 systems In-Reply-To: <806f904f050623065471d2c300@mail.gmail.com> References: <806f904f050623062926aac146@mail.gmail.com> <42BABD2A.9000707@comline.de> <806f904f050623065471d2c300@mail.gmail.com> Message-ID: NC_Net - must be configured to run passive checks and use the external win32client of NSCA in order to support Encryption methods... Without Win32Client of NSCA NC_Net's internal send_NSCA only supports Xor. As for active checks NC_Net does not support Encryption but it can validate that the check_nt request is comming from a particular host IP. Hope this Helps Tony On 6/23/05, Daniel Szortyka wrote: > Yes!!! > > When you configure a NSCA daemon on linux you configure a password and > a encryption method... after... you configure the same thing on > windows machine, the same config file practically. > > In NC_Net you configure the services that you will check... > And "send_nsca" will make the comunication with nagios server.] > > Regards, > Daniel > > On 6/23/05, Ralf Prengel wrote: > > Daniel Szortyka wrote: > > > Ralf, > > > > > > You can use two plugins together, a NSCA (daemon) that runs in you > > > nagios server listening on a defined port. After this you configure a > > > NC_Net plugin on your machine windows and configure it. After, you > > > will have to configure the NSCA Client on windows, this client will do > > > the comunication with nagios server and sent it the result of a > > > service monitored. > > > > Ok, > > > > I will check this. > > One question: > > Are the results crypted to be protected against sniffing on the > > "transport" in the net? > > > > Ralf > > > > > > ------------------------------------------------------- > > 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&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 sushildeshmukh at sqtl.com Fri Jun 24 10:16:30 2005 From: sushildeshmukh at sqtl.com (sushilatsqtl) Date: Fri, 24 Jun 2005 13:46:30 +0530 Subject: Audio Alerts Message-ID: <1119600989.19107.11.camel@pluto.intraosl.com> Hi, I am using nagios to monitor different services on 5 servers. If any of the service goes down i wanted to play a audio file & sms to be send to a cell phone (for eg. 99674545). I wanted to know how to define contact for sending sms on cell. for e.g define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host_notification_commands host-notify-by-epager email nagiosadmin at pluto.intraosl.com pager pagenagios-admin at localhost.localdomain } what needs to be written in pager tag (Is it 99674545 at pc-to-phone.com?) in the above defination. Does anybody can throw some light in this regard. Thanks & warm regards sushil ------------------------------------------------------- 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 mike.simkins at gmail.com Fri Jun 24 11:39:34 2005 From: mike.simkins at gmail.com (Mike Simkins) Date: Fri, 24 Jun 2005 10:39:34 +0100 Subject: how to check MS Exchange webaccess page In-Reply-To: <42BA9F6E.2050804@mail.isis.de> References: <42BA98CF.2000701@comline.de> <42BA9F6E.2050804@mail.isis.de> Message-ID: Try check_http -H company.de -u /exchange Mike On 23/06/05, Christian Schlettig wrote: > Hello, > > Ralf Prengel schrieb: > > > Hallo, > > > > I try to check a webexchnagepage using check_http. > > Checking company.de is working fine but how can I check > > company.de/exchange. > > The error message > > Invalid host name 'http://www.company.de/exchange' > > Unable to open TCP socket > > > don't remember the exact parameter, but you have to supply two arguments. > One for servername and > another one for the path you would like to retrive. > > try check_http --help > > Cheers, > Christian > > > ------------------------------------------------------- > 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 ralf.prengel at comline.de Fri Jun 24 14:48:33 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Fri, 24 Jun 2005 14:48:33 +0200 Subject: best way to alert if an event is positive? Message-ID: <42BC0121.4080802@comline.de> Hallo, the problem. I ve several old system with installed telnet and ftp. These services should not be active under normale circumstances but the must be installed because of "historical reasons". So my question is how to observe these services (check connection from the nadios server with a plugin _, check for the processes on the system etc,? ) and how to configure nagios to alert on a "working" event. 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_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 rzambon at sjprep.org Fri Jun 24 15:01:49 2005 From: rzambon at sjprep.org (J. Ryan Zambon) Date: Fri, 24 Jun 2005 09:01:49 -0400 Subject: NAGIOS start issues Message-ID: <200506240901.AA67109154@mail.sjprep.org> Nagios v2.0b3 Fedora Core 3 Hi. I've just installed NAGIOS on a Fedora box with all of the defaults. I've configured my hosts.cfg, etc. files, downloaded and installed plugins to $NAGIOSHOME/libexec, and I'm ready to start the program. When I verify my configuration, I get this: ############################################################ [root at NAGIOS ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cf g 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 11 services. Checking hosts... Checked 11 hosts. Checking host groups... Checked 6 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 1 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 1 host escalations. Checking host dependencies... Checked 1 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 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: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ############################################################ Yet, when I go to run the program as a foreground process, I get this message: ############################################################ [root at NAGIOS ~]# /usr/local/nagios/bin/nagios /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 Nagios 2.0b3 starting... (PID=13926) Bailing out due to one or more errors encountered in the configuration files. R un Nagios from the command line with the -v option to verify your config before restarting. (PID=13926) ############################################################ I'm not exactly sure why. When I try to run it as a daemon, it seems to start, but i cant see it with "ps -ef|grep nagios". Same deal if I try to start it from the 'init.d' directory. Thanks for your help, Ryan ________________________________________________________________ Sent via the WebMail system at mail.sjprep.org ------------------------------------------------------- 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 Fri Jun 24 16:14:03 2005 From: marc at ena.com (Marc Powell) Date: Fri, 24 Jun 2005 09:14:03 -0500 Subject: best way to alert if an event is positive? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ralf Prengel > Sent: Friday, June 24, 2005 7:49 AM > To: nagios_list > Subject: [Nagios-users] best way to alert if an event is positive? > > Hallo, > > the problem. > I ve several old system with installed telnet and ftp. > These services should not be active under normale circumstances but the > must be installed because of "historical reasons". > So my question is how to observe these services (check connection from > the nadios server with a plugin _, check for the processes on the system > etc,? ) and how to configure nagios to alert on a "working" event. What do you mean by active? If they're not supposed to be listening then you could use check_tcp/check_ftp with the negate wrapper to return OK if they're not listening on their respective ports and CRITICAL if they are. If you need a more specific test you'll need to describe more specifically what you're looking for. -- 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 marc at ena.com Fri Jun 24 16:17:39 2005 From: marc at ena.com (Marc Powell) Date: Fri, 24 Jun 2005 09:17:39 -0500 Subject: Audio Alerts Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of sushilatsqtl > Sent: Friday, June 24, 2005 3:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Audio Alerts > > Hi, > > I am using nagios to monitor different services on 5 servers. If any of > the service goes down i wanted to play a audio file & sms to be send to > a cell phone (for eg. 99674545). > > I wanted to know how to define contact for sending sms on cell. > for e.g > define contact{ > contact_name nagios > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email,notify-by-epager > host_notification_commands > host_notification_commands host-notify-by-epager > email nagiosadmin at pluto.intraosl.com > pager > pagenagios-admin at localhost.localdomain > } > > what needs to be written in pager tag (Is it 99674545 at pc-to-phone.com?) > in the above defination. That depends entirely on what the program you're using to send the SMS alert is, the format it is expecting and how you have your *notify-by-epager commands defined. These FAQ entries might help -- http://www.nagios.org/faqs/viewfaq.php?faq_id=279&expand=false&showdesc= true http://www.nagios.org/faqs/viewfaq.php?faq_id=65&expand=false&showdesc=t rue http://www.nagios.org/faqs/viewfaq.php?faq_id=113&expand=false&showdesc= true -- 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 sivan.deray at net-aptitude.fr Fri Jun 24 18:36:50 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Fri, 24 Jun 2005 18:36:50 +0200 Subject: Check_dummy plugin Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45CF2A@srv-nap-atlas-1.net-aptitude.fr> Hi, I have W2K servers which are sending via nsca Windows Event logs. When i get these alerts on Nagios web console, i get an email. What i'd like to be done would be to let the status to critical when a critical event is sent. I'm using check_dummy plugin -- $USER1$/check_dummy $ARG1$ What is more, is it possible to let this status to critical and to be notified again if a new critical event is sent ? Thanks for help Sivan DERAY IT Security -------------- next part -------------- An HTML attachment was scrubbed... URL: From kindy_s at yahoo.fr Fri Jun 24 19:42:18 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Fri, 24 Jun 2005 19:42:18 +0200 (CEST) Subject: Help on CHECK_NRPE: Received 0 bytes from daemon. Message-ID: <20050624174218.20616.qmail@web26909.mail.ukl.yahoo.com> Hello, I am trying to monitor remote host using nrpe and i am having the following : CHECK_NRPE: Received 0 bytes from daemon. On the remote host, nrpe is listening on port 5666. netstat -pta return ... tcp 0 0 *:nrpe *:* LISTEN 3088/nrpe tcp 0 0 monedia:42670 *:* LISTEN 3414/xinetd The nrpe is running as standalone daemon. No way to run it under xinetd. I tried everything i know, followed all the steps. I am using nrpe-2.0b5 and nagios1-2 on mandrake linux 10.1. I hope someone can help!!!! Thanks in advance, 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 ------------------------------------------------------- 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 Fri Jun 24 20:07:28 2005 From: marc at ena.com (Marc Powell) Date: Fri, 24 Jun 2005 13:07:28 -0500 Subject: Check_dummy plugin Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sivan DERAY > Sent: Friday, June 24, 2005 11:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_dummy plugin > > Hi, > > I have W2K servers which are sending via nsca Windows Event logs. > When i get these alerts on Nagios web console, i get an email. > > What i'd like to be done would be to let the status to critical when a > critical event is sent. Sounds reasonable. Have whatever program is sending the alerts to NSCA use the proper status code. > I'm using check_dummy plugin -- $USER1$/check_dummy $ARG1$ I'm not certain how this come into play unless you're performing freshness checks. > > What is more, is it possible to let this status to critical and to be > notified again if a new critical event is sent ? You're probably looking for the is_volatile option in your service definition. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service The way to handle SNMP traps is almost identical to what you're doing so those docs may be useful as well -- http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html -- 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 marc at ena.com Fri Jun 24 20:13:22 2005 From: marc at ena.com (Marc Powell) Date: Fri, 24 Jun 2005 13:13:22 -0500 Subject: Help on CHECK_NRPE: Received 0 bytes from daemon. Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kindy Sylla > Sent: Friday, June 24, 2005 12:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from daemon. > > Hello, > I am trying to monitor remote host using nrpe and i am > having the following : CHECK_NRPE: Received 0 bytes > from daemon. > > On the remote host, nrpe is listening on port 5666. > netstat -pta return > ... > tcp 0 0 *:nrpe *:* > LISTEN 3088/nrpe > tcp 0 0 monedia:42670 *:* > LISTEN 3414/xinetd > > The nrpe is running as standalone daemon. No way to > run it under xinetd. I tried everything i know, > followed all the steps. > I am using nrpe-2.0b5 and nagios1-2 on mandrake linux > 10.1. > I hope someone can help!!!! Is your nagios host listed as an allowed_hosts in nrpe.cfg? Can you manually telnet from your nagios host to your nrpe host on port 5666? Have you tried enabling debug in nrpe.cfg? If the first two are correct, the last should direct you to what you need to fix. -- 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 ray.ward at mapfusion.com Fri Jun 24 20:13:09 2005 From: ray.ward at mapfusion.com (Ray Ward) Date: Fri, 24 Jun 2005 14:13:09 -0400 Subject: Intelligent way to apply MANY service dependancys? Message-ID: <200506241813.j5OIDHo28279@qube3.mapfusion.com> Hi, I have been using Nagios for a long time but have just switched to Nagios v2.0b3 and I'm re-working my config files a little bit. A large portion of my monitoring is done via the NRPE plugins. And a large portion of the NRPE checks are common across all of the machines. So my structure is as follows I have all of the Sun servers in a hostgroup SUN-Servers, I have definitions for about 8 common NRPE checks that are assigned to the SUN-Servers hostgroup. So far so good, with very little in the way of definitions I have 100's of checks defined. Now to my problem, I would like to define a service dependancy for all NRPE services to be dependant on one check_nrpe_daemon check. So when the daemon is down I don't receive multiple alerts for every NRPE check. So I'd like to get the equivalent of this: define servicedependency{ dependent_host_name DBDEV dependent_service_description / Root Slice host_name DBDEV service_description Check NRPE inherits_parent 1 execution_failure_criteria o,w,u,c,p notification_failure_criteria o,w,u,c,p } For every common NRPE service for every host in the SUN-Servers group. Now if I use the SUN-Servers hostgroup in the servicedependency definition it makes every NRPE service dependant on EVERY host's NRPE Daemon this obviously isn't what I want. The best solution I have to this problem is to NOT send notifications for UNKNOWN service checks for every NRPE check except the daemon check. But I'd like to know if there's a better way to apply service dependany's in this situation. Thanks in advance for any help. PS. Below I've included the relevant entries for one host/NRPE check definitions. Ray, define service { use generic-diskcheck hostgroup_name SUN-Servers service_description Check NRPE check_command check_nrpe_daemon } define service { use generic-diskcheck hostgroup_name SUN-Servers service_description / Root Slice check_command check_nrpe!check_disk1! } define service{ name generic-diskcheck use generic-service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups office-admins notification_interval 1440 notification_period 8x5 notification_options w,u,c,r register 0 } define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define hostgroup{ hostgroup_name SUN-Servers alias All SUN Solaris Servers } define host{ name generic-dev-host parents MFSW_SVR01 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 10 notification_interval 60 notification_period 8x5 notification_options d,u,r hostgroups DEV-Servers,Office,SUN-Servers contact_groups office-admins register 0 } define host { use generic-dev-host host_name DBDEV alias Development ColdFusion & Oracle address dbdev.mapfusion.com } _______________________________ Ray Ward System Administrator MapFusion Technologies Inc. mailto:ray.ward at mapfusion.com http://www.mapfusion.com _______________________________ NOTICE: This message is intended only for the use of the individual or entity to which it is addressed; and it, including any attachments, may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please delete it from your system without copying or forwarding it and notify us by telephone (905-709-1925) or by return e-mail immediately. MapFusion Corp. and its affiliated companies do not accept responsibility or liability for any loss or damage arising in any way from your receipt or use or for any errors or omissions in the contents of this communication. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Fri Jun 24 20:17:56 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Fri, 24 Jun 2005 11:17:56 -0700 Subject: question concerning removing rrd entries for nagios-grapher Message-ID: <59B15593F41BD24591D59436E7226EAD02151C35@Khiphx2.khimetrics.com> I am using Nagios-Grapher and it's an excellent tool. I however have been changing some service names now that I'm using it to a syntax and there are graphs with the old names that I no longer need. I can delete those graphs, but the listings are still in graphs.cfg and obviously give an error that they cannot be found. How should I remove graphs that I no longer need? I have yet to remove a host, and I wonder if those would be left as well. Thank you. Nathan Oyler Information Technology 480-308-2342 Office Khimetrics Inc. Maximizing Sales & Profit Revenue Management from Khimetrics ------------------------------------------------------- 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 rzambon at sjprep.org Fri Jun 24 20:47:08 2005 From: rzambon at sjprep.org (J. Ryan Zambon) Date: Fri, 24 Jun 2005 14:47:08 -0400 Subject: Permissions?? Message-ID: <200506241447.AA67764478@mail.sjprep.org> Hi again, I tailed my system and it seems like there's a permission problem. What should I fix? [See below]. Thanks! J. Ryan Zambon rzambon at sjprep.org Jun 24 14:40:06 nagios kernel: audit(1119638406.337:0): avc: denied { execute } for pid=3621 exe=/usr/sbin/httpd name=status.cgi dev=dm-0 ino=2641216 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 24 14:40:09 nagios kernel: audit(1119638409.206:0): avc: denied { execute } for pid=3622 exe=/usr/sbin/httpd name=status.cgi dev=dm-0 ino=2641216 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 24 14:40:09 nagios kernel: audit(1119638409.799:0): avc: denied { execute } for pid=3623 exe=/usr/sbin/httpd name=status.cgi dev=dm-0 ino=2641216 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 24 14:40:10 nagios kernel: audit(1119638410.309:0): avc: denied { execute } for pid=3624 exe=/usr/sbin/httpd name=status.cgi dev=dm-0 ino=2641216 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 24 14:40:11 nagios kernel: audit(1119638411.000:0): avc: denied { execute } for pid=3625 exe=/usr/sbin/httpd name=status.cgi dev=dm-0 ino=2641216 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 24 14:40:11 nagios kernel: audit(1119638411.470:0): avc: denied { execute } for pid=3626 exe=/usr/sbin/httpd name=status.cgi dev=dm-0 ino=2641216 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 24 14:41:13 nagios kernel: audit(1119638473.373:0): avc: denied { execute } for pid=3631 exe=/usr/sbin/httpd name=status.cgi dev=dm-0 ino=2641216 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 24 14:43:37 nagios kernel: audit(1119638617.172:0): avc: denied { execute } for pid=3643 exe=/usr/sbin/httpd name=extinfo.cgi dev=dm-0 ino=2641210 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file ________________________________________________________________ Sent via the WebMail system at mail.sjprep.org ------------------------------------------------------- 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 Jamie_Bohr at Agilent.com Fri Jun 24 20:52:52 2005 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Fri, 24 Jun 2005 12:52:52 -0600 Subject: notifications are missing information Message-ID: <1119639172.5098.41.camel@incredibles> I just upgraded to Nagios 2b3 and have found that notifications are not missing information. For example Date/Time and Additional information are missing information: ***** Nagios ***** Notification Type: ACKNOWLEDGEMENT Service: httpd Host: xxx Address: XXXXXXX State: WARNING Date/Time: $ Additional Info: $ I use the default command to notify: define command { command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } I have searched to list archive but have not found any thing that guides me to an answer. The addition information shows up as comments on the web page. Please point me in the right direction. Jamie Bohr IT | Technical Computing telnet: 719 590 2396 email: Jamie_Bohr at Agilent.com i.m.: jamie.bohr The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From listas at dud.com.br Fri Jun 24 17:58:44 2005 From: listas at dud.com.br (Roberto Dud (listas)) Date: Fri, 24 Jun 2005 15:58:44 +0000 Subject: Network Management Message-ID: <42BC2DB4.3060401@dud.com.br> Mrs, I have a question. What's the better solution to network management, Nagios and MRTG/RRDTOOL? Have other solutions? Is a big network, Wans e Lans, Clusters, many ATM links, some servers. Thank's, Dud. ------------------------------------------------------- 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 andrew at profitability.net Fri Jun 24 21:00:53 2005 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 24 Jun 2005 15:00:53 -0400 Subject: Network Management In-Reply-To: <42BC2DB4.3060401@dud.com.br> References: <42BC2DB4.3060401@dud.com.br> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Mrs, > > I have a question. What's the better solution to network > management, Nagios and MRTG/RRDTOOL? Have other solutions? You might have a look at Cacti -- it's a fantastic frontend to RRDTool. Cacti in concert with Nagios makes for a very powerful monitoring and trending package. Andrew ------------------------------------------------------- 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 seppy at chartermi.net Fri Jun 24 21:03:45 2005 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 24 Jun 2005 15:03:45 -0400 (EDT) Subject: Host Notifications Disappearing Message-ID: Hi Folks: I'm running a distributed nagios 1.2 configuration, and I had a couple of host notifications that never showed up. I was doing escalation testing today, and everything worked. I regenerated configurations with the correct IP's so that the device would show up again. The logs detect that it came back up but no notifications were received and the notification history cgi shows nothing either. The template I'm using has that this device type should notify from both a remote monitoring host, and a parent aggregate host. On both servers it did not notify. It is configured to notify on d,u,r. The following are a sample of the logs Jun 24 13:52:23 host nagios: Warning: Host check command 'check-host-alive' for host 'testhost' timed out after 10 seconds Jun 24 13:54:22 host nagios: HOST NOTIFICATION: test;testhost;DOWN;host-notify-by-email;(No Information Returned From Host Check) Jun 24 14:07:24 host nagios: Warning: Host check command 'check-host-alive' for host 'testhost' timed out after 10 seconds Jun 24 14:22:23 host nagios: Warning: Host check command 'check-host-alive' for host 'testhost' timed out after 10 seconds Jun 24 14:24:25 host nagios: HOST ALERT: testhost;UP;HARD;2;(Host assumed to be up) No host notification. The server would have been restarted to get the updated host IP, so when it started back up, it assumed it was up... Any ideas. Servers are running version 1.2. Brian Seppanen seppy at chartermi.net 608.826.1464 ------------------------------------------------------- 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 Fri Jun 24 21:02:50 2005 From: marc at ena.com (Marc Powell) Date: Fri, 24 Jun 2005 14:02:50 -0500 Subject: notifications are missing information Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jamie Bohr > Sent: Friday, June 24, 2005 1:53 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notifications are missing information > > I just upgraded to Nagios 2b3 and have found that notifications are not > missing information. > > For example Date/Time and Additional information are missing information: > > > ***** Nagios ***** > > Notification Type: ACKNOWLEDGEMENT > > Service: httpd > Host: xxx > Address: XXXXXXX > State: WARNING > > Date/Time: $ > > Additional Info: > > $ > > I use the default command to notify: > > > > define command { > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | > /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > I have searched to list archive but have not found any thing that guides > me to an answer. The addition information shows up as comments on the web > page. Please point me in the right direction. I'm surprised.... It's come up at least a dozen times in the past couple of months on the list. >From the file UPGRADING -- "Upgrading to Nagios 2.0 ----------------------- If you're upgrading from Nagios 1.0, there will be a few modifications that you'll need to make to your config files. Read the "What's New" section of the HTML documentation for more information." >From the 'What's New' section of the HTML documentation -- http://nagios.sourceforge.net/docs/2_0/whatsnew.html "1. Macro Changes - Macros have undergone a major overhaul. You will have to update most of your command definitions to match the new macros. Most macros are now available as environment variables. Also, "on-demand" host and service macros have been added. See the documentation on macros for more information." -- 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 mandrews at dkp.com Fri Jun 24 21:07:42 2005 From: mandrews at dkp.com (Mark Andrews) Date: Fri, 24 Jun 2005 15:07:42 -0400 Subject: notifications are missing information In-Reply-To: <1119639172.5098.41.camel@incredibles> References: <1119639172.5098.41.camel@incredibles> Message-ID: <42BC59FE.9070503@dkp.com> Jamie Bohr wrote: > I just upgraded to Nagios 2b3 and have found that notifications are > not missing information. > > For example Date/Time and Additional information are missing information: > >***** Nagios ***** > >Notification Type: ACKNOWLEDGEMENT > >Service: httpd >Host: xxx >Address: XXXXXXX >State: WARNING > >Date/Time: $ > >Additional Info: > >$ > > > > I use the default command to notify: > >define command { > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >} > > > > I have searched to list archive but have not found any thing that > guides me to an answer. The addition information shows up as comments > on the web page. Please point me in the right direction. In the 'notify-by-email' command, change $OUTPUT$ to $SERVICEOUTPUT$. In the 'host-notify-by-email' command, change $OUTPUT$ to $HOSTOUTPUT$. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladams at cloudmark.com Fri Jun 24 21:48:38 2005 From: ladams at cloudmark.com (Lori Adams) Date: Fri, 24 Jun 2005 12:48:38 -0700 Subject: Help on CHECK_NRPE: Received 0 bytes from daemon. Message-ID: I just started getting this same error. For me it has to do with what the argument is that I'm passing to nrpe. I'm attempting to pass a string with '[' or ']' and I get this error: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I haven't figured out where the log is yet to check for error messages. If the string I pass does not have those brackets, it works. I have tried escaping the brackets to no avail. Thoughts? -Lori -----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 24, 2005 11:13 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from daemon. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kindy Sylla > Sent: Friday, June 24, 2005 12:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from daemon. > > Hello, > I am trying to monitor remote host using nrpe and i am > having the following : CHECK_NRPE: Received 0 bytes > from daemon. > > On the remote host, nrpe is listening on port 5666. > netstat -pta return > ... > tcp 0 0 *:nrpe *:* > LISTEN 3088/nrpe > tcp 0 0 monedia:42670 *:* > LISTEN 3414/xinetd > > The nrpe is running as standalone daemon. No way to > run it under xinetd. I tried everything i know, > followed all the steps. > I am using nrpe-2.0b5 and nagios1-2 on mandrake linux > 10.1. > I hope someone can help!!!! Is your nagios host listed as an allowed_hosts in nrpe.cfg? Can you manually telnet from your nagios host to your nrpe host on port 5666? Have you tried enabling debug in nrpe.cfg? If the first two are correct, the last should direct you to what you need to fix. -- 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_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 kindy_s at yahoo.fr Fri Jun 24 23:32:27 2005 From: kindy_s at yahoo.fr (Kindy Sylla) Date: Fri, 24 Jun 2005 23:32:27 +0200 (CEST) Subject: Help on CHECK_NRPE: Received 0 bytes from daemon. In-Reply-To: References: Message-ID: <20050624213227.26651.qmail@web26907.mail.ukl.yahoo.com> Hi, > Is your nagios host listed as an allowed_hosts in > nrpe.cfg? YES it is. >Can you manually telnet from your nagios host to your nrpe host on port 5666? NO . The nagios host tries to connect on the port and is directly disconnected! > Have you tried enabling debug in nrpe.cfg? I did set it in the nrpe.cfg. But I don't see any debug info!!!! If the first two are correct Not yet ! > the last should direct you to what you need to fix. > > -- > Marc > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > inform --- Marc Powell a ?crit : > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Kindy > Sylla > > Sent: Friday, June 24, 2005 12:42 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Help on CHECK_NRPE: > Received 0 bytes from > daemon. > > > > Hello, > > I am trying to monitor remote host using nrpe and > i am > > having the following : CHECK_NRPE: Received 0 > bytes > > from daemon. > > > > On the remote host, nrpe is listening on port > 5666. > > netstat -pta return > > ... > > tcp 0 0 *:nrpe *:* > > LISTEN 3088/nrpe > > tcp 0 0 monedia:42670 *:* > > LISTEN 3414/xinetd > > > > The nrpe is running as standalone daemon. No way > to > > run it under xinetd. I tried everything i know, > > followed all the steps. > > I am using nrpe-2.0b5 and nagios1-2 on mandrake > linux > > 10.1. > > I hope someone can help!!!! > > Is your nagios host listed as an allowed_hosts in > nrpe.cfg? Can you > manually telnet from your nagios host to your nrpe > host on port 5666? > Have you tried enabling debug in nrpe.cfg? If the > first two are correct, > the last should direct you to what you need to fix. > > -- > 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 > ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.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 james at lovedthanlost.net Sat Jun 25 05:06:02 2005 From: james at lovedthanlost.net (James Turnbull) Date: Sat, 25 Jun 2005 13:06:02 +1000 Subject: Servicegroups bug Message-ID: <42BCCA1A.6000909@lovedthanlost.net> Hi all When you have servicegroups directives defined in your services and no service groups defined then I have noted that Nagios 2.0b3 fails with a Segmentation Fault when you try to start the server. The problem seems to go away if you define the require service groups. Any one else seen this issue? Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- 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 b00mer at gmx.net Sat Jun 25 07:31:44 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Sat, 25 Jun 2005 07:31:44 +0200 Subject: NAGIOS start issues In-Reply-To: <200506240901.AA67109154@mail.sjprep.org> References: <200506240901.AA67109154@mail.sjprep.org> Message-ID: <42BCEC40.6060903@gmx.net> Try to check the file permissions, check with which user your nagios should run and so on. J. Ryan Zambon schrieb: >Nagios v2.0b3 >Fedora Core 3 > >Hi. I've just installed NAGIOS on a Fedora box with all of the defaults. I've configured my hosts.cfg, etc. files, downloaded and installed plugins to $NAGIOSHOME/libexec, and I'm ready to start the program. When I verify my configuration, I get this: > >############################################################ >[root at NAGIOS ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cf g > >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 11 services. >Checking hosts... > Checked 11 hosts. >Checking host groups... > Checked 6 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 1 service escalations. >Checking service dependencies... > Checked 0 service dependencies. >Checking host escalations... > Checked 1 host escalations. >Checking host dependencies... > Checked 1 host dependencies. >Checking commands... > Checked 22 commands. >Checking time periods... > Checked 4 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: 0 >Total Errors: 0 > >Things look okay - No serious problems were detected during the pre-flight check >############################################################ > > >Yet, when I go to run the program as a foreground process, I get this message: > >############################################################ >[root at NAGIOS ~]# /usr/local/nagios/bin/nagios /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 > >Nagios 2.0b3 starting... (PID=13926) >Bailing out due to one or more errors encountered in the configuration files. R un Nagios from the command line with the -v option to verify your config before restarting. (PID=13926) >############################################################ > >I'm not exactly sure why. When I try to run it as a daemon, it seems to start, but i cant see it with "ps -ef|grep nagios". Same deal if I try to start it from the 'init.d' directory. > >Thanks for your help, > >Ryan > > > > >________________________________________________________________ >Sent via the WebMail system at mail.sjprep.org > > > > > > >------------------------------------------------------- >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_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 jnichols at pbp.net Sat Jun 25 19:50:16 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Sat, 25 Jun 2005 10:50:16 -0700 Subject: Notifications @ Cingular...[SOLVED[ In-Reply-To: References: Message-ID: <42BD9958.4010503@pbp.net> > Having recently switched service to Cingular, I'm now getting bitten by > the "Uh oh, Nagios notifications come in 2 parts" issue. > > Has anyone successfully pared down the messages to fit into 1 SMS > message? If so, how'd you do it? I saw some talk about this before on > the list but didn't recall seeing a resolution. > in misccommands.cfg: # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Date: $DATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ } .... works fine. It fits into 1 message now, and my next phone bill won't be 5 billion dollars. :) ------------------------------------------------------- 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 jnichols at pbp.net Sat Jun 25 20:14:59 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Sat, 25 Jun 2005 11:14:59 -0700 Subject: MegaRAID Enterprise 1500 RAID controller Message-ID: <42BD9F23.8080600@pbp.net> I have a MegaRAID controller "MegaRAID Enterprise 1500 (Series 467)" card in a Dell PowerEdge 6350. Thing is, it's *not* an actual Dell PERC controller, and I haven't been able to get the generic check_raid or the other Dell specific plugins from nagiosexchange to work. I was wondering if anyone had seen any of these cards before.. Apparantly I can flash it with some Dell firmware but considering that it's a production machine, I'd rather not hose the controller. :) Here's the relevant dmesg output: megaraid: v1.18k (Release Date: Thu Aug 28 10:05:11 EDT 2003) megaraid: found 0x8086:0x1960:idx 0:bus 2:slot 1:func 1 scsi3 : Found a MegaRAID controller at 0xf880a000, IRQ: 19 megaraid: [H795:2.03] detected 1 logical drives megaraid: channel[1] is raid. megaraid: channel[2] is raid. megaraid: channel[3] is raid. megaraid: channel[4] is raid. scsi3 : LSI Logic MegaRAID H795 254 commands 15 targs 7 chans 7 luns scsi3: scanning virtual channel 0 for logical drives. Vendor: MegaRAID Model: LD0 RAID1 17365R Rev: H795 Type: Direct-Access ANSI SCSI revision: 02 scsi3: scanning physical channel 0 for devices. Vendor: DELL Model: 1x3 U2W SCSI BP Rev: 5.35 Type: Processor ANSI SCSI revision: 02 scsi3: scanning physical channel 1 for devices. scsi3: scanning physical channel 2 for devices. scsi3: scanning physical channel 3 for devices. Attached scsi disk sda at scsi3, channel 0, id 0, lun 0 SCSI device sda: 35563520 512-byte hdwr sectors (18209 MB) Partition check: /dev/scsi/host3/bus0/target0/lun0: p1 p2 p3 es1371: version v0.32 time 15:11:54 Apr 26 2005 ------------------------------------------------------- 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 Sat Jun 25 20:28:11 2005 From: al at its-lehmann.de (Arno Lehmann) Date: Sat, 25 Jun 2005 20:28:11 +0200 Subject: MegaRAID Enterprise 1500 RAID controller In-Reply-To: <42BD9F23.8080600@pbp.net> References: <42BD9F23.8080600@pbp.net> Message-ID: <42BDA23B.4090208@its-lehmann.de> Have you tried the tools from LSI? I don't know which controller you have, but four channels sounds not uncommon, and perhaps you can build a script around LSIs management tools. Arno Jonathan Nichols wrote: > I have a MegaRAID controller "MegaRAID Enterprise 1500 (Series 467)" > card in a Dell PowerEdge 6350. > Thing is, it's *not* an actual Dell PERC controller, and I haven't been > able to get the generic check_raid or the other Dell specific plugins > from nagiosexchange to work. > > I was wondering if anyone had seen any of these cards before.. > > Apparantly I can flash it with some Dell firmware but considering that > it's a production machine, I'd rather not hose the controller. :) > > Here's the relevant dmesg output: > > megaraid: v1.18k (Release Date: Thu Aug 28 10:05:11 EDT 2003) > megaraid: found 0x8086:0x1960:idx 0:bus 2:slot 1:func 1 > scsi3 : Found a MegaRAID controller at 0xf880a000, IRQ: 19 > megaraid: [H795:2.03] detected 1 logical drives > megaraid: channel[1] is raid. > megaraid: channel[2] is raid. > megaraid: channel[3] is raid. > megaraid: channel[4] is raid. > scsi3 : LSI Logic MegaRAID H795 254 commands 15 targs 7 chans 7 luns > scsi3: scanning virtual channel 0 for logical drives. > Vendor: MegaRAID Model: LD0 RAID1 17365R Rev: H795 > Type: Direct-Access ANSI SCSI revision: 02 > scsi3: scanning physical channel 0 for devices. > Vendor: DELL Model: 1x3 U2W SCSI BP Rev: 5.35 > Type: Processor ANSI SCSI revision: 02 > scsi3: scanning physical channel 1 for devices. > scsi3: scanning physical channel 2 for devices. > scsi3: scanning physical channel 3 for devices. > Attached scsi disk sda at scsi3, channel 0, id 0, lun 0 > SCSI device sda: 35563520 512-byte hdwr sectors (18209 MB) > Partition check: > /dev/scsi/host3/bus0/target0/lun0: p1 p2 p3 > es1371: version v0.32 time 15:11:54 Apr 26 2005 > > > > ------------------------------------------------------- > 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 jnichols at pbp.net Sun Jun 26 05:00:22 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Sat, 25 Jun 2005 20:00:22 -0700 Subject: MegaRAID Enterprise 1500 RAID controller In-Reply-To: <42BDA23B.4090208@its-lehmann.de> References: <42BD9F23.8080600@pbp.net> <42BDA23B.4090208@its-lehmann.de> Message-ID: <42BE1A46.3050309@pbp.net> Arno Lehmann wrote: > Have you tried the tools from LSI? > > I don't know which controller you have, but four channels sounds not > uncommon, and perhaps you can build a script around LSIs management tools. > I haven't tried any because I really can't find any. :-( I did look, but came up empty handed. ------------------------------------------------------- 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 mathwig at gmx.de Sun Jun 26 08:52:31 2005 From: mathwig at gmx.de (Lars Mathwig) Date: Sun, 26 Jun 2005 08:52:31 +0200 Subject: MegaRAID Enterprise 1500 RAID controller References: <42BD9F23.8080600@pbp.net> <42BDA23B.4090208@its-lehmann.de> <42BE1A46.3050309@pbp.net> Message-ID: <002401c57a1b$a5e65ad0$0100a8c0@athlon> MegaRC (command-line) and MegaMGR (interactive) you can download at: http://www.lsilogic.com/downloads/downloads.do?product=8069 ----- Original Message ----- From: "Jonathan Nichols" To: "Arno Lehmann" Cc: Sent: Sunday, June 26, 2005 5:00 AM Subject: Re: [Nagios-users] MegaRAID Enterprise 1500 RAID controller > Arno Lehmann wrote: >> Have you tried the tools from LSI? >> >> I don't know which controller you have, but four channels sounds not >> uncommon, and perhaps you can build a script around LSIs management >> tools. >> > > I haven't tried any because I really can't find any. :-( I did look, but > came up empty handed. > > > > ------------------------------------------------------- > 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_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 Sun Jun 26 13:14:17 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 26 Jun 2005 13:14:17 +0200 Subject: Is there a SQL Plugin In-Reply-To: <20050622212434.18738.qmail@mullet.softflare.net> References: <200506221654.51218.goldenhawk@rogers.com> <20050622212434.18738.qmail@mullet.softflare.net> Message-ID: <42BE8E09.5090500@op5.se> Trivia time. :) Paul L. Allen wrote: > Daniel Benoy writes: > >> SQL is just a Database language.. > > > True. > SQL = Structured Query Language. It's connected with databases only by coincidense, just like any UNIX OS could have apps written in Pascal rather than C. >> There are many programs which use the SQL language, including mysql, >> oracle and postgresql. > > > Not entirely true. Each database has its own proprietary extensions. That > said, I cannot conceive of any *sane* system where a plugin would need to > check the functioning of those proprietary features rather than performing > a simpler check of access to a particular table or record. > There's also ANSI SQL. Most (all?) RDBM's servers implement a superset of the required parts of the language, and the various dialects all use the same "grammar". Not all the big ones implement all the optional parts of the ANSI SQL (MySQL f.e.). >> The reason why a plugin refers specifically to mysql is because each >> database server has its own independant protocol for transfering SQL >> commands and results. > > > Not entirely true. Microsoft's SQL Server ripped off somebody else's > protocol - it's the Microsoft way, they never innovate, they either buy > somebody else's technology (if they have to) or rip it off (if they can > get away with it). > That would be the tabular datastream protocol (TDS, as in FreeTDS) which is also used by Sybase database servers. That's why the perl module DBD::Sybase also can be used to access MS-SQL servers if it's built against the FreeTDS libs. -- 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 ae at op5.se Sun Jun 26 13:27:12 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 26 Jun 2005 13:27:12 +0200 Subject: About a active plugin in local machine In-Reply-To: <3C2C08B4FEE12B418B1F7A2950B9A91B0380B3@edxmb9.jdnet.deere.com> References: <3C2C08B4FEE12B418B1F7A2950B9A91B0380B3@edxmb9.jdnet.deere.com> Message-ID: <42BE9110.4040403@op5.se> Harlan Richard C wrote: > Like I said before I have not problem with distributed monitoring. I > know they use passive checks back to main Nagios Host. The problem I > have is for a critical peace of infrastructure is relying on the passive > check to the Host. I prefer active check. The problem with passive check > is you are relaying on the host to update Nagios instead of Nagios > actively polling for information. Like you said below I know if the data > becomes stale Nagios will fore a check on the service. I just prefer to > cut the middle man out of the system and reline on active checks. > A matter of opinion then. Perhaps this part of the discussion can be dropped. > Over all Nagios will scale to a very large amount of active service > check in a short amount of time. For the most part most check take very > little system recourses, but the problem becomes you can only do some > many checks in a set time frame. > This depends largely on the type of checks being run. It's very expensive to dig through logfiles, and very cheap to run a local plugin making a single system call (sysinfo() on linux, f.e.). Interpreted plugins (scripts) always run slower and require more memory than their compiled counterpart. Plugins executing external programs also run a lot slower. SNMP-plugins parsing a lot of mibs will run significantly slower than those using OID's and not parsing the mibs (I think Net::SNMP of perl parses all mibs automagically, so executing snmpget without parsing mibs is actually faster when using perl). In healthy networks where things work most of the time, plugins will run a lot faster (since no plugins time out) and Nagios will be able to handle more active checks. -- 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 ae at op5.se Sun Jun 26 13:33:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 26 Jun 2005 13:33:36 +0200 Subject: [ibm-aix-l] Re: Does gcc and glibc work on AIX 5.3? <-- and installing nagios with gcc?? In-Reply-To: <42BAF9C6.5020202@uky.edu> References: <42BAF9C6.5020202@uky.edu> Message-ID: <42BE9290.50708@op5.se> This is a problem with your system's header-files. For some reason, the types required for pthread.h to compile cleanly aren't included, so you get a parse error because the compiler doesn't know the size of the type referenced. In short; It's not a nagios issue, but rather one derived from the AIX C libraries header-files. Kenneth Klein wrote: > Still don't work. Theres a guy on the nagios list that is having the > exact same problem. > > Hey folks.. > > Anyone have successfully compiled Nagios and the plugins for AIX 5.x ? > > I tried the ./configure and works perfectly with no error and tried to > compile, but got this error: > > # make all > cd ./base && make > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c > In file included from ../include/config.h:220, > from broker.c:26: > /usr/include/pthread.h:652: error: parse error before '*' token > /usr/include/pthread.h:655: error: parse error before '*' token > /usr/include/pthread.h:658: error: parse error before '*' token > /usr/include/pthread.h:661: error: parse error before '*' token > /usr/include/pthread.h:664: error: parse error before '*' token > /usr/include/pthread.h:672: error: parse error before '*' token > /usr/include/pthread.h:675: error: parse error before '*' token > /usr/include/pthread.h:678: error: parse error before '*' token > /usr/include/pthread.h:681: error: parse error before '*' token > /usr/include/pthread.h:689: error: parse error before '*' token > /usr/include/pthread.h:693: error: parse error before '*' token > /usr/include/pthread.h:696: error: parse error before '*' token > make: 1254-004 The error code from the last command is 1. > > > Stop. > make: 1254-004 The error code from the last command is 2. > > > Stop. > > > Thanks > > S?bastien Roy > > > > I installed gcc, gcc++ libgcc libstdc libstdc-devel and the pth rpms > with no problems. > I even rebooted the partition. > > Here's what happens when I try to run make all: > > root at f2sys1 > (1719)[/usr/local/sbin/nagios-2.0b3]# make all > cd ./base && make > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c > In file included from ../include/config.h:220, > from broker.c:26: > /usr/include/pthread.h:652: error: parse error before '*' token > > > Weird thing now is that the failure is happening on line 652 and before > I installed all these rpms it was happening on 582!?!?!?!? > > root at f2sys1 > (1721)[/usr/local/sbin/nagios-2.0b3]# lslpp -L | grep gcc > gcc 3.3.2-5 C R GNU Compiler Collection > gcc-c++ 3.3.2-5 C R C++ support for GCC > (/bin/rpm) > libgcc 3.3.2-5 C R GCC compiler dynamic > runtime > root at f2sys1 > (1722)[/usr/local/sbin/nagios-2.0b3]# lslpp -L | grep stdc > libstdc++ 3.3.2-5 C R G++ compiler dynamic > runtime > libstdc++-devel 3.3.2-5 C R Include files and > libraries > root at f2sys1 > (1736)[/usr/local/sbin/nagios-2.0b3]# lslpp -L |grep pth > bos.rte.libpthreads 5.3.0.20 C F libpthreads Library > pth 1.4.0-2 C R GNU Pth - GNU Portable > pth-devel 1.4.0-2 C R GNU Pth - GNU Portable > Threads > > > I did indeed use LIBS=-lpthread ./configure (but I have no idea what the > first of the command does). > > > > o.decorse via ibm-aix-l wrote: > >> >> >> for the "/usr/include/pthread.h:582: error: parse error before '*' >> token-l" error message, you need to install : >> - pth-1.4.0-2.aix4.3.ppc.rpm, >> - pth-devel.rpm, >> >> and certainly use : >> LIBS=-lpthread ./configure >> make >> >> Olivier. >> >> -----Message d'origine----- >> De : Kenneth Klein via ibm-aix-l [mailto:ibm-aix-l at Groups.ITtoolbox.com] >> Envoy? : jeudi 23 juin 2005 15:55 >> ? : DECORSE Olivier >> Objet : [ibm-aix-l] Re: Does gcc and glibc work on AIX 5.3? >> >> >> # Compare Secure Remote Access Options: IPSec VPNs vs. SSL VPNs. >> # Aventail white paper: http://www.ITtoolbox.com/i/rd.asp?i=10533 >> >> # View Group Archive: http://ITtoolbox.com/hrd.asp?i=803 >> >> What does this mean? : >> >> using gcc with the vendor C >> library. >> >> >> AIX seems to have the "include" library, but I cannot find cc anywhere. >> >> Trouble is, I get these errors when I try to "make all" of nagios: >> >> ]# make all >> cd ./base && make >> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c broker.c >> In file included from ../include/config.h:220, >> from broker.c:26: >> /usr/include/pthread.h:582: error: parse error before '*' token-l >> >> >> Dan Stromberg via ibm-aix-l wrote: >> >> >>> On Wed, 2005-06-22 at 16:03 -0400, Kenneth Klein via ibm-aix-l wrote: >>> >>> >>>> # SAS: The Path to Maximum SATA Scalability >>>> # Free white paper: http://www.ITtoolbox.com/i/rd.asp?i=10594 >>>> >>>> # View Group Archive: http://ITtoolbox.com/hrd.asp?i=803 >>>> >>>> Has anyone installed and used gnu gcc and gnu glibc on AIX?? >>>> >>>> >>>> >>> >>> In most (nonlinux) cases, you're better off using gcc with the vendor C >>> library. >>> >>> Also, gcc 3.4.x appears to tickle a bug in some versions of the AIX >>> linker, which leads to an infinite loop. gcc 3.3.x seems an easy build >>> though. I haven't tried gcc 4.0.x on AIX yet. >>> >>> > > > -- 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_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 pla at softflare.com Sun Jun 26 21:58:19 2005 From: pla at softflare.com (Paul L. Allen) Date: Sun, 26 Jun 2005 20:58:19 +0100 Subject: Is there a SQL Plugin In-Reply-To: <42BE8E09.5090500@op5.se> References: <200506221654.51218.goldenhawk@rogers.com> <20050622212434.18738.qmail@mullet.softflare.net> <42BE8E09.5090500@op5.se> Message-ID: <20050626195819.28080.qmail@mullet.softflare.net> Andreas Ericsson writes: > Trivia time. :) Trivia can be fun. > Paul L. Allen wrote: >> Daniel Benoy writes: >> >>> SQL is just a Database language.. >> >> >> True. > > SQL = Structured Query Language. It's connected with databases only by > coincidense, just like any UNIX OS could have apps written in Pascal > rather than C. Do you happen to know of anything that isn't effectively a database that accepts SQL queries? I don't (but I admit I don't know everything). I have to say that I find it difficult to conceive of doing left and right joins, for example, on something that wasn't effectively a database or had a mode of operation in which it was effectively acting as a database. I could talk to the postman in SQL, but I doubt he'd understand me or give me an answer if he did. >> Not entirely true. Each database has its own proprietary extensions. >> That said, I cannot conceive of any *sane* system where a plugin would >> need to check the functioning of those proprietary features rather than >> performing a simpler check of access to a particular table or record. > > There's also ANSI SQL. Most (all?) RDBM's servers implement a superset of > the required parts of the language, I expect that some of them don't implment all the required parts, or implement some of the required parts incorrectly. I would guess that most of them claim to implement all the required parts and try to do so even if they don't. MySQL lists a number of ways in which it departs from ANSI (but not whether those departures are from required or optional parts) but it can be started up with --ansi if that matters to you. Even so, I cannot imagine any *sane* system where a plugin needs to check anything but a minimal subset of the required parts of ANSI SQL. Can you connect? Can you select database X? Can you pull record Y from table Z and get the expected result? Do you have at least W records in table Z of database X? There are many, many possible failure modes in a database with many tables upon which complex queries are made but checking for all those failure modes would be resource-intensive, even if you could afford the time to analyse what all those failure modes might be. I can conceive of some circumstances where you've been burned before by a cow-orker doing something silly and the PHB requiring a very complex SQL query to check that the same thing doesn't happen again (it probably never will, and your cow-orker will find some other way of breaking things that your current test doesn't spot). I can conceive of this check requiring the use of MySQL extensions that improve performance because otherwise it would take so long that it would time out. I just don't think it's particularly sane to do it. The most common problem you're going to encounter is the database server not running at all for some reason (system has been rebooted and the database isn't configured to be started at boot; somebody has accidentally found a bug that causes the database to crash; etc.) Next most common is somebody accidentally deleting a table or even a whole database. If you need to use proprietary extensions to do your checks then it's likely you're testing for a problem that only occurs once in a blue moon. You could perhaps make a case for running checks invoking MySQL "CHECK TABLE" but that would be slow and it's rare that tables get corrupted except after a power failure (and rare even then), and it usually only affects one or two tables out of hundreds, and checking all the tables every few minutes just in case you've just recovered from a power failure is going to consume a lot of resources. In some cases, where one or two tables are mission-critical, then you might have to check those. For us, power failures are rare; MySQL table corruption is rarer still (because of ext3 journalling and RAIDed drives); and we have many customers using MySQL for trivial things - in that case the customer does the monitoring. If you're a bank and all your customer account details are in one gigantic MySQL table then a regular "CHECK TABLE" can probably be justified, but an rc.local "CHECK TABLE" on the mission-critical tables is probably adequate for most people. >> Not entirely true. Microsoft's SQL Server ripped off somebody else's >> protocol - it's the Microsoft way, they never innovate, they either buy >> somebody else's technology (if they have to) or rip it off (if they can >> get away with it). > > That would be the tabular datastream protocol (TDS, as in FreeTDS) which > is also used by Sybase database servers. I couldn't be bothered digging out the docs on FreeTDS, which I'm using to monitor an MSSQL database. I just remembered reading that TDS had been ripped off by Microsoft from somebody else. Microsoft rip off so much it's hard to keep track of who they ripped it off from. It's much easier to keep track of what technology Microsoft has neither bought from somebody else nor stolen from somebody else - there isn't any (even if you count their aggressive business style as a technology, the MAFIA got there first). -- Paul Allen Softflare Support ------------------------------------------------------- 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 Sun Jun 26 22:48:04 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 26 Jun 2005 22:48:04 +0200 Subject: Is there a SQL Plugin In-Reply-To: <20050626195819.28080.qmail@mullet.softflare.net> References: <200506221654.51218.goldenhawk@rogers.com> <20050622212434.18738.qmail@mullet.softflare.net> <42BE8E09.5090500@op5.se> <20050626195819.28080.qmail@mullet.softflare.net> Message-ID: <42BF1484.6080602@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >> Trivia time. :) > > > Trivia can be fun. > >> Paul L. Allen wrote: >> >>> Daniel Benoy writes: >>> >>>> SQL is just a Database language.. >>> >>> >>> >>> True. >> >> >> SQL = Structured Query Language. It's connected with databases only by >> coincidense, just like any UNIX OS could have apps written in Pascal >> rather than C. > > > Do you happen to know of anything that isn't effectively a database that > accepts SQL queries? No, but I can think of a few applications where it might make sense to implement a subset of ANSI SQL. > I don't (but I admit I don't know everything). I > have to say that I find it difficult to conceive of doing left and right > joins, for example, on something that wasn't effectively a database or > had a mode of operation in which it was effectively acting as a database. A textfile is a database. Neither relational nor structured, but still a database, of sorts. > I could talk to the postman in SQL, but I doubt he'd understand me or > give me an answer if he did. > It might be fun to try. If he/she is a closet-nerd you might even get an answer. >>> Not entirely true. Each database has its own proprietary >>> extensions. That said, I cannot conceive of any *sane* system where >>> a plugin would >>> need to check the functioning of those proprietary features rather than >>> performing a simpler check of access to a particular table or record. >> >> >> There's also ANSI SQL. Most (all?) RDBM's servers implement a superset >> of the required parts of the language, > > > I expect that some of them don't implment all the required parts, or > implement some of the required parts incorrectly. I would guess that > most of them claim to implement all the required parts and try to do so > even if they don't. Actually, no RDBMS that I've heard of implements all of the optional parts, but all of them implement the required parts (one way or another). -- 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 pla at softflare.com Sun Jun 26 23:15:15 2005 From: pla at softflare.com (Paul L. Allen) Date: Sun, 26 Jun 2005 22:15:15 +0100 Subject: Is there a SQL Plugin In-Reply-To: <42BF1484.6080602@op5.se> References: <200506221654.51218.goldenhawk@rogers.com> <20050622212434.18738.qmail@mullet.softflare.net> <42BE8E09.5090500@op5.se> <20050626195819.28080.qmail@mullet.softflare.net> <42BF1484.6080602@op5.se> Message-ID: <20050626211515.7685.qmail@mullet.softflare.net> Andreas Ericsson writes: > Paul L. Allen wrote: >> Do you happen to know of anything that isn't effectively a database that >> accepts SQL queries? > > No, but I can think of a few applications where it might make sense to > implement a subset of ANSI SQL. There might be some, but the fact that there aren't any which do implement a subset of ANSI SQL and that it would have to be a subset indicates that Daniel's original statement that SQL is a database language is currently correct. >> I don't (but I admit I don't know everything). I >> have to say that I find it difficult to conceive of doing left and right >> joins, for example, on something that wasn't effectively a database or >> had a mode of operation in which it was effectively acting as a database. > > A textfile is a database. Neither relational nor structured, but still a > database, of sorts. ODBM, NDBM, GDMB and DB are all databases. Not relational or structured, but they are indexed (which a textfile is not, unless it is sorted by primary key and has fixed-length records so you can use a simple binary chop to seek the desired record). You can, with sufficient code, use ODBM, etc. (and even a textfile) as a relational DB. Except in simple cases it would be more sensible to use a real RDBM. It would not be sensible in the general case to add an SQL parser and the fiddles needed to use (say) GDBM as a relational DB rather than using a real relational DB. >> I could talk to the postman in SQL, but I doubt he'd understand me or >> give me an answer if he did. > > It might be fun to try. If he/she is a closet-nerd you might even get an > answer. And if he isn't then he'll think it's some kind of obscure insult and hit me. "Query not understood" around these parts tends to come with a return code of "broken nose." -- Paul Allen Softflare Support ------------------------------------------------------- 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 marled3 at hotmail.com Sun Jun 26 23:32:11 2005 From: marled3 at hotmail.com (Martin Leduc) Date: Sun, 26 Jun 2005 17:32:11 -0400 Subject: statusmap.cgi Message-ID: Good afternoon, I have read the online documentation regarding the statusmap.cgi compilation and I dont found the trouble. I use Slackware 10, kernel 2.6.11, nagios-2.0b3 and gd-2.0.33, apache-2.0.54 all compiled/installed from source. The thing a have see into the config.log, is somes stranges line like: /config.log:configure:1239: checking for uio.h /config.log:configure:1245:17: uio.h: No such file or directory configure:1245:22: pthreads.h: No such file or directory configure:1245:20: socket.h: No such file or directory Fortinately, this files is located into "/usr/include/linux" folder, but the pthreads.h is not found anywhere. Other strange line /usr/lib/gcc-lib/i486-slackware-linux/3.3.5/../../../../i486-slackware-linux/bin/ld: cannot find -lcma /usr/lib/gcc-lib/i486-slackware-linux/3.3.5/../../../../i486-slackware-linux/bin/ld: cannot find -liconv /usr/lib/gcc-lib/i486-slackware-linux/3.3.5/../../../../i486-slackware-linux/bin/ld: cannot find -lttf What is missing to my system, what is lcma, liconv, lttf, I supposed iconv and ttf is refered to libiconv and ttf refered to TrueType font. I have compiled PHP 5.0.4 with this options /configure --with-curl --with-openssl --with-mysql --with-config-file-path=/etc --enable-sockets --with-apxs2=/usr/local/a pache-2.0.54/bin/apxs --with-xml --with-pcre --with-pear --with-mcrypt --enable-ftp --with-gettext=/usr --with-zlib=/usr --ena ble-calendar --enable-ftp --with-iconv --with-gd --with-jpeg-dir --with-png --with-gmp --with-mm --with-dom --enable-mbstring= all --enable-mbregex --enable-mime-magic. All works fine, so I supposed the compiler have foud all the correct library. Did someone can open my eyes on a my stupid mind????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jun 27 00:01:40 2005 From: marc at ena.com (Marc Powell) Date: Sun, 26 Jun 2005 17:01:40 -0500 Subject: Is there a SQL Plugin Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Paul L. Allen > Sent: Sunday, June 26, 2005 4:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Is there a SQL Plugin > > Andreas Ericsson writes: > > > Paul L. Allen wrote: > *snip* SELECT * FROM thread WHERE topic LIKE '%nagios%'; -- No records found -- UPDATE thread SET offline = 'true'; ;) You are the only two people participating in this OT thread. -- 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 pla at softflare.com Mon Jun 27 00:12:20 2005 From: pla at softflare.com (Paul L. Allen) Date: Sun, 26 Jun 2005 23:12:20 +0100 Subject: Is there a SQL Plugin In-Reply-To: References: Message-ID: <20050626221220.17191.qmail@mullet.softflare.net> Marc Powell writes: > You are the only two people participating in this OT thread. Yes, but it's only off-topic until we start discussing whether check_postman should be a totally separate plugin or forked off from check_mysql. :) -- Paul Allen Softflare Support ------------------------------------------------------- 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 jnichols at pbp.net Mon Jun 27 02:16:36 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Sun, 26 Jun 2005 17:16:36 -0700 Subject: MegaRAID Enterprise 1500 RAID controller In-Reply-To: <002401c57a1b$a5e65ad0$0100a8c0@athlon> References: <42BD9F23.8080600@pbp.net> <42BDA23B.4090208@its-lehmann.de> <42BE1A46.3050309@pbp.net> <002401c57a1b$a5e65ad0$0100a8c0@athlon> Message-ID: <42BF4564.4080804@pbp.net> Lars Mathwig wrote: > MegaRC (command-line) and MegaMGR (interactive) you can download at: > http://www.lsilogic.com/downloads/downloads.do?product=8069 > My controller isn't on the list of "Supported Controllers," unfortunately. :( I went ahead and emailed LSI's support group about it, though. I'll let y'all know what they come up with. :D ------------------------------------------------------- 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 Philipp.Sand at sycor.de Mon Jun 27 08:16:22 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 27 Jun 2005 08:16:22 +0200 Subject: AW: Network Management Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9955@SYGOMAIL.GOE.AD.SYCOR.DE> Hi Andrew, I just had a short look at the cacti Homepage, and it really looks interesting to me. Do you know if there is a howto or something, on how to integrate cacti into nagios? We're using Nagios as our primary Monitoring System, and it would be great if there would be a possibility to just install cacti, and then getting the graphs from it, without having to configure all the hosts and services in both tools. Thanks in advance! Philipp > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] Im Auftrag von Andrew Cruse > Gesendet: Freitag, 24. Juni 2005 21:01 > An: 'Roberto Dud (listas)'; nagios-users at lists.sourceforge.net > Betreff: RE: [Nagios-users] Network Management > > nagios-users-admin at lists.sourceforge.net wrote: > > Mrs, > > > > I have a question. What's the better solution to network > > management, Nagios and MRTG/RRDTOOL? Have other solutions? > > You might have a look at Cacti -- it's a fantastic frontend to RRDTool. > Cacti in concert with Nagios makes for a very powerful monitoring and > trending package. > > Andrew > > > > ------------------------------------------------------- > 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 sivan.deray at net-aptitude.fr Mon Jun 27 12:25:17 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Mon, 27 Jun 2005 12:25:17 +0200 Subject: : monitor sftp Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45CF45@srv-nap-atlas-1.net-aptitude.fr> Is there a way of monitor sftp with Nagios ? Thanks for help Sivan DERAY Ing?nieur S?curit? NET APTITUDE S.A.S. 215 rue Jean-Jacques Rousseau 92130 ISSY LES MOULINEAUX Mobile : 06 15 30 73 67 T?l?phone : 01 41 09 77 71 Fax : 01 41 09 77 78 Site Internet http://www.net-aptitude.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo.JPG Type: image/jpeg Size: 2335 bytes Desc: logo.JPG URL: From rick.vandermieden at orangemail.nl Mon Jun 27 13:35:40 2005 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Mon, 27 Jun 2005 13:35:40 +0200 Subject: huge performance problems Message-ID: <88001FC5C453764CA6597FB29874249402F550B2@svex03> Thanks for the responses, I tweaked it a bit, but still have a bad latency with 174 hosts and 2360 services. )I tuned it down from 540 sec to 224 seconds. My plugins are fine, they are really fast on commandline. I also have noticed that the latency drops to 4 secs if I have around 1700 services running. So it looks like Nagios has some problems when the amount of services go over 2000 over something like that. I'v read something with the USE_MEMORY_PERFORMANCE_TWEAKS. But even that option does not do anything better with the latency. I also have read that there are many people who has far more hosts and services checks than I have without any performance problems. So I'd love to see their nagios.cfg, or would like to know what the trick is. Regards, Rick -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: Thursday, June 23, 2005 15:50 To: Mieden, Rick van der Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] huge performance problems Hi, one year ago we have had nearly the same performance Problems too. It seems that the scheduler of nagios roles over itself if the count of services is to big. Therefore we decided to install another nagios process with different configs in a different directory. So we splitted our nagios like our networks. One Nagios (nagios-1) for Network A and another one (nagios-2) for Network B. So our count of services per nagios instance was decreased and it runs so far so good. All this was under version 1.2. In the past I posted some questions about our problem but there were no good answer on it, so today I just only know that it works for us. So far for this. I hope nobody will geek me when I take your post to describe some problems we now have on testing above doing with different instances on the same host with nagios 2.02b. When I fire up my instance "nagios-1" with around 1600 Service Checks it runs very fine with nearly no latency. But when I fire up the "nagios-2" with around 1850 services this instance runs very fast to latencies around 100 seconds. When I now stop the first instance the latencies on the second one decrease down to < 5 seconds. Perhaps some of the developer can tell me if I am right in theory that (one of) the working thread(s) with the scheduling queue can see the other scheduling queue? Are the possibly the same? I am not a programmer but I can think about following: Starting nagios-1 will create the scheduling queue and gives it to RAM. So far so good. There it is and the worker runs through it and executes the checks. I am now afraid that when I start my second nagios process this will also create the scheduling queue into the system RAM but that the two proceses don't have their own queues... Hope that anybody understand what I mean. Best regards Hendrik Mieden, Rick van der schrieb: We have heavy performance problems with Nagios. We monitor 174 hosts, with 2255 services and an average latency off 400 seconds!!!! Off course that's not exceptable. I use perl plugins with ssh and snmp plugins. I'v compiled nagios with perlcache and embedded-perl enabled. The server is a sparc server with 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) I played around with all kind of parameters and read the tuning docs for nagios. Below the output of "nagios -s nagios.cfg": Nagios 2.0b3 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 04-03-2005 License: GPL Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 174 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2255 Total scheduled services: 2255 Service inter-check delay method: SMART Average service check interval: 222.47 sec Inter-check delay: 0.10 sec Interleave factor method: SMART Average services per host: 12.96 Service interleave factor: 13 Max service check spread: 30 min First scheduled check: Wed Jun 22 15:05:08 2005 Last scheduled check: Wed Jun 22 15:08:50 2005 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 5 sec Max concurrent service checks: 200 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. And a nagiostat output: CURRENT STATUS DATA ---------------------------------------------------- Status File: /usr/local/nagios/var/status.dat Status File Age: 0d 0h 0m 13s Status File Version: 2.0b3 Program Running Time: 0d 32h 0m 13s Total Services: 2255 Services Checked: 2255 Services Scheduled: 2255 Active Service Checks: 2255 Passive Service Checks: 0 Total Service State Change: 0.000 / 5.860 / 0.003 % Active Service Latency: 386.526 / 414.446 / 394.100 % Active Service Execution Time: 0.062 / 60.349 / 1.428 sec Active Service State Change: 0.000 / 5.860 / 0.003 % Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255 Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 174 Hosts Checked: 174 Hosts Scheduled: 0 Active Host Checks: 174 Passive Host Checks: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.000 / 0.000 / 0.000 % Active Host Execution Time: 0.137 / 1.109 / 0.582 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 174 / 0 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Anybody an idea what went wrong here? There must be something...... Regards, Rick =========================================================== 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. =========================================================== =========================================================== 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 ae at op5.se Mon Jun 27 14:25:24 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 27 Jun 2005 14:25:24 +0200 Subject: : monitor sftp In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A45CF45@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A45CF45@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <42BFF034.3010304@op5.se> Sivan DERAY wrote: > Is there a way of monitor sftp with Nagios ? > check_ssh. There is no way short of a near full protocol implementation to make sure a server is configured to handle sftp requests. It's the same daemon for both though, so provided you have everything configured properly everything should work nicely. > Thanks for help > > > Sivan DERAY > > Ing?nieur S?curit? > > > > > > > NET APTITUDE S.A.S. > 215 rue Jean-Jacques Rousseau > 92130 ISSY LES MOULINEAUX > Mobile : 06 15 30 73 67 > T?l?phone : 01 41 09 77 71 > Fax : 01 41 09 77 78 > Site Internet > http://www.net-aptitude.fr > > > > > > -- 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 Mon Jun 27 15:02:52 2005 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Mon, 27 Jun 2005 09:02:52 -0400 Subject: AW: Network Management In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9955@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9955@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <42BFF8FC.1090507@iso-ne.com> Sand Philipp wrote: > Hi Andrew, > > I just had a short look at the cacti Homepage, and it really looks interesting to me. Do you know if there is a howto or something, on how to integrate cacti into nagios? > We're using Nagios as our primary Monitoring System, and it would be great if there would be a possibility to just install cacti, and then getting the graphs from it, without having to configure all the hosts and services in both tools. > Thanks in advance! I know on the Cacti message boards there have been discussions on how to do this. Really, the only agreed upon method was to use both at the same time, but for the items that Cacti polls, use some kind of wrapper to submit passive checks to Nagios (if it's something you want to alert on). As far as integration, the best I found was to use notes_url (in hostextinfo) and point that at the cacti graphs page for that server. -- -JasonQ- ------------------------------------------------------- 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 b00mer at gmx.net Mon Jun 27 15:31:03 2005 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 27 Jun 2005 15:31:03 +0200 Subject: huge performance problems In-Reply-To: <88001FC5C453764CA6597FB29874249402F550B2@svex03> References: <88001FC5C453764CA6597FB29874249402F550B2@svex03> Message-ID: <42BFFF97.3010108@gmx.net> Mieden, Rick van der schrieb: > Thanks for the responses, I tweaked it a bit, but still have a bad > latency with 174 hosts and 2360 services. )I tuned it down from 540 > sec to 224 seconds. My plugins are fine, they are really fast on > commandline. I also have noticed that the latency drops to 4 secs if I > have around 1700 services running. So it looks like Nagios has some > problems when the amount of services go over 2000 over something like > that. > > I?v read something with the USE_MEMORY_PERFORMANCE_TWEAKS. But even > that option does not do anything better with the latency. I also have > read that there are many people who has far more hosts and services > checks than I have without any performance problems. So I?d love to > see their nagios.cfg, or would like to know what the trick is. > > Regards, > > Rick > Hi, nearly the same on our side. Nagios with 1900 Services runs with max. 2-4 seconds Latency. But beware if you want more... I heard from this people too which have more than 2000 Services but most of them are doing a kind of distributed monitoring I think. Regards, Hendrik > -----Original Message----- > *From:* Hendrik Baecker [mailto:b00mer at gmx.net] > *Sent:* Thursday, June 23, 2005 15:50 > *To:* Mieden, Rick van der > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] huge performance problems > > Hi, > > one year ago we have had nearly the same performance Problems too. > > It seems that the scheduler of nagios roles over itself if the count > of services is to big. Therefore we decided to install another nagios > process with different configs in a different directory. So we > splitted our nagios like our networks. One Nagios (nagios-1) for > Network A and another one (nagios-2) for Network B. > > So our count of services per nagios instance was decreased and it runs > so far so good. > > All this was under version 1.2. > > In the past I posted some questions about our problem but there were > no good answer on it, so today I just only know that it works for us. > > So far for this. > I hope nobody will geek me when I take your post to describe some > problems we now have on testing above doing with different instances > on the same host with nagios 2.02b. > > When I fire up my instance "nagios-1" with around 1600 Service Checks > it runs very fine with nearly no latency. > But when I fire up the "nagios-2" with around 1850 services this > instance runs very fast to latencies around 100 seconds. > When I now stop the first instance the latencies on the second one > decrease down to < 5 seconds. > > Perhaps some of the developer can tell me if I am right in theory that > (one of) the working thread(s) with the scheduling queue can see the > other scheduling queue? Are the possibly the same? > > I am not a programmer but I can think about following: Starting > nagios-1 will create the scheduling queue and gives it to RAM. So far > so good. There it is and the worker runs through it and executes the > checks. > I am now afraid that when I start my second nagios process this will > also create the scheduling queue into the system RAM but that the two > proceses don't have their own queues... Hope that anybody understand > what I mean. > > Best regards > Hendrik > > Mieden, Rick van der schrieb: > > We have heavy performance problems with Nagios. We monitor 174 hosts, > with 2255 services and an average latency off 400 seconds!!!! Off > course that?s not exceptable. > > I use perl plugins with ssh and snmp plugins. I?v compiled nagios with > perlcache and embedded-perl enabled. The server is a sparc server with > 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) > > I played around with all kind of parameters and read the tuning docs > for nagios. > > Below the output of ?nagios ?s nagios.cfg?: > > Nagios 2.0b3 > > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org > ) > > Last Modified: 04-03-2005 > > License: GPL > > Projected scheduling information for host and service > > checks is listed below. This information assumes that > > you are going to start running Nagios with your current > > config files. > > HOST SCHEDULING INFORMATION > > --------------------------- > > Total hosts: 174 > > Total scheduled hosts: 0 > > Host inter-check delay method: SMART > > Average host check interval: 0.00 sec > > Host inter-check delay: 0.00 sec > > Max host check spread: 30 min > > First scheduled check: N/A > > Last scheduled check: N/A > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 2255 > > Total scheduled services: 2255 > > Service inter-check delay method: SMART > > Average service check interval: 222.47 sec > > Inter-check delay: 0.10 sec > > Interleave factor method: SMART > > Average services per host: 12.96 > > Service interleave factor: 13 > > Max service check spread: 30 min > > First scheduled check: Wed Jun 22 15:05:08 2005 > > Last scheduled check: Wed Jun 22 15:08:50 2005 > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Service check reaper interval: 5 sec > > Max concurrent service checks: 200 > > PERFORMANCE SUGGESTIONS > > ----------------------- > > I have no suggestions - things look okay. > > And a nagiostat output: > > CURRENT STATUS DATA > > ---------------------------------------------------- > > Status File: /usr/local/nagios/var/status.dat > > Status File Age: 0d 0h 0m 13s > > Status File Version: 2.0b3 > > Program Running Time: 0d 32h 0m 13s > > Total Services: 2255 > > Services Checked: 2255 > > Services Scheduled: 2255 > > Active Service Checks: 2255 > > Passive Service Checks: 0 > > Total Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Service Latency: 386.526 / 414.446 / 394.100 %* > > Active Service Execution Time: 0.062 / 60.349 / 1.428 sec > > Active Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255* > > Passive Service State Change: 0.000 / 0.000 / 0.000 % > > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 > > Services Flapping: 0 > > Services In Downtime: 0 > > Total Hosts: 174 > > Hosts Checked: 174 > > Hosts Scheduled: 0 > > Active Host Checks: 174 > > Passive Host Checks: 0 > > Total Host State Change: 0.000 / 0.000 / 0.000 % > > Active Host Latency: 0.000 / 0.000 / 0.000 % > > Active Host Execution Time: 0.137 / 1.109 / 0.582 sec > > Active Host State Change: 0.000 / 0.000 / 0.000 % > > Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 > > Passive Host State Change: 0.000 / 0.000 / 0.000 % > > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Hosts Up/Down/Unreach: 174 / 0 / 0 > > Hosts Flapping: 0 > > Hosts In Downtime: 0 > > Anybody an idea what went wrong here? There must be something?? > > Regards, > > Rick > > =========================================================== > > 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. > > =========================================================== > > =========================================================== > > 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. > > =========================================================== > ------------------------------------------------------- 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 sivan.deray at net-aptitude.fr Mon Jun 27 16:19:47 2005 From: sivan.deray at net-aptitude.fr (Sivan DERAY) Date: Mon, 27 Jun 2005 16:19:47 +0200 Subject: About check_disk_smb plugin Message-ID: <4E13BD0442DACA4D9606CAD98924F09A45CF62@srv-nap-atlas-1.net-aptitude.fr> I still don't understand ... :( -----Message d'origine----- De : Tony Earnshaw [mailto:tonye at billy.demon.nl] Envoy? : jeudi 23 juin 2005 18:09 ? : Nagios Users Objet : Re: [Nagios-users] About check_disk_smb plugin tor, 23.06.2005 kl. 12.56 skrev Sivan DERAY: > I'm runing Nagios 1.2 with the latest nagios-plugin. > > When I test the following command : > > ./check_disk_smb -H 192.168.2.10 -s Share -W na -u sderay -p yaya -w > 85 -c 95 > > 192.168.2.10 is a windows 2K server > > Here is the error : > > Can't exec "//192.168.2.10/Share": Aucun fichier ou r??pertoire de ce type at ./check_disk_smb line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. > Result from smbclient not suitable > Any idea regarding to the synthax or ... ? Yeah. It's spitting out what you want to know in your own language, Franglais. If you look at what you're telling it to do and what it says it can't do, one in English and one in French, you can fathom it out for yourself: ?No program or service of that type at ...?. That's what I have to do in my own chosen language, Nornglish, on my own test machine ... Best, --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 tringer at mpr.org Mon Jun 27 16:44:33 2005 From: tringer at mpr.org (Torleiv Ringer) Date: Mon, 27 Jun 2005 09:44:33 -0500 Subject: Ping timeouts In-Reply-To: <4BEB8E9952EF544284F706EAD70820B3192EA4@hqex2ksvr01.windows.usmc-mccs.org> References: <4BEB8E9952EF544284F706EAD70820B3192EA4@hqex2ksvr01.windows.usmc-mccs.org> Message-ID: <1119883473.25678.16.camel@unwise.mpr.org> On Fri, 2005-06-17 at 14:04 -0400, Raful Mr Mitchell H wrote: > I had to change the timout for warning and critical in the services > definition for ping. Why is that? Also, in the hosts detail I get this > message: > > (3000.000000) cannot be larger than (1000.000000) > > Thanks, > > Mitch > # '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 > } You made a typo. Try 10000, not 1000. -- Torleiv Ringer Broadcast Systems Administrator Minnesota Public Radio http://www.mpr.org ------------------------------------------------------- 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 rzambon at sjprep.org Mon Jun 27 16:45:53 2005 From: rzambon at sjprep.org (J. Ryan Zambon) Date: Mon, 27 Jun 2005 10:45:53 -0400 Subject: Permissions Problem Message-ID: <200506271045.AA110100710@mail.sjprep.org> Good morning, I'm running Apache 2, Fedora Core 3, Nagios v2b3 under root. Nagios runs under username "nagios" in groupname "nagios". Apache is also a member of "nagios". Both apache and nagios usernames are also in a group named "nagioscmd". Tailed server: ############### [root at nagios libexec]# tail /var/log/messages Jun 27 10:36:48 nagios kernel: audit(1119883008.088:0): avc: denied { execute } for pid=4794 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:48 nagios kernel: audit(1119883008.236:0): avc: denied { execute } for pid=4795 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:48 nagios kernel: audit(1119883008.420:0): avc: denied { execute } for pid=4796 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:48 nagios kernel: audit(1119883008.571:0): avc: denied { execute } for pid=4797 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:48 nagios kernel: audit(1119883008.715:0): avc: denied { execute } for pid=4798 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:48 nagios kernel: audit(1119883008.882:0): avc: denied { execute } for pid=4799 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:49 nagios kernel: audit(1119883009.022:0): avc: denied { execute } for pid=4800 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:49 nagios kernel: audit(1119883009.167:0): avc: denied { execute } for pid=4801 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:49 nagios kernel: audit(1119883009.326:0): avc: denied { execute } for pid=4802 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file Jun 27 10:36:49 nagios kernel: audit(1119883009.496:0): avc: denied { execute } for pid=4803 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file ########### ls -la of libexec directory: ######## [root at nagios libexec]# ls -la total 1932 drwxr-xr-x 2 nagios nagios 4096 Jun 24 12:22 . drwxr-xr-x 8 nagios nagios 4096 Jun 24 12:22 .. -rwxr-xr-x 1 nagios nagios 2274 Jun 24 12:22 check_breeze -rwxr-xr-x 1 nagios nagios 51179 Jun 24 12:22 check_by_ssh -rwxr-xr-x 1 nagios nagios 50032 Jun 24 12:22 check_dhcp -rwxr-xr-x 1 nagios nagios 49225 Jun 24 12:22 check_dig -rwxr-xr-x 1 nagios nagios 58774 Jun 24 12:22 check_disk -rwxr-xr-x 1 nagios nagios 8049 Jun 24 12:22 check_disk_smb -rwxr-xr-x 1 nagios nagios 51894 Jun 24 12:22 check_dns -rwxr-xr-x 1 nagios nagios 24200 Jun 24 12:22 check_dummy -rwxr-xr-x 1 nagios nagios 3095 Jun 24 12:22 check_file_age -rwxr-xr-x 1 nagios nagios 6400 Jun 24 12:22 check_flexlm lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_ftp -> check_tcp -rwxr-xr-x 1 nagios nagios 48597 Jun 24 12:22 check_hpjd -rwxr-xr-x 1 nagios nagios 97198 Jun 24 12:22 check_http -rwxr-xr-x 1 nagios nagios 33313 Jun 24 12:22 check_icmp -rwxr-xr-x 1 nagios nagios 15292 Jun 24 12:22 check_ifoperstatus -rwxr-xr-x 1 nagios nagios 12858 Jun 24 12:22 check_ifstatus lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_imap -> check_tcp -rwxr-xr-x 1 nagios nagios 7437 Jun 24 12:22 check_ircd lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_jabber -> check_tcp -rwxr-xr-x 1 nagios nagios 40684 Jun 24 12:22 check_ldap lrwxrwxrwx 1 root root 10 Jun 24 12:22 check_ldaps -> check_ldap -rwxr-xr-x 1 nagios nagios 37999 Jun 24 12:22 check_load -rwxr-xr-x 1 nagios nagios 5943 Jun 24 12:22 check_log -rwxr-xr-x 1 nagios nagios 20750 Jun 24 12:22 check_mailq -rwxr-xr-x 1 nagios nagios 31970 Jun 24 12:22 check_mrtg -rwxr-xr-x 1 nagios nagios 31112 Jun 24 12:22 check_mrtgtraf -rwxr-xr-x 1 nagios nagios 43122 Jun 24 12:22 check_mysql -rwxr-xr-x 1 nagios nagios 37632 Jun 24 12:22 check_nagios lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_nntp -> check_tcp lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_nntps -> check_tcp -rwxr-xr-x 1 nagios nagios 50744 Jun 24 12:22 check_nt -rwxr-xr-x 1 nagios nagios 13283 Jun 24 12:22 check_ntp -rwxr-xr-x 1 nagios nagios 55458 Jun 24 12:22 check_nwstat -rwxr-xr-x 1 nagios nagios 8293 Jun 24 12:22 check_oracle -rwxr-xr-x 1 nagios nagios 44614 Jun 24 12:22 check_overcr -rwxr-xr-x 1 nagios nagios 40352 Jun 24 12:22 check_pgsql -rwxr-xr-x 1 nagios nagios 54374 Jun 24 12:22 check_ping lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_pop -> check_tcp -rwxr-xr-x 1 nagios nagios 49001 Jun 24 12:22 check_procs -rwxr-xr-x 1 nagios nagios 41450 Jun 24 12:22 check_real -rwxr-xr-x 1 nagios nagios 9712 Jun 24 12:22 check_rpc -rwxr-xr-x 1 nagios nagios 1176 Jun 24 12:22 check_sensors lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_simap -> check_tcp -rwxr-xr-x 1 nagios nagios 71625 Jun 24 12:22 check_smtp -rwxr-xr-x 1 nagios nagios 56001 Jun 24 12:22 check_snmp lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_spop -> check_tcp -rwxr-xr-x 1 nagios nagios 38656 Jun 24 12:22 check_ssh -rwxr-xr-x 1 nagios nagios 39373 Jun 24 12:22 check_swap -rwxr-xr-x 1 nagios nagios 0 Jun 27 10:23 check_tcp -rwxr-xr-x 1 nagios nagios 40623 Jun 24 12:22 check_time -rwxr-xr-x 1 nagios nagios 38822 Jun 24 12:22 check_udp lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_udp2 -> check_tcp -rwxr-xr-x 1 nagios nagios 48306 Jun 24 12:22 check_ups -rwxr-xr-x 1 nagios nagios 35134 Jun 24 12:22 check_users -rwxr-xr-x 1 nagios nagios 3024 Jun 24 12:22 check_wave -rwxr-xr-x 1 nagios nagios 35078 Jun 24 12:22 negate -rwxr-xr-x 1 nagios nagios 33845 Jun 24 12:22 urlize -rwxr-xr-x 1 nagios nagios 2469 Jun 24 12:22 utils.pm -rwxr-xr-x 1 nagios nagios 868 Jun 24 12:22 utils.sh ######### Not sure what the problem is. Thanks in advance! J. Ryan Zambon rzambon at sjprep.org ________________________________________________________________ Sent via the WebMail system at mail.sjprep.org ------------------------------------------------------- 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 mluettgen at nuvio.com Mon Jun 27 16:50:50 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Mon, 27 Jun 2005 09:50:50 -0500 Subject: Permissions Problem In-Reply-To: <200506271045.AA110100710@mail.sjprep.org> References: <200506271045.AA110100710@mail.sjprep.org> Message-ID: <20050627095050.63d47484.mluettgen@nuvio.com> Welcome to SELinux hell! I'm to lazy to fix selinux so I usually disable it, just run 'setenforce 0' as root, also edit /etc/sysconfig/selinux to make it permanent (you can only set enforce to passive without a reboot, to totally disable it you edit /etc/sysconfig/selinux and reboot) M On Mon, 27 Jun 2005 09:45:53 -0500 "J. Ryan Zambon" wrote: > Good morning, > > I'm running Apache 2, Fedora Core 3, Nagios v2b3 under root. > Nagios runs under username "nagios" in groupname "nagios". > Apache is also a member of "nagios". > Both apache and nagios usernames are also in a group named "nagioscmd". > > Tailed server: > > ############### > [root at nagios libexec]# tail /var/log/messages > Jun 27 10:36:48 nagios kernel: audit(1119883008.088:0): avc: denied { execute } for pid=4794 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:48 nagios kernel: audit(1119883008.236:0): avc: denied { execute } for pid=4795 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:48 nagios kernel: audit(1119883008.420:0): avc: denied { execute } for pid=4796 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:48 nagios kernel: audit(1119883008.571:0): avc: denied { execute } for pid=4797 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:48 nagios kernel: audit(1119883008.715:0): avc: denied { execute } for pid=4798 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:48 nagios kernel: audit(1119883008.882:0): avc: denied { execute } for pid=4799 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:49 nagios kernel: audit(1119883009.022:0): avc: denied { execute } for pid=4800 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:49 nagios kernel: audit(1119883009.167:0): avc: denied { execute } for pid=4801 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:49 nagios kernel: audit(1119883009.326:0): avc: denied { execute } for pid=4802 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > Jun 27 10:36:49 nagios kernel: audit(1119883009.496:0): avc: denied { execute } for pid=4803 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > ########### > > ls -la of libexec directory: > > ######## > [root at nagios libexec]# ls -la > total 1932 > drwxr-xr-x 2 nagios nagios 4096 Jun 24 12:22 . > drwxr-xr-x 8 nagios nagios 4096 Jun 24 12:22 .. > -rwxr-xr-x 1 nagios nagios 2274 Jun 24 12:22 check_breeze > -rwxr-xr-x 1 nagios nagios 51179 Jun 24 12:22 check_by_ssh > -rwxr-xr-x 1 nagios nagios 50032 Jun 24 12:22 check_dhcp > -rwxr-xr-x 1 nagios nagios 49225 Jun 24 12:22 check_dig > -rwxr-xr-x 1 nagios nagios 58774 Jun 24 12:22 check_disk > -rwxr-xr-x 1 nagios nagios 8049 Jun 24 12:22 check_disk_smb > -rwxr-xr-x 1 nagios nagios 51894 Jun 24 12:22 check_dns > -rwxr-xr-x 1 nagios nagios 24200 Jun 24 12:22 check_dummy > -rwxr-xr-x 1 nagios nagios 3095 Jun 24 12:22 check_file_age > -rwxr-xr-x 1 nagios nagios 6400 Jun 24 12:22 check_flexlm > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_ftp -> check_tcp > -rwxr-xr-x 1 nagios nagios 48597 Jun 24 12:22 check_hpjd > -rwxr-xr-x 1 nagios nagios 97198 Jun 24 12:22 check_http > -rwxr-xr-x 1 nagios nagios 33313 Jun 24 12:22 check_icmp > -rwxr-xr-x 1 nagios nagios 15292 Jun 24 12:22 check_ifoperstatus > -rwxr-xr-x 1 nagios nagios 12858 Jun 24 12:22 check_ifstatus > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_imap -> check_tcp > -rwxr-xr-x 1 nagios nagios 7437 Jun 24 12:22 check_ircd > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_jabber -> check_tcp > -rwxr-xr-x 1 nagios nagios 40684 Jun 24 12:22 check_ldap > lrwxrwxrwx 1 root root 10 Jun 24 12:22 check_ldaps -> check_ldap > -rwxr-xr-x 1 nagios nagios 37999 Jun 24 12:22 check_load > -rwxr-xr-x 1 nagios nagios 5943 Jun 24 12:22 check_log > -rwxr-xr-x 1 nagios nagios 20750 Jun 24 12:22 check_mailq > -rwxr-xr-x 1 nagios nagios 31970 Jun 24 12:22 check_mrtg > -rwxr-xr-x 1 nagios nagios 31112 Jun 24 12:22 check_mrtgtraf > -rwxr-xr-x 1 nagios nagios 43122 Jun 24 12:22 check_mysql > -rwxr-xr-x 1 nagios nagios 37632 Jun 24 12:22 check_nagios > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_nntp -> check_tcp > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_nntps -> check_tcp > -rwxr-xr-x 1 nagios nagios 50744 Jun 24 12:22 check_nt > -rwxr-xr-x 1 nagios nagios 13283 Jun 24 12:22 check_ntp > -rwxr-xr-x 1 nagios nagios 55458 Jun 24 12:22 check_nwstat > -rwxr-xr-x 1 nagios nagios 8293 Jun 24 12:22 check_oracle > -rwxr-xr-x 1 nagios nagios 44614 Jun 24 12:22 check_overcr > -rwxr-xr-x 1 nagios nagios 40352 Jun 24 12:22 check_pgsql > -rwxr-xr-x 1 nagios nagios 54374 Jun 24 12:22 check_ping > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_pop -> check_tcp > -rwxr-xr-x 1 nagios nagios 49001 Jun 24 12:22 check_procs > -rwxr-xr-x 1 nagios nagios 41450 Jun 24 12:22 check_real > -rwxr-xr-x 1 nagios nagios 9712 Jun 24 12:22 check_rpc > -rwxr-xr-x 1 nagios nagios 1176 Jun 24 12:22 check_sensors > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_simap -> check_tcp > -rwxr-xr-x 1 nagios nagios 71625 Jun 24 12:22 check_smtp > -rwxr-xr-x 1 nagios nagios 56001 Jun 24 12:22 check_snmp > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_spop -> check_tcp > -rwxr-xr-x 1 nagios nagios 38656 Jun 24 12:22 check_ssh > -rwxr-xr-x 1 nagios nagios 39373 Jun 24 12:22 check_swap > -rwxr-xr-x 1 nagios nagios 0 Jun 27 10:23 check_tcp > -rwxr-xr-x 1 nagios nagios 40623 Jun 24 12:22 check_time > -rwxr-xr-x 1 nagios nagios 38822 Jun 24 12:22 check_udp > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_udp2 -> check_tcp > -rwxr-xr-x 1 nagios nagios 48306 Jun 24 12:22 check_ups > -rwxr-xr-x 1 nagios nagios 35134 Jun 24 12:22 check_users > -rwxr-xr-x 1 nagios nagios 3024 Jun 24 12:22 check_wave > -rwxr-xr-x 1 nagios nagios 35078 Jun 24 12:22 negate > -rwxr-xr-x 1 nagios nagios 33845 Jun 24 12:22 urlize > -rwxr-xr-x 1 nagios nagios 2469 Jun 24 12:22 utils.pm > -rwxr-xr-x 1 nagios nagios 868 Jun 24 12:22 utils.sh > ######### > > Not sure what the problem is. Thanks in advance! > > J. Ryan Zambon > rzambon at sjprep.org > > > > > ________________________________________________________________ > Sent via the WebMail system at mail.sjprep.org > > > > > > > ------------------------------------------------------- > 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_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 sekuela at gmail.com Mon Jun 27 16:56:27 2005 From: sekuela at gmail.com (Daniel Szortyka) Date: Mon, 27 Jun 2005 11:56:27 -0300 Subject: Permissions Problem In-Reply-To: <20050627095050.63d47484.mluettgen@nuvio.com> References: <200506271045.AA110100710@mail.sjprep.org> <20050627095050.63d47484.mluettgen@nuvio.com> Message-ID: <806f904f050627075657ecbf86@mail.gmail.com> Hi, You SELinux is enable, try to disable it. vi /etc/selinux/config SELINUX=disabled Hope it help!! Daniel On 6/27/05, Matt Luettgen wrote: > Welcome to SELinux hell! I'm to lazy to fix selinux so I usually disable it, just run 'setenforce 0' as root, also edit /etc/sysconfig/selinux to make it permanent (you can only set enforce to passive without a reboot, to totally disable it you edit /etc/sysconfig/selinux and reboot) > > M > > On Mon, 27 Jun 2005 09:45:53 -0500 > "J. Ryan Zambon" wrote: > > > Good morning, > > > > I'm running Apache 2, Fedora Core 3, Nagios v2b3 under root. > > Nagios runs under username "nagios" in groupname "nagios". > > Apache is also a member of "nagios". > > Both apache and nagios usernames are also in a group named "nagioscmd". > > > > Tailed server: > > > > ############### > > [root at nagios libexec]# tail /var/log/messages > > Jun 27 10:36:48 nagios kernel: audit(1119883008.088:0): avc: denied { execute } for pid=4794 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:48 nagios kernel: audit(1119883008.236:0): avc: denied { execute } for pid=4795 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:48 nagios kernel: audit(1119883008.420:0): avc: denied { execute } for pid=4796 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:48 nagios kernel: audit(1119883008.571:0): avc: denied { execute } for pid=4797 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:48 nagios kernel: audit(1119883008.715:0): avc: denied { execute } for pid=4798 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:48 nagios kernel: audit(1119883008.882:0): avc: denied { execute } for pid=4799 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:49 nagios kernel: audit(1119883009.022:0): avc: denied { execute } for pid=4800 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:49 nagios kernel: audit(1119883009.167:0): avc: denied { execute } for pid=4801 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:49 nagios kernel: audit(1119883009.326:0): avc: denied { execute } for pid=4802 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > Jun 27 10:36:49 nagios kernel: audit(1119883009.496:0): avc: denied { execute } for pid=4803 exe=/usr/sbin/httpd name=histogram.cgi dev=dm-0 ino=2641211 scontext=root:system_r:httpd_t tcontext=root:object_r:usr_t tclass=file > > ########### > > > > ls -la of libexec directory: > > > > ######## > > [root at nagios libexec]# ls -la > > total 1932 > > drwxr-xr-x 2 nagios nagios 4096 Jun 24 12:22 . > > drwxr-xr-x 8 nagios nagios 4096 Jun 24 12:22 .. > > -rwxr-xr-x 1 nagios nagios 2274 Jun 24 12:22 check_breeze > > -rwxr-xr-x 1 nagios nagios 51179 Jun 24 12:22 check_by_ssh > > -rwxr-xr-x 1 nagios nagios 50032 Jun 24 12:22 check_dhcp > > -rwxr-xr-x 1 nagios nagios 49225 Jun 24 12:22 check_dig > > -rwxr-xr-x 1 nagios nagios 58774 Jun 24 12:22 check_disk > > -rwxr-xr-x 1 nagios nagios 8049 Jun 24 12:22 check_disk_smb > > -rwxr-xr-x 1 nagios nagios 51894 Jun 24 12:22 check_dns > > -rwxr-xr-x 1 nagios nagios 24200 Jun 24 12:22 check_dummy > > -rwxr-xr-x 1 nagios nagios 3095 Jun 24 12:22 check_file_age > > -rwxr-xr-x 1 nagios nagios 6400 Jun 24 12:22 check_flexlm > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_ftp -> check_tcp > > -rwxr-xr-x 1 nagios nagios 48597 Jun 24 12:22 check_hpjd > > -rwxr-xr-x 1 nagios nagios 97198 Jun 24 12:22 check_http > > -rwxr-xr-x 1 nagios nagios 33313 Jun 24 12:22 check_icmp > > -rwxr-xr-x 1 nagios nagios 15292 Jun 24 12:22 check_ifoperstatus > > -rwxr-xr-x 1 nagios nagios 12858 Jun 24 12:22 check_ifstatus > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_imap -> check_tcp > > -rwxr-xr-x 1 nagios nagios 7437 Jun 24 12:22 check_ircd > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_jabber -> check_tcp > > -rwxr-xr-x 1 nagios nagios 40684 Jun 24 12:22 check_ldap > > lrwxrwxrwx 1 root root 10 Jun 24 12:22 check_ldaps -> check_ldap > > -rwxr-xr-x 1 nagios nagios 37999 Jun 24 12:22 check_load > > -rwxr-xr-x 1 nagios nagios 5943 Jun 24 12:22 check_log > > -rwxr-xr-x 1 nagios nagios 20750 Jun 24 12:22 check_mailq > > -rwxr-xr-x 1 nagios nagios 31970 Jun 24 12:22 check_mrtg > > -rwxr-xr-x 1 nagios nagios 31112 Jun 24 12:22 check_mrtgtraf > > -rwxr-xr-x 1 nagios nagios 43122 Jun 24 12:22 check_mysql > > -rwxr-xr-x 1 nagios nagios 37632 Jun 24 12:22 check_nagios > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_nntp -> check_tcp > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_nntps -> check_tcp > > -rwxr-xr-x 1 nagios nagios 50744 Jun 24 12:22 check_nt > > -rwxr-xr-x 1 nagios nagios 13283 Jun 24 12:22 check_ntp > > -rwxr-xr-x 1 nagios nagios 55458 Jun 24 12:22 check_nwstat > > -rwxr-xr-x 1 nagios nagios 8293 Jun 24 12:22 check_oracle > > -rwxr-xr-x 1 nagios nagios 44614 Jun 24 12:22 check_overcr > > -rwxr-xr-x 1 nagios nagios 40352 Jun 24 12:22 check_pgsql > > -rwxr-xr-x 1 nagios nagios 54374 Jun 24 12:22 check_ping > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_pop -> check_tcp > > -rwxr-xr-x 1 nagios nagios 49001 Jun 24 12:22 check_procs > > -rwxr-xr-x 1 nagios nagios 41450 Jun 24 12:22 check_real > > -rwxr-xr-x 1 nagios nagios 9712 Jun 24 12:22 check_rpc > > -rwxr-xr-x 1 nagios nagios 1176 Jun 24 12:22 check_sensors > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_simap -> check_tcp > > -rwxr-xr-x 1 nagios nagios 71625 Jun 24 12:22 check_smtp > > -rwxr-xr-x 1 nagios nagios 56001 Jun 24 12:22 check_snmp > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_spop -> check_tcp > > -rwxr-xr-x 1 nagios nagios 38656 Jun 24 12:22 check_ssh > > -rwxr-xr-x 1 nagios nagios 39373 Jun 24 12:22 check_swap > > -rwxr-xr-x 1 nagios nagios 0 Jun 27 10:23 check_tcp > > -rwxr-xr-x 1 nagios nagios 40623 Jun 24 12:22 check_time > > -rwxr-xr-x 1 nagios nagios 38822 Jun 24 12:22 check_udp > > lrwxrwxrwx 1 root root 9 Jun 24 12:22 check_udp2 -> check_tcp > > -rwxr-xr-x 1 nagios nagios 48306 Jun 24 12:22 check_ups > > -rwxr-xr-x 1 nagios nagios 35134 Jun 24 12:22 check_users > > -rwxr-xr-x 1 nagios nagios 3024 Jun 24 12:22 check_wave > > -rwxr-xr-x 1 nagios nagios 35078 Jun 24 12:22 negate > > -rwxr-xr-x 1 nagios nagios 33845 Jun 24 12:22 urlize > > -rwxr-xr-x 1 nagios nagios 2469 Jun 24 12:22 utils.pm > > -rwxr-xr-x 1 nagios nagios 868 Jun 24 12:22 utils.sh > > ######### > > > > Not sure what the problem is. Thanks in advance! > > > > J. Ryan Zambon > > rzambon at sjprep.org > > > > > > > > > > ________________________________________________________________ > > Sent via the WebMail system at mail.sjprep.org > > > > > > > > > > > > > > ------------------------------------------------------- > > 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_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 BConrad at passkey.com Mon Jun 27 17:20:54 2005 From: BConrad at passkey.com (Ben Conrad) Date: Mon, 27 Jun 2005 11:20:54 -0400 Subject: Help on CHECK_NRPE: Received 0 bytes from daem on. Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3D52@eagle.passkey.com> If you look in the code of the NRPE client you will see that the following meta-chars are not allowed ( | ` & > < ' " \ [ ] { } ) . I had to hack a nrpe_nt client .vbs script so that when I pass in brO_ and _brC (bracket open/close) the script on the client end translates that to [ ]. This bypasses the security checks that the NRPE client performs, I'm ok with that in my implementation. ' Hack to fix metachars that are not allowed as inputs to NRPE client ' These metachars are not allowed as inputs: | ` & > < ' " \ [ ] { } If Instr(1,ctrA,"brO_") Then ctrA = Replace(ctrA, "brO_", "[") End If If you set debug=1 you will see the nrpe log in the dir where the nrpe binary is (on Windows), and maybe in /var/log or /usr/local/nagios/var.... on *nix? Ben -----Original Message----- From: Lori Adams [mailto:ladams at cloudmark.com] Sent: Friday, June 24, 2005 3:49 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from daemon. I just started getting this same error. For me it has to do with what the argument is that I'm passing to nrpe. I'm attempting to pass a string with '[' or ']' and I get this error: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. I haven't figured out where the log is yet to check for error messages. If the string I pass does not have those brackets, it works. I have tried escaping the brackets to no avail. Thoughts? -Lori -----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 24, 2005 11:13 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from daemon. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kindy Sylla > Sent: Friday, June 24, 2005 12:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from daemon. > > Hello, > I am trying to monitor remote host using nrpe and i am > having the following : CHECK_NRPE: Received 0 bytes > from daemon. > > On the remote host, nrpe is listening on port 5666. > netstat -pta return > ... > tcp 0 0 *:nrpe *:* > LISTEN 3088/nrpe > tcp 0 0 monedia:42670 *:* > LISTEN 3414/xinetd > > The nrpe is running as standalone daemon. No way to > run it under xinetd. I tried everything i know, > followed all the steps. > I am using nrpe-2.0b5 and nagios1-2 on mandrake linux > 10.1. > I hope someone can help!!!! Is your nagios host listed as an allowed_hosts in nrpe.cfg? Can you manually telnet from your nagios host to your nrpe host on port 5666? Have you tried enabling debug in nrpe.cfg? If the first two are correct, the last should direct you to what you need to fix. -- 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_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 ______________________________________________________________________ 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 Ludo.Bosmans at aureusim.be Mon Jun 27 17:36:03 2005 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Mon, 27 Jun 2005 17:36:03 +0200 Subject: About check_disk_smb plugin Message-ID: <02769B432700E649B14C0847840DC83B378B28@becompanysrv020.consulting.becompany> Sivan, Do you have samba installed on your server ? Check_disk_smb is a perl script an inside the script a lookup is done to locate smbclient. Smbclient is the command that is used from inside the script and used to gather info on the windows server. Kind regards, ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sivan DERAY Sent: maandag 27 juni 2005 16:20 To: Tony Earnshaw; Nagios Users Subject: RE: [Nagios-users] About check_disk_smb plugin I still don't understand ... :( -----Message d'origine----- De : Tony Earnshaw [mailto:tonye at billy.demon.nl] Envoy? : jeudi 23 juin 2005 18:09 ? : Nagios Users Objet : Re: [Nagios-users] About check_disk_smb plugin tor, 23.06.2005 kl. 12.56 skrev Sivan DERAY: > I'm runing Nagios 1.2 with the latest nagios-plugin. > > When I test the following command : > > ./check_disk_smb -H 192.168.2.10 -s Share -W na -u sderay -p yaya -w > 85 -c 95 > > 192.168.2.10 is a windows 2K server > > Here is the error : > > Can't exec "//192.168.2.10/Share": Aucun fichier ou r??pertoire de ce type at ./check_disk_smb line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. > Result from smbclient not suitable > Any idea regarding to the synthax or ... ? Yeah. It's spitting out what you want to know in your own language, Franglais. If you look at what you're telling it to do and what it says it can't do, one in English and one in French, you can fathom it out for yourself: ?No program or service of that type at ...?. That's what I have to do in my own chosen language, Nornglish, on my own test machine ... Best, --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 BConrad at passkey.com Mon Jun 27 18:02:02 2005 From: BConrad at passkey.com (Ben Conrad) Date: Mon, 27 Jun 2005 12:02:02 -0400 Subject: Intelligent way to apply MANY service dependan cys? Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3D53@eagle.passkey.com> I think you will want to look at 'service cluster monitoring' http://nagios.sourceforge.net/docs/2_0/clusters.html -----Original Message----- From: Ray Ward [mailto:ray.ward at mapfusion.com] Sent: Friday, June 24, 2005 2:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Intelligent way to apply MANY service dependancys? Hi, I have been using Nagios for a long time but have just switched to Nagios v2.0b3 and I'm re-working my config files a little bit. A large portion of my monitoring is done via the NRPE plugins. And a large portion of the NRPE checks are common across all of the machines. So my structure is as follows...I have all of the Sun servers in a hostgroup SUN-Servers, I have definitions for about 8 common NRPE checks that are assigned to the SUN-Servers hostgroup. So far so good, with very little in the way of definitions I have 100's of checks defined. Now to my problem, I would like to define a service dependancy for all NRPE services to be dependant on one check_nrpe_daemon check. So when the daemon is down I don't receive multiple alerts for every NRPE check. So I'd like to get the equivalent of this: define servicedependency{ dependent_host_name DBDEV dependent_service_description / Root Slice host_name DBDEV service_description Check NRPE inherits_parent 1 execution_failure_criteria o,w,u,c,p notification_failure_criteria o,w,u,c,p } For every common NRPE service for every host in the SUN-Servers group. Now if I use the SUN-Servers hostgroup in the servicedependency definition it makes every NRPE service dependant on EVERY host's NRPE Daemon...this obviously isn't what I want. The best solution I have to this problem is to NOT send notifications for UNKNOWN service checks for every NRPE check except the daemon check. But I'd like to know if there's a better way to apply service dependany's in this situation. Thanks in advance for any help. PS. Below I've included the relevant entries for one host/NRPE check definitions. Ray, define service { use generic-diskcheck hostgroup_name SUN-Servers service_description Check NRPE check_command check_nrpe_daemon } define service { use generic-diskcheck hostgroup_name SUN-Servers service_description / Root Slice check_command check_nrpe!check_disk1! } define service{ name generic-diskcheck use generic-service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups office-admins notification_interval 1440 notification_period 8x5 notification_options w,u,c,r register 0 } define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define hostgroup{ hostgroup_name SUN-Servers alias All SUN Solaris Servers } define host{ name generic-dev-host parents MFSW_SVR01 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 10 notification_interval 60 notification_period 8x5 notification_options d,u,r hostgroups DEV-Servers,Office,SUN-Servers contact_groups office-admins register 0 } define host { use generic-dev-host host_name DBDEV alias Development ColdFusion & Oracle address dbdev.mapfusion.com } _______________________________ Ray Ward System Administrator MapFusion Technologies Inc. mailto:ray.ward at mapfusion.com http://www.mapfusion.com _______________________________ NOTICE: This message is intended only for the use of the individual or entity to which it is addressed; and it, including any attachments, may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please delete it from your system without copying or forwarding it and notify us by telephone (905-709-1925) or by return e-mail immediately. MapFusion Corp. and its affiliated companies do not accept responsibility or liability for any loss or damage arising in any way from your receipt or use or for any errors or omissions in the contents of this communication. ______________________________________________________________________ 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 millard.matt at principal.com Mon Jun 27 18:23:17 2005 From: millard.matt at principal.com (Matt Millard) Date: Mon, 27 Jun 2005 11:23:17 -0500 Subject: Smart CPU monitor for Unix? Message-ID: <1119889397.1105.237247823@webmail.messagingengine.com> I'm looking for some sort of smart CPU monitor. I'd like to have something that does a baseline of the server CPU utilization for a given time period (at least a months worth of data). Then compare the current CPU utilization to that if it is a specified amount differing notify. So say for example that every night for 1 hour I run a system backup that pegs the CPU at 100% (this is at different times for our servers), or it could be some month end processing job, or an end of the week processing job. I want the monitor to be smart enough to not send an alert because this is normal system activities. And obviously it has to hit this threshold a determined amount of times before it sends the alert. What are other people doing for CPU monitoring on Unix systems? Does this approach seam reasonable? Sometimes it's OK for it to be utilized, I just want to know when it's acting odd. I don't currently do any SNMP monitoring, but it is in the plans for the future. Matt Matt Millard| IS Server Administration | 515.248.0033 ------------------------------------------------------- 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 mluettgen at nuvio.com Mon Jun 27 18:32:00 2005 From: mluettgen at nuvio.com (Matt Luettgen) Date: Mon, 27 Jun 2005 11:32:00 -0500 Subject: Smart CPU monitor for Unix? In-Reply-To: <1119889397.1105.237247823@webmail.messagingengine.com> References: <1119889397.1105.237247823@webmail.messagingengine.com> Message-ID: <20050627113200.316f7d02.mluettgen@nuvio.com> It might not be a nagios plugin...but there is the 'sar' command that comes in the sysstat package (see http://perso.wanadoo.fr/sebastien.godard ) that can provide historical data on cpu/memory/io/etc usage. Granted I don't have a script currently to be incorporated into nagios, but it shouldnt be that difficult to hack up. I believe this package can be used on a Unix system, but as I run strictly linux I cant be for sure. Regards, Matt Luettgen On Mon, 27 Jun 2005 11:23:17 -0500 "Matt Millard" wrote: > I'm looking for some sort of smart CPU monitor. I'd like to have > something that does a baseline of the server CPU utilization for a > given time period (at least a months worth of data). Then compare the > current CPU utilization to that if it is a specified amount differing > notify. So say for example that every night for 1 hour I run a system > backup that pegs the CPU at 100% (this is at different times for our > servers), or it could be some month end processing job, or an end of > the week processing job. I want the monitor to be smart enough to not > send an alert because this is normal system activities. And obviously > it has to hit this threshold a determined amount of times before it > sends the alert. > > What are other people doing for CPU monitoring on Unix systems? Does > this approach seam reasonable? Sometimes it's OK for it to be utilized, > I just want to know when it's acting odd. I don't currently do any SNMP > monitoring, but it is in the plans for the future. > > > > Matt > > > Matt Millard| IS Server Administration | 515.248.0033 > > > ------------------------------------------------------- > 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_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 Mon Jun 27 18:36:33 2005 From: francois.laupretre-prestataire at calyon.com (Fran=?utf-8?B?w6c=?=ois Laupretre) Date: Mon, 27 Jun 2005 18:36:33 +0200 Subject: Multiple inheritance Message-ID: <506CE696433BD711B7C6000802B2520C079871CA@mnts3023.capitalmarkets.fr.cly> Look at the xodtemplate_add_object_property function in xdata/xodtemplate.c. After reading it, if you still want to create a patch, good luck ! The easiest way would certainly be to replace the 'template' field in each 'xodtemplate_xxx' struct with an array of templates. Then, you have to modify every 'xodtemplate_resolve_xxx' functions. > I want to have multiple 'use' statements in one objest entry > which derives the > object from both (Allowing an inheritence tree instead of a straight > lineage). > > Evidently that capabilttiy doesn't exist though. Can anyone > tell me where in > the source I should look to try and patch this? -------------- 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 sfrost at macromedia.com Mon Jun 27 18:48:50 2005 From: sfrost at macromedia.com (Scott Frost) Date: Mon, 27 Jun 2005 09:48:50 -0700 Subject: Smart CPU monitor for Unix? In-Reply-To: <20050627113200.316f7d02.mluettgen@nuvio.com> References: <20050627113200.316f7d02.mluettgen@nuvio.com> Message-ID: Matt, I'd suggest you take a look at a product called Netuitive (www.netuitive.com). What your asking for gets very complex and hard to do properly. I've used Netuitive for two years and am very pleased. Thx, Scott Frost On 6/27/05 9:32 AM, "Matt Luettgen" wrote: > It might not be a nagios plugin...but there is the 'sar' command that comes in > the sysstat package (see http://perso.wanadoo.fr/sebastien.godard ) that can > provide historical data on cpu/memory/io/etc usage. Granted I don't have a > script currently to be incorporated into nagios, but it shouldnt be that > difficult to hack up. I believe this package can be used on a Unix system, > but as I run strictly linux I cant be for sure. > > Regards, > > Matt Luettgen > > On Mon, 27 Jun 2005 11:23:17 -0500 > "Matt Millard" wrote: > >> I'm looking for some sort of smart CPU monitor. I'd like to have >> something that does a baseline of the server CPU utilization for a >> given time period (at least a months worth of data). Then compare the >> current CPU utilization to that if it is a specified amount differing >> notify. So say for example that every night for 1 hour I run a system >> backup that pegs the CPU at 100% (this is at different times for our >> servers), or it could be some month end processing job, or an end of >> the week processing job. I want the monitor to be smart enough to not >> send an alert because this is normal system activities. And obviously >> it has to hit this threshold a determined amount of times before it >> sends the alert. >> >> What are other people doing for CPU monitoring on Unix systems? Does >> this approach seam reasonable? Sometimes it's OK for it to be utilized, >> I just want to know when it's acting odd. I don't currently do any SNMP >> monitoring, but it is in the plans for the future. >> >> >> >> Matt >> >> >> Matt Millard| IS Server Administration | 515.248.0033 >> >> >> ------------------------------------------------------- >> 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 >> > -- Scott Frost Monitoring and Tools Engineer Macromedia, Inc. 601 Townsend Street San Francisco, CA 94103 Office: 415-832-5375 email: sfrost at macromedia.com Breeze 5 - high-impact online communications everyone can access instantly. Test drive Breeze 5 today! www.macromedia.com/go/breeze5 ------------------------------------------------------- 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 tonye at billy.demon.nl Mon Jun 27 19:34:19 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Mon, 27 Jun 2005 19:34:19 +0200 Subject: About check_disk_smb plugin In-Reply-To: <4E13BD0442DACA4D9606CAD98924F09A45CF62@srv-nap-atlas-1.net-aptitude.fr> References: <4E13BD0442DACA4D9606CAD98924F09A45CF62@srv-nap-atlas-1.net-aptitude.fr> Message-ID: <1119893659.10388.76.camel@localhost> man, 27.06.2005 kl. 16.19 skrev Sivan DERAY: > I still don't understand ... :( [...] > > ./check_disk_smb -H 192.168.2.10 -s Share -W na -u sderay -p yaya -w > > 85 -c 95 > > > > 192.168.2.10 is a windows 2K server > > > > Here is the error : > > > > Can't exec "//192.168.2.10/Share": Aucun fichier ou r??pertoire de ce type at ./check_disk_smb line 126. > > Use of uninitialized value in split at ./check_disk_smb line 135. > > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. > > Result from smbclient not suitable I translated the French wrong :( but basically it's telling you you don't have an SMB share called "//192.168.2.10/Share". Looking at the --help output, it seems your syntax is completely wrong. Use the --help output for further guidance. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 Jamie_Bohr at Agilent.com Mon Jun 27 19:41:03 2005 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Mon, 27 Jun 2005 11:41:03 -0600 Subject: notifications are missing information In-Reply-To: <42BC59FE.9070503@dkp.com> References: <1119639172.5098.41.camel@incredibles> <42BC59FE.9070503@dkp.com> Message-ID: <1119894063.5372.10.camel@incredibles> Thank you. With your and Marc Powell's help I was able to solve my problem. I accidental copied my old misccommands.cfg file from my Nagios 1.2 install - completely my fault. - Jamie On Fri, 2005-06-24 at 15:07 -0400, Mark Andrews wrote: > Jamie Bohr wrote: > > I just upgraded to Nagios 2b3 and have found that notifications are > > not missing information. > > > > For example Date/Time and Additional information are missing > > information: > > ***** Nagios ***** > > > > Notification Type: ACKNOWLEDGEMENT > > > > Service: httpd > > Host: xxx > > Address: XXXXXXX > > State: WARNING > > > > Date/Time: $ > > > > Additional Info: > > > > $ > > > > > > I use the default command to notify: > > > > define command { > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > } > > > > > > I have searched to list archive but have not found any thing that > > guides me to an answer. The addition information shows up as > > comments on the web page. Please point me in the right direction. > In the 'notify-by-email' command, change $OUTPUT$ to $SERVICEOUTPUT$. > > In the 'host-notify-by-email' command, change $OUTPUT$ to $HOSTOUTPUT > $. Jamie Bohr IT | Technical Computing telnet: 719 590 2396 email: Jamie_Bohr at Agilent.com i.m.: jamie.bohr The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------- 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 tonye at billy.demon.nl Mon Jun 27 19:59:53 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Mon, 27 Jun 2005 19:59:53 +0200 Subject: About check_disk_smb plugin In-Reply-To: <1119893659.10388.76.camel@localhost> References: <4E13BD0442DACA4D9606CAD98924F09A45CF62@srv-nap-atlas-1.net-aptitude.fr> <1119893659.10388.76.camel@localhost> Message-ID: <1119895193.10388.83.camel@localhost> man, 27.06.2005 kl. 19.34 skrev Tony Earnshaw: [...] > > > ./check_disk_smb -H 192.168.2.10 -s Share -W na -u sderay -p yaya -w > > > 85 -c 95 [...] > I translated the French wrong :( but basically it's telling you you > don't have an SMB share called "//192.168.2.10/Share". Looking at the > --help output, it seems your syntax is completely wrong. Use the --help > output for further guidance. Somewhat unhelpful, sorry. -H should be the node's netbios name, not the IP address; i.e. what name is the node known by on the network? --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 corey.mosher at gmail.com Mon Jun 27 21:32:06 2005 From: corey.mosher at gmail.com (Corey Mosher) Date: Mon, 27 Jun 2005 16:32:06 -0300 Subject: check_http Question Message-ID: <9b0cb20905062712329517573@mail.gmail.com> I have a page that I want to check on a remote server to see what the content is. The content returned is like this: Testing 1 Item Locked What I want to check is whether the number is greater than 8 or not. If so it should become CRITICAL. My check command is using check_http and looks like this right now: /usr/lib/nagios/plugins/check_http -H hostname.domain.com -u /status.txt -r "([0-9]+) Item Locked" Now this only detects whether the content has that line or not. What I need is to use regex grouping to get the value and test that it's below a certain number (8). How can I do this? Am I even using the correct approach? Thanks in advance -- Corey Mosher corey.mosher at gmail.com http://www.twistymcgee.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_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 tjl at topdanmark.dk Mon Jun 27 21:36:30 2005 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 27 Jun 2005 21:36:30 +0200 Subject: Vedr.: Smart CPU monitor for Unix? Message-ID: Hi there, I check our CPU's on some win2000 boxes via SNMP. I made a script to get all cpu values and then some thresholds. If the cpu(s) hits 100 % it does not make an alarm at first, but if it hits 100 % during two samples it will - like if a process goes crazy. Then I have some warning thresholds like 85 to 99 => Warning If you have some heavy load hours during NOT workinghours you can make a check_time period called WorkingHours like its called default by Ethan ... ;- ) Anyway you will have to fiddle with this stuff, and perhaps you will never make a bulletproof solution - but it gets pretty close.. Best regards Thomas "Matt Millard" Til: nagios-users at lists.sourceforge.net Sendt af: cc: nagios-users-admin at lists.sour Vedr.: [Nagios-users] Smart CPU monitor for Unix? ceforge.net 27-06-2005 18:23 I'm looking for some sort of smart CPU monitor. I'd like to have something that does a baseline of the server CPU utilization for a given time period (at least a months worth of data). Then compare the current CPU utilization to that if it is a specified amount differing notify. So say for example that every night for 1 hour I run a system backup that pegs the CPU at 100% (this is at different times for our servers), or it could be some month end processing job, or an end of the week processing job. I want the monitor to be smart enough to not send an alert because this is normal system activities. And obviously it has to hit this threshold a determined amount of times before it sends the alert. What are other people doing for CPU monitoring on Unix systems? Does this approach seam reasonable? Sometimes it's OK for it to be utilized, I just want to know when it's acting odd. I don't currently do any SNMP monitoring, but it is in the plans for the future. Matt Matt Millard| IS Server Administration | 515.248.0033 ------------------------------------------------------- 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_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 Mon Jun 27 22:04:17 2005 From: marc at ena.com (Marc Powell) Date: Mon, 27 Jun 2005 15:04:17 -0500 Subject: check_http Question Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Corey Mosher > Sent: Monday, June 27, 2005 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http Question > > I have a page that I want to check on a remote server to see what the > content is. The content returned is like this: > > Testing > 1 Item Locked > > What I want to check is whether the number is greater than 8 or not. > If so it should become CRITICAL. My check command is using check_http > and looks like this right now: > > /usr/lib/nagios/plugins/check_http -H hostname.domain.com -u > /status.txt -r "([0-9]+) Item Locked" > > Now this only detects whether the content has that line or not. What > I need is to use regex grouping to get the value and test that it's > below a certain number (8). How can I do this? Am I even using the > correct approach? The test functionality you are looking for doesn't exist in that plugin. I think it would be pretty straightforward to write a small specialized perl plugin to do that though using the LWP module. Probably less than 2 dozen lines with error checking... -- 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 lists at masonc.com Mon Jun 27 22:17:44 2005 From: lists at masonc.com (Chris Mason (Lists)) Date: Mon, 27 Jun 2005 16:17:44 -0400 Subject: Reading status for Nagios Message-ID: <42C05EE8.2010602@masonc.com> I want to connect our Asterisk PBX to Nagios to allow the PBX to decide what way to route calls based on the status of the route in Nagios. For example, we have two internet providers, and two voip providers, one on each internet connection. If route A has packet loss or is down, that is, Nagios flags as WARN or FAIL, I wold like Asterisk to route the calls to the other, and if both are down, thrugh PSTN. How can I have the Asterisk server query Nagios for a specific service? -- Chris Mason NetConcepts (264) 497-5670 Fax: (264) 497-8463 Int: (305) 704-7249 Fax: (815)301-9759 Cell: 264-235-5670 Yahoo IM: netconcepts_anguilla at 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 andrew at profitability.net Mon Jun 27 22:23:33 2005 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 27 Jun 2005 16:23:33 -0400 Subject: Reading status for Nagios In-Reply-To: <42C05EE8.2010602@masonc.com> References: <42C05EE8.2010602@masonc.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > I want to connect our Asterisk PBX to Nagios to allow the PBX > to decide what way to route calls based on the status of the > route in Nagios. For example, we have two internet providers, > and two voip providers, one on each internet connection. If > route A has packet loss or is down, that is, Nagios flags as > WARN or FAIL, I wold like Asterisk to route the calls to the > other, and if both are down, thrugh PSTN. How can I have the > Asterisk server query Nagios for a specific service? Don't know anything about Asterisk, but it sounds like this might be better handled through the use of eventhandlers in Nagios. I assume there's some type of commandline routine you can run that changes the routing in Asterisk -- just turn that into an eventhandler and you're done. Andrew ------------------------------------------------------- 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 Mon Jun 27 22:29:54 2005 From: Joseph.Petrucci at ddiworld.com (Petrucci, Joseph) Date: Mon, 27 Jun 2005 16:29:54 -0400 Subject: Reading status for Nagios Message-ID: It has been a while since I played with Asterisk but If I am not mistaken you can change the route by command line interface. I would look into use a ping plugin if alloud on the provider and then setup an event hanlder in nagios to change the route on Warnings of failures. Look up event handlers in the documentation and try that. when you have specific problems post them and either I or someone else on the list will try to help out. Good luck, hope thats a start Joe >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Chris >Mason (Lists) >Sent: Monday, June 27, 2005 4:18 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Reading status for Nagios > > >I want to connect our Asterisk PBX to Nagios to allow the PBX >to decide >what way to route calls based on the status of the route in >Nagios. For >example, we have two internet providers, and two voip >providers, one on >each internet connection. If route A has packet loss or is down, that >is, Nagios flags as WARN or FAIL, I wold like Asterisk to route the >calls to the other, and if both are down, thrugh PSTN. How can I have >the Asterisk server query Nagios for a specific service? > >-- >Chris Mason >NetConcepts >(264) 497-5670 Fax: (264) 497-8463 >Int: (305) 704-7249 Fax: (815)301-9759 >Cell: 264-235-5670 >Yahoo IM: netconcepts_anguilla at 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 > > ------------------------------------------------------- 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 jonathan.billey at matrikon.com Mon Jun 27 23:49:16 2005 From: jonathan.billey at matrikon.com (Jonathan Billey) Date: Mon, 27 Jun 2005 15:49:16 -0600 Subject: Notifications via modem Message-ID: <4757E5678A034A44B5D0EE7570FF7924072F60D3@exchange-edm.matrikon.com> Hi All, I am trying to investigate a way to send Nagios notifications to a cell phone/pager using a modem in case the Internet connection goes down. Right now during normal office hours I have notifications sent to a central e-mail queue that the IT department monitors. During off hours notifications are sent to a cell phone using the service & host "e-pager" command. If it was the case that the Internet connection went down and Nagios could not send notifications through e-mail or by text messaging I would like to have a backup where it would use a dialup connection to send out the alert. We are running Nagios 1.2 on FreeBSD 4.10 Has anyone setup this type of notification method? Any help would be much appreciated. JB ************************************************************************** READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010. ************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Mon Jun 27 23:54:36 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 27 Jun 2005 16:54:36 -0500 (CDT) Subject: Notifications via modem In-Reply-To: <4757E5678A034A44B5D0EE7570FF7924072F60D3@exchange-edm.matrikon.com> References: <4757E5678A034A44B5D0EE7570FF7924072F60D3@exchange-edm.matrikon.com> Message-ID: On Mon, 27 Jun 2005, Jonathan Billey wrote: > Hi All, > > I am trying to investigate a way to send Nagios notifications to a cell > phone/pager using a modem in case the Internet connection goes down. > > Right now during normal office hours I have notifications sent to a > central e-mail queue that the IT department monitors. During off hours > notifications are sent to a cell phone using the service & host > "e-pager" command. > > If it was the case that the Internet connection went down and Nagios > could not send notifications through e-mail or by text messaging I would > like to have a backup where it would use a dialup connection to send out > the alert. > > We are running Nagios 1.2 on FreeBSD 4.10 > > Has anyone setup this type of notification method? > > Any help would be much appreciated. > > JB Check out qpage: http://www.qpage.org/ (forgive the wrapping below) # notify-by-qpage command definition define command{ command_name notify-by-qpage command_line /usr/bin/printf "Service: %s\nHost: %s\nAddress: %s\nState: %s\nInfo: %s\nDate: %s" '$SERVICEDESC$' '$HOSTNAME$' '$HOSTADDRESS$' '$SERVICESTATE$' '$OUTPUT$' '$DATETIME$' | /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$ } # host-notify-by-qpage command definition define command{ command_name host-notify-by-qpage command_line /usr/bin/printf "Host '%s' is %s\nInfo: %s\nTime: %s" '$HOSTALIAS$' '$HOSTSTATE$' '$OUTPUT$' '$DATETIME$'b| /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$ } --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.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 RLAdams at AdamsInfoServ.Com Tue Jun 28 01:24:31 2005 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Mon, 27 Jun 2005 18:24:31 -0500 Subject: Notifications via modem In-Reply-To: References: <4757E5678A034A44B5D0EE7570FF7924072F60D3@exchange-edm.matrikon.com> Message-ID: <20050627232431.GA1362@keroberos> I'd recommend Sendpage (sendpage.org) over Qpage. I've run both and highly prefer Sendpage, especially for multiple outbound modems. Russell On Mon, Jun 27, 2005 at 04:54:36PM -0500, Demetri Mouratis wrote: > > On Mon, 27 Jun 2005, Jonathan Billey wrote: > > > Hi All, > > > > I am trying to investigate a way to send Nagios notifications to a cell > > phone/pager using a modem in case the Internet connection goes down. > > > > Right now during normal office hours I have notifications sent to a > > central e-mail queue that the IT department monitors. During off hours > > notifications are sent to a cell phone using the service & host > > "e-pager" command. > > > > If it was the case that the Internet connection went down and Nagios > > could not send notifications through e-mail or by text messaging I would > > like to have a backup where it would use a dialup connection to send out > > the alert. > > > > We are running Nagios 1.2 on FreeBSD 4.10 > > > > Has anyone setup this type of notification method? > > > > Any help would be much appreciated. > > > > JB > > Check out qpage: > > http://www.qpage.org/ > > (forgive the wrapping below) > # notify-by-qpage command definition > define command{ > command_name notify-by-qpage > command_line /usr/bin/printf "Service: %s\nHost: %s\nAddress: > %s\nState: %s\nInfo: %s\nDate: %s" '$SERVICEDESC$' '$HOSTNAME$' > '$HOSTADDRESS$' '$SERVICESTATE$' '$OUTPUT$' '$DATETIME$' | > /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$ > } > > # host-notify-by-qpage command definition > define command{ > command_name host-notify-by-qpage > command_line /usr/bin/printf "Host '%s' is %s\nInfo: %s\nTime: > %s" '$HOSTALIAS$' '$HOSTSTATE$' '$OUTPUT$' '$DATETIME$'b| > /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$ > } > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.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 > > ----------------------------- Russell Adams RLAdams at AdamsInfoServ.com http://www.adamsinfoserv.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 Jesse.Caldwell at Colorado.EDU Tue Jun 28 01:26:27 2005 From: Jesse.Caldwell at Colorado.EDU (Jesse Caldwell) Date: Mon, 27 Jun 2005 17:26:27 -0600 Subject: question about notifications versus escalations Message-ID: <200506272326.j5RNQR6j062447@matrix.Colorado.EDU> Hello list, Our Nagios setup does not notify us about host outages until they have laster for 15 minutes. For critical systems, we want an email and a page after 15 mins. For non-critical systems, we always want an email, but we only want a page if it's during daylight hours Monday-Friday. This is all pretty painless with escalations. The only problem I have is that if a non-critical system goes down on a weekend, I would like a page as soon as we hit the daylight Monday-Friday hours. According to the 2.0b3 docs on notifications: Note: If the time period filter is not passed, Nagios will reschedule the next notification for the host or service (if its in a non-OK state) for the next valid time present in the time period. This does not appear to be true for escalations. Is there a way to make an escalation schedule a notification for a contact's next available time period? Thanks, Jesse ------------------------------------------------------- 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 rick.vandermieden at orangemail.nl Tue Jun 28 08:50:20 2005 From: rick.vandermieden at orangemail.nl (Mieden, Rick van der) Date: Tue, 28 Jun 2005 08:50:20 +0200 Subject: huge performance problems, nagios perparse Message-ID: <88001FC5C453764CA6597FB29874249402F550B3@svex03> All, I've solved my performance problems. It was caused by the performance data in combination with perfparse. When I stopped the performance data I reached a latency of 0,4 sec. Of course the question is why...... Below my configuration related to perfparse and performance data. Any remarks on anything what I did wrong and could cause the heavy performance load would be nice. I also add-ed the perparse-users list, perhaps somebody from that list can have a look at it? Regards Rick cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg perfdata_timeout=5 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata host_perfdata_file=/usr/local/nagios/var/hostperf.log service_perfdata_file=/usr/local/nagios/var/serviceperf.log host_perfdata_file_mode=w service_perfdata_file_mode=w my /usr/local/nagios/etc/nagios_perfparse.cfg looks like: define command { command_name process-service-perfdata command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl /usr/local/nagios/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$" } define command { command_name process-host-perfdata command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl /usr/local/nagios/var/perfdata-host.log "$TIMET$" "$HOSTNAME$" "$HOSTOUTPUT$" "$HOSTPERFDATA$" } -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: Monday, June 27, 2005 15:31 To: Mieden, Rick van der Cc: nagios-users at lists.sourceforge.net; marcus.hildenbrand at sap.com Subject: Re: [Nagios-users] huge performance problems Mieden, Rick van der schrieb: > Thanks for the responses, I tweaked it a bit, but still have a bad > latency with 174 hosts and 2360 services. )I tuned it down from 540 > sec to 224 seconds. My plugins are fine, they are really fast on > commandline. I also have noticed that the latency drops to 4 secs if I > have around 1700 services running. So it looks like Nagios has some > problems when the amount of services go over 2000 over something like > that. > > I'v read something with the USE_MEMORY_PERFORMANCE_TWEAKS. But even > that option does not do anything better with the latency. I also have > read that there are many people who has far more hosts and services > checks than I have without any performance problems. So I'd love to > see their nagios.cfg, or would like to know what the trick is. > > Regards, > > Rick > Hi, nearly the same on our side. Nagios with 1900 Services runs with max. 2-4 seconds Latency. But beware if you want more... I heard from this people too which have more than 2000 Services but most of them are doing a kind of distributed monitoring I think. Regards, Hendrik > -----Original Message----- > *From:* Hendrik Baecker [mailto:b00mer at gmx.net] > *Sent:* Thursday, June 23, 2005 15:50 > *To:* Mieden, Rick van der > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] huge performance problems > > Hi, > > one year ago we have had nearly the same performance Problems too. > > It seems that the scheduler of nagios roles over itself if the count > of services is to big. Therefore we decided to install another nagios > process with different configs in a different directory. So we > splitted our nagios like our networks. One Nagios (nagios-1) for > Network A and another one (nagios-2) for Network B. > > So our count of services per nagios instance was decreased and it runs > so far so good. > > All this was under version 1.2. > > In the past I posted some questions about our problem but there were > no good answer on it, so today I just only know that it works for us. > > So far for this. > I hope nobody will geek me when I take your post to describe some > problems we now have on testing above doing with different instances > on the same host with nagios 2.02b. > > When I fire up my instance "nagios-1" with around 1600 Service Checks > it runs very fine with nearly no latency. > But when I fire up the "nagios-2" with around 1850 services this > instance runs very fast to latencies around 100 seconds. > When I now stop the first instance the latencies on the second one > decrease down to < 5 seconds. > > Perhaps some of the developer can tell me if I am right in theory that > (one of) the working thread(s) with the scheduling queue can see the > other scheduling queue? Are the possibly the same? > > I am not a programmer but I can think about following: Starting > nagios-1 will create the scheduling queue and gives it to RAM. So far > so good. There it is and the worker runs through it and executes the > checks. > I am now afraid that when I start my second nagios process this will > also create the scheduling queue into the system RAM but that the two > proceses don't have their own queues... Hope that anybody understand > what I mean. > > Best regards > Hendrik > > Mieden, Rick van der schrieb: > > We have heavy performance problems with Nagios. We monitor 174 hosts, > with 2255 services and an average latency off 400 seconds!!!! Off > course that's not exceptable. > > I use perl plugins with ssh and snmp plugins. I'v compiled nagios with > perlcache and embedded-perl enabled. The server is a sparc server with > 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) > > I played around with all kind of parameters and read the tuning docs > for nagios. > > Below the output of "nagios -s nagios.cfg": > > Nagios 2.0b3 > > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org > ) > > Last Modified: 04-03-2005 > > License: GPL > > Projected scheduling information for host and service > > checks is listed below. This information assumes that > > you are going to start running Nagios with your current > > config files. > > HOST SCHEDULING INFORMATION > > --------------------------- > > Total hosts: 174 > > Total scheduled hosts: 0 > > Host inter-check delay method: SMART > > Average host check interval: 0.00 sec > > Host inter-check delay: 0.00 sec > > Max host check spread: 30 min > > First scheduled check: N/A > > Last scheduled check: N/A > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 2255 > > Total scheduled services: 2255 > > Service inter-check delay method: SMART > > Average service check interval: 222.47 sec > > Inter-check delay: 0.10 sec > > Interleave factor method: SMART > > Average services per host: 12.96 > > Service interleave factor: 13 > > Max service check spread: 30 min > > First scheduled check: Wed Jun 22 15:05:08 2005 > > Last scheduled check: Wed Jun 22 15:08:50 2005 > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Service check reaper interval: 5 sec > > Max concurrent service checks: 200 > > PERFORMANCE SUGGESTIONS > > ----------------------- > > I have no suggestions - things look okay. > > And a nagiostat output: > > CURRENT STATUS DATA > > ---------------------------------------------------- > > Status File: /usr/local/nagios/var/status.dat > > Status File Age: 0d 0h 0m 13s > > Status File Version: 2.0b3 > > Program Running Time: 0d 32h 0m 13s > > Total Services: 2255 > > Services Checked: 2255 > > Services Scheduled: 2255 > > Active Service Checks: 2255 > > Passive Service Checks: 0 > > Total Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Service Latency: 386.526 / 414.446 / 394.100 %* > > Active Service Execution Time: 0.062 / 60.349 / 1.428 sec > > Active Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255* > > Passive Service State Change: 0.000 / 0.000 / 0.000 % > > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 > > Services Flapping: 0 > > Services In Downtime: 0 > > Total Hosts: 174 > > Hosts Checked: 174 > > Hosts Scheduled: 0 > > Active Host Checks: 174 > > Passive Host Checks: 0 > > Total Host State Change: 0.000 / 0.000 / 0.000 % > > Active Host Latency: 0.000 / 0.000 / 0.000 % > > Active Host Execution Time: 0.137 / 1.109 / 0.582 sec > > Active Host State Change: 0.000 / 0.000 / 0.000 % > > Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 > > Passive Host State Change: 0.000 / 0.000 / 0.000 % > > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Hosts Up/Down/Unreach: 174 / 0 / 0 > > Hosts Flapping: 0 > > Hosts In Downtime: 0 > > Anybody an idea what went wrong here? There must be something...... > > Regards, > > Rick > > =========================================================== > > 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. > > =========================================================== > > =========================================================== > > 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. > > =========================================================== > =========================================================== 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. =========================================================== ------------------------------------------------------- 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 Philipp.Sand at sycor.de Tue Jun 28 09:07:33 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 28 Jun 2005 09:07:33 +0200 Subject: AW: huge performance problems, nagios perparse Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC99C3@SYGOMAIL.GOE.AD.SYCOR.DE> I'm not using the perfparse pipe method, but I think this may bet he reason for your latency. As far as I understood, the pipe method is not suiteable when you have a lot of performance data, because for every data it opens a new process, when you haven't configured Nagios with embedded perl and perlcache. Maybe you should try out another method. I'm running perfparse with the "Periodic Nagios Log Parse" with about 2000 Service checks... _____________________________ 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 Mieden, Rick van der > Gesendet: Dienstag, 28. Juni 2005 08:50 > An: nagios-users at lists.sourceforge.net; perfparse- > users at lists.sourceforge.net > Betreff: RE: [Nagios-users] huge performance problems, nagios perparse > > All, > > I've solved my performance problems. It was caused by the performance > data in combination with perfparse. When I stopped the performance data > I reached a latency of 0,4 sec. > Of course the question is why...... > > Below my configuration related to perfparse and performance data. Any > remarks on anything what I did wrong and could cause the heavy > performance load would be nice. I also add-ed the perparse-users list, > perhaps somebody from that list can have a look at it? > > Regards > > Rick > > cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg > perfdata_timeout=5 > process_performance_data=1 > host_perfdata_command=process-host-perfdata > service_perfdata_command=process-service-perfdata > host_perfdata_file=/usr/local/nagios/var/hostperf.log > service_perfdata_file=/usr/local/nagios/var/serviceperf.log > host_perfdata_file_mode=w > service_perfdata_file_mode=w > > my /usr/local/nagios/etc/nagios_perfparse.cfg looks like: > > define command { > command_name process-service-perfdata > command_line > /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl > /usr/local/nagios/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" > "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$" > } > > define command { > command_name process-host-perfdata > command_line > /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl > /usr/local/nagios/var/perfdata-host.log > "$TIMET$" "$HOSTNAME$" "$HOSTOUTPUT$" "$HOSTPERFDATA$" > } > > > > -----Original Message----- > From: Hendrik Baecker [mailto:b00mer at gmx.net] > Sent: Monday, June 27, 2005 15:31 > To: Mieden, Rick van der > Cc: nagios-users at lists.sourceforge.net; marcus.hildenbrand at sap.com > Subject: Re: [Nagios-users] huge performance problems > > Mieden, Rick van der schrieb: > > > Thanks for the responses, I tweaked it a bit, but still have a bad > > latency with 174 hosts and 2360 services. )I tuned it down from 540 > > sec to 224 seconds. My plugins are fine, they are really fast on > > commandline. I also have noticed that the latency drops to 4 secs if I > > have around 1700 services running. So it looks like Nagios has some > > problems when the amount of services go over 2000 over something like > > that. > > > > I'v read something with the USE_MEMORY_PERFORMANCE_TWEAKS. But even > > that option does not do anything better with the latency. I also have > > read that there are many people who has far more hosts and services > > checks than I have without any performance problems. So I'd love to > > see their nagios.cfg, or would like to know what the trick is. > > > > Regards, > > > > Rick > > > Hi, > > nearly the same on our side. Nagios with 1900 Services runs with max. > 2-4 seconds Latency. But beware if you want more... > > I heard from this people too which have more than 2000 Services but most > of them are doing a kind of distributed monitoring I think. > > Regards, > Hendrik > > > -----Original Message----- > > *From:* Hendrik Baecker [mailto:b00mer at gmx.net] > > *Sent:* Thursday, June 23, 2005 15:50 > > *To:* Mieden, Rick van der > > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] huge performance problems > > > > Hi, > > > > one year ago we have had nearly the same performance Problems too. > > > > It seems that the scheduler of nagios roles over itself if the count > > of services is to big. Therefore we decided to install another nagios > > process with different configs in a different directory. So we > > splitted our nagios like our networks. One Nagios (nagios-1) for > > Network A and another one (nagios-2) for Network B. > > > > So our count of services per nagios instance was decreased and it runs > > so far so good. > > > > All this was under version 1.2. > > > > In the past I posted some questions about our problem but there were > > no good answer on it, so today I just only know that it works for us. > > > > So far for this. > > I hope nobody will geek me when I take your post to describe some > > problems we now have on testing above doing with different instances > > on the same host with nagios 2.02b. > > > > When I fire up my instance "nagios-1" with around 1600 Service Checks > > it runs very fine with nearly no latency. > > But when I fire up the "nagios-2" with around 1850 services this > > instance runs very fast to latencies around 100 seconds. > > When I now stop the first instance the latencies on the second one > > decrease down to < 5 seconds. > > > > Perhaps some of the developer can tell me if I am right in theory that > > (one of) the working thread(s) with the scheduling queue can see the > > other scheduling queue? Are the possibly the same? > > > > I am not a programmer but I can think about following: Starting > > nagios-1 will create the scheduling queue and gives it to RAM. So far > > so good. There it is and the worker runs through it and executes the > > checks. > > I am now afraid that when I start my second nagios process this will > > also create the scheduling queue into the system RAM but that the two > > proceses don't have their own queues... Hope that anybody understand > > what I mean. > > > > Best regards > > Hendrik > > > > Mieden, Rick van der schrieb: > > > > We have heavy performance problems with Nagios. We monitor 174 hosts, > > with 2255 services and an average latency off 400 seconds!!!! Off > > course that's not exceptable. > > > > I use perl plugins with ssh and snmp plugins. I'v compiled nagios with > > perlcache and embedded-perl enabled. The server is a sparc server with > > 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) > > > > I played around with all kind of parameters and read the tuning docs > > for nagios. > > > > Below the output of "nagios -s nagios.cfg": > > > > Nagios 2.0b3 > > > > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org > > ) > > > > Last Modified: 04-03-2005 > > > > License: GPL > > > > Projected scheduling information for host and service > > > > checks is listed below. This information assumes that > > > > you are going to start running Nagios with your current > > > > config files. > > > > HOST SCHEDULING INFORMATION > > > > --------------------------- > > > > Total hosts: 174 > > > > Total scheduled hosts: 0 > > > > Host inter-check delay method: SMART > > > > Average host check interval: 0.00 sec > > > > Host inter-check delay: 0.00 sec > > > > Max host check spread: 30 min > > > > First scheduled check: N/A > > > > Last scheduled check: N/A > > > > SERVICE SCHEDULING INFORMATION > > > > ------------------------------- > > > > Total services: 2255 > > > > Total scheduled services: 2255 > > > > Service inter-check delay method: SMART > > > > Average service check interval: 222.47 sec > > > > Inter-check delay: 0.10 sec > > > > Interleave factor method: SMART > > > > Average services per host: 12.96 > > > > Service interleave factor: 13 > > > > Max service check spread: 30 min > > > > First scheduled check: Wed Jun 22 15:05:08 2005 > > > > Last scheduled check: Wed Jun 22 15:08:50 2005 > > > > CHECK PROCESSING INFORMATION > > > > ---------------------------- > > > > Service check reaper interval: 5 sec > > > > Max concurrent service checks: 200 > > > > PERFORMANCE SUGGESTIONS > > > > ----------------------- > > > > I have no suggestions - things look okay. > > > > And a nagiostat output: > > > > CURRENT STATUS DATA > > > > ---------------------------------------------------- > > > > Status File: /usr/local/nagios/var/status.dat > > > > Status File Age: 0d 0h 0m 13s > > > > Status File Version: 2.0b3 > > > > Program Running Time: 0d 32h 0m 13s > > > > Total Services: 2255 > > > > Services Checked: 2255 > > > > Services Scheduled: 2255 > > > > Active Service Checks: 2255 > > > > Passive Service Checks: 0 > > > > Total Service State Change: 0.000 / 5.860 / 0.003 % > > > > *Active Service Latency: 386.526 / 414.446 / 394.100 %* > > > > Active Service Execution Time: 0.062 / 60.349 / 1.428 sec > > > > Active Service State Change: 0.000 / 5.860 / 0.003 % > > > > *Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255* > > > > Passive Service State Change: 0.000 / 0.000 / 0.000 % > > > > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > > > Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 > > > > Services Flapping: 0 > > > > Services In Downtime: 0 > > > > Total Hosts: 174 > > > > Hosts Checked: 174 > > > > Hosts Scheduled: 0 > > > > Active Host Checks: 174 > > > > Passive Host Checks: 0 > > > > Total Host State Change: 0.000 / 0.000 / 0.000 % > > > > Active Host Latency: 0.000 / 0.000 / 0.000 % > > > > Active Host Execution Time: 0.137 / 1.109 / 0.582 sec > > > > Active Host State Change: 0.000 / 0.000 / 0.000 % > > > > Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 > > > > Passive Host State Change: 0.000 / 0.000 / 0.000 % > > > > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > > > Hosts Up/Down/Unreach: 174 / 0 / 0 > > > > Hosts Flapping: 0 > > > > Hosts In Downtime: 0 > > > > Anybody an idea what went wrong here? There must be something...... > > > > Regards, > > > > Rick > > > > =========================================================== > > > > 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. > > > > =========================================================== > > > > =========================================================== > > > > 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. > > > > =========================================================== > > > > > > =========================================================== > > 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. > > > =========================================================== > > > ------------------------------------------------------- > 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 Evert.Goor at benp.nl Tue Jun 28 09:14:49 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Tue, 28 Jun 2005 09:14:49 +0200 Subject: Gui for nagios Message-ID: <19CCC8E70E4FA941848269F0C5D832CC89869A@post.systems.nl> Hi I'm using nagios and it Works fine. Only now I'm looking for a nice gui/program to configure nagios without typing a lot :-) I tried to use Monarch but that program messes up al the rights of nagios. Is there any other good working Gui ? Evert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3026 bytes Desc: not available URL: From ae at op5.se Tue Jun 28 10:00:14 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Jun 2005 10:00:14 +0200 Subject: check_http Question In-Reply-To: <9b0cb20905062712329517573@mail.gmail.com> References: <9b0cb20905062712329517573@mail.gmail.com> Message-ID: <42C1038E.4050204@op5.se> Corey Mosher wrote: > I have a page that I want to check on a remote server to see what the > content is. The content returned is like this: > > Testing > 1 Item Locked > > What I want to check is whether the number is greater than 8 or not. > If so it should become CRITICAL. My check command is using check_http > and looks like this right now: > > /usr/lib/nagios/plugins/check_http -H hostname.domain.com -u > /status.txt -r "([0-9]+) Item Locked" > > Now this only detects whether the content has that line or not. What > I need is to use regex grouping to get the value and test that it's > below a certain number (8). How can I do this? Am I even using the > correct approach? > check_http -H hostname.domain.com -u /status.txt -r "([0-8]) Item locked" should do the trick. Other than that, you're down to parsing numbers and you would need a completely different plugin for that (custom-made, probably). -- 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 me-lists at eichler-fleschuetz.de Tue Jun 28 10:15:06 2005 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Tue, 28 Jun 2005 10:15:06 +0200 Subject: Gui for nagios In-Reply-To: <19CCC8E70E4FA941848269F0C5D832CC89869A@post.systems.nl> References: <19CCC8E70E4FA941848269F0C5D832CC89869A@post.systems.nl> Message-ID: <42C1070A.2000104@eichler-fleschuetz.de> Hi Evert, I think nagiosql is something really nice, everything with nice dropdown menus etc. Its still in dev, but they are definetly on the right way...for my taste...;) Matthias Evert Goor schrieb: > Hi > > > > I?m using nagios and it Works fine. Only now I?m looking for a nice > gui/program to configure nagios without typing a lot J > > I tried to use Monarch but that program messes up al the rights of > nagios. Is there any other good working Gui ? > > > > Evert > > > > > > ------------------------------------------------------------------------ > > _Disclaimer B&P Computersystems BV_ > > The information contained in this e-mail message is confidential and may > be legally privileged. It is intended solely for the use of the > individual or entity to whom it is addressed and others authorised to > receive it. If you are not the intended recipient you are hereby > notified that any disclosure, copying, distribution or taking any action > in reliance on the contents of this information is strictly prohibited > and may be unlawful. If you are not the intended recipient, please > contact the sender as soon as possible. B+P Computersystems bv is > neither liable for the proper and complete transmission of the > information contained in this communication nor for any delay in its > receipt. > > ------------------------------------------------------------------------ > ------------------------------------------------------- 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 Tue Jun 28 11:02:55 2005 From: nagios-ml at sentries.org (Ralph Seichter) Date: Tue, 28 Jun 2005 11:02:55 +0200 (CEST) Subject: Plugin check_smtp erroneously reporting "service critical" Message-ID: <46767.193.24.32.36.1119949375.squirrel@sentries.org> Hi, I am wondering about false "service critical" alerts resulting from check_smtp (nagios-plugins 1.4) 1.43. The plugin fails with "socket timeout after 10 seconds" when monitoring a remote Postfix server, while this server is happily routing mail at the same time, even back to the server running Nagios, as you can see in the logs (as line breaks would render the logs harder to read, I'll attach them instead of including them in the message body). My Nagios configuration is as follows: define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ } define service{ use generic-service name foo-24x7 is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups foo-admins notification_options w,u,c,r notification_interval 480 notification_period 24x7 register 0 } define service{ use foo-24x7 host_name foo service_description SMTP check_command check_smtp } I've tried increasing the SMTP plugin timeout up to 30 seconds (10 is the default), but I still receive the misleading messages. Does anybody else see a similar behaviour? What can I do to get the SMTP plugin working correctly? -- 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/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Nagios.log Type: application/octet-stream Size: 518 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Postfix.log Type: application/octet-stream Size: 3138 bytes Desc: not available URL: From olivier.boissard at cerene.fr Tue Jun 28 14:16:21 2005 From: olivier.boissard at cerene.fr (Olivier Boissard) Date: Tue, 28 Jun 2005 14:16:21 +0200 Subject: CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <20050627150034.A671233D01@sc8-sf-spam1.sourceforge.net> References: <20050627150034.A671233D01@sc8-sf-spam1.sourceforge.net> Message-ID: <42C13F95.1010608@cerene.fr> hello I can't identify the problem. I used Nagios (with NRPE) to monitor a server located on the same network and everything was OK. But, I had to change the loc ation of this server (on another network). Now I get the well-known message : CHECK_NRPE: Error - Could not complete SSL handshake - I changed the nrpe-xinetd script in order to math the new IP adress - I modified my hosts.cfg file -I also changed my nrpe.cfg file but i think it was not necessary What did i forget ? Has someone an idea about the problem ??? Thanks Olivier ------------------------------------------------------- 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 ralf.prengel at comline.de Tue Jun 28 15:41:29 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Tue, 28 Jun 2005 15:41:29 +0200 Subject: monitoring navison system Message-ID: <42C15389.7050103@comline.de> Is anyone here who is monitoring a windows-system with a navision installation? Using the standard tests is no problem but perhaps there are some individuell checks for navision. Thanks Ralf ------------------------------------------------------- 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 Philipp.Sand at sycor.de Tue Jun 28 15:48:26 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 28 Jun 2005 15:48:26 +0200 Subject: AW: monitoring navison system Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E01CC9A29@SYGOMAIL.GOE.AD.SYCOR.DE> Unfortunately it seems to be pretty hard to monitor a Navision/Axapta System. We monitor the MSSQL Database for DB Locks, if there are too many DB Locks, there's mostly always a Problem with Axapta... If you have other suggestions, please forward them. 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 Ralf Prengel > Gesendet: Dienstag, 28. Juni 2005 15:41 > An: nagios_list > Betreff: [Nagios-users] monitoring navison system > > Is anyone here who is monitoring a windows-system with a navision > installation? > Using the standard tests is no problem but perhaps there are some > individuell checks for navision. > > Thanks > > Ralf > > > ------------------------------------------------------- > 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 etouchett at aeieng.com Tue Jun 28 15:49:12 2005 From: etouchett at aeieng.com (Evan Touchett) Date: Tue, 28 Jun 2005 08:49:12 -0500 Subject: Help! nrpe_nt, service check when name contains $ problem Message-ID: I am trying to get nagios and nrpe to check a windows 2003 server service. The problem I am experiencing is that the name of the service contains a $ in it. The service name in the registry on the windows server is "MSSQL$BKUPEXEC" In services.cfg on the linux box running nagios 2.0b, I have the following for the service check. define service{ use generic-service ; Name of service template to use host_name TapeBackup service_description Service - BE MSSQL is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups windows-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!MSSQL\$BKUPEXEC } But I get a warning with the results showing " MSSQL$BKUPEXEC$: Unknown " as you can see it is adding another $ at then endof the service name. Can anyone suggest a way to pass the name correctly? 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 ae at op5.se Tue Jun 28 15:59:35 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Jun 2005 15:59:35 +0200 Subject: Help! nrpe_nt, service check when name contains $ problem In-Reply-To: References: Message-ID: <42C157C7.7050303@op5.se> Evan Touchett wrote: > I am trying to get nagios and nrpe to check a windows 2003 server > service. The problem I am experiencing is that the name of the > service contains a $ in it. > > The service name in the registry on the windows server is > "MSSQL$BKUPEXEC" > > In services.cfg on the linux box running nagios 2.0b, I have the > following for the service check. > > define service{ use generic-service > ; Name of service template to use host_name > TapeBackup service_description Service - BE MSSQL > is_volatile 0 check_period > 24x7 max_check_attempts 3 normal_check_interval > 5 retry_check_interval 1 contact_groups > windows-admins notification_interval 120 > notification_period 24x7 notification_options > w,u,c,r check_command > check_nt_service!MSSQL\$BKUPEXEC } > > But I get a warning with the results showing " MSSQL$BKUPEXEC$: > Unknown " as you can see it is adding another $ at then endof the > service name. Can anyone suggest a way to pass the name correctly? > Escape the $ with a $, so that you have double dollar-signs in your command, like so MSSQL\$$BKUPEXEC -- 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 28 16:20:25 2005 From: BConrad at passkey.com (Ben Conrad) Date: Tue, 28 Jun 2005 10:20:25 -0400 Subject: Gui for nagios Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3D62@eagle.passkey.com> I've been using NagiosQL for a few months and like it a lot. Since the configs are sourced from a database means you can easily change a bunch of configs with a SQL statement and then have the GUI write out the .cfg files for you. There is one bug (sourceforge #1208820) that may give you a hard time if your configs have quotes in them, otherwise it's a good piece of software! Ben -----Original Message----- From: Matthias Eichler [mailto:me-lists at eichler-fleschuetz.de] Sent: Tuesday, June 28, 2005 4:15 AM To: Evert Goor Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Gui for nagios Hi Evert, I think nagiosql is something really nice, everything with nice dropdown menus etc. Its still in dev, but they are definetly on the right way...for my taste...;) Matthias Evert Goor schrieb: > Hi > > > > I?m using nagios and it Works fine. Only now I?m looking for a nice > gui/program to configure nagios without typing a lot J > > I tried to use Monarch but that program messes up al the rights of > nagios. Is there any other good working Gui ? > > > > Evert > > > > > > ------------------------------------------------------------------------ > > _Disclaimer B&P Computersystems BV_ > > The information contained in this e-mail message is confidential and may > be legally privileged. It is intended solely for the use of the > individual or entity to whom it is addressed and others authorised to > receive it. If you are not the intended recipient you are hereby > notified that any disclosure, copying, distribution or taking any action > in reliance on the contents of this information is strictly prohibited > and may be unlawful. If you are not the intended recipient, please > contact the sender as soon as possible. B+P Computersystems bv is > neither liable for the proper and complete transmission of the > information contained in this communication nor for any delay in its > receipt. > > ------------------------------------------------------------------------ > ------------------------------------------------------- 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 ______________________________________________________________________ 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_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 basile.mathieu at siris.sorbonne.fr Tue Jun 28 17:27:26 2005 From: basile.mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 28 Jun 2005 17:27:26 +0200 Subject: strange Warning and source modification Message-ID: <1119972446.42c16c5ee8a79@mail.sorbonne.fr> hi i have two questions : first i have this line in my log and don t understand what it means /usr/local/nagios/var/nagios.log:[1119960410] Warning: Message queue contained results for service '' on host '?'. The service could not be found! /usr/local/nagios/var/nagios.log:[1119960661] Warning: Message queue contained results for service '' on host '?x /usr/local/nagios/var/nagios.log:[1119961089] Warning: Message queue contained results for service '' on host '?? '. The service could not be found! /usr/local/nagios/var/nagios.log:[1119961370] Warning: Message queue contained results for service '' on host '?'. The service could not be found! /usr/local/nagios/var/nagios.log:[1119961930] Warning: Message queue contained results for service '' on host 'x?'. The service could not be found! /usr/local/nagios/var/nagios.log:[1119963481] Warning: Message queue contained results for service 'os/etc/switch_conf_195.220.107.207' on host ' '. The service could not be found! second i use nagios to get vlan information and to see it in the nagios interface i have to recompile nagios with MAX_PLUGIN_OUTPUT larger when i launch nagios i have Warning: Size of service_message struct (4252 bytes) is > POSIX-guaranteed atomic write size (512 bytes). Service checks results may get lost or mangled! and i set this MAX_PLUGIN_OUTPUT larger and larger but it seems that the output in the web interface don t increase thanks for help basile -------------------------------------------------------- Ce message a ?t? envoy? par le Webmail Sorbonne via IMP. http://courrier.sorbonne.fr/ http://mail.sorbonne.fr/ ------------------------------------------------------- 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 28 17:56:09 2005 From: marc at ena.com (Marc Powell) Date: Tue, 28 Jun 2005 10:56:09 -0500 Subject: strange Warning and source modification Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Basile Mathieu > Sent: Tuesday, June 28, 2005 10:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] strange Warning and source modification > > > > hi > i have two questions : > first i have this line in my log and don t understand what it means > > /usr/local/nagios/var/nagios.log:[1119960410] Warning: Message queue > contained > results for service '' on host '?'. The service could not be found! > /usr/local/nagios/var/nagios.log:[1119960661] Warning: Message queue > contained > results for service '' on host '?x > /usr/local/nagios/var/nagios.log:[1119961089] Warning: Message queue > contained > results for service '' on host '?? > '. The service could not be found! > /usr/local/nagios/var/nagios.log:[1119961370] Warning: Message queue > contained > results for service '' on host '?'. The service could not be found! > /usr/local/nagios/var/nagios.log:[1119961930] Warning: Message queue > contained > results for service '' on host 'x?'. The service could not be found! > /usr/local/nagios/var/nagios.log:[1119963481] Warning: Message queue > contained > results for service 'os/etc/switch_conf_195.220.107.207' on host ' > '. The service could not be found! You haven't provided much information on your installation but at a guess, you have something that is writing bad data to nagios.cmd. Do you have something submitting passive service checks? Have you mistakenly configured some application to write to nagios.cmd when it shouldn't be? I would have expected something like 'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where does that come from? > second i use nagios to get vlan information and to see it in the nagios > interface i have to recompile nagios with MAX_PLUGIN_OUTPUT larger > when i launch nagios i have > > Warning: Size of service_message struct (4252 bytes) is > POSIX-guaranteed > atomic write size (512 bytes). Service checks results may get lost or > mangled! > > and i set this MAX_PLUGIN_OUTPUT larger and larger but it seems that the > output > in the web interface don t increase Hmm. Seems like that would correlate nicely with the problems that you're seeing above (specifically service checks being mangled). This last might be better for nagios-devel but I'll bet that the max size and the warning above are there for a reason. 4K is a _lot_ for plugin return data and I'll bet there are other variables that you'll need to adjust to support that, if it's possible at all. -- 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 ladams at cloudmark.com Tue Jun 28 18:45:25 2005 From: ladams at cloudmark.com (Lori Adams) Date: Tue, 28 Jun 2005 09:45:25 -0700 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: Have you looked at the FAQ yet? http://nagios.org/faqs/index.php?section_id=4&expand=false&showdesc=fals e I always get this when I don't have the "allowed hosts" section in my nrpe.cfg set up correctly. Since you moved it to another network, I bet that's the problem. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Olivier Boissard Sent: Tuesday, June 28, 2005 5:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake hello I can't identify the problem. I used Nagios (with NRPE) to monitor a server located on the same network and everything was OK. But, I had to change the loc ation of this server (on another network). Now I get the well-known message : CHECK_NRPE: Error - Could not complete SSL handshake - I changed the nrpe-xinetd script in order to math the new IP adress - I modified my hosts.cfg file -I also changed my nrpe.cfg file but i think it was not necessary What did i forget ? Has someone an idea about the problem ??? Thanks Olivier ------------------------------------------------------- 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 tonye at billy.demon.nl Tue Jun 28 18:53:31 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Tue, 28 Jun 2005 18:53:31 +0200 Subject: Gui for nagios In-Reply-To: <8FB96300C132D511AE7500508BD6ABCD05AB3D62@eagle.passkey.com> References: <8FB96300C132D511AE7500508BD6ABCD05AB3D62@eagle.passkey.com> Message-ID: <1119977611.12634.22.camel@localhost> tir, 28.06.2005 kl. 16.20 skrev Ben Conrad: > I've been using NagiosQL for a few months and like it a lot. Since the > configs are sourced from a database means you can easily change a bunch of > configs with a SQL statement and then have the GUI write out the .cfg files > for you. > > There is one bug (sourceforge #1208820) that may give you a hard time if > your configs have quotes in them, otherwise it's a good piece of software! This might be Nagios 1, right? The SQL backend isn't there any more for Nagios 2. However, nagiosQL is, and there are no bugs tat I've discovered after 2 months of use. --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 Tue Jun 28 19:21:58 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Jun 2005 19:21:58 +0200 Subject: strange Warning and source modification In-Reply-To: References: Message-ID: <42C18736.7000802@op5.se> Marc Powell wrote: > >> -----Original Message----- From: >> nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Basile Mathieu Sent: >> Tuesday, June 28, 2005 10:27 AM To: >> nagios-users at lists.sourceforge.net Subject: [Nagios-users] strange >> Warning and source modification >> >> >> >> hi i have two questions : first i have this line in my log and don >> t understand what it means >> >> /usr/local/nagios/var/nagios.log:[1119960410] Warning: Message >> queue contained results for service '' on host '?'. The service >> could not be found! /usr/local/nagios/var/nagios.log:[1119960661] >> Warning: Message queue contained results for service '' on host >> '?x /usr/local/nagios/var/nagios.log:[1119961089] Warning: Message >> queue contained results for service '' on host '?? '. The service >> could not be found! /usr/local/nagios/var/nagios.log:[1119961370] >> Warning: Message queue contained results for service '' on host >> '?'. The service could not be found! >> /usr/local/nagios/var/nagios.log:[1119961930] Warning: Message >> queue contained results for service '' on host 'x?'. The service >> could not be found! /usr/local/nagios/var/nagios.log:[1119963481] >> Warning: Message queue contained results for service >> 'os/etc/switch_conf_195.220.107.207' on host ' '. The service >> could not be found! > > > You haven't provided much information on your installation but at a > guess, you have something that is writing bad data to nagios.cmd. Do > you have something submitting passive service checks? Have you > mistakenly configured some application to write to nagios.cmd when it > shouldn't be? I would have expected something like > 'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where > does that come from? > > >> second i use nagios to get vlan information and to see it in the >> nagios interface i have to recompile nagios with MAX_PLUGIN_OUTPUT >> larger when i launch nagios i have >> >> Warning: Size of service_message struct (4252 bytes) is > >> POSIX-guaranteed atomic write size (512 bytes). Service checks >> results may get lost or mangled! >> >> and i set this MAX_PLUGIN_OUTPUT larger and larger but it seems >> that the output in the web interface don t increase > > > Hmm. Seems like that would correlate nicely with the problems that > you're seeing above (specifically service checks being mangled). This > last might be better for nagios-devel but I'll bet that the max size > and the warning above are there for a reason. 4K is a _lot_ for > plugin return data and I'll bet there are other variables that you'll > need to adjust to support that, if it's possible at all. > It's possible, but on Linux some fiddling and a re-compile of the kernel is necessary to enable named pipe transfers larger than 4096 bytes. I believe (although I'm not sure) that this holds true for *BSD as well. > -- 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 > -- 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 basile.mathieu at siris.sorbonne.fr Tue Jun 28 19:52:53 2005 From: basile.mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 28 Jun 2005 19:52:53 +0200 Subject: strange Warning and source modification In-Reply-To: <42C18736.7000802@op5.se> References: <42C18736.7000802@op5.se> Message-ID: <1119981173.42c18e75d8e91@mail.sorbonne.fr> first thanks :) here is my system : 3 nagios servers ( one under Fedora , two under gentoo ( one 386 and one sparc ) there are two active servers which send results with nsca > >'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where > > does that come from? i use bash script to get informations on vlan and switch configuration i just "echo > " for seing informations in nagios interface i observe that the are some checks that seems to stop ( the last check time "freeze" ) it might be the reason of this logs : usr/local/nagios/var/nagios.log:[1119960410] Warning: Message > >> queue contained results for service '' on host '?'. The service > >> could not be found! /usr/local/nagios/var/nagios.log:[1119960661] basile Selon Andreas Ericsson : > Marc Powell wrote: > > > >> -----Original Message----- From: > >> nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > >> admin at lists.sourceforge.net] On Behalf Of Basile Mathieu Sent: > >> Tuesday, June 28, 2005 10:27 AM To: > >> nagios-users at lists.sourceforge.net Subject: [Nagios-users] strange > >> Warning and source modification > >> > >> > >> > >> hi i have two questions : first i have this line in my log and don > >> t understand what it means > >> > >> /usr/local/nagios/var/nagios.log:[1119960410] Warning: Message > >> queue contained results for service '' on host '?'. The service > >> could not be found! /usr/local/nagios/var/nagios.log:[1119960661] > >> Warning: Message queue contained results for service '' on host > >> '?x /usr/local/nagios/var/nagios.log:[1119961089] Warning: Message > >> queue contained results for service '' on host '?? '. The service > >> could not be found! /usr/local/nagios/var/nagios.log:[1119961370] > >> Warning: Message queue contained results for service '' on host > >> '?'. The service could not be found! > >> /usr/local/nagios/var/nagios.log:[1119961930] Warning: Message > >> queue contained results for service '' on host 'x?'. The service > >> could not be found! /usr/local/nagios/var/nagios.log:[1119963481] > >> Warning: Message queue contained results for service > >> 'os/etc/switch_conf_195.220.107.207' on host ' '. The service > >> could not be found! > > > > > > You haven't provided much information on your installation but at a > > guess, you have something that is writing bad data to nagios.cmd. Do > > you have something submitting passive service checks? Have you > > mistakenly configured some application to write to nagios.cmd when it > > shouldn't be? I would have expected something like > > 'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where > > does that come from? > > > > > >> second i use nagios to get vlan information and to see it in the > >> nagios interface i have to recompile nagios with MAX_PLUGIN_OUTPUT > >> larger when i launch nagios i have > >> > >> Warning: Size of service_message struct (4252 bytes) is > > >> POSIX-guaranteed atomic write size (512 bytes). Service checks > >> results may get lost or mangled! > >> > >> and i set this MAX_PLUGIN_OUTPUT larger and larger but it seems > >> that the output in the web interface don t increase > > > > > > Hmm. Seems like that would correlate nicely with the problems that > > you're seeing above (specifically service checks being mangled). This > > last might be better for nagios-devel but I'll bet that the max size > > and the warning above are there for a reason. 4K is a _lot_ for > > plugin return data and I'll bet there are other variables that you'll > > need to adjust to support that, if it's possible at all. > > > > It's possible, but on Linux some fiddling and a re-compile of the kernel > is necessary to enable named pipe transfers larger than 4096 bytes. I > believe (although I'm not sure) that this holds true for *BSD as well. > > > -- 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 > > > > -- > 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 > -------------------------------------------------------- Ce message a ?t? envoy? par le Webmail Sorbonne via IMP. http://courrier.sorbonne.fr/ http://mail.sorbonne.fr/ ------------------------------------------------------- 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 me-lists at eichler-fleschuetz.de Tue Jun 28 21:22:47 2005 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Tue, 28 Jun 2005 21:22:47 +0200 Subject: Gui for nagios In-Reply-To: <1119977611.12634.22.camel@localhost> References: <8FB96300C132D511AE7500508BD6ABCD05AB3D62@eagle.passkey.com> <1119977611.12634.22.camel@localhost> Message-ID: <42C1A387.90904@eichler-fleschuetz.de> Hi Tony, I think you are mixing up something. What you mean is the SQL-backend support of Nagios itself. Thats right, its gone in Nagios2. What Ben meant is the SQL backend of NagiosQL, from which the config files are generated. Matthias Tony Earnshaw schrieb: > tir, 28.06.2005 kl. 16.20 skrev Ben Conrad: > > >>I've been using NagiosQL for a few months and like it a lot. Since the >>configs are sourced from a database means you can easily change a bunch of >>configs with a SQL statement and then have the GUI write out the .cfg files >>for you. >> >>There is one bug (sourceforge #1208820) that may give you a hard time if >>your configs have quotes in them, otherwise it's a good piece of software! > > > This might be Nagios 1, right? > > The SQL backend isn't there any more for Nagios 2. > > However, nagiosQL is, and there are no bugs tat I've discovered after 2 > months of use. > > --Tonni > ------------------------------------------------------- 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 Tue Jun 28 21:24:51 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 28 Jun 2005 21:24:51 +0200 Subject: strange Warning and source modification In-Reply-To: <1119981173.42c18e75d8e91@mail.sorbonne.fr> References: <42C18736.7000802@op5.se> <1119981173.42c18e75d8e91@mail.sorbonne.fr> Message-ID: <42C1A403.4000305@op5.se> Basile Mathieu wrote: > first thanks :) > > here is my system : > > 3 nagios servers ( one under Fedora , two under gentoo ( one 386 and one sparc ) > there are two active servers which send results with nsca > > >>>'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where >>>does that come from? > > > i use bash script to get informations on vlan and switch configuration > i just "echo > " for seing informations in nagios interface > You do know that you have to maintain a certain format when kicking things into the named pipe don't you? Read the docs on how to format the message if this is news for you. > i observe that the are some checks that seems to stop ( the last check time > "freeze" ) > it might be the reason of this logs : > > usr/local/nagios/var/nagios.log:[1119960410] Warning: Message > >>>>queue contained results for service '' on host '?'. The service >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119960661] > This seems to indicate that you don't have the faintest inkling on how to submit passive check-results. I suggest a deep dive in the documentation and some serious work on the checking script. > > basile > > Selon Andreas Ericsson : > > >>Marc Powell wrote: >> >>>>-----Original Message----- From: >>>>nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>>admin at lists.sourceforge.net] On Behalf Of Basile Mathieu Sent: >>>>Tuesday, June 28, 2005 10:27 AM To: >>>>nagios-users at lists.sourceforge.net Subject: [Nagios-users] strange >>>>Warning and source modification >>>> >>>> >>>> >>>>hi i have two questions : first i have this line in my log and don >>>>t understand what it means >>>> >>>>/usr/local/nagios/var/nagios.log:[1119960410] Warning: Message >>>>queue contained results for service '' on host '?'. The service >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119960661] >>>>Warning: Message queue contained results for service '' on host >>>>'?x /usr/local/nagios/var/nagios.log:[1119961089] Warning: Message >>>>queue contained results for service '' on host '?? '. The service >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119961370] >>>>Warning: Message queue contained results for service '' on host >>>>'?'. The service could not be found! >>>>/usr/local/nagios/var/nagios.log:[1119961930] Warning: Message >>>>queue contained results for service '' on host 'x?'. The service >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119963481] >>>>Warning: Message queue contained results for service >>>>'os/etc/switch_conf_195.220.107.207' on host ' '. The service >>>>could not be found! >>> >>> >>>You haven't provided much information on your installation but at a >>>guess, you have something that is writing bad data to nagios.cmd. Do >>>you have something submitting passive service checks? Have you >>>mistakenly configured some application to write to nagios.cmd when it >>>shouldn't be? I would have expected something like >>>'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where >>>does that come from? >>> >>> >>> >>>>second i use nagios to get vlan information and to see it in the >>>>nagios interface i have to recompile nagios with MAX_PLUGIN_OUTPUT >>>>larger when i launch nagios i have >>>> >>>>Warning: Size of service_message struct (4252 bytes) is > >>>>POSIX-guaranteed atomic write size (512 bytes). Service checks >>>>results may get lost or mangled! >>>> >>>>and i set this MAX_PLUGIN_OUTPUT larger and larger but it seems >>>>that the output in the web interface don t increase >>> >>> >>>Hmm. Seems like that would correlate nicely with the problems that >>>you're seeing above (specifically service checks being mangled). This >>>last might be better for nagios-devel but I'll bet that the max size >>>and the warning above are there for a reason. 4K is a _lot_ for >>>plugin return data and I'll bet there are other variables that you'll >>>need to adjust to support that, if it's possible at all. >>> >> >>It's possible, but on Linux some fiddling and a re-compile of the kernel >>is necessary to enable named pipe transfers larger than 4096 bytes. I >>believe (although I'm not sure) that this holds true for *BSD as well. >> >> >>>-- 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 >>> >> >>-- >>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 >> > > > > > > -------------------------------------------------------- > Ce message a ?t? envoy? par le Webmail Sorbonne via IMP. > http://courrier.sorbonne.fr/ http://mail.sorbonne.fr/ > > -- 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 jamie.baddeley at vpc.co.nz Tue Jun 28 21:57:31 2005 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 29 Jun 2005 07:57:31 +1200 Subject: ERROR: running table : Received noSuchName(2) error-status at error-index 32. Message-ID: <1119988651.2290.12.camel@munter> Hi Patrick, I'm using your check_snmp_process.pl to do some process count checking on a variety of Linux hosts. >From time to time I get the error reponse shown above. In fact the error-index can change (32,46, 14,42,16 etc) I'm using the latest versions dl'ed from SF. These plugins are running on a RH EL3 system that has plenty of ram/processor. Admittedly I've only got one out of 10 hosts I'm monitoring complaining. The host in question is running net-snmp-5.0.9-2.30E.15 (Redhat) and 2.4-21 kernel. Have you seen similar compaints? Is there a workaround (that doesn't involve me upgrading the far end system)? Cheers jamie ------------------------------------------------------- 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 ed.bragg at gmail.com Tue Jun 28 22:10:28 2005 From: ed.bragg at gmail.com (Ed Bragg) Date: Tue, 28 Jun 2005 16:10:28 -0400 Subject: Gui for nagios In-Reply-To: <42C1A387.90904@eichler-fleschuetz.de> References: <8FB96300C132D511AE7500508BD6ABCD05AB3D62@eagle.passkey.com> <1119977611.12634.22.camel@localhost> <42C1A387.90904@eichler-fleschuetz.de> Message-ID: btw, if you pull up the bugs on the NagiosQL site, the developer has posted a workaround for it. It's a change in the NagiosQL settings.ini file that will fix the "Quote" issue. Sorry for the double post Mathias. I hit reply to you before. On 6/28/05, Matthias Eichler wrote: > Hi Tony, > > I think you are mixing up something. What you mean is the SQL-backend > support of Nagios itself. Thats right, its gone in Nagios2. > What Ben meant is the SQL backend of NagiosQL, from which the config > files are generated. > > Matthias > > Tony Earnshaw schrieb: > > tir, 28.06.2005 kl. 16.20 skrev Ben Conrad: > > > > > >>I've been using NagiosQL for a few months and like it a lot. Since the > >>configs are sourced from a database means you can easily change a bunch of > >>configs with a SQL statement and then have the GUI write out the .cfg files > >>for you. > >> > >>There is one bug (sourceforge #1208820) that may give you a hard time if > >>your configs have quotes in them, otherwise it's a good piece of software! > > > > > > This might be Nagios 1, right? > > > > The SQL backend isn't there any more for Nagios 2. > > > > However, nagiosQL is, and there are no bugs tat I've discovered after 2 > > months of use. > > > > --Tonni > > > > > ------------------------------------------------------- > 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 > -- Ed Bragg ---------------------------------------------------------------- http://www.ebware.com X10 Wireless Security Equipment - Affordable Security! ------------------------------------------------------- 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 bobjohnson at nexus9000.com Tue Jun 28 22:31:09 2005 From: bobjohnson at nexus9000.com (Bob Johnson) Date: Tue, 28 Jun 2005 13:31:09 -0700 (PDT) Subject: Distributed configuration issue with staleness (thresholds?) Message-ID: <54654.127.0.0.1.1119990669.squirrel@bols> Greetings to all, In my test configuration, I have one server as the distributed node and the other as the master node. The distributed node does all of the checking and sends its check results to the master node via NSCA. The checks are sent (and received) in a normal fashion to the master node, but for some reason I am having issues with the freshness threshold on the master server. The nagios.log excerpt below states that the check is stale by "7" seconds even though there is a threshold of "200" seconds. Therefore, I believe that I must be overlooking something in the configuration and would appreciate any advice. (As a side note, quite a few services go into the stale mode at once, and not just this single check. However, not *every* service immediately goes stale.) >From nagios.log on the master server: "Warning: The results of service 'time' on host 'server1' are stale by 7 seconds (threshold=200 seconds). I'm forcing an immediate check of the service." Alas, I have a few questions: a. Where exactly is this "7" coming from (or calculated) in the configuration? b. Where exactly is this "200" coming from (or calculated) in the configuration? c. Is there a recommended complete (yet barebones) master and distributed node configuration reference for nagios.cfg, hosts.cfg, and services.cfg? d. Are there any other logs or additional debugging details which would be useful for this distributed staleness issue? --------------------------------------------------------- [distributed node: hosts.cfg] # Generic host definition template define host{ name nagios-host notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # 'server1' host definition define host{ use nagios-host host_name server1 alias server1 address 10.10.10.10 check_command check-host-alive contact_groups nagios-admins max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } --------------------------------------------------------- [distributed node: services.cfg] define service{ name nagios-host active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 notifications_enabled 0 notification_interval 60 notification_period 24x7 notification_options w,u,c,r event_handler_enabled 1 flap_detection_enabled 1 contact_groups nagios-admins process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 max_check_attempts 3 check_period 24x7 normal_check_interval 3 retry_check_interval 1 register 0 } define service{ use nagios-host host_name server1 service_description time check_command check_ntp!3!10 } --------------------------------------------------------- [master node: hosts.cfg] # Generic host definition template define host{ name nagios-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # 'server1' host definition define host{ use nagios-host host_name server1 alias server1 address 10.10.10.10 max_check_attempts 3 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options d,u,r } --------------------------------------------------------- [master node: services.cfg] # infrastructure host template define service{ name nagios-host active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 300 check_command service-is-stale notifications_enabled 1 notification_interval 60 notification_period 24x7 notification_options w,u,c,r event_handler_enabled 1 flap_detection_enabled 1 contact_groups nagios-admins process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 max_check_attempts 3 check_period 24x7 normal_check_interval 3 retry_check_interval 1 register 0 } define service{ use nagios-host host_name server1 service_description time } --------------------------------------------------------- Thank you for any guidance or assistance with troubleshooting. Cheers, 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 gergnz at gmail.com Wed Jun 29 00:14:30 2005 From: gergnz at gmail.com (Greg Cockburn) Date: Wed, 29 Jun 2005 08:14:30 +1000 Subject: Distributed configuration issue with staleness (thresholds?) In-Reply-To: <54654.127.0.0.1.1119990669.squirrel@bols> References: <54654.127.0.0.1.1119990669.squirrel@bols> Message-ID: Hi Bob, I know this isn't going to help you much, but I am having the same problem. I have about 50 machines/network devices with about 500 services over 3 sites connected via VPNs. I was running all these sites with seperate instances of Nagios, but am now trying to get the distributed monitoring working. For the most part it seems to be good, except that service checks go stale before the remote server has a chance to send a passive check result. The problem with this is I get a few false positive notifications. (not good at 3am in the morning) The other weird thing is, that the Master host tries to do an 'active' check of the service, even when active checks are disabled for that service on the master. Why? I have been playing around with a lot of the timings for various things, and scouring the mailing lists for other peoples adventures trying to piece it all together, with only so much luck. I think the key is to carefully, record and trial different values for various timeouts until you have a set that is working for your environment, but YMMV, as I have found. Good luck, and keep us posted. Greg. On 6/29/05, Bob Johnson wrote: > Greetings to all, > > In my test configuration, I have one server as the distributed node and > the other as the master node. The distributed node does all of the > checking and sends its check results to the master node via NSCA. The > checks are sent (and received) in a normal fashion to the master node, but > for some reason I am having issues with the freshness threshold on the > master server. The nagios.log excerpt below states that the check is > stale by "7" seconds even though there is a threshold of "200" seconds. > Therefore, I believe that I must be overlooking something in the > configuration and would appreciate any advice. (As a side note, quite a > few services go into the stale mode at once, and not just this single > check. However, not *every* service immediately goes stale.) > > > From nagios.log on the master server: > > "Warning: The results of service 'time' on host 'server1' are stale by 7 > seconds (threshold=200 seconds). I'm forcing an immediate check of the > service." > > > Alas, I have a few questions: > > a. Where exactly is this "7" coming from (or calculated) in the > configuration? > > b. Where exactly is this "200" coming from (or calculated) in the > configuration? > > c. Is there a recommended complete (yet barebones) master and distributed > node configuration reference for nagios.cfg, hosts.cfg, and services.cfg? > > d. Are there any other logs or additional debugging details which would be > useful for this distributed staleness issue? > > > --------------------------------------------------------- > > [distributed node: hosts.cfg] > > # Generic host definition template > define host{ > name nagios-host > notifications_enabled 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > # 'server1' host definition > define host{ > use nagios-host > host_name server1 > alias server1 > address 10.10.10.10 > check_command check-host-alive > contact_groups nagios-admins > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > --------------------------------------------------------- > > [distributed node: services.cfg] > > define service{ > name nagios-host > active_checks_enabled 1 > passive_checks_enabled 0 > parallelize_check 1 > obsess_over_service 1 > notifications_enabled 0 > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > event_handler_enabled 1 > flap_detection_enabled 1 > contact_groups nagios-admins > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > max_check_attempts 3 > check_period 24x7 > normal_check_interval 3 > retry_check_interval 1 > register 0 > } > > > define service{ > use nagios-host > host_name server1 > service_description time > check_command check_ntp!3!10 > } > > --------------------------------------------------------- > > [master node: hosts.cfg] > > # Generic host definition template > define host{ > name nagios-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > # 'server1' host definition > define host{ > use nagios-host > host_name server1 > alias server1 > address 10.10.10.10 > max_check_attempts 3 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > --------------------------------------------------------- > > [master node: services.cfg] > > # infrastructure host template > define service{ > name nagios-host > active_checks_enabled 0 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > freshness_threshold 300 > check_command service-is-stale > notifications_enabled 1 > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > event_handler_enabled 1 > flap_detection_enabled 1 > contact_groups nagios-admins > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > max_check_attempts 3 > check_period 24x7 > normal_check_interval 3 > retry_check_interval 1 > register 0 > } > > define service{ > use nagios-host > host_name server1 > service_description time > } > > --------------------------------------------------------- > > > Thank you for any guidance or assistance with troubleshooting. > > Cheers, 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 pla at softflare.com Wed Jun 29 00:34:07 2005 From: pla at softflare.com (Paul L. Allen) Date: Tue, 28 Jun 2005 23:34:07 +0100 Subject: Distributed configuration issue with staleness (thresholds?) In-Reply-To: References: <54654.127.0.0.1.1119990669.squirrel@bols> Message-ID: <20050628223407.30056.qmail@mullet.softflare.net> Greg Cockburn writes: > For the most part it seems to be good, except that service checks go > stale before the remote server has a chance to send a passive check > result. Is the master host running NSCA under xinetd? If so, check your logs to see if xinetd thinks you're getting so many connections there's a denial of service attack and disabling NSCA for a while. There is something in the NSCA docs or in the Nagios FAQs about twiddling xinetd's limits if this is happening to you. You might also want to consider the values of check_interval on the two machines. > The problem with this is I get a few false positive notifications. > (not good at 3am in the morning) The other weird thing is, that the > Master host tries to do an 'active' check of the service, even when > active checks are disabled for that service on the master. Why? Because that's how it's designed to work. It's explained in the documentation about passive and distributed monitoring. -- Paul Allen Softflare Support ------------------------------------------------------- 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 gergnz at gmail.com Wed Jun 29 03:33:37 2005 From: gergnz at gmail.com (Greg Cockburn) Date: Wed, 29 Jun 2005 11:33:37 +1000 Subject: Distributed configuration issue with staleness (thresholds?) In-Reply-To: <20050628223407.30056.qmail@mullet.softflare.net> References: <54654.127.0.0.1.1119990669.squirrel@bols> <20050628223407.30056.qmail@mullet.softflare.net> Message-ID: Hi Paul, Yes I found that with inetd. I had removed it from inetd and now nsca just runs as a daemon. I have changed the values of normal_check_interval on several services, but have had limited success. On your last point, "only if freshness checking is enabled"... I see my problem. (Thanks for pointing out the flaw in my reading ability.) Of course this doesn't mean I will now go and turn off freshness checking, but do have some more timeouts to play with. Greg. On 6/29/05, Paul L. Allen wrote: > Greg Cockburn writes: > > > For the most part it seems to be good, except that service checks go > > stale before the remote server has a chance to send a passive check > > result. > > Is the master host running NSCA under xinetd? If so, check your logs > to see if xinetd thinks you're getting so many connections there's a > denial of service attack and disabling NSCA for a while. There is > something in the NSCA docs or in the Nagios FAQs about twiddling > xinetd's limits if this is happening to you. > > You might also want to consider the values of check_interval on the > two machines. > > > The problem with this is I get a few false positive notifications. > > (not good at 3am in the morning) The other weird thing is, that the > > Master host tries to do an 'active' check of the service, even when > > active checks are disabled for that service on the master. Why? > > Because that's how it's designed to work. It's explained in the > documentation about passive and distributed monitoring. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > 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 BConrad at passkey.com Wed Jun 29 05:29:56 2005 From: BConrad at passkey.com (Ben Conrad) Date: Tue, 28 Jun 2005 23:29:56 -0400 Subject: Perparse scale question Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3D6C@eagle.passkey.com> Hi Folks, I'm using Nagios + Perfparse to graph bytes/sec on some of my networking equipment (T1 speed). It seems that when the data value goes over a certain number (100,000??) that the Perfparse graphs switch to using exponents on the Y-axis. So right now for my T1 usage of about 138785 (bytes/sec) Perfparse displays this value as 1.80+e05 on the chart, it's doesn't read very well. Is there any way to change this so that the actual value stored in the Db is displayed in the graph? Thanks, Ben ------------------------------------------------------- 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 Wed Jun 29 05:35:08 2005 From: BConrad at passkey.com (Ben Conrad) Date: Tue, 28 Jun 2005 23:35:08 -0400 Subject: Gui for nagios Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3D6D@eagle.passkey.com> I saw that and unfortunately that solution does not apply to my bug, but it does apply to fostermarkd's comment about my bug ;-< I'm using a few hand edited .cfg files for the buggy stuff and still using NagiosQL for everything else. I'm happy with it! Ben -----Original Message----- From: Ed Bragg [mailto:ed.bragg at gmail.com] Sent: Tuesday, June 28, 2005 4:10 PM To: Matthias Eichler Cc: Tony Earnshaw; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Gui for nagios btw, if you pull up the bugs on the NagiosQL site, the developer has posted a workaround for it. It's a change in the NagiosQL settings.ini file that will fix the "Quote" issue. Sorry for the double post Mathias. I hit reply to you before. On 6/28/05, Matthias Eichler wrote: > Hi Tony, > > I think you are mixing up something. What you mean is the SQL-backend > support of Nagios itself. Thats right, its gone in Nagios2. > What Ben meant is the SQL backend of NagiosQL, from which the config > files are generated. > > Matthias > > Tony Earnshaw schrieb: > > tir, 28.06.2005 kl. 16.20 skrev Ben Conrad: > > > > > >>I've been using NagiosQL for a few months and like it a lot. Since the > >>configs are sourced from a database means you can easily change a bunch of > >>configs with a SQL statement and then have the GUI write out the .cfg files > >>for you. > >> > >>There is one bug (sourceforge #1208820) that may give you a hard time if > >>your configs have quotes in them, otherwise it's a good piece of software! > > > > > > This might be Nagios 1, right? > > > > The SQL backend isn't there any more for Nagios 2. > > > > However, nagiosQL is, and there are no bugs tat I've discovered after 2 > > months of use. > > > > --Tonni > > > > > ------------------------------------------------------- > 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 > -- Ed Bragg ---------------------------------------------------------------- http://www.ebware.com X10 Wireless Security Equipment - Affordable Security! ------------------------------------------------------- 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 ______________________________________________________________________ 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 lmstone at rnome.com Wed Jun 29 06:52:40 2005 From: lmstone at rnome.com (L. Mark Stone) Date: Wed, 29 Jun 2005 00:52:40 -0400 Subject: Help! nrpe_nt, service check when name contains $ problem In-Reply-To: <42C157C7.7050303@op5.se> References: <42C157C7.7050303@op5.se> Message-ID: <200506290052.40902.lmstone@rnome.com> On Tuesday, June 28, 2005 09:59 am, Andreas Ericsson wrote: > Evan Touchett wrote: > > I am trying to get nagios and nrpe to check a windows 2003 server > > service. The problem I am experiencing is that the name of the > > service contains a $ in it. > > Escape the $ with a $, so that you have double dollar-signs in your > command, like so > MSSQL\$$BKUPEXEC Never tried escaping the dollar sign, we just use vertical, single quotes, like this: check_nt_service!'MSSQL$SHAREPOINT' Works great for services that have spaces in them, too, like: check_nt_service!'Symantec AntiVirus' HTH, Mark -- _________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC "We manage your network so you can manage your business." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.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 nagios-user at proy.org Wed Jun 29 09:08:27 2005 From: nagios-user at proy.org (Patrick Proy) Date: Wed, 29 Jun 2005 09:08:27 +0200 Subject: ERROR: running table : Received noSuchName(2) error-status aterror-index 32. In-Reply-To: <1119988651.2290.12.camel@munter> References: <1119988651.2290.12.camel@munter> Message-ID: <20050629070842.9CF0DAB715@www.manubulon.com> Hi, This is a known issue of process check. The script does : 1) Get the snmp table with index and description 2) Match with the processes 3) Get the status of the selected processes I've done it like this because it takes a lot of time (and ressources on the remote host) to get the whole process table. Problem : if a process on the remote host die at step 2, then the index won't be valid and you will get an error at step 3.... I've added a "-g" option wich gets the entire table at step 1 : it can help, but in case processes are dying/respawning very fast the problem will still be here. Patrick nagios AT proy dot org -----Message d'origine----- De : Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Envoy? : mardi 28 juin 2005 21:58 ? : Patrick Proy Cc : nagios-users at lists.sourceforge.net Objet : ERROR: running table : Received noSuchName(2) error-status aterror-index 32. Hi Patrick, I'm using your check_snmp_process.pl to do some process count checking on a variety of Linux hosts. >From time to time I get the error reponse shown above. In fact the error-index can change (32,46, 14,42,16 etc) I'm using the latest versions dl'ed from SF. These plugins are running on a RH EL3 system that has plenty of ram/processor. Admittedly I've only got one out of 10 hosts I'm monitoring complaining. The host in question is running net-snmp-5.0.9-2.30E.15 (Redhat) and 2.4-21 kernel. Have you seen similar compaints? Is there a workaround (that doesn't involve me upgrading the far end system)? Cheers jamie ------------------------------------------------------- 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 jamie.baddeley at vpc.co.nz Wed Jun 29 09:37:16 2005 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 29 Jun 2005 19:37:16 +1200 Subject: ERROR: running table : Received noSuchName(2) error-status aterror-index 32. In-Reply-To: <20050629070842.9CF0DAB715@www.manubulon.com> References: <20050629070842.9CF0DAB715@www.manubulon.com> Message-ID: <1120030636.12722.5.camel@munter> On Wed, 2005-06-29 at 09:08 +0200, Patrick Proy wrote: > Hi, > > This is a known issue of process check. > The script does : > 1) Get the snmp table with index and description > 2) Match with the processes > 3) Get the status of the selected processes > > I've done it like this because it takes a lot of time (and ressources on the > remote host) to get the whole process table. > > Problem : if a process on the remote host die at step 2, then the index > won't be valid and you will get an error at step 3.... > > I've added a "-g" option wich gets the entire table at step 1 : it can help, > but in case processes are dying/respawning very fast the problem will still > be here. Thanks for the prompt and detailed reply. I appreciate it. I'll try -g. Have you considered using: host.hrSystem.hrSystemProcesses.0 ? This seems to report a process count, but I'm thinking you discounted this for some reason, so am interested if that's the case - was it to do with dealing with multiprocessors? cheers jamie > > Patrick > nagios AT proy dot org > > > -----Message d'origine----- > De : Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Envoy? : mardi 28 juin 2005 21:58 > ? : Patrick Proy > Cc : nagios-users at lists.sourceforge.net > Objet : ERROR: running table : Received noSuchName(2) error-status > aterror-index 32. > > Hi Patrick, > > I'm using your check_snmp_process.pl to do some process count checking on a > variety of Linux hosts. > > >From time to time I get the error reponse shown above. In fact the > error-index can change (32,46, 14,42,16 etc) > > I'm using the latest versions dl'ed from SF. > > These plugins are running on a RH EL3 system that has plenty of > ram/processor. > > Admittedly I've only got one out of 10 hosts I'm monitoring > complaining. > The host in question is running net-snmp-5.0.9-2.30E.15 (Redhat) and > 2.4-21 kernel. > > Have you seen similar compaints? Is there a workaround (that doesn't involve > me upgrading the far end system)? > > Cheers > > jamie > > > -- Jamie Baddeley ViewPoint Consulting Ltd ------------------------------------------------------- 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 29 10:00:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2005 10:00:09 +0200 Subject: Perparse scale question In-Reply-To: <8FB96300C132D511AE7500508BD6ABCD05AB3D6C@eagle.passkey.com> References: <8FB96300C132D511AE7500508BD6ABCD05AB3D6C@eagle.passkey.com> Message-ID: <42C25509.4090503@op5.se> Ben Conrad wrote: > Hi Folks, > > I'm using Nagios + Perfparse to graph bytes/sec on some of my networking > equipment (T1 speed). It seems that when the data value goes over a certain > number (100,000??) that the Perfparse graphs switch to using exponents on > the Y-axis. So right now for my T1 usage of about 138785 (bytes/sec) > Perfparse displays this value as 1.80+e05 on the chart, it's doesn't read > very well. > > Is there any way to change this so that the actual value stored in the Db is > displayed in the graph? > > Ask the perfparse list. You'll have better luck in the proper forum. > Thanks, > > Ben > > > ------------------------------------------------------- > 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 > -- 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 ae at op5.se Wed Jun 29 10:02:12 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2005 10:02:12 +0200 Subject: Help! nrpe_nt, service check when name contains $ problem In-Reply-To: <200506290052.40902.lmstone@rnome.com> References: <42C157C7.7050303@op5.se> <200506290052.40902.lmstone@rnome.com> Message-ID: <42C25584.2030703@op5.se> L. Mark Stone wrote: > On Tuesday, June 28, 2005 09:59 am, Andreas Ericsson wrote: > >>Evan Touchett wrote: >> >>>I am trying to get nagios and nrpe to check a windows 2003 server >>>service. The problem I am experiencing is that the name of the >>>service contains a $ in it. > > > >>Escape the $ with a $, so that you have double dollar-signs in your >>command, like so >>MSSQL\$$BKUPEXEC > > > Never tried escaping the dollar sign, we just use vertical, single > quotes, like this: > > check_nt_service!'MSSQL$SHAREPOINT' > > Works great for services that have spaces in them, too, like: > > check_nt_service!'Symantec AntiVirus' > The dollar-sign escape was necessary a couple of versions ago (beta 2?) to make Nagios not add a second dollar sign after the string, thinking it was a macro but not being able to resolve 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 aait at free.fr Wed Jun 29 10:25:21 2005 From: aait at free.fr (aait at free.fr) Date: Wed, 29 Jun 2005 10:25:21 +0200 Subject: Command line format for external notification. Message-ID: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> Hi, I actually work on Nagios 1.3 and want to perform an external notification via a perl script I developped. This script takes 5 parametres ($HOSTNAME, $OUTPUT,....). I have a problem to make the $OUTPUT$ variable to be seen as one variable for my script. Example: define command{ command_name notify-by-xmlrpc command_line /usr/lib/nagios/myagent/notification/my_script $HOSTNAME$ CRITICAL $OUTPUT$ $SERVICEDESC$ $DATETIME$ } The problem is $OUTPUT$ because it's a string and each word of this string is seen as on parameter. If this variable is "The service is down" my script will do this association: OUTPUT=The SERVICEDESC=service DATETIME=is I have tested thess command lines without success: command_line /usr/lib/nagios/myagent/notification/my_script $HOSTNAME$ CRITICAL "$OUTPUT$" $SERVICEDESC$ $DATETIME$ command_line /usr/lib/nagios/myagent/notification/my_script !$HOSTNAME$! CRITICAL !$OUTPUT$! !$SERVICEDESC$ ! !$DATETIME$! Finally, I had not found anything about my concern in the official documentation. Regards. ------------------------------------------------------- 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 29 10:42:35 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2005 10:42:35 +0200 Subject: Command line format for external notification. In-Reply-To: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> Message-ID: <42C25EFB.4020009@op5.se> aait at free.fr wrote: > Hi, > > I actually work on Nagios 1.3 and want to perform an external > notification via a perl script I developped. This script takes 5 > parametres ($HOSTNAME, $OUTPUT,....). I have a problem to make the > $OUTPUT$ variable to be seen as one variable for my script. > > Example: > > define command{ > command_name notify-by-xmlrpc > command_line /usr/lib/nagios/myagent/notification/my_script > $HOSTNAME$ CRITICAL $OUTPUT$ $SERVICEDESC$ $DATETIME$ > } > Put single quotes around each macro. > The problem is $OUTPUT$ because it's a string and each word of this > string is seen as on parameter. If this variable is "The service is > down" my script will do this association: > OUTPUT=The > SERVICEDESC=service > DATETIME=is > > I have tested thess command lines without success: > command_line /usr/lib/nagios/myagent/notification/my_script > $HOSTNAME$ CRITICAL "$OUTPUT$" $SERVICEDESC$ $DATETIME$ > command_line /usr/lib/nagios/myagent/notification/my_script > !$HOSTNAME$! CRITICAL !$OUTPUT$! !$SERVICEDESC$ ! !$DATETIME$! > > > Finally, I had not found anything about my concern in the official > documentation. > > > Regards. > > > > ------------------------------------------------------- > 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 > -- 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 nagios-ml at sentries.org Wed Jun 29 10:53:34 2005 From: nagios-ml at sentries.org (Ralph Seichter) Date: Wed, 29 Jun 2005 10:53:34 +0200 (CEST) Subject: Plugin check_smtp erroneously reporting "service critical" In-Reply-To: References: <46767.193.24.32.36.1119949375.squirrel@sentries.org> Message-ID: <41836.193.24.32.36.1120035214.squirrel@sentries.org> Subhendu Ghosh wrote: > If you increased the plugin timeout, did you change the default in > nagios.cfg? "service_check_timeout" No, I've left the nagios.cfg timeouts unchanged: $ grep timeout nagios.cfg service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 I've only changed N in the command definition command_line $USER1$/check_smtp -H $HOSTADDRESS$ -t N to try different timeout settings between 10 and 30. -- Mit freundlichen Gr??en / Sincerely Dipl. Inform. Ralph Seichter ------------------------------------------------------- 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 bmathieu at siris.sorbonne.fr Wed Jun 29 10:47:43 2005 From: bmathieu at siris.sorbonne.fr (bmathieu) Date: Wed, 29 Jun 2005 10:47:43 +0200 Subject: strange Warning and source modification In-Reply-To: <42C1A403.4000305@op5.se> References: <42C18736.7000802@op5.se> <1119981173.42c18e75d8e91@mail.sorbonne.fr> <42C1A403.4000305@op5.se> Message-ID: <1120034866.31435.3.camel@basile.siris.sorbonne.fr> hi i recompile nagios last night without changing the MAX_PLUGIN_OUTPUT and all works fine . But how can i do to increase this MAX_PLUGIN_OUTPUT which is 348 and i need 1000 basile Le mardi 28 juin 2005 ? 21:24 +0200, Andreas Ericsson a ?crit : > Basile Mathieu wrote: > > first thanks :) > > > > here is my system : > > > > 3 nagios servers ( one under Fedora , two under gentoo ( one 386 and one sparc ) > > there are two active servers which send results with nsca > > > > > >>>'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where > >>>does that come from? > > > > > > i use bash script to get informations on vlan and switch configuration > > i just "echo > " for seing informations in nagios interface > > > > You do know that you have to maintain a certain format when kicking > things into the named pipe don't you? Read the docs on how to format the > message if this is news for you. > > > i observe that the are some checks that seems to stop ( the last check time > > "freeze" ) > > it might be the reason of this logs : > > > > usr/local/nagios/var/nagios.log:[1119960410] Warning: Message > > > >>>>queue contained results for service '' on host '?'. The service > >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119960661] > > > > This seems to indicate that you don't have the faintest inkling on how > to submit passive check-results. I suggest a deep dive in the > documentation and some serious work on the checking script. > > > > > basile > > > > Selon Andreas Ericsson : > > > > > >>Marc Powell wrote: > >> > >>>>-----Original Message----- From: > >>>>nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > >>>>admin at lists.sourceforge.net] On Behalf Of Basile Mathieu Sent: > >>>>Tuesday, June 28, 2005 10:27 AM To: > >>>>nagios-users at lists.sourceforge.net Subject: [Nagios-users] strange > >>>>Warning and source modification > >>>> > >>>> > >>>> > >>>>hi i have two questions : first i have this line in my log and don > >>>>t understand what it means > >>>> > >>>>/usr/local/nagios/var/nagios.log:[1119960410] Warning: Message > >>>>queue contained results for service '' on host '?'. The service > >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119960661] > >>>>Warning: Message queue contained results for service '' on host > >>>>'?x /usr/local/nagios/var/nagios.log:[1119961089] Warning: Message > >>>>queue contained results for service '' on host '?? '. The service > >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119961370] > >>>>Warning: Message queue contained results for service '' on host > >>>>'?'. The service could not be found! > >>>>/usr/local/nagios/var/nagios.log:[1119961930] Warning: Message > >>>>queue contained results for service '' on host 'x?'. The service > >>>>could not be found! /usr/local/nagios/var/nagios.log:[1119963481] > >>>>Warning: Message queue contained results for service > >>>>'os/etc/switch_conf_195.220.107.207' on host ' '. The service > >>>>could not be found! > >>> > >>> > >>>You haven't provided much information on your installation but at a > >>>guess, you have something that is writing bad data to nagios.cmd. Do > >>>you have something submitting passive service checks? Have you > >>>mistakenly configured some application to write to nagios.cmd when it > >>>shouldn't be? I would have expected something like > >>>'os/etc/switch_conf_195.220.107.207' to ring a bell for you. Where > >>>does that come from? > >>> > >>> > >>> > >>>>second i use nagios to get vlan information and to see it in the > >>>>nagios interface i have to recompile nagios with MAX_PLUGIN_OUTPUT > >>>>larger when i launch nagios i have > >>>> > >>>>Warning: Size of service_message struct (4252 bytes) is > > >>>>POSIX-guaranteed atomic write size (512 bytes). Service checks > >>>>results may get lost or mangled! > >>>> > >>>>and i set this MAX_PLUGIN_OUTPUT larger and larger but it seems > >>>>that the output in the web interface don t increase > >>> > >>> > >>>Hmm. Seems like that would correlate nicely with the problems that > >>>you're seeing above (specifically service checks being mangled). This > >>>last might be better for nagios-devel but I'll bet that the max size > >>>and the warning above are there for a reason. 4K is a _lot_ for > >>>plugin return data and I'll bet there are other variables that you'll > >>>need to adjust to support that, if it's possible at all. > >>> > >> > >>It's possible, but on Linux some fiddling and a re-compile of the kernel > >>is necessary to enable named pipe transfers larger than 4096 bytes. I > >>believe (although I'm not sure) that this holds true for *BSD as well. > >> > >> > >>>-- 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 > >>> > >> > >>-- > >>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 > >> > > > > > > > > > > > > -------------------------------------------------------- > > Ce message a ?t? envoy? par le Webmail Sorbonne via IMP. > > http://courrier.sorbonne.fr/ http://mail.sorbonne.fr/ > > > > > -- bmathieu ------------------------------------------------------- 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 Evert.Goor at benp.nl Wed Jun 29 11:05:30 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Wed, 29 Jun 2005 11:05:30 +0200 Subject: Gui for nagios Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A46E@post.systems.nl> Hi Tanx for the hints and tips. Installed now nagiosQL. Had some litle problems but that is more the PHP-SQL part. Just wondering when they are going to implement host templates. Or did i missed that option ? I have to monitor around 100 Workstations (yes i know who wants that ) And that means a lot of typing an clicking. Working now on a remote installer for nsclient. Or is there already a tool for that ? Tanx again all. ----Original Message---- From: Ben Conrad Sent: 29/06/05 05:43 To: ed.bragg at objectsciences.com ; Matthias Eichler Cc: Tony Earnshaw ; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Gui for nagios -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I saw that and unfortunately that solution does not apply to my bug, but it does apply to fostermarkd's comment about my bug ;-< I'm using a few hand edited .cfg files for the buggy stuff and still using NagiosQL for everything else. I'm happy with it! Ben -----Original Message----- From: Ed Bragg [mailto:ed.bragg at gmail.com] Sent: Tuesday, June 28, 2005 4:10 PM To: Matthias Eichler Cc: Tony Earnshaw; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Gui for nagios btw, if you pull up the bugs on the NagiosQL site, the developer has posted a workaround for it. It's a change in the NagiosQL settings.ini file that will fix the "Quote" issue. Sorry for the double post Mathias. I hit reply to you before. On 6/28/05, Matthias Eichler wrote: > Hi Tony, > > I think you are mixing up something. What you mean is the SQL-backend > support of Nagios itself. Thats right, its gone in Nagios2. > What Ben meant is the SQL backend of NagiosQL, from which the config > files are generated. > > Matthias > > Tony Earnshaw schrieb: > > tir, 28.06.2005 kl. 16.20 skrev Ben Conrad: > > > > > >>I've been using NagiosQL for a few months and like it a lot. Since the > >>configs are sourced from a database means you can easily change a bunch of > >>configs with a SQL statement and then have the GUI write out the .cfg files > >>for you. > >> > >>There is one bug (sourceforge #1208820) that may give you a hard time if > >>your configs have quotes in them, otherwise it's a good piece of software! > > > > > > This might be Nagios 1, right? > > > > The SQL backend isn't there any more for Nagios 2. > > > > However, nagiosQL is, and there are no bugs tat I've discovered after 2 > > months of use. > > > > --Tonni > > > > > ------------------------------------------------------- > 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 > -- Ed Bragg ---------------------------------------------------------------- http://www.ebware.com X10 Wireless Security Equipment - Affordable Security! ------------------------------------------------------- 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 ______________________________________________________________________ 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 ------------------------------------------------------- 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 pla at softflare.com Wed Jun 29 12:46:19 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 29 Jun 2005 11:46:19 +0100 Subject: Command line format for external notification. In-Reply-To: <42C25EFB.4020009@op5.se> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> <42C25EFB.4020009@op5.se> Message-ID: <20050629104619.4969.qmail@mullet.softflare.net> Andreas Ericsson writes: > aait at free.fr wrote: >> Example: >> >> define command{ >> command_name notify-by-xmlrpc >> command_line /usr/lib/nagios/myagent/notification/my_script >> $HOSTNAME$ CRITICAL $OUTPUT$ $SERVICEDESC$ $DATETIME$ >> } > > Put single quotes around each macro. As the perl motto has it, "there's more than one way to do it." An alternative solution would be to rearrange the parameters so that $OUTPUT$ is the last parameter. Then after shifting out the hostname, etc., what is left is $OUTPUT$. $hostname = shift; $status = shift; $servicedesc = shift; $datetime = shift; $output = join(' ', @ARGV); Back in the days before perl had references, this sort of trick was the standard way of coding subroutines which took multiple parameters, one of which was an array - pass the scalars first and the array last. This approach is not better than yours, it's just one that I'd hope a competent perl coder would have used instinctively. Mr Aait didn't... -- Paul Allen Softflare Support ------------------------------------------------------- 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 tonye at billy.demon.nl Wed Jun 29 12:00:31 2005 From: tonye at billy.demon.nl (Tony Earnshaw) Date: Wed, 29 Jun 2005 12:00:31 +0200 Subject: Gui for nagios In-Reply-To: <19CCC8E70E4FA941848269F0C5D832CC58A46E@post.systems.nl> References: <19CCC8E70E4FA941848269F0C5D832CC58A46E@post.systems.nl> Message-ID: <1120039230.9195.7.camel@localhost> ons, 29.06.2005 kl. 11.05 skrev Evert Goor: > Installed now nagiosQL. Had some litle problems but that is more the PHP-SQL part. > > Just wondering when they are going to implement host templates. Or did i missed that option ? This isn't the NagiosQL list, but ... you can copy a host to another host and just modify the properties you want for each host. If you wish, you can make your own templates first and copy those to hosts. > I have to monitor around 100 Workstations (yes i know who wants that ) And that means a lot of typing an clicking. > > Working now on a remote installer for nsclient. Or is there already a tool for that ? No idea ... --Tonni -- mail: tonye at billy.demon.nl http://www.billy.demon.nl ------------------------------------------------------- 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 jborras at cetir.es Wed Jun 29 13:06:49 2005 From: jborras at cetir.es (=?iso-8859-1?Q?Borr=E0s_Llossas=2C_Joan?=) Date: Wed, 29 Jun 2005 13:06:49 +0200 Subject: RV: nsclient Message-ID: <643C4E18A9E5EE4FAB753F6AE4E4A72FC5A757@pedraforca.cetir.org> Hello... I'm checking near 80 servers and I want to monitorize some Windows Counters. All servers are in spanish and som counters contains accents (ex: estad?sticas'). I don't have any problem with no-contain accent counters but in counters who contains it, it returns 0. I'm using NSClient for windows. In linux i'm using "check_nt -H IP_HOST -v COUNTER -l "\\name of counter\......" Some ideas?? Thank you very much ___________________________________________________________________________ - Aquest missatge ?s dirigit exclusivament al seu destinatari i pot contenir informaci? CONFIDENCIAL o PRIVILEGIADA. Si vost? no ?s el destinatari indicat, queda assabentat de qu? l'?s, divulgaci? i/o c?pia sense autoritzaci? ?s prohibida sota la legislaci? vigent. Si ha rebut aquest missatge per error, preguem ens ho comuniqui immediatament per e-mail i procedeixi a la seva destrucci?. - Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci?n CONFIDENCIAL o PRIVILEGIADA. Si no es vd. el destinatario indicado, queda notificado de que la utilizaci?n, divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por e-mail y proceda a su destrucci?n. - This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. ___________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jborras at cetir.es Wed Jun 29 13:08:48 2005 From: jborras at cetir.es (=?iso-8859-1?Q?Borr=E0s_Llossas=2C_Joan?=) Date: Wed, 29 Jun 2005 13:08:48 +0200 Subject: nsclient Message-ID: <643C4E18A9E5EE4FAB753F6AE4E4A72FC5A758@pedraforca.cetir.org> Hello... I'm checking near 80 servers and I want to monitorize some Windows Counters. All servers are in spanish and some counters contains accents (ex: estad?sticas). I don't have any problem with no-contain accent counters but in counters who contains it, returns 0. I'm using NSClient for windows. In linux i'm using "check_nt -H IP_HOST -v COUNTER -l "\\name of counter\......" Some ideas?? Thank you very much ___________________________________________________________________________ - Aquest missatge ?s dirigit exclusivament al seu destinatari i pot contenir informaci? CONFIDENCIAL o PRIVILEGIADA. Si vost? no ?s el destinatari indicat, queda assabentat de qu? l'?s, divulgaci? i/o c?pia sense autoritzaci? ?s prohibida sota la legislaci? vigent. Si ha rebut aquest missatge per error, preguem ens ho comuniqui immediatament per e-mail i procedeixi a la seva destrucci?. - Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci?n CONFIDENCIAL o PRIVILEGIADA. Si no es vd. el destinatario indicado, queda notificado de que la utilizaci?n, divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por e-mail y proceda a su destrucci?n. - This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. ___________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From aait at free.fr Wed Jun 29 13:17:29 2005 From: aait at free.fr (krimo) Date: Wed, 29 Jun 2005 13:17:29 +0200 Subject: Command line format for external notification. In-Reply-To: <20050629104619.4969.qmail@mullet.softflare.net> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> <42C25EFB.4020009@op5.se> <20050629104619.4969.qmail@mullet.softflare.net> Message-ID: <42C28349.2060205@free.fr> Paul L. Allen a ?crit : > Andreas Ericsson writes: > >> aait at free.fr wrote: >> >>> Example: >>> define command{ >>> command_name notify-by-xmlrpc >>> command_line /usr/lib/nagios/myagent/notification/my_script >>> $HOSTNAME$ CRITICAL $OUTPUT$ $SERVICEDESC$ $DATETIME$ >>> } >> >> >> Put single quotes around each macro. > This solution does not work ;). > > As the perl motto has it, "there's more than one way to do it." An > alternative solution would be to rearrange the parameters so that > $OUTPUT$ is the last parameter. Then after shifting out the hostname, > etc., what is left is $OUTPUT$. > $hostname = shift; > $status = shift; > $servicedesc = shift; > $datetime = shift; > $output = join(' ', @ARGV); > Back in the days before perl had references, this sort of trick was the > standard way of coding subroutines which took multiple parameters, one of > which was an array - pass the scalars first and the array last. > This approach is not better than yours, it's just one that I'd hope a > competent perl coder would have used instinctively. Mr Aait didn't... Thanks for your reply. I have already considered this solution but this is not the one I prefer. If I choose this solution, that means I would have failed in the optimal configuration of Nagios (I can't admit it ;) ). Also my script can't be used anymore if Ihave two macros containing strings. The best solution is to correcftly configure Nagios command line and Iknow there 's a way to do that. It's not a problem of perl code but Nagios configuration (it's why I post in the nagios mailing list and not perl one). Finally, I'm not a perl coder as you have seen ;) (I prefer C lang. but in this case I do not decide any). Regards aaits ------------------------------------------------------- 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 29 14:22:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2005 14:22:39 +0200 Subject: Command line format for external notification. In-Reply-To: <42C28349.2060205@free.fr> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> <42C25EFB.4020009@op5.se> <20050629104619.4969.qmail@mullet.softflare.net> <42C28349.2060205@free.fr> Message-ID: <42C2928F.3060207@op5.se> krimo wrote: > Paul L. Allen a ?crit : > >> Andreas Ericsson writes: >> >>> aait at free.fr wrote: >>> >>>> Example: >>>> define command{ >>>> command_name notify-by-xmlrpc >>>> command_line /usr/lib/nagios/myagent/notification/my_script >>>> $HOSTNAME$ CRITICAL $OUTPUT$ $SERVICEDESC$ $DATETIME$ >>>> } >>> >>> >>> >>> Put single quotes around each macro. >> >> > This solution does not work ;). > >> >> As the perl motto has it, "there's more than one way to do it." An >> alternative solution would be to rearrange the parameters so that >> $OUTPUT$ is the last parameter. Then after shifting out the hostname, >> etc., what is left is $OUTPUT$. >> $hostname = shift; >> $status = shift; >> $servicedesc = shift; >> $datetime = shift; >> $output = join(' ', @ARGV); >> Back in the days before perl had references, this sort of trick was the >> standard way of coding subroutines which took multiple parameters, one of >> which was an array - pass the scalars first and the array last. >> This approach is not better than yours, it's just one that I'd hope a >> competent perl coder would have used instinctively. Mr Aait didn't... > This won't work if $SERVICEDESC$ also has spaces, which it legally can have. I can't remember exactly what $DATETIME$ does, but one of those can have spaces as well. > > Thanks for your reply. I have already considered this solution but this > is not the one I prefer. If I choose this solution, that means I would > have failed in the optimal configuration of Nagios (I can't admit it ;) > ). Also my script can't be used anymore if Ihave two macros containing > strings. > > The best solution is to correcftly configure Nagios command line and > Iknow there 's a way to do that. Put single quotes around the macros (outside the dollar signs). This will fail if any of the parameters contains single quotes as well, but will work otherwise, unless your shell is broken. You'll need to restart nagios for changes to take effect, but it will work. > It's not a problem of perl code but > Nagios configuration (it's why I post in the nagios mailing list and not > perl one). Finally, I'm not a perl coder as you have seen ;) (I prefer C > lang. but in this case I do not decide any). > > Regards > aaits > > > > > > > > > ------------------------------------------------------- > 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 > -- 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 lmstone at rnome.com Wed Jun 29 14:24:28 2005 From: lmstone at rnome.com (L. Mark Stone) Date: Wed, 29 Jun 2005 08:24:28 -0400 Subject: Help! nrpe_nt, service check when name contains $ problem In-Reply-To: <42C25584.2030703@op5.se> References: <200506290052.40902.lmstone@rnome.com> <42C25584.2030703@op5.se> Message-ID: <200506290824.28737.lmstone@rnome.com> On Wednesday, June 29, 2005 04:02 am, Andreas Ericsson wrote: > >>Escape the $ with a $, so that you have double dollar-signs in your > >>command, like so > >>MSSQL\$$BKUPEXEC > > > > Never tried escaping the dollar sign, we just use vertical, single > > quotes, like this: > > > > ? ? ? ? ? ? ? ?check_nt_service!'MSSQL$SHAREPOINT' > > > > Works great for services that have spaces in them, too, like: > > > > ? ? ? ? ? ? ? ?check_nt_service!'Symantec AntiVirus' > > The dollar-sign escape was necessary a couple of versions ago (beta > 2?) to make Nagios not add a second dollar sign after the string, > thinking it was a macro but not being able to resolve it. We use the single quotes successfully on our production Nagios 1.2 installation, and we are preparing a test Nagios 2.0 installation to replace our 1.2 setup, once 2.0 is released. Are you saying the single quote trick won't work with the 2.0 CVS version we downloaded yesterday? Thanks, Mark -- _________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC "We manage your network so you can manage your business." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.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_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 pla at softflare.com Wed Jun 29 14:30:46 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 29 Jun 2005 13:30:46 +0100 Subject: Command line format for external notification. In-Reply-To: <42C2928F.3060207@op5.se> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> <42C25EFB.4020009@op5.se> <20050629104619.4969.qmail@mullet.softflare.net> <42C28349.2060205@free.fr> <42C2928F.3060207@op5.se> Message-ID: <20050629123046.1926.qmail@mullet.softflare.net> Andreas Ericsson writes: > This won't work if $SERVICEDESC$ also has spaces, which it legally can > have. Good point. > Put single quotes around the macros (outside the dollar signs). This will > fail if any of the parameters contains single quotes as well, but will > work otherwise, unless your shell is broken. There is bound to be a plugin which, in at least some circumstances, has a single quote in the output, since the single quote serves as both a quotation mark and an apostrophe. -- Paul Allen Softflare Support ------------------------------------------------------- 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 29 14:39:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2005 14:39:31 +0200 Subject: Command line format for external notification. In-Reply-To: <20050629123046.1926.qmail@mullet.softflare.net> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> <42C25EFB.4020009@op5.se> <20050629104619.4969.qmail@mullet.softflare.net> <42C28349.2060205@free.fr> <42C2928F.3060207@op5.se> <20050629123046.1926.qmail@mullet.softflare.net> Message-ID: <42C29683.9060202@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >> This won't work if $SERVICEDESC$ also has spaces, which it legally can >> have. > > > Good point. > >> Put single quotes around the macros (outside the dollar signs). This >> will fail if any of the parameters contains single quotes as well, but >> will work otherwise, unless your shell is broken. > > > There is bound to be a plugin which, in at least some circumstances, has > a single quote in the output, since the single quote serves as both a > quotation mark and an apostrophe. Not that I've noticed, although I haven't browsed all the translation files. Single and double quotes are intentionally left out from plugin output for this precise reason. The only exception is perfdata which isn't usually sent along with notifications. -- 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 pla at softflare.com Wed Jun 29 14:57:11 2005 From: pla at softflare.com (Paul L. Allen) Date: Wed, 29 Jun 2005 13:57:11 +0100 Subject: Command line format for external notification. In-Reply-To: <42C29683.9060202@op5.se> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> <42C25EFB.4020009@op5.se> <20050629104619.4969.qmail@mullet.softflare.net> <42C28349.2060205@free.fr> <42C2928F.3060207@op5.se> <20050629123046.1926.qmail@mullet.softflare.net> <42C29683.9060202@op5.se> Message-ID: <20050629125711.9476.qmail@mullet.softflare.net> Andreas Ericsson writes: > Single and double quotes are intentionally left out from plugin > output for this precise reason. You may intentionally omit quotes for that reason. Maybe some other people do too. I just had a look at the plugin developer guidelines and this requirement is not mentioned. I'd guess that in the majority of cases the reason there are no quotes in plugin output is because the text happened not to require them, not because the text was written to avoid using them. Perhaps when the guidelines are updated to indicate that -W is reserved for POSIX extensions the section on plugin output can also be updated to indicate which characters should not appear in plugin output. -- Paul Allen Softflare Support ------------------------------------------------------- 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 aait at free.fr Wed Jun 29 15:06:12 2005 From: aait at free.fr (krimo) Date: Wed, 29 Jun 2005 15:06:12 +0200 Subject: Command line format for external notification. In-Reply-To: <42C29683.9060202@op5.se> References: <20050629102521.z99bc4ovm84k8kss@imp4.free.fr> <42C25EFB.4020009@op5.se> <20050629104619.4969.qmail@mullet.softflare.net> <42C28349.2060205@free.fr> <42C2928F.3060207@op5.se> <20050629123046.1926.qmail@mullet.softflare.net> <42C29683.9060202@op5.se> Message-ID: <42C29CC4.7080702@free.fr> Andreas Ericsson a ?crit : > Paul L. Allen wrote: > >> Andreas Ericsson writes: >> >>> This won't work if $SERVICEDESC$ also has spaces, which it legally >>> can have. >> >> >> >> Good point. >> >>> Put single quotes around the macros (outside the dollar signs). This >>> will fail if any of the parameters contains single quotes as well, >>> but will work otherwise, unless your shell is broken. >> >> >> >> There is bound to be a plugin which, in at least some circumstances, has >> a single quote in the output, since the single quote serves as both a >> quotation mark and an apostrophe. > > > Not that I've noticed, although I haven't browsed all the translation > files. Single and double quotes are intentionally left out from plugin > output for this precise reason. The only exception is perfdata which > isn't usually sent along with notifications. > Thank you Andreas, I get it work! ------------------------------------------------------- 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 kklein9 at uky.edu Wed Jun 29 15:46:21 2005 From: kklein9 at uky.edu (Kenneth Klein) Date: Wed, 29 Jun 2005 09:46:21 -0400 Subject: gcc: `-b' must come at the start of the command line <-- how to fix this error Message-ID: <42C2A62D.9050409@uky.edu> So far I have dl'ed the files and run configure. "make all" ran fine until I ran into this: ken at f2sys1 (1959)[/usr/local/sbin/nagios-2.0b3]# make all cd ./base && make Target "all" is up to date. cd ./cgi && make Target "all" is up to date. Target "cgis" is up to date. cd ./html && make Target "all" is up to date. Target "html" is up to date. cd ./module && make gcc -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -G -bM:SRE -bno entry -bexpall gcc: `-b' must come at the start of the command line -------------- next part -------------- An HTML attachment was scrubbed... URL: From BConrad at passkey.com Wed Jun 29 15:50:19 2005 From: BConrad at passkey.com (Ben Conrad) Date: Wed, 29 Jun 2005 09:50:19 -0400 Subject: Gui for nagios Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3D71@eagle.passkey.com> This is how I populated my 80 hosts into NagiosQL: 1. Add one host and set proper settings 2. mysqldump the db and find the INSERT syntax (it's long) 3. Write a script that loops and creates the DDL to insert each host Or you could possibly create one large .cfg file with all the host definitions (don't know about .cfg templates) and then import into NagiosQL. Ben -----Original Message----- From: Evert Goor [mailto:Evert.Goor at benp.nl] Sent: Wednesday, June 29, 2005 5:06 AM To: nagios-users at lists.sourceforge.net Subject: RE: RE: [Nagios-users] Gui for nagios Hi Tanx for the hints and tips. Installed now nagiosQL. Had some litle problems but that is more the PHP-SQL part. Just wondering when they are going to implement host templates. Or did i missed that option ? I have to monitor around 100 Workstations (yes i know who wants that ) And that means a lot of typing an clicking. Working now on a remote installer for nsclient. Or is there already a tool for that ? Tanx again all. ----Original Message---- From: Ben Conrad Sent: 29/06/05 05:43 To: ed.bragg at objectsciences.com ; Matthias Eichler Cc: Tony Earnshaw ; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Gui for nagios -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I saw that and unfortunately that solution does not apply to my bug, but it does apply to fostermarkd's comment about my bug ;-< I'm using a few hand edited .cfg files for the buggy stuff and still using NagiosQL for everything else. I'm happy with it! Ben -----Original Message----- From: Ed Bragg [mailto:ed.bragg at gmail.com] Sent: Tuesday, June 28, 2005 4:10 PM To: Matthias Eichler Cc: Tony Earnshaw; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Gui for nagios btw, if you pull up the bugs on the NagiosQL site, the developer has posted a workaround for it. It's a change in the NagiosQL settings.ini file that will fix the "Quote" issue. Sorry for the double post Mathias. I hit reply to you before. On 6/28/05, Matthias Eichler wrote: > Hi Tony, > > I think you are mixing up something. What you mean is the SQL-backend > support of Nagios itself. Thats right, its gone in Nagios2. > What Ben meant is the SQL backend of NagiosQL, from which the config > files are generated. > > Matthias > > Tony Earnshaw schrieb: > > tir, 28.06.2005 kl. 16.20 skrev Ben Conrad: > > > > > >>I've been using NagiosQL for a few months and like it a lot. Since the > >>configs are sourced from a database means you can easily change a bunch of > >>configs with a SQL statement and then have the GUI write out the .cfg files > >>for you. > >> > >>There is one bug (sourceforge #1208820) that may give you a hard time if > >>your configs have quotes in them, otherwise it's a good piece of software! > > > > > > This might be Nagios 1, right? > > > > The SQL backend isn't there any more for Nagios 2. > > > > However, nagiosQL is, and there are no bugs tat I've discovered after 2 > > months of use. > > > > --Tonni > > > > > ------------------------------------------------------- > 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 > -- Ed Bragg ---------------------------------------------------------------- http://www.ebware.com X10 Wireless Security Equipment - Affordable Security! ------------------------------------------------------- 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 ______________________________________________________________________ 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 ------------------------------------------------------- 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 ______________________________________________________________________ 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 m.borsani at it.net Wed Jun 29 16:42:47 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 29 Jun 2005 16:42:47 +0200 Subject: R: Upgrading In-Reply-To: <4230B211.2040008@op5.se> References: <4230B211.2040008@op5.se> Message-ID: Hi all. I am installing nagios-2.0b3 over nagios 1.2. In the original installation I had one file contained all contacts, contact groups, hosts, host groups and services ... HOW can I convert old sintax with newone? Is there a documentation about new sintax ? In the bigger.cfg-sample and minimal.cfg-sample files I see some new "variables", but I need to know which are new rules. Regards M.Borsani PS: the conversion tools are not available on http://oss.op5.se/nagios -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas -}Ericsson -}Inviato: gioved? 10 marzo 2005 21.46 -}A: nagios-users at lists.sourceforge.net -}Oggetto: Re: [Nagios-users] Upgrading -} -} -}Dimitri Yioulos wrote: -}> I installed Nagios 1.2-1 from Dag Wieers' rpm on a CentOS 3.4 -}(RHEL AS 3) -}> box, and have it working great (except for status map icons, -}which I'll ask -}> about in another post). I'd like to upgrade to 2.0-0b2 via -}rpm. Can I do -}> this safely. Are there any tweaks I have to make, or any gotchas I'd -}> encounter? -}> -} -}Config file formats are wildly mismatching. I wrote a couple of -}conversion tools once upon a time that might be useful to you. -}They're at http://oss.op5.se/nagios but be warned that no help is -}available for any of them and I take no responsibility in case they -}don't fix everything for you. I just know they worked nicely for me. -} -}-- -}Andreas Ericsson andreas.ericsson at op5.se -}OP5 AB www.op5.se -}Lead Developer -} -} -}------------------------------------------------------- -}SF email is sponsored by - The IT Product Guide -}Read honest & candid reviews on hundreds of IT Products from real users. -}Discover which products truly live up to the hype. Start reading now. -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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 ae at op5.se Wed Jun 29 17:00:25 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2005 17:00:25 +0200 Subject: R: Upgrading In-Reply-To: References: Message-ID: <42C2B789.3060704@op5.se> Marco Borsani wrote: > Hi all. > I am installing nagios-2.0b3 over nagios 1.2. > In the original installation I had one file contained all contacts, contact > groups, hosts, host groups and services ... HOW can I convert old sintax > with newone? Use the tools at http://oss.op5.se/nagios (see below on why they're not there right now). Take a backup first though. I wrote them a long time ago and I won't fix your configuration for you if it breaks. > Is there a documentation about new sintax ? That would be the 2.0 documentation. Particularly the "What's New" section. > In the bigger.cfg-sample and minimal.cfg-sample files I see some new > "variables", but I need to know which are new rules. > > Regards > M.Borsani > > PS: the conversion tools are not available on http://oss.op5.se/nagios > They will be in a couple of hours. There was a major power outage where I live last night, and I forgot to reboot the server before I left for work. > -}-----Messaggio originale----- > -}Da: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas > -}Ericsson > -}Inviato: gioved? 10 marzo 2005 21.46 > -}A: nagios-users at lists.sourceforge.net > -}Oggetto: Re: [Nagios-users] Upgrading > -} > -} > -}Dimitri Yioulos wrote: > -}> I installed Nagios 1.2-1 from Dag Wieers' rpm on a CentOS 3.4 > -}(RHEL AS 3) > -}> box, and have it working great (except for status map icons, > -}which I'll ask > -}> about in another post). I'd like to upgrade to 2.0-0b2 via > -}rpm. Can I do > -}> this safely. Are there any tweaks I have to make, or any gotchas I'd > -}> encounter? > -}> > -} > -}Config file formats are wildly mismatching. I wrote a couple of > -}conversion tools once upon a time that might be useful to you. > -}They're at http://oss.op5.se/nagios but be warned that no help is > -}available for any of them and I take no responsibility in case they > -}don't fix everything for you. I just know they worked nicely for me. > -} > -}-- > -}Andreas Ericsson andreas.ericsson at op5.se > -}OP5 AB www.op5.se > -}Lead Developer > -} > -} > -}------------------------------------------------------- > -}SF email is sponsored by - The IT Product Guide > -}Read honest & candid reviews on hundreds of IT Products from real users. > -}Discover which products truly live up to the hype. Start reading now. > -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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 > > -- 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 m.borsani at it.net Wed Jun 29 17:06:38 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 29 Jun 2005 17:06:38 +0200 Subject: R: R: Upgrading In-Reply-To: <42C2B789.3060704@op5.se> References: <42C2B789.3060704@op5.se> Message-ID: Ok, thanks. Do these tools modify "only" file contained contacts, hosts, etc. or the other files (nagios.cfg for example) too ? Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas -}Ericsson -}Inviato: mercoled? 29 giugno 2005 17.00 -}A: nagios-users at lists.sourceforge.net -}Oggetto: Re: R: [Nagios-users] Upgrading -} -} -}Marco Borsani wrote: -}> Hi all. -}> I am installing nagios-2.0b3 over nagios 1.2. -}> In the original installation I had one file contained all -}contacts, contact -}> groups, hosts, host groups and services ... HOW can I convert old sintax -}> with newone? -} -}Use the tools at http://oss.op5.se/nagios (see below on why they're not -}there right now). -} -}Take a backup first though. I wrote them a long time ago and I won't fix -}your configuration for you if it breaks. -} -}> Is there a documentation about new sintax ? -} -}That would be the 2.0 documentation. Particularly the "What's -}New" section. -} -}> In the bigger.cfg-sample and minimal.cfg-sample files I see some new -}> "variables", but I need to know which are new rules. -}> -}> Regards -}> M.Borsani -}> -}> PS: the conversion tools are not available on http://oss.op5.se/nagios -}> -} -}They will be in a couple of hours. There was a major power outage where -}I live last night, and I forgot to reboot the server before I -}left for work. -} -}> -}-----Messaggio originale----- -}> -}Da: nagios-users-admin at lists.sourceforge.net -}> -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas -}> -}Ericsson -}> -}Inviato: gioved? 10 marzo 2005 21.46 -}> -}A: nagios-users at lists.sourceforge.net -}> -}Oggetto: Re: [Nagios-users] Upgrading -}> -} -}> -} -}> -}Dimitri Yioulos wrote: -}> -}> I installed Nagios 1.2-1 from Dag Wieers' rpm on a CentOS 3.4 -}> -}(RHEL AS 3) -}> -}> box, and have it working great (except for status map icons, -}> -}which I'll ask -}> -}> about in another post). I'd like to upgrade to 2.0-0b2 via -}> -}rpm. Can I do -}> -}> this safely. Are there any tweaks I have to make, or any -}gotchas I'd -}> -}> encounter? -}> -}> -}> -} -}> -}Config file formats are wildly mismatching. I wrote a couple of -}> -}conversion tools once upon a time that might be useful to you. -}> -}They're at http://oss.op5.se/nagios but be warned that no help is -}> -}available for any of them and I take no responsibility in case they -}> -}don't fix everything for you. I just know they worked nicely for me. -}> -} -}> -}-- -}> -}Andreas Ericsson andreas.ericsson at op5.se -}> -}OP5 AB www.op5.se -}> -}Lead Developer -}> -} -}> -} -}> -}------------------------------------------------------- -}> -}SF email is sponsored by - The IT Product Guide -}> -}Read honest & candid reviews on hundreds of IT Products from -}real users. -}> -}Discover which products truly live up to the hype. Start reading now. -}> -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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 -}> -}> -} -}-- -}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 ------------------------------------------------------- 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 csmith at RadioFrameNetworks.com Wed Jun 29 17:19:09 2005 From: csmith at RadioFrameNetworks.com (Christopher Smith) Date: Wed, 29 Jun 2005 08:19:09 -0700 Subject: SensaTronics E4 monitoring system Message-ID: <4EE8236B66247849BD4E1B5383AF4F48B766D3@exchwaus01.redmond.radioframenetworks.com> I have been using Nagios for 2+ years and have currently upgraded to 2.0b3. 2 months ago, I purchased the Monitor with 3 probes (not using the fourth yet). I have the device on a specific TCP, but I find that I cannot use the check_temptraxe plugin because I am unable to pass it a parameter for the port. Has anyone had any success with getting the port parameter to work? Thanks. Christopher M. Smith I.T. Manager RadioFrame Networks 1120 112th Avenue N.E., Suite 600 Bellevue, WA 98004 http://www.radioframenetworks.com O: 425.278.2661 F: 425.278.2861 M: 425.208.5198 csmith at radioframenetworks.com .................................................................................. The only converged system designed to optimize in-building voice over cellular / PCS and WLANs Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgoslin at amtrex.com Wed Jun 29 17:28:39 2005 From: pgoslin at amtrex.com (Paul Goslin) Date: Wed, 29 Jun 2005 08:28:39 -0700 Subject: How can I check an application port within a host Message-ID: Hello all, I want to be able to check an app (Oracle) which is running the database on my webserver. I want to be able to check my Oracle port (database) on my webserver. I have looked at the plugins as well as nagios exchange, but can not find what I think I need. Maybe I am not looking for the right thing. I am running 1.2 with plugins 1.4 on RH 7.3. Thanks in advance for your help. Paul ------------------------------------------------------- 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 29 17:21:59 2005 From: marc at ena.com (Marc Powell) Date: Wed, 29 Jun 2005 10:21:59 -0500 Subject: gcc: `-b' must come at the start of the command line <-- how to fix this error Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kenneth Klein > Sent: Wednesday, June 29, 2005 8:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] gcc: `-b' must come at the start of the command > line <-- how to fix this error > > So far I have dl'ed the files and run configure. "make all" ran fine until > I ran into this: > > > ken at f2sys1 > (1959)[/usr/local/sbin/nagios-2.0b3]# make all > cd ./base && make > Target "all" is up to date. > cd ./cgi && make > Target "all" is up to date. > Target "cgis" is up to date. > cd ./html && make > Target "all" is up to date. > Target "html" is up to date. > cd ./module && make > gcc -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -G - > bM:SRE -bno > entry -bexpall > gcc: `-b' must come at the start of the command line Details about what hardware, OS and configure line you're compiling under would probably be in order. You have extra arguments to gcc that don't exist under linux with ./configure && make all -- cd ./module && make make[1]: Entering directory `/home/mpowell/nagios-2.0b2/module' gcc -g -O2 -DHAVE_CONFIG_H -fPIC -o helloworld.o helloworld.c -shared make[1]: Leaving directory `/home/mpowell/nagios-2.0b2/module' -- 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 ae at op5.se Wed Jun 29 17:24:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 29 Jun 2005 17:24:50 +0200 Subject: R: R: Upgrading In-Reply-To: References: Message-ID: <42C2BD42.80800@op5.se> Marco Borsani wrote: > Ok, thanks. > > Do these tools modify "only" file contained contacts, hosts, etc. or the > other files (nagios.cfg for example) too ? > To tell the truth I don't really remember. The objects are the most trouble-some though, so you'll benefit some if not fully. AFAIR, there's only one or two variables that needs to be removed from nagios.cfg. > Regards > Marco > > -}-----Messaggio originale----- > -}Da: nagios-users-admin at lists.sourceforge.net > -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas > -}Ericsson > -}Inviato: mercoled? 29 giugno 2005 17.00 > -}A: nagios-users at lists.sourceforge.net > -}Oggetto: Re: R: [Nagios-users] Upgrading > -} > -} > -}Marco Borsani wrote: > -}> Hi all. > -}> I am installing nagios-2.0b3 over nagios 1.2. > -}> In the original installation I had one file contained all > -}contacts, contact > -}> groups, hosts, host groups and services ... HOW can I convert old sintax > -}> with newone? > -} > -}Use the tools at http://oss.op5.se/nagios (see below on why they're not > -}there right now). > -} > -}Take a backup first though. I wrote them a long time ago and I won't fix > -}your configuration for you if it breaks. > -} > -}> Is there a documentation about new sintax ? > -} > -}That would be the 2.0 documentation. Particularly the "What's > -}New" section. > -} > -}> In the bigger.cfg-sample and minimal.cfg-sample files I see some new > -}> "variables", but I need to know which are new rules. > -}> > -}> Regards > -}> M.Borsani > -}> > -}> PS: the conversion tools are not available on http://oss.op5.se/nagios > -}> > -} > -}They will be in a couple of hours. There was a major power outage where > -}I live last night, and I forgot to reboot the server before I > -}left for work. > -} > -}> -}-----Messaggio originale----- > -}> -}Da: nagios-users-admin at lists.sourceforge.net > -}> -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas > -}> -}Ericsson > -}> -}Inviato: gioved? 10 marzo 2005 21.46 > -}> -}A: nagios-users at lists.sourceforge.net > -}> -}Oggetto: Re: [Nagios-users] Upgrading > -}> -} > -}> -} > -}> -}Dimitri Yioulos wrote: > -}> -}> I installed Nagios 1.2-1 from Dag Wieers' rpm on a CentOS 3.4 > -}> -}(RHEL AS 3) > -}> -}> box, and have it working great (except for status map icons, > -}> -}which I'll ask > -}> -}> about in another post). I'd like to upgrade to 2.0-0b2 via > -}> -}rpm. Can I do > -}> -}> this safely. Are there any tweaks I have to make, or any > -}gotchas I'd > -}> -}> encounter? > -}> -}> > -}> -} > -}> -}Config file formats are wildly mismatching. I wrote a couple of > -}> -}conversion tools once upon a time that might be useful to you. > -}> -}They're at http://oss.op5.se/nagios but be warned that no help is > -}> -}available for any of them and I take no responsibility in case they > -}> -}don't fix everything for you. I just know they worked nicely for me. > -}> -} > -}> -}-- > -}> -}Andreas Ericsson andreas.ericsson at op5.se > -}> -}OP5 AB www.op5.se > -}> -}Lead Developer > -}> -} > -}> -} > -}> -}------------------------------------------------------- > -}> -}SF email is sponsored by - The IT Product Guide > -}> -}Read honest & candid reviews on hundreds of IT Products from > -}real users. > -}> -}Discover which products truly live up to the hype. Start reading now. > -}> -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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 > -}> > -}> > -} > -}-- > -}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 > > > > ------------------------------------------------------- > 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 > -- 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 idavidso at juniper.net Wed Jun 29 17:42:13 2005 From: idavidso at juniper.net (Ian Davidson) Date: Wed, 29 Jun 2005 16:42:13 +0100 Subject: FAIL nsca service_limit Message-ID: On my central server (in a distributed environment) I'm seeing the following error in /var/log/secure Jun 29 17:27:47 schumi xinetd[23752]: START: nsca pid=23361 from=172.26.192.37 Jun 29 17:27:47 schumi xinetd[23752]: START: nsca pid=23362 from=172.26.192.37 Jun 29 17:27:55 schumi xinetd[23752]: FAIL: nsca service_limit from=172.26.192.37 Jun 29 17:27:55 schumi xinetd[23752]: FAIL: nsca service_limit from=172.26.192.37 If I manually try and submit a submit_check command on a distributed server I get the error... [root at brundle bin]# /usr/local/nagios/libexec/eventhandlers/submit_check_result emea-cns3 'Halo' OK '27' Error: Server closed connection before init packet was received Error: Could not read init packet from server All in all, the service states are not getting received or processed by the central server, rendering it pretty useless. I don't think I've changed anything in the setup recently but does anyone know how to fix this issue?? The /etc/xinitd.d/nsca on the central server looks like this: # default: on # description: NSCA (Nagios Service Check Acceptor) service nsca { disable = no flags = REUSE socket_type = stream wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nsca server_args = -c /usr/local/nagios/var/nsca.cfg --inetd log_on_failure += USERID # only_from = 127.0.0.1,172.26.33.68 cps = 500 30 } Many thanks, Ian -- Ian Davidson Corporate Network Services Juniper Networks GSM: +44-7952-173703 Tel: +44-1372-385653 Skypename: ian.j.davidson "Chaos, panic & disorder - my work here is done." ------------------------------------------------------- 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 noyler at khimetrics.com Wed Jun 29 20:20:40 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 29 Jun 2005 11:20:40 -0700 Subject: How can I check an application port within a host Message-ID: <59B15593F41BD24591D59436E7226EAD021A2983@Khiphx2.khimetrics.com> > Hello all, > I want to be able to check an app (Oracle) which is running the database > on my webserver. I want to be able to check my Oracle port (database) on > my webserver. I have looked at the plugins as well as nagios exchange, but > can not find what I think I need. Maybe I am not looking for the right > thing. I am running 1.2 with plugins 1.4 on RH 7.3. Thanks in advance for > your help. > > Paul [Nathan Oyler] I use check_oracle --db SID I run this from NRPE with the check_oracle plugin on the local machine with the DB. I am not very familiar with the differences between how you check them, so this may not be what you want, but it works perfectly for me. I use 1.4 plugins. check_oracle -V 1.9 (nagios-plugins 1.4.0alpha2) ------------------------------------------------------- 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 tdondich at gmail.com Wed Jun 29 23:14:55 2005 From: tdondich at gmail.com (Taylor Dondich) Date: Wed, 29 Jun 2005 14:14:55 -0700 Subject: Fruity 1.0 (nagios config tool) is coming, screenshots of what's new! Message-ID: <3d2eb72a05062914147671cac1@mail.gmail.com> After a couple months of development, a new LICENSE change, and some more things up my sleeve, Fruity 1.0 is coming. No longer will Fruity 1.0 be confined to just configuring nagios, as it will be extensible in creating tools to configure anything regarding your network. And it could be used to not just configure, but monitor and run diagnostic tools, directly from fruity. :) So just to prove that development has been ongoing, direct yourself to the Fruity homepage at (http://fruity.sf.net). There's a list of screenshots there for you to gawk at. Also, let me get you to salivate. I've been busy building an alternative to the nagios cgi interface. Let me just say this, for large networks, it's fast, it's extensible, and it allows you to navigate through your network in a radically different way. ;) Be prepared for that as well. Just wanted to keep you all posted on my development efforts. Taylor ------------------------------------------------------- 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 Thu Jun 30 02:24:46 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 30 Jun 2005 12:24:46 +1200 Subject: FAIL nsca service_limit In-Reply-To: References: Message-ID: <006101c57d0a$1eacc030$01fea8c0@itss.auckland.ac.nz> >Jun 29 17:27:47 schumi xinetd[23752]: START: nsca pid=23361 >from=172.26.192.37 Jun 29 17:27:47 schumi xinetd[23752]: >START: nsca pid=23362 from=172.26.192.37 Jun 29 17:27:55 >schumi xinetd[23752]: FAIL: nsca service_limit >from=172.26.192.37 Jun 29 17:27:55 schumi xinetd[23752]: FAIL: >nsca service_limit from=172.26.192.37 ... ># description: NSCA (Nagios Service Check Acceptor) >service nsca >{ > disable = no > flags = REUSE > socket_type = stream > wait = no > user = nagios > group = nagios > server = /usr/local/nagios/bin/nsca > server_args = -c /usr/local/nagios/var/nsca.cfg --inetd > log_on_failure += USERID ># only_from = 127.0.0.1,172.26.33.68 > cps = 500 30 >} You also want to look at 'instances = ' in the /etc/xinetd.conf (your default settings). Looks like you are hitting the instances maximum, rather than the cps (connections per second limit). Check that your nsca calls are not actually exiting in a timely manner -- instances normally defaults to 60. Maybe you're getting a LOT of nsca logs coming in? Maybe something is blocking? Then, you can add 'instances = 200' (for example) to your nsca service definition to increase the max number of concurrent instances of nsca. We use 'instances = UNLIMITED' (OK, risky, I know) because of the huge number of nsca alerts coming in. 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 prosolutions at gmx.net Thu Jun 30 07:09:49 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Wed, 29 Jun 2005 22:09:49 -0700 Subject: service that has no associated host, how to configure? Message-ID: <20050630050949.GC2659@think.alaya.net> Hello, I have a service that I want to test. What it actually does is emulate a network client that connects to an outside host (totally unrelated to my network and not pingable) that gets routed back to my network and is handled by an LVS cluster. Therefore there is no "host_name" really associated with this service. It is just a test of a service that I want to run to make sure the cluster is still behaving the way it is supposed to. Given that "host_name" is required for "define service", can anyone recommend how to set this up properly in nagios config? ------------------------------------------------------- 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 sghosh at sghosh.org Thu Jun 30 07:21:34 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 30 Jun 2005 01:21:34 -0400 (EDT) Subject: service that has no associated host, how to configure? In-Reply-To: <20050630050949.GC2659@think.alaya.net> References: <20050630050949.GC2659@think.alaya.net> Message-ID: On Wed, 29 Jun 2005 prosolutions at gmx.net wrote: > > > Hello, > > I have a service that I want to test. What it actually does is emulate > a network client that connects to an outside host (totally unrelated to > my network and not pingable) that gets routed back to my network and is > handled by an LVS cluster. Therefore there is no "host_name" really > associated with this service. It is just a test of a service that I want > to run to make sure the cluster is still behaving the way it is supposed > to. Given that "host_name" is required for "define service", can anyone > recommend how to set this up properly in nagios config? > use the hostname of the host where you want to run the check from. -- ------------------------------------------------------- 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 prosolutions at gmx.net Thu Jun 30 08:03:47 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Wed, 29 Jun 2005 23:03:47 -0700 Subject: service that has no associated host, how to configure? In-Reply-To: References: <20050630050949.GC2659@think.alaya.net> Message-ID: <20050630060347.GA11649@think.alaya.net> > > > >Hello, > > > >I have a service that I want to test. What it actually does is emulate > >a network client that connects to an outside host (totally unrelated to > >my network and not pingable) that gets routed back to my network and is > >handled by an LVS cluster. Therefore there is no "host_name" really > >associated with this service. It is just a test of a service that I want > >to run to make sure the cluster is still behaving the way it is supposed > >to. Given that "host_name" is required for "define service", can anyone > >recommend how to set this up properly in nagios config? > > > > use the hostname of the host where you want to run the check from. > I'm confused, because the check is a plugin that I myself will write and will be running on the nagios system itself. Are you saying just use "localhost" then as the host? ------------------------------------------------------- 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 ladams at cloudmark.com Thu Jun 30 08:40:12 2005 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 29 Jun 2005 23:40:12 -0700 Subject: service that has no associated host, how to configure? Message-ID: It actually doesn't matter if there's a physical hostname, as long as you don't use $HOST*$ as any of the arguments in checkcommand. So I just create a pretend hostname that relates to what the machine is for. Maybe something like "emulator". define host { name emulator etc,etc } define service { name emulator-check checkcommand check_emulator } Then your checkcommand could just be something like: define checkcommand { command_name check_emulator command_line check_emulator.pl $ARG1$ } (or something like that). Hope that makes some sense. -Lori -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net Sent: Wednesday, June 29, 2005 11:04 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service that has no associated host, how to configure? > > > >Hello, > > > >I have a service that I want to test. What it actually does is emulate > >a network client that connects to an outside host (totally unrelated to > >my network and not pingable) that gets routed back to my network and is > >handled by an LVS cluster. Therefore there is no "host_name" really > >associated with this service. It is just a test of a service that I want > >to run to make sure the cluster is still behaving the way it is supposed > >to. Given that "host_name" is required for "define service", can anyone > >recommend how to set this up properly in nagios config? > > > > use the hostname of the host where you want to run the check from. > I'm confused, because the check is a plugin that I myself will write and will be running on the nagios system itself. Are you saying just use "localhost" then as the host? ------------------------------------------------------- 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 ipunto at gmail.com Thu Jun 30 09:24:32 2005 From: ipunto at gmail.com (=?ISO-8859-1?Q?I=F1igo_Gomez_Abrisketa?=) Date: Thu, 30 Jun 2005 09:24:32 +0200 Subject: Does anybody monitor the Windows XP Remote Desktop? Message-ID: <505b8cac0506300024bcf575b@mail.gmail.com> Hello everybody. I'm using Nagios to monitor some PCs in my work subnet. I monitor some things: HTTP, PING (troubles with SP2 Firewall), e.a. But, I need to monitor if one PC's Remote Desktop service is running, and if it's anybody connected to this PC. Can Nagios help me? Can anybody help me? Thanks in advance, I?igo G?mez Abrisketa IT Engineer Iberdrola ------------------------------------------------------- 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 Thu Jun 30 09:50:37 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Jun 2005 09:50:37 +0200 Subject: Does anybody monitor the Windows XP Remote Desktop? In-Reply-To: <505b8cac0506300024bcf575b@mail.gmail.com> References: <505b8cac0506300024bcf575b@mail.gmail.com> Message-ID: <42C3A44D.1000800@op5.se> I?igo Gomez Abrisketa wrote: > Hello everybody. > > I'm using Nagios to monitor some PCs in my work subnet. > I monitor some things: HTTP, PING (troubles with SP2 Firewall), e.a. > > But, I need to monitor if one PC's Remote Desktop service is running, > and if it's anybody connected to this PC. > > Can Nagios help me? Yes. > Can anybody help me? > Yes. Use check_tcp or check_udp, depending on version and setup of the RDP service. The --help output should be most accommodating. -- 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 nagios-user at proy.org Thu Jun 30 09:54:41 2005 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 30 Jun 2005 09:54:41 +0200 Subject: [Nagios-snmp-users] RE: ERROR: running table : Received noSuchName(2) error-status aterror-index 32. In-Reply-To: <1120030636.12722.5.camel@munter> References: <1120030636.12722.5.camel@munter> Message-ID: <20050630075458.4B1FDAB715@www.manubulon.com> Hi, host.hrSystem.hrSystemProcesses.0 gives the total number of processes on the host without any filtering. It would be like running my script with * as filter, which is not the aim of the script. Patrick Nagios AT proy dot org -----Message d'origine----- De : nagios-snmp-users-admin at lists.sourceforge.net [mailto:nagios-snmp-users-admin at lists.sourceforge.net] De la part de Jamie Baddeley Envoy? : mercredi 29 juin 2005 09:37 ? : Patrick Proy Cc : nagios-users at lists.sourceforge.net; nagios-snmp-users at lists.sourceforge.net Objet : [Nagios-snmp-users] RE: ERROR: running table : Received noSuchName(2) error-status aterror-index 32. On Wed, 2005-06-29 at 09:08 +0200, Patrick Proy wrote: > Hi, > > This is a known issue of process check. > The script does : > 1) Get the snmp table with index and description > 2) Match with the processes > 3) Get the status of the selected processes > > I've done it like this because it takes a lot of time (and ressources > on the remote host) to get the whole process table. > > Problem : if a process on the remote host die at step 2, then the > index won't be valid and you will get an error at step 3.... > > I've added a "-g" option wich gets the entire table at step 1 : it can > help, but in case processes are dying/respawning very fast the problem > will still be here. Thanks for the prompt and detailed reply. I appreciate it. I'll try -g. Have you considered using: host.hrSystem.hrSystemProcesses.0 ? This seems to report a process count, but I'm thinking you discounted this for some reason, so am interested if that's the case - was it to do with dealing with multiprocessors? cheers jamie > > Patrick > nagios AT proy dot org > > > -----Message d'origine----- > De : Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Envoy? : mardi > 28 juin 2005 21:58 ? : Patrick Proy Cc : > nagios-users at lists.sourceforge.net > Objet : ERROR: running table : Received noSuchName(2) error-status > aterror-index 32. > > Hi Patrick, > > I'm using your check_snmp_process.pl to do some process count checking > on a variety of Linux hosts. > > >From time to time I get the error reponse shown above. In fact the > error-index can change (32,46, 14,42,16 etc) > > I'm using the latest versions dl'ed from SF. > > These plugins are running on a RH EL3 system that has plenty of > ram/processor. > > Admittedly I've only got one out of 10 hosts I'm monitoring > complaining. > The host in question is running net-snmp-5.0.9-2.30E.15 (Redhat) and > 2.4-21 kernel. > > Have you seen similar compaints? Is there a workaround (that doesn't > involve me upgrading the far end system)? > > Cheers > > jamie > > > -- Jamie Baddeley ViewPoint Consulting Ltd ------------------------------------------------------- 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-snmp-users mailing list ------------------------------------------------------- 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 prosolutions at gmx.net Thu Jun 30 09:57:32 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Thu, 30 Jun 2005 00:57:32 -0700 Subject: Clarification (was: service that has no associated host...) Message-ID: <20050630075732.GE11649@think.alaya.net> I will try to clarify this a little bit: _____________ | monitoring | | system | | | | (nagios) | ------------- | | | MYAPP (test MYAPP, send request through | test external gateway to load-balanced | script cluster) | routed through external gateway | | ______|___________ | load-balancing | | cluster director | |__________________| | | | | | | __|_ __|_ __|_ | | | | | | application servers ---- ---- ---- (running MYAPP) I want to define two instances of service MYAPP: MYAPP_peak_hours and MYAPP_off_peak both of which run at different times of day. The event_handler will be my custom script which is configured to connect to an external gateway. The requests get routed to a load-balancing cluster director and answered by one of several servers in a pool. I am not sure what host_name is supposed to be or why I even need to configure one in nagios. In this instance, it doesn't seem to make sense to me. I am not checking a host. I am checking a service which is handled by a cluster of hosts. The IP address that the actual test script connects to has nothing to do with my app. There is no need to ping any specific server here to see if it is alive. I just want to run the test script at regular intervals. ------------------------------------------------------- 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 mascalas at it.tiscali.com Thu Jun 30 09:55:42 2005 From: mascalas at it.tiscali.com (Marco Scalas) Date: Thu, 30 Jun 2005 09:55:42 +0200 Subject: Does anybody monitor the Windows XP Remote Desktop? In-Reply-To: <505b8cac0506300024bcf575b@mail.gmail.com> References: <505b8cac0506300024bcf575b@mail.gmail.com> Message-ID: <42C3A57E.2090708@it.tiscali.com> Hi! This could be useful to solve your problem: http://www.nagios.org/faqs/viewfaq.php?faq_id=32 Marco I?igo Gomez Abrisketa wrote: >Hello everybody. > >I'm using Nagios to monitor some PCs in my work subnet. >I monitor some things: HTTP, PING (troubles with SP2 Firewall), e.a. > >But, I need to monitor if one PC's Remote Desktop service is running, >and if it's anybody connected to this PC. > >Can Nagios help me? >Can anybody help me? > >Thanks in advance, >I?igo G?mez Abrisketa >IT Engineer >Iberdrola > > >------------------------------------------------------- >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 > > > ------------------------------------------------------- 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 ipunto at gmail.com Thu Jun 30 10:53:49 2005 From: ipunto at gmail.com (=?ISO-8859-1?Q?I=F1igo_Gomez_Abrisketa?=) Date: Thu, 30 Jun 2005 10:53:49 +0200 Subject: Can Nagios detect the activity on a port # ? Message-ID: <505b8cac05063001537742f5ad@mail.gmail.com> Related to my previous mail, I've found that Remote Desktop port number is 3389. Nagios, obviously, can check if this port is active, but ... Can Nagios detect if this port is in use (or in session)? Thanks in advance, I?igo G?mez Abrisketa ------------------------------------------------------- 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 olivier.boissard at cerene.fr Thu Jun 30 08:27:36 2005 From: olivier.boissard at cerene.fr (Olivier Boissard) Date: Thu, 30 Jun 2005 08:27:36 +0200 Subject: [SPAM] - RE: CHECK_NRPE: Error - Could not complete SSL handshake - Found word(s) list error in the Text body. In-Reply-To: References: Message-ID: <42C390D8.5050003@cerene.fr> Lori Adams wrote: >Have you looked at the FAQ yet? >http://nagios.org/faqs/index.php?section_id=4&expand=false&showdesc=fals >e > >I always get this when I don't have the "allowed hosts" section in my >nrpe.cfg set up correctly. Since you moved it to another network, I >bet that's the problem. > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Olivier >Boissard >Sent: Tuesday, June 28, 2005 5:16 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL >handshake > >hello > >I can't identify the problem. >I used Nagios (with NRPE) to monitor a server located on the same >network and everything was OK. >But, I had to change the loc ation of this server (on another >network). >Now I get the well-known message : CHECK_NRPE: Error - Could not >complete SSL handshake >- I changed the nrpe-xinetd script in order to math the new IP adress >- I modified my hosts.cfg file >-I also changed my nrpe.cfg file but i think it was not necessary > >What did i forget ? >Has someone an idea about the problem ??? > >Thanks > >Olivier > > > > > > >------------------------------------------------------- >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 > > > > CHECK_NRPE: Error - Could not complete SSL handshake : This message was due to a firewall configuration problem. (the port 5666 was allowed only for output) Thanks a lot for you help Olivier ------------------------------------------------------- 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 idavidso at juniper.net Thu Jun 30 11:43:25 2005 From: idavidso at juniper.net (Ian Davidson) Date: Thu, 30 Jun 2005 10:43:25 +0100 Subject: Confusing problem with external command processing Message-ID: I've tried working out what is wrong with my install but have hit a brain-cell brick wall. On my distributed server I can see the results of service checks being sent via nsca to the central server: [1120121933] SERVICE ALERT: emea-cns3;check-halo-service;OK;HARD;3;All services are running On the central server, I can see that information coming in (thanks to Steve Shipway for helping me with nsca on that server!): Jun 30 11:27:44 schumi nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;emea-cns3;check-halo-service;0;All services are running But the web-page doesn't reflect this new data at all. It just doesn't appear to be processing this information. The 'Last check' time-stamp doesn't get updated at all... Any pointers? Thanks, Ian -- Ian Davidson Corporate Network Services Juniper Networks GSM: +44-7952-173703 Tel: +44-1372-385653 Skypename: ian.j.davidson "Chaos, panic & disorder - my work here is done." ------------------------------------------------------- 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 cimbal200 at bluewin.ch Thu Jun 30 12:23:56 2005 From: cimbal200 at bluewin.ch (cimbal200 at bluewin.ch) Date: Thu, 30 Jun 2005 12:23:56 +0200 Subject: Option to allow specific users to disable notifications over a html interface Message-ID: <42BC927400023006@mssazhb-int.msg.bluewin.ch> Hi all, i'm using Nagios 1.2 and there is allways a problem when some poeple are out of office and dont want to get alarms via SMS and/or Email. Is there and option to allow users to enable/disable there notifications on a web interface ? Does'nt need to be integratet into Nagios itself but would be interesting to check in a Email or SMS wraper script if the user is enabled befor sending the message. Thanks for your help and regards, Markus ------------------------------------------------------- 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 Thu Jun 30 12:37:12 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Jun 2005 12:37:12 +0200 Subject: Can Nagios detect the activity on a port # ? In-Reply-To: <505b8cac05063001537742f5ad@mail.gmail.com> References: <505b8cac05063001537742f5ad@mail.gmail.com> Message-ID: <42C3CB58.6040709@op5.se> I?igo Gomez Abrisketa wrote: > Related to my previous mail, I've found that Remote Desktop port number is 3389. > Nagios, obviously, can check if this port is active, but ... > Can Nagios detect if this port is in use (or in session)? > Not without sitting as a router or doing something which would normally being considered black-hat'ish. You could set up a netflow gatherer and submit passive checks, I suppose, but there's no way of determining traffic to/from a remote host without sniffing the wire. Moste catenets won't allow that without some sort of ARP poisoning scheme in place, and that's very disruptive for the network. > Thanks in advance, > I?igo G?mez Abrisketa > > > ------------------------------------------------------- > 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 > -- 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 ae at op5.se Thu Jun 30 12:52:28 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Jun 2005 12:52:28 +0200 Subject: Option to allow specific users to disable notifications over a html interface In-Reply-To: <42BC927400023006@mssazhb-int.msg.bluewin.ch> References: <42BC927400023006@mssazhb-int.msg.bluewin.ch> Message-ID: <42C3CEEC.6010809@op5.se> cimbal200 at bluewin.ch wrote: > Hi all, > > i'm using Nagios 1.2 and there is allways a problem when some poeple are > out of office and dont want to get alarms via SMS and/or Email. > > Is there and option to allow users to enable/disable there notifications > on a web interface ? Nopes. > Does'nt need to be integratet into Nagios itself but would be interesting > to check in a Email or SMS wraper script if the user is enabled befor sending > the message. > I imagine that would be fairly easy to handle if you write your own wrapper script and a small php- or cgi-page to handle updating the stuff for you. > Thanks for your help and regards, > Markus > > > > > ------------------------------------------------------- > 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 > -- 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 james at lovedthanlost.net Thu Jun 30 13:05:08 2005 From: james at lovedthanlost.net (James Turnbull) Date: Thu, 30 Jun 2005 21:05:08 +1000 Subject: Can Nagios detect the activity on a port # ? In-Reply-To: <42C3CB58.6040709@op5.se> References: <505b8cac05063001537742f5ad@mail.gmail.com> <42C3CB58.6040709@op5.se> Message-ID: <42C3D1E4.5050704@lovedthanlost.net> Andreas Ericsson wrote: > I?igo Gomez Abrisketa wrote: > >> Related to my previous mail, I've found that Remote Desktop port >> number is 3389. >> Nagios, obviously, can check if this port is active, but ... >> Can Nagios detect if this port is in use (or in session)? >> > > Not without sitting as a router or doing something which would > normally being considered black-hat'ish. > > You could set up a netflow gatherer and submit passive checks, I > suppose, but there's no way of determining traffic to/from a remote > host without sniffing the wire. Moste catenets won't allow that > without some sort of ARP poisoning scheme in place, and that's very > disruptive for the network. I agree with Andreas - very messy to do this via the network. I guess it depends what you are trying to achieve. If you just want to see if a Remote Desktop session is active you could approach this from a different direction. Instead of looking at it from the network side you could run NSclient or the like on the Windows host and monitor the event log or set up a WMI script to monitor Remote Desktop activities. The NSClient could then execute a check on this log file or using this script. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- 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 Thu Jun 30 13:11:42 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Jun 2005 13:11:42 +0200 Subject: Clarification (was: service that has no associated host...) In-Reply-To: <20050630075732.GE11649@think.alaya.net> References: <20050630075732.GE11649@think.alaya.net> Message-ID: <42C3D36E.2030308@op5.se> prosolutions at gmx.net wrote: > > I will try to clarify this a little bit: > > > _____________ > | monitoring | > | system | > | | > | (nagios) | > ------------- > | > | > | MYAPP (test MYAPP, send request through > | test external gateway to load-balanced > | script cluster) > | > routed through > external > gateway > | > | > ______|___________ > | load-balancing | > | cluster director | > |__________________| > | | | > | | | > __|_ __|_ __|_ > | | | | | | application servers > ---- ---- ---- (running MYAPP) > > > I want to define two instances of service MYAPP: MYAPP_peak_hours and > MYAPP_off_peak both of which run at different times of day. The > event_handler will be my custom script which is configured to connect to > an external gateway. Do you mean check_command rather than event_handler? > The requests get routed to a load-balancing > cluster director and answered by one of several servers in a pool. I am > not sure what host_name is supposed to be The host_name of the cluster director, ofcourse. That's the host providing the service you're checking (even though it's just a proxy of sorts, it has to be up for the service check to succeed). > or why I even need to > configure one in nagios. Because nagios requires services to be attached to hosts. It's a programmatic thing which can't be changed without rewriting nagios from the ground up. > In this instance, it doesn't seem to make > sense to me. I take it you're on a fairly green limb in the network management tree then. Services in a network are provided by one or more devices. Those devices are referred to as "hosts" in nagios, which is usually a fairly accurate term. > I am not checking a host. I am checking a service which > is handled by a cluster of hosts. The IP address that the actual test > script connects to has nothing to do with my app. That ip-address is the ip-address of the host that the service-check belongs to. If you pull the plug to the device listening to that IP the check will fail. > There is no need to > ping any specific server here to see if it is alive. Bah! > I just want to run > the test script at regular intervals. > Nagios can do this for you, provided you follow nagios' rules. If you post any more nonsense on this subject claiming that the check doesn't really belong to a host, I think you'll be pretty thoroughly flamed. I'll even go so far as to provide the flaming myself if no-one else feels up to 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 misch at multinet.de Thu Jun 30 13:13:10 2005 From: misch at multinet.de (Michael Schwartzkopff) Date: Thu, 30 Jun 2005 13:13:10 +0200 Subject: Can Nagios detect the activity on a port # ? In-Reply-To: <42C3D1E4.5050704@lovedthanlost.net> References: <505b8cac05063001537742f5ad@mail.gmail.com> <42C3CB58.6040709@op5.se> <42C3D1E4.5050704@lovedthanlost.net> Message-ID: <200506301313.19715.misch@multinet.de> Am Donnerstag, 30. Juni 2005 13:05 schrieb James Turnbull: > Andreas Ericsson wrote: > > I?igo Gomez Abrisketa wrote: > >> Related to my previous mail, I've found that Remote Desktop port > >> number is 3389. > >> Nagios, obviously, can check if this port is active, but ... > >> Can Nagios detect if this port is in use (or in session)? > > > > Not without sitting as a router or doing something which would > > normally being considered black-hat'ish. > > > > You could set up a netflow gatherer and submit passive checks, I > > suppose, but there's no way of determining traffic to/from a remote > > host without sniffing the wire. Moste catenets won't allow that > > without some sort of ARP poisoning scheme in place, and that's very > > disruptive for the network. > > I agree with Andreas - very messy to do this via the network. I guess > it depends what you are trying to achieve. If you just want to see if a > Remote Desktop session is active you could approach this from a > different direction. Instead of looking at it from the network side you > could run NSclient or the like on the Windows host and monitor the event > log or set up a WMI script to monitor Remote Desktop activities. The > NSClient could then execute a check on this log file or using this script. > > Regards > > James Turnbull Hi, what about good old SNMP? Even Microsoft implemented the tcpConnState Table of the MIBII. There you can see which connections are esablished to your server at the moment. Just try ist: snmpwalk -v1 -cpublic .tcpConnState It should not be too difficult to feed the output into a script and find any special connection. By the way: This should work with EVERY OS! Regards, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From james at lovedthanlost.net Thu Jun 30 13:53:51 2005 From: james at lovedthanlost.net (James Turnbull) Date: Thu, 30 Jun 2005 21:53:51 +1000 Subject: Can Nagios detect the activity on a port # ? In-Reply-To: <200506301313.19715.misch@multinet.de> References: <505b8cac05063001537742f5ad@mail.gmail.com> <42C3CB58.6040709@op5.se> <42C3D1E4.5050704@lovedthanlost.net> <200506301313.19715.misch@multinet.de> Message-ID: <42C3DD4F.8010307@lovedthanlost.net> Michael Schwartzkopff wrote: >Hi, > >what about good old SNMP? Even Microsoft implemented the tcpConnState Table of >the MIBII. There you can see which connections are esablished to your server >at the moment. Just try ist: > >snmpwalk -v1 -cpublic .tcpConnState > >It should not be too difficult to feed the output into a script and find any >special connection. By the way: This should work with EVERY OS! > >Regards, > > Yes excellent point. No need for a script even if you're prepared to very roughly use grep: snmpwalk -v1 -cpublic .tcpConnState | (grep 'established' | grep '3389') Or thinking about it if you didn't want to pipe two greps together you could use sed: snmpwalk -v1 -cpublic .tcpConnState | sed -e '/established/!d' -e '/3389/!d' Either of these would spit out all established connections on port 3389. Regards James Turnbull -- James Turnbull --- Author of Hardening Linux from Apress (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- 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.borsani at it.net Thu Jun 30 14:37:12 2005 From: m.borsani at it.net (Marco Borsani) Date: Thu, 30 Jun 2005 14:37:12 +0200 Subject: R: R: Upgrading In-Reply-To: <42C2B789.3060704@op5.se> References: <42C2B789.3060704@op5.se> Message-ID: Hi I try to download/use : host_to_service_contacts.php.gz hostgroups_to_service_contacts.php.gz but 1) only way I can is using "save as" of my browser 2) these files are not in "gz" format 3) when I try ro run I receive errors like: ./host_to_service_contacts.php.gz php -f marco.cfg -a Error in argument 1, char 3: option not found Are these the correct files? What is my fault? Thanks Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas -}Ericsson -}Inviato: mercoled? 29 giugno 2005 17.00 -}A: nagios-users at lists.sourceforge.net -}Oggetto: Re: R: [Nagios-users] Upgrading -} -} -}Marco Borsani wrote: -}> Hi all. -}> I am installing nagios-2.0b3 over nagios 1.2. -}> In the original installation I had one file contained all -}contacts, contact -}> groups, hosts, host groups and services ... HOW can I convert old sintax -}> with newone? -} -}Use the tools at http://oss.op5.se/nagios (see below on why they're not -}there right now). -} -}Take a backup first though. I wrote them a long time ago and I won't fix -}your configuration for you if it breaks. -} -}> Is there a documentation about new sintax ? -} -}That would be the 2.0 documentation. Particularly the "What's -}New" section. -} -}> In the bigger.cfg-sample and minimal.cfg-sample files I see some new -}> "variables", but I need to know which are new rules. -}> -}> Regards -}> M.Borsani -}> -}> PS: the conversion tools are not available on http://oss.op5.se/nagios -}> -} -}They will be in a couple of hours. There was a major power outage where -}I live last night, and I forgot to reboot the server before I -}left for work. -} -}> -}-----Messaggio originale----- -}> -}Da: nagios-users-admin at lists.sourceforge.net -}> -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Andreas -}> -}Ericsson -}> -}Inviato: gioved? 10 marzo 2005 21.46 -}> -}A: nagios-users at lists.sourceforge.net -}> -}Oggetto: Re: [Nagios-users] Upgrading -}> -} -}> -} -}> -}Dimitri Yioulos wrote: -}> -}> I installed Nagios 1.2-1 from Dag Wieers' rpm on a CentOS 3.4 -}> -}(RHEL AS 3) -}> -}> box, and have it working great (except for status map icons, -}> -}which I'll ask -}> -}> about in another post). I'd like to upgrade to 2.0-0b2 via -}> -}rpm. Can I do -}> -}> this safely. Are there any tweaks I have to make, or any -}gotchas I'd -}> -}> encounter? -}> -}> -}> -} -}> -}Config file formats are wildly mismatching. I wrote a couple of -}> -}conversion tools once upon a time that might be useful to you. -}> -}They're at http://oss.op5.se/nagios but be warned that no help is -}> -}available for any of them and I take no responsibility in case they -}> -}don't fix everything for you. I just know they worked nicely for me. -}> -} -}> -}-- -}> -}Andreas Ericsson andreas.ericsson at op5.se -}> -}OP5 AB www.op5.se -}> -}Lead Developer -}> -} -}> -} -}> -}------------------------------------------------------- -}> -}SF email is sponsored by - The IT Product Guide -}> -}Read honest & candid reviews on hundreds of IT Products from -}real users. -}> -}Discover which products truly live up to the hype. Start reading now. -}> -}http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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 -}> -}> -} -}-- -}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 ------------------------------------------------------- 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 rhall at HealthVision.com Thu Jun 30 15:52:52 2005 From: rhall at HealthVision.com (Rusty Hall) Date: Thu, 30 Jun 2005 08:52:52 -0500 Subject: check _ping question Message-ID: Can anyone help me with this issue. When I run the following check_ping command I get mixed results some servers return ok, and other come back with this: Status: check_ping: %s :Warning threshold must be integer or percentage Server 2 cpus 2.8 2 gb memory Nagios 1.2 plugins 1.4 fedora core 2 Check command # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping_wrapper -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } Service define service{ use generic-service ; Name of service template to use host_name server1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups ops,nagios,hsc notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_ping!100.0,20%!500.0,60% } Status: check_ping: %s :Warning threshold must be integer or percentage Command line ./check_ping -H server1 -w 100,20% -c 500,60% -p 5 PING OK - Packet loss = 0%, RTA = 0.27 ms Thanks in advance Rusty -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu Jun 30 16:22:58 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 30 Jun 2005 07:22:58 -0700 Subject: Can Nagios detect the activity on a port # ? In-Reply-To: <505b8cac05063001537742f5ad@mail.gmail.com> References: <505b8cac05063001537742f5ad@mail.gmail.com> Message-ID: <20050630142257.GA21134@zippy.toger.us> On Thu, Jun 30, 2005 at 10:53:49AM +0200, I?igo Gomez Abrisketa wrote: > Related to my previous mail, I've found that Remote Desktop port number is 3389. If you installed NRPE_NT on it and wrote a script that looks at netstat -an for any lines that are 'ESTABLISHED' to port 3389, then yes. -Jason Martin -- Two peanuts went to New York. One was assaulted. 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 mcunietti at enter.it Thu Jun 30 16:59:34 2005 From: mcunietti at enter.it (Mariano Cunietti) Date: Thu, 30 Jun 2005 16:59:34 +0200 Subject: check_none command Message-ID: <1120143574.8751.20.camel@bytecode.enter.it> Hi list, I'm trying to configure a passive check on Nagios for an ATM router with MPLS VPN VRFs to be monitored. SNMP works fine, I also wrote a script to parse the trap and forward output to Nagios. I configured a service like this: define service{ host_name atm1-mi service_description MPLS-VRF is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 contact_groups admins-SMS notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_none } but I get an errore when I run nagios: "Error: Service check command 'check_none' specified in service 'MPLS-VRF' for host 'atm1-mi' not defined anywhere!" I should configure it in checkcommands.cfg, but HOW? what should it do to be a "none" command? Thanks Mariano -- ------------------------- Mariano Cunietti System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it --------------------------- Gruppo Y2K - www.gruppoy2k.it ------------------------------------------------------- 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 Thu Jun 30 17:44:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 30 Jun 2005 17:44:39 +0200 Subject: check_none command In-Reply-To: <1120143574.8751.20.camel@bytecode.enter.it> References: <1120143574.8751.20.camel@bytecode.enter.it> Message-ID: <42C41367.4080601@op5.se> Mariano Cunietti wrote: > Hi list, > I'm trying to configure a passive check on Nagios for an ATM router with > MPLS VPN VRFs to be monitored. > SNMP works fine, I also wrote a script to parse the trap and forward > output to Nagios. > > I configured a service like this: > > define service{ > host_name atm1-mi > service_description MPLS-VRF > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > normal_check_interval 5 > retry_check_interval 2 > contact_groups admins-SMS > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > check_command check_none > } > > but I get an errore when I run nagios: > > "Error: Service check command 'check_none' specified in service > 'MPLS-VRF' for host 'atm1-mi' not defined anywhere!" > > I should configure it in checkcommands.cfg, but HOW? what should it do > to be a "none" command? > check_dummy to the rescue. It's in the plugin distribution. > Thanks > > Mariano -- 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 13th.v1c70r at gmail.com Thu Jun 30 18:25:57 2005 From: 13th.v1c70r at gmail.com (Kyle Victor) Date: Thu, 30 Jun 2005 12:25:57 -0400 Subject: hosts in different subnet issue Message-ID: <550701fa05063009253c131f24@mail.gmail.com> i have Nagios up and running, and get good checks on 30 of 36 hosts but 6 hosts keep coming back as DOWN i am using the same command on all hosts check-host-alive (which is a check_ping and send one packet) the 6 that come back as DOWN "CRITICAL - plugin timed out after 10 secs" are all in a different subnet four our in the DMZ 2 are firewall/router machines the firewall is configured to allow traffic, and i can run the command from command line and it works, but Nagios itself doesn't seem to want to check these hosts, or is failing to check them let me know if you want more info, or if any of you know where i should/could look next of what i might need to change thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From prosolutions at gmx.net Thu Jun 30 20:53:38 2005 From: prosolutions at gmx.net (prosolutions at gmx.net) Date: Thu, 30 Jun 2005 13:53:38 -0500 Subject: Clarification (was: service that has no associated host...) In-Reply-To: <42C3D36E.2030308@op5.se> References: <20050630075732.GE11649@think.alaya.net> <42C3D36E.2030308@op5.se> Message-ID: <20050630185338.GD12468@ath.alaya.net> > > > The requests get routed to a load-balancing > >cluster director and answered by one of several servers in a pool. I am > >not sure what host_name is supposed to be > > The host_name of the cluster director, ofcourse. That's the host > providing the service you're checking (even though it's just a proxy of > sorts, it has to be up for the service check to succeed). > that makes sense. everything is clear now. obviously if the load-balancer is not up then the test will fail, and it should be checked. i think part of my confusion was that i was thinking of physical hosts as opposed to virtual hosts. the actual loadbalancer itself is also part of a cluster, but at least one of them needs to be up and listening on the service IP address for things to work, so this service listening on this IP is my "host" > That ip-address is the ip-address of the host that the service-check > belongs to. If you pull the plug to the device listening to that IP the > check will fail. > > If you post any more nonsense on this subject claiming that the check > doesn't really belong to a host, I think you'll be pretty thoroughly > flamed. I'll even go so far as to provide the flaming myself if no-one > else feels up to it. ;) i agree. my confusion was that the "host" in this case is more like a "service" that can be provided by one of a number of physical "hosts" in a pool. i was confused conceptually. thank you very much for helping clarify this! ------------------------------------------------------- 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 kklein9 at uky.edu Thu Jun 30 20:59:22 2005 From: kklein9 at uky.edu (Kenneth Klein) Date: Thu, 30 Jun 2005 14:59:22 -0400 Subject: ld: 0711-317 ERROR: Undefined symbol: .VA_COPY <-- Can anyone tell me how to fix this???? Message-ID: <42C4410A.803@uky.edu> I finally got nagios to "make all" and make etc. Then I dl.ed the source for the plugins, I grabbed the latest stable verson. I got this error when I ran make all. ar: Creating an archive file libsnprintf.a. gcc -g -O2 -L. -L/lib -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kklein9 at uky.edu Thu Jun 30 21:14:09 2005 From: kklein9 at uky.edu (Kenneth Klein) Date: Thu, 30 Jun 2005 15:14:09 -0400 Subject: Fruity 1.0 (nagios config tool) is coming, screenshots of what's new! In-Reply-To: <3d2eb72a050630120362b3a4c6@mail.gmail.com> References: <3d2eb72a05062914147671cac1@mail.gmail.com> <42C43642.3090902@uky.edu> <3d2eb72a050630120362b3a4c6@mail.gmail.com> Message-ID: <42C44481.7040207@uky.edu> Ooh! Mysterious. Well I got nagios installed on AIX 5.3 on power 5 chips. I hope it works. Can you explain what PHP 5 is?? Is it in Apache? Taylor Dondich wrote: >The interface can run on any platform support PHP 5, and it needs >access to the nagios comment and downtime log files. So pretty much >wherever you run nagios, but with a webserver that runs php 5. :) >There's another component, which I can't really talk about, but it >uses mysql. > >Taylor > >On 6/30/05, Kenneth Klein wrote: > > >> What platforms will this run on??? >> >> Taylor Dondich wrote: >> >>After a couple months of development, a new LICENSE change, and some >>more things up my sleeve, Fruity 1.0 is coming. >> >>No longer will Fruity 1.0 be confined to just configuring nagios, as >>it will be extensible in creating tools to configure anything >>regarding your network. And it could be used to not just configure, >>but monitor and run diagnostic tools, directly from fruity. :) >> >>So just to prove that development has been ongoing, direct yourself to >>the Fruity homepage at (http://fruity.sf.net). There's a list of >>screenshots there for you to gawk at. >> >>Also, let me get you to salivate. I've been busy building an >>alternative to the nagios cgi interface. Let me just say this, for >>large networks, it's fast, it's extensible, and it allows you to >>navigate through your network in a radically different way. ;) Be >>prepared for that as well. >> >>Just wanted to keep you all posted on my development efforts. >> >>Taylor >> >> >>------------------------------------------------------- >>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 >> >> >> >> >> -- >>I am told that the US spent a lot of money trying to find a pen that >>would write in weightlessness. They showed the "Space Pen" to the >>competing Russians. They showed the US reps - a pencil. >> >> >> >> > > > > -- I am told that the US spent a lot of money trying to find a pen that would write in weightlessness. They showed the "Space Pen" to the competing Russians. They showed the US reps - a pencil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From BConrad at passkey.com Thu Jun 30 22:03:53 2005 From: BConrad at passkey.com (Ben Conrad) Date: Thu, 30 Jun 2005 16:03:53 -0400 Subject: Fruity 1.0 (nagios config tool) is coming, scr eenshots of what's new! Message-ID: <8FB96300C132D511AE7500508BD6ABCD05AB3D7E@eagle.passkey.com> Hi Taylor, Have you fixed the missing/invalid directive issues (0.7.5) in this version? See previous emails thread below: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Agreed, I haven't be able to really get started with Fruity yet but the one time I tested it I setup a new host and Fruity put about 4-5 directives in that were not valid. Ben -----Original Message----- From: Michael Henry [mailto:michael.henry at axegroup.com.au] Sent: Monday, May 09, 2005 9:19 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Can somebody send me fruity-0.7.5.tar.gz??? I tried Fruity the other day and found that the generated configuration files simply didn't work. Fruity has a nasty habit of generating directives with no arguments (for example, if the directive is "disabled" in the interface). <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -----Original Message----- From: Taylor Dondich [mailto:tdondich at gmail.com] Sent: Wednesday, June 29, 2005 5:15 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fruity 1.0 (nagios config tool) is coming, screenshots of what's new! After a couple months of development, a new LICENSE change, and some more things up my sleeve, Fruity 1.0 is coming. No longer will Fruity 1.0 be confined to just configuring nagios, as it will be extensible in creating tools to configure anything regarding your network. And it could be used to not just configure, but monitor and run diagnostic tools, directly from fruity. :) So just to prove that development has been ongoing, direct yourself to the Fruity homepage at (http://fruity.sf.net). There's a list of screenshots there for you to gawk at. Also, let me get you to salivate. I've been busy building an alternative to the nagios cgi interface. Let me just say this, for large networks, it's fast, it's extensible, and it allows you to navigate through your network in a radically different way. ;) Be prepared for that as well. Just wanted to keep you all posted on my development efforts. Taylor ------------------------------------------------------- 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 ______________________________________________________________________ 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 Evert.Goor at benp.nl Thu Jun 30 22:59:00 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Thu, 30 Jun 2005 22:59:00 +0200 Subject: Setting up distributed monitoring Message-ID: <19CCC8E70E4FA941848269F0C5D832CC077967@post.systems.nl> Hi list I'm having nagios pretty working now. Now I have to add 3 other sites to this server. I thought there was an option to use a distributed model. But I found out there is only a passive system. I want to actively check those site. Is there a workaround to still get it centralized those data or is there only the option to check active from the main server ? Will be happy to hear the opinions. Evert Goor ------------------------------------------------------- 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 Thu Jun 30 23:00:52 2005 From: marc at ena.com (Marc Powell) Date: Thu, 30 Jun 2005 16:00:52 -0500 Subject: Setting up distributed monitoring Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Evert Goor > Sent: Thursday, June 30, 2005 3:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting up distributed monitoring > > Hi list > > I'm having nagios pretty working now. Now I have to add 3 other sites to > this server. I thought there was an option to use a distributed model. > But I found out there is only a passive system. I want to actively check > those site. Is there a workaround to still get it centralized those data > or is there only the option to check active from the main server ? > > Will be happy to hear the opinions. You're probably looking for NRPE and/or the check-by-ssh plugin. -- 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 Evert.Goor at benp.nl Thu Jun 30 23:53:58 2005 From: Evert.Goor at benp.nl (Evert Goor) Date: Thu, 30 Jun 2005 23:53:58 +0200 Subject: Setting up distributed monitoring Message-ID: <19CCC8E70E4FA941848269F0C5D832CC58A472@post.systems.nl> Tanx just saw it. I thought only nsca was the option. Can only not find the check by ssh plugin. Curious what that is ? Is that it just opens an ssh to an other unix box and activate from there the check ? -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Namens Marc Powell Verzonden: donderdag 30 juni 2005 23:01 Aan: nagios-users at lists.sourceforge.net Onderwerp: RE: [Nagios-users] Setting up distributed monitoring > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Evert Goor > Sent: Thursday, June 30, 2005 3:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting up distributed monitoring > > Hi list > > I'm having nagios pretty working now. Now I have to add 3 other sites to > this server. I thought there was an option to use a distributed model. > But I found out there is only a passive system. I want to actively check > those site. Is there a workaround to still get it centralized those data > or is there only the option to check active from the main server ? > > Will be happy to hear the opinions. You're probably looking for NRPE and/or the check-by-ssh plugin. -- 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_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