From hittjw at gmail.com Sat Mar 1 02:49:27 2008 From: hittjw at gmail.com (Justin Hitt) Date: Fri, 29 Feb 2008 20:49:27 -0500 Subject: Nagios compared to Sun's SMC In-Reply-To: <47BDEFBC.5010400@carleton.ca> References: <47BDEFBC.5010400@carleton.ca> Message-ID: <93344bf0802291749s771eedey5c846497b272f506@mail.gmail.com> Don, On Thu, Feb 21, 2008 at 4:40 PM, Don Shesnicky wrote: > wondering if anyone on the list has compared Nagios to Sun Management > Center or has thoughts on the two? We're a Solaris shop and the > container/zone features of SMC are definitely of interest but my While SMC has a web based console too, Nagios has a bit less overhead and better handling of root cause. Being from a heavy Sun shop too, we're looking at running both as it supports Sun N1 Provisioning, with Nagios being more the big picture look and SMC for day-to-day management and drill-down. Either way, dedicate a machine for this ... we have a Sun T1000 set aside. Nagios is also great for an "outside" prospective look at your network. We have a web application environment with a Nagios install stood up on a VPS account. This provides an external view of our websites without the overhead of SMC. Nagios also provides better support for multiple platforms (i.e. CISCO, .Windows 2003, ...), unless you can use SNMP then both products can see everything. Sincerely, Justin -- Attention Sales And Marketing Professionals Who Serve B2B Executives http://hittpublishingdirect.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Sat Mar 1 07:38:02 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Sat, 1 Mar 2008 06:38:02 +0000 (GMT) Subject: alerts still received each hour In-Reply-To: References: Message-ID: <881024.59593.qm@web26215.mail.ukl.yahoo.com> hello here is the templates: define host{ name general-server use generic-host check_period 24x7 max_check_attempts 10 check_command check-host-alive notification_interval 120 notification_options d,u,r contact_groups admins register 0 } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host 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 notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } --- "Valdinger, Stephen (DOV, MSX)" wrote: > What does your template look like for the host? > Could you post that too? > > Stephen Valdinger > MIS Helpdesk Coordinator > 330-365-3622 > stephen.valdinger at doverchem.com > ? > ? > Why do we tell computers to shut down and people to > shut up? > > -----Original Message----- > From: Melanie Pfefer > [mailto:melanie_pfefer at yahoo.co.uk] > Sent: Friday, February 29, 2008 10:51 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] alerts still received each > hour > > hello again > > I added this to escalation.cfg > > define hostescalation{ > host_name zeus > contact_groups admins > first_notification 1 > last_notification 3 > notification_interval 180 > } > > Hosts.cfg > > define host{ > use general-server > host_name zeus > alias zeus > address 172.21.192.17 > notification_interval 180 > } > > I am still receiving an alert every 1 hour > > could you please advise? > thanks. > > > > ___________________________________________________________ > Yahoo! Answers - Got a question? Someone out there > knows the answer. Try it > now. > http://uk.answers.yahoo.com/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelkintzios at gmail.com Sat Mar 1 11:11:29 2008 From: michaelkintzios at gmail.com (Mick) Date: Sat, 1 Mar 2008 10:11:29 +0000 Subject: Troubleshooting connectivity Message-ID: <200803011011.31312.michaelkintzios@gmail.com> Hi All, I want to monitor a network device (e.g. an IP camera) and when it fails to be able to see which network link went down - the ISP network? the modem? router? or the camera itself? I would try to do this by e.g. running traceroute, or tcptraceroute, but I am not sure how to do this and capture the info with Nagios. I found the traceroute plugin, but this seems to offer a GUI traceroute facility to be used in a browser, which is not what I'm after. Any suggestions? -- Regards, Mick -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Mar 1 11:30:14 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 01 Mar 2008 11:30:14 +0100 Subject: Troubleshooting connectivity In-Reply-To: <200803011011.31312.michaelkintzios@gmail.com> References: <200803011011.31312.michaelkintzios@gmail.com> Message-ID: <47C93036.4090005@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mick wrote: | Hi All, | | I want to monitor a network device (e.g. an IP camera) and when it fails to be | able to see which network link went down - the ISP network? the modem? | router? or the camera itself? | | I would try to do this by e.g. running traceroute, or tcptraceroute, but I am | not sure how to do this and capture the info with Nagios. I found the | traceroute plugin, but this seems to offer a GUI traceroute facility to be | used in a browser, which is not what I'm after. You need to rethink the solution. You need to add more hosts in there that will represent your path to the camera and then use the parents definition to make the path clear. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHyTA0BvzDRVjxmYERAmhQAJ90VgesuYFSdu9t1/Lznzk0Dxt8DwCgmroT 7/spQfLh0rXo9m9vUNUQMHg= =mqhp -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelkintzios at gmail.com Sat Mar 1 12:31:26 2008 From: michaelkintzios at gmail.com (Mick) Date: Sat, 1 Mar 2008 11:31:26 +0000 Subject: Troubleshooting connectivity In-Reply-To: <47C93036.4090005@vanderkooij.org> References: <200803011011.31312.michaelkintzios@gmail.com> <47C93036.4090005@vanderkooij.org> Message-ID: <200803011131.48487.michaelkintzios@gmail.com> On Saturday 01 March 2008, Hugo van der Kooij wrote: > Mick wrote: > | I want to monitor a network device (e.g. an IP camera) and when it > > fails to be > > | able to see which network link went down - the ISP network? the modem? > | router? or the camera itself? > | > | I would try to do this by e.g. running traceroute, or tcptraceroute, > You need to rethink the solution. You need to add more hosts in there > that will represent your path to the camera and then use the parents > definition to make the path clear. Thanks Hugo, that's how I do it currently (I think). The cable modem is acting as bridge so it is not ping-able, but the router is ping-able and then each device, e.g. the camera, is httping reachable on a particular port. I thought however, that a complete tcptraceroute log would draw a comprehensive picture whenever a customer asks a question about failed devices. -- Regards, Mick -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dean.pullen at msp-uk.com Sat Mar 1 17:09:13 2008 From: dean.pullen at msp-uk.com (Dean Pullen) Date: Sat, 1 Mar 2008 16:09:13 -0000 Subject: Return code of 127 is out of bounds Message-ID: Hi all, I'm getting the dreaded message: Return code of 127 is out of bounds - plugin may be missing I've gone through the mailing list and googled considerably, but I'm still at a loss at how to resolve the problem. Could anyone walk me through it please? Nagios: 3.0b6 NRPE: 2.11 Regards, Dean. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Mar 1 19:07:07 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 01 Mar 2008 19:07:07 +0100 Subject: Return code of 127 is out of bounds In-Reply-To: References: Message-ID: <47C99B4B.3010806@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dean Pullen wrote: | I?m getting the dreaded message: | | Return code of 127 is out of bounds - plugin may be missing | | I?ve gone through the mailing list and googled considerably, but I?m | still at a loss at how to resolve the problem. | | Could anyone walk me through it please? Why don't you start by explaining what you have done to configure this plugin and what steps you took to find the cause. Because untill now you have shown almost no sign of doing any actual troubleshooting. So please prove me wrong and describe the steps. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHyZtBBvzDRVjxmYERAkT7AJ0V/Gs+ZvmmJ2EJ/yRzW2rVBL1E9wCgrTvl kvGVSbTwLwuWl0moAYAMR9g= =/nBI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dean.pullen at msp-uk.com Sat Mar 1 19:23:00 2008 From: dean.pullen at msp-uk.com (Dean Pullen) Date: Sat, 1 Mar 2008 18:23:00 -0000 Subject: Return code of 127 is out of bounds In-Reply-To: <47C99B4B.3010806@vanderkooij.org> References: <47C99B4B.3010806@vanderkooij.org> Message-ID: Indeed I understand, now that the day is drawing to a close, let me collaborate my steps, and get back to you asap. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: 01 March 2008 18:07 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Return code of 127 is out of bounds -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dean Pullen wrote: | I?m getting the dreaded message: | | Return code of 127 is out of bounds - plugin may be missing | | I?ve gone through the mailing list and googled considerably, but I?m | still at a loss at how to resolve the problem. | | Could anyone walk me through it please? Why don't you start by explaining what you have done to configure this plugin and what steps you took to find the cause. Because untill now you have shown almost no sign of doing any actual troubleshooting. So please prove me wrong and describe the steps. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHyZtBBvzDRVjxmYERAkT7AJ0V/Gs+ZvmmJ2EJ/yRzW2rVBL1E9wCgrTvl kvGVSbTwLwuWl0moAYAMR9g= =/nBI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sun Mar 2 04:04:00 2008 From: Roger at NagiosWiki.com (Roger) Date: Sat, 1 Mar 2008 19:04:00 -0800 Subject: Suggestions on Nagios-friendly performance monitoring devices? Message-ID: <2b7af7c40803011904h48c082eei4f2b4c9417b213a9@mail.gmail.com> I'm looking for Nagios-friendly devices that I can put in a network to monitor network performance. Someone recommended to me Netscout, and I'm wondering if anyone here had good experience integrating it with Nagios (using check_snmp, I assume). (I'm guessing that I'll have to poll this sort of device initially with something like Cacti and then use something like check_rrd to monitor for averages, as instantaneous results aren't as helpful as trending information) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sun Mar 2 05:01:32 2008 From: perldork at webwizarddesign.com (Max) Date: Sat, 1 Mar 2008 23:01:32 -0500 Subject: Suggestions on Nagios-friendly performance monitoring devices? In-Reply-To: <2b7af7c40803011904h48c082eei4f2b4c9417b213a9@mail.gmail.com> References: <2b7af7c40803011904h48c082eei4f2b4c9417b213a9@mail.gmail.com> Message-ID: Roger, On Sat, Mar 1, 2008 at 10:04 PM, Roger wrote: > (I'm guessing that I'll have to poll this sort of device initially with > something like Cacti and then use something like check_rrd to monitor for > averages, as instantaneous results aren't as helpful as trending > information) I suggest using PNP (pnp4nagios.sf.net), with it you can do snmp checks and get trending graphs from the data as a side effect using perfdata output. I have been migrating all of my custom Cacti trending scripts to Nagios checks that output graph data for PNP, makes configuration a lot easier and reduces polling traffic to devices :). I really like Cacti, but I also really like killing two birds with one stone. - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwong at wong-consulting.com Sun Mar 2 07:24:58 2008 From: gwong at wong-consulting.com (Gregory Wong) Date: Sun, 02 Mar 2008 01:24:58 -0500 Subject: NRPE Problems Message-ID: Hi everyone. I just configured my Nagios box to start monitoring with NRPE. When I run check_nrpe ?H 127.0.0.1 it resolves the NRPE version as expected. Since my monitoring server is colocated and I plan to monitor hosts behind firewalls I setup a test server behind my firewall at home for testing purposes. I have TCP/5666 forwarded to the internal IP address of my test server. That same port is also open on my Nagios server as well. I am running NRPE on my Windows server. The version of NRPE running can be found here: http://tinyurl.com/24o3h3 When I run check_nrpe ?H I get a socket timeout error. I did a netstat on both servers and it looks like there is a connection. TCP gwong-srvr1:5666 gwong-srvr1:0 LISTENING TCP gwong-srvr1:netbios-ssn gwong-srvr1:0 LISTENING TCP gwong-srvr1:5666 :36422 CLOSE_WAIT TCP gwong-srvr1:5666 :38766 CLOSE_WAIT TCP gwong-srvr1:5666 :38907 CLOSE_WAIT TCP gwong-srvr1:5666 :38909 CLOSE_WAIT root at nagios:~# netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN tcp 0 0 :38913 :nrpe ESTABLISHED root at nagios:~# netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN tcp 0 0 :38913 :nrpe FIN_WAIT2 Any ideas why this won?t work? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sysplex.org Sun Mar 2 11:37:29 2008 From: nagios at sysplex.org (Robert) Date: Sun, 2 Mar 2008 11:37:29 +0100 Subject: NRPE Problems In-Reply-To: References: Message-ID: <20080302103729.M4373@sysplex.org> Hi Gregroy, whats your setting in the nrpe.cfg (on the machine to be monitored) for the key allowed_hosts? rgds Robert On Sun, 02 Mar 2008 01:24:58 -0500, Gregory Wong wrote > Hi everyone. I just configured my Nagios box to start monitoring > with NRPE. When I run check_nrpe ?H 127.0.0.1 it resolves the NRPE > version as expected. Since my monitoring server is colocated and I > plan to monitor hosts behind firewalls I setup a test server behind > my firewall at home for testing purposes. > > I have TCP/5666 forwarded to the internal IP address of my test > server. That same port is also open on my Nagios server as well. I > am running NRPE on my Windows server. The version of NRPE running > can be found here: http://tinyurl.com/24o3h3 > > When I run check_nrpe ?H I get a socket timeout > error. I did a netstat on both servers and it looks like there is a connection. > > TCP gwong-srvr1:5666 gwong-srvr1:0 LISTENING > TCP gwong-srvr1:netbios-ssn gwong-srvr1:0 LISTENING > TCP gwong-srvr1:5666 :36422 CLOSE_WAIT > TCP gwong-srvr1:5666 :38766 CLOSE_WAIT > TCP gwong-srvr1:5666 :38907 CLOSE_WAIT > TCP gwong-srvr1:5666 :38909 CLOSE_WAIT > > root at nagios:~# netstat -at | grep nrpe > tcp 0 0 *:nrpe *:* LISTEN > tcp 0 0 :38913 :nrpe ESTABLISHED > root at nagios:~# netstat -at | grep nrpe > tcp 0 0 *:nrpe *:* LISTEN > tcp 0 0 :38913 :nrpe FIN_WAIT2 > > Any ideas why this won?t work? > > Thanks. Gruss Robert -- Debian Project (http://www.debian.org) Ubuntu Project (http://www.ubuntu.com) Open WebMail Project (http://openwebmail.org) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikeh at bluegecko.net Sun Mar 2 14:13:51 2008 From: mikeh at bluegecko.net (Mike Hamrick) Date: Sun, 2 Mar 2008 05:13:51 -0800 (PST) Subject: Antwort: Re: Fwd: plugin for iostat readings? In-Reply-To: References: Message-ID: On Mon, 25 Feb 2008 Sascha.Runschke at gfkl.com wrote: > You need to call iostat with multiple checks - the longer the better - > but then it means you would have to run iostat for like 30 seconds or > so -> plugin runtime is 30 seconds too then! That means that check > would have a high delay/latency, which is overall a bad idea. My > solution so far is to run the plugin via cron and report output via > nsca, this gave me the best results. One thing you might want to consider is using sadc/sar for this job. The sadc(8) program collects all kinds of stats on OS resource usage and if you explicitly ask it, it will capture some interesting disk i/o stats, including read/write requests per second. One thing that would be handy to be able to alert on is the i/o wait statistic available from sar(1). The man page defines it as: "Percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request." So basically the plugin could just read the most recent data from sadc by using sar and alert if the io/wait figure reached a certain threshold. You would want to adjust the sadc cron entry to run about as often as your check interval. Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwong at wong-consulting.com Sun Mar 2 14:56:07 2008 From: gwong at wong-consulting.com (Gregory Wong) Date: Sun, 02 Mar 2008 08:56:07 -0500 Subject: NRPE Problems In-Reply-To: <20080302103446.M7095@sysplex.org> References: <20080302103446.M7095@sysplex.org> Message-ID: # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. #allowed_hosts=192.168.0.1 On 3/2/08 5:37 AM, "Robert Sailer" wrote: > Hi Gregroy, > > whats your setting in the nrpe.cfg (on the machine to be monitored) for the > key allowed_hosts? > > rgds > Robert > > On Sun, 02 Mar 2008 01:24:58 -0500, Gregory Wong wrote >> > Hi everyone. I just configured my Nagios box to start monitoring >> > with NRPE. When I run check_nrpe ?H 127.0.0.1 it resolves the NRPE >> > version as expected. Since my monitoring server is colocated and I >> > plan to monitor hosts behind firewalls I setup a test server behind >> > my firewall at home for testing purposes. >> > >> > I have TCP/5666 forwarded to the internal IP address of my test >> > server. That same port is also open on my Nagios server as well. I >> > am running NRPE on my Windows server. The version of NRPE running >> > can be found here: http://tinyurl.com/24o3h3 >> > >> > When I run check_nrpe ?H I get a socket timeout >> > error. I did a netstat on both servers and it looks like there is a > connection. >> > >> > TCP gwong-srvr1:5666 gwong-srvr1:0 LISTENING >> > TCP gwong-srvr1:netbios-ssn gwong-srvr1:0 LISTENING >> > TCP gwong-srvr1:5666 :36422 CLOSE_WAIT >> > TCP gwong-srvr1:5666 :38766 CLOSE_WAIT >> > TCP gwong-srvr1:5666 :38907 CLOSE_WAIT >> > TCP gwong-srvr1:5666 :38909 CLOSE_WAIT >> > >> > root at nagios:~# netstat -at | grep nrpe >> > tcp 0 0 *:nrpe *:* LISTEN >> > tcp 0 0 :38913 :nrpe ESTABLISHED >> > root at nagios:~# netstat -at | grep nrpe >> > tcp 0 0 *:nrpe *:* LISTEN >> > tcp 0 0 :38913 :nrpe FIN_WAIT2 >> > >> > Any ideas why this won?t work? >> > >> > Thanks. > > > Gruss > Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sysplex.org Sun Mar 2 20:04:53 2008 From: nagios at sysplex.org (Robert) Date: Sun, 2 Mar 2008 20:04:53 +0100 Subject: NRPE Problems In-Reply-To: References: <20080302103446.M7095@sysplex.org> Message-ID: <20080302190002.M3746@sysplex.org> Hi Gregory, try to find out how the IP Adress of your Client (your nagios-server) is mapped (you can use wireshark with filter "port 5666"). Then edit yout nrpe.cfg and insert this address to allowed_hosts. rgds Robert On Sun, 02 Mar 2008 08:56:07 -0500, Gregory Wong wrote > # ALLOWED HOST ADDRESSES > # This is a comma-delimited list of IP address of hosts that are allowed > # to talk to the NRPE daemon. > # > # NOTE: The daemon only does rudimentary checking of the client's IP > # address. > > #allowed_hosts=192.168.0.1 > > On 3/2/08 5:37 AM, "Robert Sailer" wrote: > > > Hi Gregroy, > > > > whats your setting in the nrpe.cfg (on the machine to be monitored) for the > > key allowed_hosts? > > > > rgds > > Robert > > > > On Sun, 02 Mar 2008 01:24:58 -0500, Gregory Wong wrote > >> > Hi everyone. I just configured my Nagios box to start monitoring > >> > with NRPE. When I run check_nrpe ?H 127.0.0.1 it resolves the NRPE > >> > version as expected. Since my monitoring server is colocated and I > >> > plan to monitor hosts behind firewalls I setup a test server behind > >> > my firewall at home for testing purposes. > >> > > >> > I have TCP/5666 forwarded to the internal IP address of my test > >> > server. That same port is also open on my Nagios server as well. I > >> > am running NRPE on my Windows server. The version of NRPE running > >> > can be found here: http://tinyurl.com/24o3h3 > >> > > >> > When I run check_nrpe ?H I get a socket timeout > >> > error. I did a netstat on both servers and it looks like there is a > > connection. > >> > > >> > TCP gwong-srvr1:5666 gwong-srvr1:0 LISTENING > >> > TCP gwong-srvr1:netbios-ssn gwong-srvr1:0 LISTENING > >> > TCP gwong-srvr1:5666 :36422 CLOSE_WAIT > >> > TCP gwong-srvr1:5666 :38766 CLOSE_WAIT > >> > TCP gwong-srvr1:5666 :38907 CLOSE_WAIT > >> > TCP gwong-srvr1:5666 :38909 CLOSE_WAIT > >> > > >> > root at nagios:~# netstat -at | grep nrpe > >> > tcp 0 0 *:nrpe *:* LISTEN > >> > tcp 0 0 :38913 :nrpe ESTABLISHED > >> > root at nagios:~# netstat -at | grep nrpe > >> > tcp 0 0 *:nrpe *:* LISTEN > >> > tcp 0 0 :38913 :nrpe FIN_WAIT2 > >> > > >> > Any ideas why this won?t work? > >> > > >> > Thanks. > > > > > > Gruss > > Robert Gruss Robert -- Debian Project (http://www.debian.org) Ubuntu Project (http://www.ubuntu.com) Open WebMail Project (http://openwebmail.org) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sun Mar 2 20:13:23 2008 From: Roger at NagiosWiki.com (Roger) Date: Sun, 2 Mar 2008 11:13:23 -0800 Subject: Suggestions on Nagios-friendly performance monitoring devices? In-Reply-To: References: <2b7af7c40803011904h48c082eei4f2b4c9417b213a9@mail.gmail.com> Message-ID: <2b7af7c40803021113k12cb4cfbu2579f1cf2e69803c@mail.gmail.com> On 3/1/08, Max wrote: > > I suggest using PNP (pnp4nagios.sf.net), with it you can do snmp > checks and get trending graphs from the data as a side effect using > perfdata output. I have been migrating all of my custom Cacti trending scripts to > Nagios checks that output graph data for PNP, makes configuration a > lot easier and reduces polling traffic to devices :). I impelmented PNP a while ago and quite liked it. I had to touch each host config to add the extended service info, which was sort of a pain (I didn't think how I could do it otherwise), but overall it was quite easy to implement and covered a lot of bases. Overall, however, I'm looking for *devices* that I could put on the network that are easily pollable (cacti, nagios, etc) that can give me a good picture of certain critical things, such as network latency or saturation... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sun Mar 2 21:47:47 2008 From: perldork at webwizarddesign.com (Max) Date: Sun, 2 Mar 2008 15:47:47 -0500 Subject: Suggestions on Nagios-friendly performance monitoring devices? In-Reply-To: <2b7af7c40803021113k12cb4cfbu2579f1cf2e69803c@mail.gmail.com> References: <2b7af7c40803011904h48c082eei4f2b4c9417b213a9@mail.gmail.com> <2b7af7c40803021113k12cb4cfbu2579f1cf2e69803c@mail.gmail.com> Message-ID: On Sun, Mar 2, 2008 at 2:13 PM, Roger wrote: > I impelmented PNP a while ago and quite liked it. I had to touch each host > config to add the extended service info, which was sort of a pain (I didn't > think how I could do it otherwise), but overall it was quite easy to > implement and covered a lot of bases. > > Overall, however, I'm looking for *devices* that I could put on the network > that are easily pollable (cacti, nagios, etc) that can give me a good > picture of certain critical things, such as network latency or saturation... Ah, got it. I have been using Weathermap with Cacti for this purpose, I am hoping to be able to use the version of weathermap that isn't integrated with Cacti (weathermap4RRD) with PNP interface trending graphs so I don't have to maintain an instance of Cacti just to get core network bandwidth utilization. Another way to go for saturation / utilization is Netflow from a core router and then use something like NfSen, which I also use at work. If you have a really big budget :) OpNet produces a very nice suite of tools for network performance analysis, both online and offline. Weathermap will let you display point to point latencies. - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwong at wong-consulting.com Sun Mar 2 23:31:47 2008 From: gwong at wong-consulting.com (Gregory Wong) Date: Sun, 02 Mar 2008 17:31:47 -0500 Subject: NRPE Problems In-Reply-To: <20080302190002.M3746@sysplex.org> References: <20080302190002.M3746@sysplex.org> Message-ID: Thanks for the feedback Robert. I uncommented the ?allowed_hosts? and added the public IP of my Nagios server. Everything seems to be working now. On 3/2/08 2:04 PM, "Robert" wrote: > Hi Gregory, > > try to find out how the IP Adress of your Client (your nagios-server) is > mapped (you can use wireshark with filter "port 5666"). > Then edit yout nrpe.cfg and insert this address to allowed_hosts. > > rgds > Robert > > On Sun, 02 Mar 2008 08:56:07 -0500, Gregory Wong wrote >> > # ALLOWED HOST ADDRESSES >> > # This is a comma-delimited list of IP address of hosts that are allowed >> > # to talk to the NRPE daemon. >> > # >> > # NOTE: The daemon only does rudimentary checking of the client's IP >> > # address. >> > >> > #allowed_hosts=192.168.0.1 >> > >> > On 3/2/08 5:37 AM, "Robert Sailer" wrote: >> > >>> > > Hi Gregroy, >>> > > >>> > > whats your setting in the nrpe.cfg (on the machine to be monitored) for the >>> > > key allowed_hosts? >>> > > >>> > > rgds >>> > > Robert >>> > > >>> > > On Sun, 02 Mar 2008 01:24:58 -0500, Gregory Wong wrote >>>>> > >> > Hi everyone. I just configured my Nagios box to start monitoring >>>>> > >> > with NRPE. When I run check_nrpe ?H 127.0.0.1 it resolves the NRPE >>>>> > >> > version as expected. Since my monitoring server is colocated and I >>>>> > >> > plan to monitor hosts behind firewalls I setup a test server behind >>>>> > >> > my firewall at home for testing purposes. >>>>> > >> > >>>>> > >> > I have TCP/5666 forwarded to the internal IP address of my test >>>>> > >> > server. That same port is also open on my Nagios server as well. I >>>>> > >> > am running NRPE on my Windows server. The version of NRPE running >>>>> > >> > can be found here: http://tinyurl.com/24o3h3 >>>>> > >> > >>>>> > >> > When I run check_nrpe ?H I get a socket timeout >>>>> > >> > error. I did a netstat on both servers and it looks like there is a >>> > > connection. >>>>> > >> > >>>>> > >> > TCP gwong-srvr1:5666 gwong-srvr1:0 LISTENING >>>>> > >> > TCP gwong-srvr1:netbios-ssn gwong-srvr1:0 LISTENING >>>>> > >> > TCP gwong-srvr1:5666 :36422 CLOSE_WAIT >>>>> > >> > TCP gwong-srvr1:5666 :38766 CLOSE_WAIT >>>>> > >> > TCP gwong-srvr1:5666 :38907 CLOSE_WAIT >>>>> > >> > TCP gwong-srvr1:5666 :38909 CLOSE_WAIT >>>>> > >> > >>>>> > >> > root at nagios:~# netstat -at | grep nrpe >>>>> > >> > tcp 0 0 *:nrpe *:* LISTEN >>>>> > >> > tcp 0 0 :38913 :nrpe >>>>> ESTABLISHED >>>>> > >> > root at nagios:~# netstat -at | grep nrpe >>>>> > >> > tcp 0 0 *:nrpe *:* LISTEN >>>>> > >> > tcp 0 0 :38913 :nrpe FIN_WAIT2 >>>>> > >> > >>>>> > >> > Any ideas why this won?t work? >>>>> > >> > >>>>> > >> > Thanks. >>> > > >>> > > >>> > > Gruss >>> > > Robert > > > Gruss > Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strasser at etronics-online.com Mon Mar 3 01:20:02 2008 From: strasser at etronics-online.com (Eric Anderson) Date: Sun, 02 Mar 2008 16:20:02 -0800 Subject: What is the best way to monitor remote servers? Message-ID: <1204503602.27966.38.camel@zabberjabber.etronicsinc.com> Hi all, I'm new to Nagios and I'm attempting to configure passive checks on a Windows 2003 box using NC_Net. I've read multiple documents and I'm still having trouble. I'm hoping someone can help me. My setup is a Nagios server on Fedora Core 6 server and NC_net on the Windows box. These computers are both on the same LAN with no firewall between them. This configuration works and I'm receiving data when using active checks. I can't get it to work using passive checks. I next attempted to configure passive checks on the Windows box. This flat-out doesn't work. I've followed the instructions from http://www.shatterit.com/nc_net/files/readme.html#Installation but I'm having trouble understanding what is occurring. It seems to me that nc_net is 3 years old and this could be a problem as my Windows computer has .net 2.0 and won't install .net 1.1 unless I remove .net 2.0. I can't confirm/deny this as the problem though because the nc_net service starts up. I'm enclosing my startup.cfg & passive.cfg from the windows box and the nagios.cfg and windows.cfg from the fedora host. When I use active checks nc_net binds to port 12489 which is verified by netstat -a. When I reconfigure to passive checks I don't see it binding to port 5667. I'm not clear if I should be seeing anything bound on port 5667 when using passive checks, perhaps someone can clear that up for me or at least point me in the right direction. Thank you,, Eric -------------- NAGIOS.CFG on fedora ------------------------------------ log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/objects/commands.cfg cfg_file=/usr/local/nagios/etc/objects/contacts.cfg cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg cfg_file=/usr/local/nagios/etc/objects/templates.cfg cfg_file=/usr/local/nagios/etc/objects/localhost.cfg cfg_file=/usr/local/nagios/etc/objects/windows.cfg object_cache_file=/usr/local/nagios/var/objects.cache precached_object_file=/usr/local/nagios/var/objects.precache resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.dat status_update_interval=10 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp check results, etc. temp_path=/tmp event_broker_options=-1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=30 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 check_result_reaper_frequency=10 max_check_result_reaper_time=30 check_result_path=/usr/local/nagios/var/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=0 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 obsess_over_services=0 translate_passive_host_checks=0 passive_host_checks_are_soft=1 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us p1_file=/usr/local/nagios/bin/p1.pl enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios at localhost admin_pager=pagenagios at localhost daemon_dumps_core=0 use_large_installation_tweaks=0 enable_environment_macros=1 #free_child_process_memory=1 #child_processes_fork_twice=1 debug_level=0 debug_verbosity=1 debug_file=/usr/local/nagios/var/nagios.debug max_debug_file_size=1000000 -------------- WINDOWS.CFG on fedora ------------------------------------ define host{ use windows-server ; Inherit default values from a template host_name server ; The name we're giving to this host alias Etronics Windows Server ; A longer name associated with the host address 192.168.50.224 ; IP address of the host } define hostgroup{ hostgroup_name windows-servers ; The name of the hostgroup alias Windows Servers ; Long name of the group } define service{ use generic-service host_name server service_description NSClient++ Version check_command check_nt!CLIENTVERSION } define service{ use generic-service host_name server service_description Uptime check_command check_nt!UPTIME } define service{ use generic-service host_name server service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } define service{ use generic-service host_name server service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } define service{ use generic-service host_name server service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } define service{ use generic-service host_name server service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } define service{ use generic-service host_name server service_description Explorer check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe } -------------- STARTUP.CFG on windows server ------------------------------------ # ACTIVE CHECK SECTION active_check false # lock_active_config false # port 12489 # active_ip_accept_list false # verbose_logging false # client_timeout 20000 # socket_timeout 2000 # # PASSIVE CHECK SECTION # --------------------- passive_check true passive_alwayson true lock_passive_config false interval_passive 5 interval_div_passive 1 perfdata_format 2 embedded_send_nsca true port_passive 5667 host_passive server pass_passive ip_passive 192.168.50.225 encrip_passive 1 Passive_timeout 10 external_send_nsca false # external_send_nsca_app C:\send nsca\ # external_send_nsca_ip 127.0.0.1 # external_send_nsca_port 5667 # external_send_nsca_timeout 10 # COMMAND SPECIFIC CONFIGURATION # ------------------------------ cpu_single false cpu_max_interval 60 cpu_times_per_min 12 # PERFORMANCE COUNTERS # -------------------- # sampledelay 15 # EVENTLOG # -------- #evntlog_desc_trim 100 #regex_options Multiline,IgnorePatternWhitespace,IgnoreCase # EXTERNAL SCRIPTS # ---------------- # allow_run_scripts true #script_timeout 30 # do_not_blaim_nc_net false # NC_NET ENGINE # ------------- #evntlog_input_trim 1000 #trysleep false #error_value_on true #error_value_show_1 false # PASSIVE HOST CHECKS # ------------------- #hostcheck_alwayson true #hostcheck_interval 5 #hostcheck_interval_div 1 hostcheck true #hostcheckX false hostcheck_port 5667 #hostcheck_portX 5667 hostcheck_hostid server #hostcheck_hostidX NC_Net_host_ID hostcheck_pass #hostcheck_passX hostcheck_ip 192.168.50.225 #hostcheck_ipX 127.0.0.1 #hostcheck_enc 1 #hostcheck_appX 1 hostcheck_timeout 10 #hostcheck_timeoutX 10 -------------- PASSIVE.CFG on windows server------------------------------------ 1 clientversion 2 cputotal -l 10,80,90,5,20,90 3 uptime 4 usedspace -l C -w 90 -c 97 4 usedspace -l C -w 50 -c 90 4 usedspace -l C -w 20 -c 50 5 servicestate -d showall -l NC_Net 7 Memory Use 7 Memory Use -c 90 -w 80 7 Memory Use -c 90 -w 20 7 Memory Use -c 10 -w 5 8 Perf Counter -l "\Paging file(_total)\% usage","Paging File usage is %%.4f %" -w 50 -c 60 8 Perf Counter -l "\Paging file(_total)\% usage","Paging File usage is %.3f %" -w 20 -c 60 8 Perf Counter -l "\Paging file(_total)\% usage","Paging File usage is %.2f %" -w 20 -c 30 8 Perf Counter -l "\Paging file(_total)\% usage","Paging File usage is %.0f %" -w 10 -c 5 8 Perf Counter -l "\Paging file(_total)\% usage","Paging File usage is %.1F %" -w 50 -c 5 8 Perf Counter -l "\Paging file(_total)\% usage","Paging File usage is %%.5F %" -w 50 -c 40 10 Instances -l System,Process,Memory,Processor 11 EventLog -l Application,any,10,1,NC_Net,-2,start,stop,0 11 EventLog -l Application,any,10,1,NC_Net,-2,start,stop,0 -w 5 -c 20 13 freespace -l C -w 10 -c 5 13 freespace -l C -w 50 -c 10 13 freespace -l C -w 70 -c 60 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.weaver at thenap.com Mon Mar 3 05:14:25 2008 From: drew.weaver at thenap.com (Drew Weaver) Date: Sun, 2 Mar 2008 23:14:25 -0500 Subject: Check attempts seem stuck at 1 on hosts... Message-ID: Hi there. I am attempting to implement a 3rd party plugin event handler which requires 3 host failures in order to activate. For whatever reason (I am assuming my configuration may be at fault) my Nagios installation never goes past 1/5 on 'Current Attempt' in the Nagios GUI. define host { host_name Test alias Test Box address 10.1.0.1 check_command check_host event_handler power_host max_check_attempts 5 active_checks_enabled 1 check_period 24x7 check_interval 5 process_perf_data 0 retain_nonstatus_information 0 contact_groups notify notification_interval 30 notification_period 24x7 notification_options d,u,r } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Mon Mar 3 05:30:12 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 02 Mar 2008 23:30:12 -0500 Subject: Cisco Call Manager Monitoring In-Reply-To: <20080204205010.69D53580053@desire.netways.de> References: <20080204205010.69D53580053@desire.netways.de> Message-ID: <1204518612.3234.10.camel@new-host> On Mon, 2008-02-04 at 21:50 +0100, zack kenton wrote: > Hi list > > does anyone know of a way to monitor cisco call manager? its on an HP > server Did you look for a MIB file? Did you SNMP Walk it? Likely it runs Windows NT and has customizations to the built-in agent. ~BAS > > > - zack kenton (zkenton) > > ----------------------- > The mailing list archive is found here: > http://www.nagiosexchange.org/nagios-users.34.0.html > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Mon Mar 3 05:31:23 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 02 Mar 2008 23:31:23 -0500 Subject: Cisco Call Manager Monitoring In-Reply-To: <20080204191747.2A3C9580053@desire.netways.de> References: <20080204191747.2A3C9580053@desire.netways.de> Message-ID: <1204518683.3234.12.camel@new-host> On Mon, 2008-02-04 at 20:17 +0100, zack kenton wrote: > Hi list > > does anyone know of a way to monitor cisco call manager? its on an HP > server It probably runs NT from what I recall during CCNP. Port scan it and share your results. Likely monitor it via the SNMP agent. ~BAS > > > - zack kenton (zkenton) > > ----------------------- > The mailing list archive is found here: > http://www.nagiosexchange.org/nagios-users.34.0.html > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dido at imperium.ph Mon Mar 3 05:59:55 2008 From: dido at imperium.ph (Rafael Sevilla) Date: Mon, 3 Mar 2008 12:59:55 +0800 Subject: Check attempts seem stuck at 1 on hosts... In-Reply-To: References: Message-ID: <20080303125955.4d4a294d@achernar> On Sun, 2 Mar 2008 23:14:25 -0500 Drew Weaver wrote: > Hi there. I am attempting to implement a 3rd party > plugin event handler which requires 3 host failures in order to > activate. For whatever reason (I am assuming my configuration may be > at fault) my Nagios installation never goes past 1/5 on 'Current > Attempt' in the Nagios GUI. Maybe you'll be better off using SEC (simple event correlator) [1] and using very simple event handlers that within Nagios that write textual descriptions of the events of interest into a named pipe that the SEC process is listening on, and then have SEC execute the real action that you want to happen when those three hosts go down. You're trying to do some fairly non-trivial event correlation already when you say the event handler needs to execute after three host failures and I don't think that Nagios by itself has the facilities to be able to do something like that cleanly. [1] http://www.estpak.ee/~risto/sec/ -- An expert is someone who knows some of the worst mistakes that can be made in his subject, and how to avoid them. http://stormwyrm.blogspot.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 481 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Mon Mar 3 07:21:04 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Sun, 2 Mar 2008 22:21:04 -0800 (PST) Subject: Reporting Tool for Nagios Message-ID: <236009.12151.qm@web62414.mail.re1.yahoo.com> I'm using Nagios for almost a year now and found no problem. I got just one question, Is there a reporting tool or a patch that will summarize the Reporting under Availability? I'm tired of copying and paste all of the reports under services. Is there an application that will convert it to a text file or excel documents? ____________________________________________________ Tired of spam? Yahoo! Mail has the best spam protection around http://ph.mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Mar 3 07:28:15 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 03 Mar 2008 07:28:15 +0100 Subject: What is the best way to monitor remote servers? In-Reply-To: <1204503602.27966.38.camel@zabberjabber.etronicsinc.com> References: <1204503602.27966.38.camel@zabberjabber.etronicsinc.com> Message-ID: <47CB9A7F.7000802@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eric Anderson wrote: | Hi all, | | I'm new to Nagios and I'm attempting to configure passive checks on a | Windows 2003 box using NC_Net. I've read multiple documents and I'm | still having trouble. I'm hoping someone can help me. How do you submit the passive check results? That is not anywhere in your message. And by the very definition of passive checks there is no action of Nagios for them. | My setup is a Nagios server on Fedora Core 6 server and NC_net on the | Windows box. These computers are both on the same LAN with no firewall | between them. This configuration works and I'm receiving data when using | active checks. I can't get it to work using passive checks. You are aware that Fedora Core 6 is no longer maintained? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHy5p9BvzDRVjxmYERAn01AKC19N5Ci2dzAljnmIQPCRSPInt52gCfYc02 hnOMTVbtafJLn05yupHr+8o= =Z70R -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Mon Mar 3 10:19:37 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Mon, 3 Mar 2008 10:19:37 +0100 Subject: Antwort: Re: Antwort: Re: Fwd: plugin for iostat readings? In-Reply-To: References: Message-ID: Mike Hamrick schrieb am 02.03.2008 14:13:51: > > You need to call iostat with multiple checks - the longer the better - > > but then it means you would have to run iostat for like 30 seconds or > > so -> plugin runtime is 30 seconds too then! That means that check > > would have a high delay/latency, which is overall a bad idea. My > > solution so far is to run the plugin via cron and report output via > > nsca, this gave me the best results. > > One thing you might want to consider is using sadc/sar for this job. > The sadc(8) program collects all kinds of stats on OS resource usage > and if you explicitly ask it, it will capture some interesting > disk i/o stats, including read/write requests per second. I actually have considered this, but found sadc not feasable for my intents. I am not interested in general iowait, but more in bandwidth usage of actual devices. Most of our high load servers have 3 SAN connections and it's important to know _which_ of those is under high stress and especially the performance data of those statistics to determine upcoming problems. At least I haven't been able to get sadc to log bandwitdh and throughput for each block device individually. sar in interactive mode is capable of doing it via "sar -dp 60 1" for example. Another problem that arises when using sadc is the problem that the scheduling of nagios is non predictable. I cannot garantuee, that nagios will poll the information once a minute for example. I cannot garantuee that nagios won't run the check twice in a longer checkperiod. The biggest feature of using it via send_ncsa passive checks, is the fact that I can inject the data when I want to - with perfect timing. But when using sar interactively, it's basically just a iostat -dp, which does the average calculation at the end - something my plugin already does ;) I'll put out our options in an abstract way: a) using sadc/sar: Have $script run by cronjob. Run active checks from nagios. b) using my passive plugin. Have $script run by cronjob. Let $script send output to nagios. In my opinion b) sound more appealing to me, since we have full control of timings. I do not see any benefit of using a). But maybe I am missing something - I am open to suggestions and ideas ;) S PS: Please do not CC me, I don't like dupes ;) -- Sascha Runschke Netzwerk- und Systemmanagement - Abt. Organisation und Betrieb - IT-Infrastruktur Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Mar 3 10:31:29 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 3 Mar 2008 09:31:29 +0000 Subject: Check cisco CPU usage and memory Message-ID: <4b008f7d0803030131m1ba361aex48e107b599d369ae@mail.gmail.com> Hi Guys, Is there any plugin I can use to check cisco CPU usage, available memory, used memory, bandwidth used by interfaces? Please let me know if there is a plugin like this. Thanks -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludovic.Cesar at fedasil.be Mon Mar 3 11:55:10 2008 From: Ludovic.Cesar at fedasil.be (Ludovic Cesar) Date: Mon, 3 Mar 2008 11:55:10 +0100 Subject: RE Check cisco CPU usage and memory In-Reply-To: <4b008f7d0803030131m1ba361aex48e107b599d369ae@mail.gmail.com> References: <4b008f7d0803030131m1ba361aex48e107b599d369ae@mail.gmail.com> Message-ID: Hi, look here: http://nagios.manubulon.com/snmp_load.html bye ;-) Ludovic C?sar System Engineer -- ICT Fedasil Ludovic.cesar at Fedasil.be www.Fedasil.be T 02-213 4(396) G 0473-58.15.08 Rue des Chartreux 21, 1000 Bruxelles "Alex Dehaini" Envoy? par : nagios-users-bounces at lists.sourceforge.net 03/03/2008 10:31 A nagios-users at lists.sourceforge.net cc Objet [Nagios-users] Check cisco CPU usage and memory Hi Guys, Is there any plugin I can use to check cisco CPU usage, available memory, used memory, bandwidth used by interfaces? Please let me know if there is a plugin like this. Thanks -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Mon Mar 3 12:24:03 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Mon, 3 Mar 2008 11:24:03 +0000 (GMT) Subject: RE Check cisco CPU usage and memory In-Reply-To: References: Message-ID: <78673.28091.qm@web26203.mail.ukl.yahoo.com> Is there a similar plugin for Solaris 10? ./check_snmp_load.pl -H zeus -C public -w 98% -c 99% Can't find CPU usage information : UNKNOWN thanks --- Ludovic Cesar wrote: > Hi, > > > look here: > http://nagios.manubulon.com/snmp_load.html > > > bye ;-) > > Ludovic C?sar > System Engineer -- ICT Fedasil > Ludovic.cesar at Fedasil.be www.Fedasil.be > T 02-213 4(396) G 0473-58.15.08 > Rue des Chartreux 21, 1000 Bruxelles > > > > "Alex Dehaini" > Envoy? par : > nagios-users-bounces at lists.sourceforge.net > 03/03/2008 10:31 > > A > nagios-users at lists.sourceforge.net > cc > > Objet > [Nagios-users] Check cisco CPU usage and memory > > > > > > > Hi Guys, > > Is there any plugin I can use to check cisco CPU > usage, available memory, > used memory, bandwidth used by interfaces? Please > let me know if there is > a plugin like this. > > Thanks > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________________________________ Sent from Yahoo! Mail. A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreoandre at gmail.com Mon Mar 3 13:03:19 2008 From: andreoandre at gmail.com (=?ISO-8859-1?Q?Andr=E9_Moura?=) Date: Mon, 3 Mar 2008 09:03:19 -0300 Subject: nagiosweb Message-ID: By nagiosweb can I add hosts in a group, and then set some services to a particular host? -- Andr? O Moura http://andrem.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Mar 3 13:14:24 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 3 Mar 2008 12:14:24 +0000 Subject: RE Check cisco CPU usage and memory In-Reply-To: References: <4b008f7d0803030131m1ba361aex48e107b599d369ae@mail.gmail.com> Message-ID: <4b008f7d0803030414vd6de03en69e0ab809fbd2c29@mail.gmail.com> Thanks Ludovic, Can you shouw me the syntax you use to check for CPU amd memory on your cisco routers. Alex On Mon, Mar 3, 2008 at 10:55 AM, Ludovic Cesar wrote: > > Hi, > > > look here: http://nagios.manubulon.com/snmp_load.html > > > bye ;-) > > Ludovic C?sar > System Engineer -- ICT Fedasil > Ludovic.cesar at Fedasil.be www.Fedasil.be > T 02-213 4(396) G 0473-58.15.08 > Rue des Chartreux 21, 1000 Bruxelles > > > *"Alex Dehaini" * > Envoy? par : nagios-users-bounces at lists.sourceforge.net > > 03/03/2008 10:31 > A > nagios-users at lists.sourceforge.net cc > Objet > [Nagios-users] Check cisco CPU usage and memory > > > > > Hi Guys, > > Is there any plugin I can use to check cisco CPU usage, available memory, > used memory, bandwidth used by interfaces? Please let me know if there is a > plugin like this. > > Thanks > > -- > Alex Dehaini > Developer > Site - *www.alexdehaini.com* > Email - *alexdehaini at gmail.com* > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludovic.Cesar at fedasil.be Mon Mar 3 14:08:53 2008 From: Ludovic.Cesar at fedasil.be (Ludovic Cesar) Date: Mon, 3 Mar 2008 14:08:53 +0100 Subject: RE Check cisco CPU usage and memory In-Reply-To: <4b008f7d0803030414vd6de03en69e0ab809fbd2c29@mail.gmail.com> References: <4b008f7d0803030414vd6de03en69e0ab809fbd2c29@mail.gmail.com> Message-ID: Sorry, I dont monitor the CPU of my cisco hardware. But try this ? : ./check_snmp_load.pl -H -C public -w 80,80,80 -c 90,90,90 -T cisco Ludovic C?sar System Engineer -- ICT Fedasil Ludovic.cesar at Fedasil.be www.Fedasil.be T 02-213 4(396) G 0473-58.15.08 Rue des Chartreux 21, 1000 Bruxelles "Alex Dehaini" Envoy? par : nagios-users-bounces at lists.sourceforge.net 03/03/2008 13:14 A nagios-users at lists.sourceforge.net cc Objet Re: [Nagios-users] RE Check cisco CPU usage and memory Thanks Ludovic, Can you shouw me the syntax you use to check for CPU amd memory on your cisco routers. Alex On Mon, Mar 3, 2008 at 10:55 AM, Ludovic Cesar wrote: Hi, look here: http://nagios.manubulon.com/snmp_load.html bye ;-) Ludovic C?sar System Engineer -- ICT Fedasil Ludovic.cesar at Fedasil.be www.Fedasil.be T 02-213 4(396) G 0473-58.15.08 Rue des Chartreux 21, 1000 Bruxelles "Alex Dehaini" Envoy? par : nagios-users-bounces at lists.sourceforge.net 03/03/2008 10:31 A nagios-users at lists.sourceforge.net cc Objet [Nagios-users] Check cisco CPU usage and memory Hi Guys, Is there any plugin I can use to check cisco CPU usage, available memory, used memory, bandwidth used by interfaces? Please let me know if there is a plugin like this. Thanks -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Mar 3 14:33:58 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 3 Mar 2008 14:33:58 +0100 Subject: nagiosweb In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A5744BD9905@hermes.sapphire-int.gi> Andr?, I had no idea what you were talking about, but I typed nagiosweb into google and clicked "I'm feeling lucky", the text on the resulting page read: A PHP/MySQL based front-end for Nagios 2.x setup. Complete with the ability to add/remove hosts, hostgroups, contacts, contactgroups, services, timeperiods and commands. Does that answer your question? Thanks Giles ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andr? Moura Sent: 03 March 2008 13:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagiosweb By nagiosweb can I add hosts in a group, and then set some services to a particular host? -- Andr? O Moura http://andrem.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at atopia.net Mon Mar 3 18:42:43 2008 From: matt at atopia.net (Matt Juszczak) Date: Mon, 3 Mar 2008 12:42:43 -0500 (EST) Subject: Differentiating commands.cfg and services.cfg Message-ID: <20080303124232.R56652@mercury.atopia.net> Hi all, I'm having a bit of trouble figuring out the best way to split up what detail goes in commands.cfg and what goes in services.cfg. In other words, right now I have 3 checks: # 'check_disk' command definition define command{ command_name check_disk command_line $USER1$/check_by_ssh -t30 -H $HOSTNAME$ ... "$USER1$/check_disk ..." } # 'check_load' command definition define command{ command_name check_load command_line $USER1$/check_by_ssh -t30 -H $HOSTNAME$ ... "$USER1$/check_load ..." } # 'check_proc_cnt' command definition define command{ command_name check_proc_cnt command_line $USER1$/check_by_ssh -t30 -H $HOSTNAME$ ... "$USER1$/check_procs ..." } Then, from services.cfg, I just call check_load, check_disk, etc. and it just works. But I'm wondering if I'm repeating too much data. For instance, in each of these definitions, the command_line is mostly the same, except mainly the actualy remote binary being called. Is it better to keep these separate? Or should I create a single, check_by_ssh command, which I can pass the specific remote script to execute, etc, thereby adding a bit more to the services.cfg file but reducing the commands.cfg file. Which method is better? Thanks! -Matt ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 01:26:52 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 3 Mar 2008 19:26:52 -0500 Subject: NC_Net nagios client to monitor Event logs onwindows In-Reply-To: References: <10BE874C84038E448517C08D335C1B680157A1E3@gimli.allezsoftware.com> Message-ID: (This should have stayed in the UserList since it is syntex specific that may benifit other users for Windows Event Log monitoring via NC_NEt and nagios) Almost there syntex is a bit off, the values after the interval are #of items followed by a comma delimited list of the items hence 0 means no items, so 1081 should be 1,1081 Thus try the command ./check_nt -H windowsmachine -p 1248 -v EVENTLOG -l Application,Information,50,0,0,1,1081 -p 1248 -c 6 the -c and -w controle the Threshold for Warning/Critical/OK Also try converting to an EVENTLOG_NEW since it has some great optimizations that were not in EVENTLOG check_nt --help=EVENTLOG_NEW Tony (author of nc_net) On Mon, Mar 3, 2008 at 2:45 AM, manju a wrote: > Hi Tony, > > i am able to make the new check_nt n i m able to get the event log > information, but i m not able to monitor the required event logs > > for example i m doing like from libexec ./check_nt -H windowsmachine -p > 1248 -v EVENTLOG -l any,Information,50,0,0,6,1081 -p 1248 > > in the above example i m trying to monitor 1081 event ID under type > Information but once i execute this it will show the all the events which > took place in 50 min under information type. if it works fine it should show > only 1081 events in numbers rite. please correct me if i wrong. > > i need to monitor some n numbers of eventlogs in the 50 min time travel, > if that logs appears nagios should send an e-mail. please help me on this. > > thanks > manjunath A. > > > > > > > > On Sun, Mar 2, 2008 at 11:27 PM, manju a wrote: > > > Hi, > > > > its working fine now, thanks > > > > > > On 2/23/08, Anthony Montibello wrote: > > > > > > And did that resolve the eventlog issue? > > > > > > Tony > > > > > > > > > On Fri, Feb 22, 2008 at 9:15 AM, manju a > > > wrote: > > > > > > > yes this time it works fine... i am able to build > > > > > > > > > > > > On Fri, Feb 22, 2008 at 12:15 PM, Jeff C. Benger < > > > > jbenger at ztechnet.com> wrote: > > > > > > > > > Download & extract nagios-plugins source > > > > > > > > > > Remove/rename the original check_nt.c in the plugins dir > > > > > > > > > > copy the check_nc_net.c file into the plugins folder and rename to > > > > > check_nt.c > > > > > > > > > > rebuild the plugins(make) > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > > > > > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *manju a > > > > > *Sent:* Friday, February 22, 2008 1:30 AM > > > > > *To:* Anthony Montibello > > > > > *Cc:* Nagios-users at lists.sourceforge.net > > > > > *Subject:* Re: [Nagios-users] NC_Net nagios client to monitor > > > > > Event logs onwindows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > Thanks a lot for your replay. > > > > > > > > > > when i copied to the libexec folder i got the below error, i know > > > > > this is not a command soo shell is not able to recognize it. > > > > > > > > > > [root at nagios libexec]# ./check_nt.c > > > > > ./check_nt.c: line 1: > > > > > /********************************************************* > > > > > : No such file or directory > > > > > ./check_nt.c: line 2: check_apt: command not found > > > > > : command not found3: * > > > > > ./check_nt.c: line 4: check_apt: command not found > > > > > ./check_nt.c: line 5: check_apt: command not found > > > > > ./check_nt.c: line 6: check_apt: command not found > > > > > : command not found7: * > > > > > ./check_nt.c: line 8: check_apt: command not found > > > > > ./check_nt.c: line 9: check_apt: command not found > > > > > ./check_nt.c: line 10: syntax error near unexpected token `(' > > > > > ./check_nt.c: line 10: ` * Copyright (c) 2007 TOny Montibello ( > > > > > tony at MontiTech.co > > > > > ') > > > > > > > > > > can you please let me know how we can recomplie check_nt.c > > > > > plugins. > > > > > > > > > > thanks > > > > > manjunath A. > > > > > > > > > > > > > > > > > > > > On Fri, Feb 22, 2008 at 5:12 AM, Anthony Montibello < > > > > > amontibello at gmail.com> wrote: > > > > > > > > > > HI, > > > > > > > > > > > > > > > THe problem is your version of check_nt > > > > > > > > > > >>"where check_nt is default plugin which will come with the > > > > > nagios installation." > > > > > > > > > > > > > > > > > > > > You need to compile check_nc_net.c > > > > > > > > > > to do this, copy the check_nc_net.c to check_nt.c > > > > > > > > > > then recompile the plugins > > > > > > > > > > > > > > > > > > > > check_nc_net.c is in the install location of NC_Net as well as > > > > > downloadable seperatly from > > > > > > > > > > > > > > > http://downloads.sourceforge.net/nc-net/check_nc_net_040107.zip?modtime=1175541733&big_mirror=0&filesize=17953 > > > > > > > > > > > > > > > > > > > > However please use the eventlog_new command -(See the help of > > > > > check_nc_net) > > > > > > > > > > It is a more efficient check than eventlog > > > > > > > > > > > > > > > > > > > > TOny (Author of NC_NEt) > > > > > > > > > > On Thu, Feb 21, 2008 at 1:00 AM, manju a > > > > > wrote: > > > > > > > > > > Hi, > > > > > > > > > > sorry it was my mistake while typing, yes i replaced any5 with > > > > > 5.... same problem!!! please help me on this > > > > > > > > > > thanks > > > > > manjunath A. > > > > > > > > > > > > > > > > > > > > On Wed, Feb 20, 2008 at 8:30 PM, Edgar Matzinger < > > > > > Edgar.Matzinger at valid.nl> wrote: > > > > > > > > > > Hi Manju, > > > > > > > > > > > > > > > > > > > > > > [root at nagios libexec]# ./check_nt -H windowsmachine -p 1248 > > > > > > -v EVENTLOG -l any,any,any5,0,0,0 -w 5 -c 10 > > > > > > check_nt: Could not parse arguments > > > > > > > > > > and if you replace "any5" with "5"? > > > > > > > > > > HTH, cu l8r, Edgar. > > > > > -- > > > > > |\ /| : : Addr: Valid Eindhoven > > > > > B.V. > > > > > / | \/ | : Edgar R. Matzinger : t.a.v. E.R. > > > > > Matzinger > > > > > / | | : : Paradijslaan > > > > > 36 > > > > > \ /| /\| : : 5611 KN > > > > > Eindhoven > > > > > \/ / \ : Valid Eindhoven BV : > > > > > \ /\ / : : > > > > > \/ |\/ : : > > > > > | : : > > > > > Disclaimer: Any comments, opinions made are mine, etc ... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by: Microsoft > > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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: Microsoft > > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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: Microsoft > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 05:45:07 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 05:45:07 +0100 (CET) Subject: notifications for downed services Message-ID: <20080304044507.72978580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 05:47:18 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 05:47:18 +0100 (CET) Subject: notifications for downed services Message-ID: <20080304044718.DD1E9580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 05:50:39 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 05:50:39 +0100 (CET) Subject: notifications for downed services Message-ID: <20080304045039.C95EE580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 05:52:58 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 05:52:58 +0100 (CET) Subject: notifications for downed services Message-ID: <20080304045258.87777580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 05:55:14 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 05:55:14 +0100 (CET) Subject: notifications for downed services Message-ID: <20080304045514.3A9BA580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 05:56:47 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 05:56:47 +0100 (CET) Subject: notifications for downed services Message-ID: <20080304045647.4C171580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 05:57:17 2008 From: nagios at ayksolutions.com (nagios) Date: Mon, 03 Mar 2008 23:57:17 -0500 Subject: service notifications not being sent Message-ID: <47CCD6AD.2040403@ayksolutions.com> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 06:05:14 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 06:05:14 +0100 (CET) Subject: service notifications not sent Message-ID: <20080304050515.3C0CC580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 06:06:43 2008 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 4 Mar 2008 06:06:43 +0100 (CET) Subject: service notifications not sent Message-ID: <20080304050643.5C969580055@desire.netways.de> Hello everyone, I have just configured some service checks for services such as http, smtp, etc.. The commands are defined in the commands.cfg file and then called in the services.cfg file. The following is an example of how a commands.cfg and services.cfg looks: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } Example service called for a specific host (same services.cfg file as where the above services are declared in the beginning) define service{ use dns-service host_name serv01 servicegroups mygroup service_description DNS contact_groups localadmin,supportpro } The contacts are setup correctly since our check_ping which is declared in the hosts.cfg file works perfectly fine and we do get the correct alerts. Could someone point me in the right direction of what I'm doing wrong here? I can't seem to get emails if a service is down. It's most likely in my syntax, but I'm not sure where since I get no errors when reloading Nagios. Thanks for your help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 06:07:36 2008 From: marc at ena.com (Marc Powell) Date: Mon, 3 Mar 2008 23:07:36 -0600 Subject: notifications for downed services In-Reply-To: <20080304045647.4C171580055@desire.netways.de> References: <20080304045647.4C171580055@desire.netways.de> Message-ID: <7DA24BCA-8F26-497C-8F3A-465E10D2311A@ena.com> On Mar 3, 2008, at 10:56 PM, Artyom Khmelnitsky wrote: > Hello everyone, Hello. Did you see that you sent this to the list 6 times so far? > I have just configured some service checks for services such as > http, smtp, etc.. The commands are defined in the commands.cfg file > and then called in the services.cfg file. The following is an > example of how a commands.cfg and services.cfg looks: > The contacts are setup correctly since our check_ping which is > declared in the hosts.cfg file works perfectly fine and we do get > the correct alerts ...for the host definitions. > Could someone point me in the right direction of what I'm doing > wrong here? I can't seem to get emails if a service is down. It's > most likely in my syntax, but I'm not sure where since I get no > errors when reloading Nagios. You don't have any contact_groups defined for the services that I can see. no contacts == no notifications. With nagios-2, they're not automagically inherited from the hosts. I expect that nagios is complaining with warnings though in nagios.log or when using -v. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service -- marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manju.kudu at gmail.com Tue Mar 4 07:39:43 2008 From: manju.kudu at gmail.com (manju a) Date: Tue, 4 Mar 2008 12:09:43 +0530 Subject: NC_Net nagios client to monitor Event logs onwindows In-Reply-To: References: <10BE874C84038E448517C08D335C1B680157A1E3@gimli.allezsoftware.com> Message-ID: Hi Tony, i replaced 1 with the 0 but for some reason it will not recognize application event logs, even if the event accours five min back, it will say no entry /check_nt -H windowsmachine -p 1248 -v EVENTLOG -l any,any,5,0,0,1,1081,1111 -p 1248 -c 6 for example here i need to monitor 1081,1111 ...n number of event IDS but this will give some wrong results some times. i think it will work okay if we monitor only one event ID, but this will not workout. i tired giving EVENTLOG_NEW insisted of EVENTLOG but i get the error "Client - ERROR: Argument mismatch" do you thing we need to change some arugement under -l when we specify EVENTLOG_NEW. please help me on this. thanks for your help Manjunath A On Tue, Mar 4, 2008 at 5:56 AM, Anthony Montibello wrote: > (This should have stayed in the UserList since it is syntex specific that > may benifit other users for Windows Event Log monitoring via NC_NEt and > nagios) > > > Almost there syntex is a bit off, > the values after the interval are #of items followed by a comma delimited > list of the items > hence 0 means no items, so 1081 should be 1,1081 > > Thus try the command > ./check_nt -H windowsmachine -p 1248 -v EVENTLOG -l > Application,Information,50,0,0,1,1081 -p 1248 -c 6 > > the -c and -w controle the Threshold for Warning/Critical/OK > > Also try converting to an EVENTLOG_NEW > since it has some great optimizations that were not in EVENTLOG > check_nt --help=EVENTLOG_NEW > Tony (author of nc_net) > On Mon, Mar 3, 2008 at 2:45 AM, manju a wrote: > > > Hi Tony, > > > > i am able to make the new check_nt n i m able to get the event log > > information, but i m not able to monitor the required event logs > > > > for example i m doing like from libexec ./check_nt -H windowsmachine -p > > 1248 -v EVENTLOG -l any,Information,50,0,0,6,1081 -p 1248 > > > > in the above example i m trying to monitor 1081 event ID under type > > Information but once i execute this it will show the all the events which > > took place in 50 min under information type. if it works fine it should show > > only 1081 events in numbers rite. please correct me if i wrong. > > > > i need to monitor some n numbers of eventlogs in the 50 min time travel, > > if that logs appears nagios should send an e-mail. please help me on this. > > > > thanks > > manjunath A. > > > > > > > > > > > > > > > > On Sun, Mar 2, 2008 at 11:27 PM, manju a wrote: > > > > > Hi, > > > > > > its working fine now, thanks > > > > > > > > > On 2/23/08, Anthony Montibello wrote: > > > > > > > > And did that resolve the eventlog issue? > > > > > > > > Tony > > > > > > > > > > > > On Fri, Feb 22, 2008 at 9:15 AM, manju a > > > > wrote: > > > > > > > > > yes this time it works fine... i am able to build > > > > > > > > > > > > > > > On Fri, Feb 22, 2008 at 12:15 PM, Jeff C. Benger < > > > > > jbenger at ztechnet.com> wrote: > > > > > > > > > > > Download & extract nagios-plugins source > > > > > > > > > > > > Remove/rename the original check_nt.c in the plugins dir > > > > > > > > > > > > copy the check_nc_net.c file into the plugins folder and rename > > > > > > to check_nt.c > > > > > > > > > > > > rebuild the plugins(make) > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > > > > > > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *manju > > > > > > a > > > > > > *Sent:* Friday, February 22, 2008 1:30 AM > > > > > > *To:* Anthony Montibello > > > > > > *Cc:* Nagios-users at lists.sourceforge.net > > > > > > *Subject:* Re: [Nagios-users] NC_Net nagios client to monitor > > > > > > Event logs onwindows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > Thanks a lot for your replay. > > > > > > > > > > > > when i copied to the libexec folder i got the below error, i > > > > > > know this is not a command soo shell is not able to recognize it. > > > > > > > > > > > > [root at nagios libexec]# ./check_nt.c > > > > > > ./check_nt.c: line 1: > > > > > > /********************************************************* > > > > > > : No such file or directory > > > > > > ./check_nt.c: line 2: check_apt: command not found > > > > > > : command not found3: * > > > > > > ./check_nt.c: line 4: check_apt: command not found > > > > > > ./check_nt.c: line 5: check_apt: command not found > > > > > > ./check_nt.c: line 6: check_apt: command not found > > > > > > : command not found7: * > > > > > > ./check_nt.c: line 8: check_apt: command not found > > > > > > ./check_nt.c: line 9: check_apt: command not found > > > > > > ./check_nt.c: line 10: syntax error near unexpected token `(' > > > > > > ./check_nt.c: line 10: ` * Copyright (c) 2007 TOny Montibello ( > > > > > > tony at MontiTech.co > > > > > > ') > > > > > > > > > > > > can you please let me know how we can recomplie check_nt.c > > > > > > plugins. > > > > > > > > > > > > thanks > > > > > > manjunath A. > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Feb 22, 2008 at 5:12 AM, Anthony Montibello < > > > > > > amontibello at gmail.com> wrote: > > > > > > > > > > > > HI, > > > > > > > > > > > > > > > > > > THe problem is your version of check_nt > > > > > > > > > > > > >>"where check_nt is default plugin which will come with the > > > > > > nagios installation." > > > > > > > > > > > > > > > > > > > > > > > > You need to compile check_nc_net.c > > > > > > > > > > > > to do this, copy the check_nc_net.c to check_nt.c > > > > > > > > > > > > then recompile the plugins > > > > > > > > > > > > > > > > > > > > > > > > check_nc_net.c is in the install location of NC_Net as well as > > > > > > downloadable seperatly from > > > > > > > > > > > > > > > > > > http://downloads.sourceforge.net/nc-net/check_nc_net_040107.zip?modtime=1175541733&big_mirror=0&filesize=17953 > > > > > > > > > > > > > > > > > > > > > > > > However please use the eventlog_new command -(See the help of > > > > > > check_nc_net) > > > > > > > > > > > > It is a more efficient check than eventlog > > > > > > > > > > > > > > > > > > > > > > > > TOny (Author of NC_NEt) > > > > > > > > > > > > On Thu, Feb 21, 2008 at 1:00 AM, manju a > > > > > > wrote: > > > > > > > > > > > > Hi, > > > > > > > > > > > > sorry it was my mistake while typing, yes i replaced any5 with > > > > > > 5.... same problem!!! please help me on this > > > > > > > > > > > > thanks > > > > > > manjunath A. > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Feb 20, 2008 at 8:30 PM, Edgar Matzinger < > > > > > > Edgar.Matzinger at valid.nl> wrote: > > > > > > > > > > > > Hi Manju, > > > > > > > > > > > > > > > > > > > > > > > > > > [root at nagios libexec]# ./check_nt -H windowsmachine -p 1248 > > > > > > > -v EVENTLOG -l any,any,any5,0,0,0 -w 5 -c 10 > > > > > > > check_nt: Could not parse arguments > > > > > > > > > > > > and if you replace "any5" with "5"? > > > > > > > > > > > > HTH, cu l8r, Edgar. > > > > > > -- > > > > > > |\ /| : : Addr: Valid > > > > > > Eindhoven B.V. > > > > > > / | \/ | : Edgar R. Matzinger : t.a.v. E.R. > > > > > > Matzinger > > > > > > / | | : : Paradijslaan > > > > > > 36 > > > > > > \ /| /\| : : 5611 KN > > > > > > Eindhoven > > > > > > \/ / \ : Valid Eindhoven BV : > > > > > > \ /\ / : : > > > > > > \/ |\/ : : > > > > > > | : : > > > > > > Disclaimer: Any comments, opinions made are mine, etc ... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > This SF.net email is sponsored by: Microsoft > > > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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: Microsoft > > > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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: Microsoft > > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From liebknecht at gmail.com Tue Mar 4 10:44:21 2008 From: liebknecht at gmail.com (Klaus) Date: Tue, 4 Mar 2008 10:44:21 +0100 Subject: Problem with Service Escalation 3.0rc3 Message-ID: Dear All, as stated above, I am running nagios 3.0rc3 and I seem to have a lack of understanding. I should state that I am new to nagios. I plan to have a host and service escalation for all hosts (with their associated services) belonging to a specific hostgroup. So here is what I have so far: define hostgroup{ hostgroup_name group1 alias group1 } define contact{ contact_name groupNetwork use generic-contact alias groupNetwork email groupNetwork at home.net } define host{ use windows-server host_name host1 alias Host 1 hostgroups group1 address 10.0.0.1 parents DUSSW00 contacts defaultContact } define hostescalation{ hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } define serviceescalation{ service_description * hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } When I try to start nagios, it tells me that it "Could not expand services specified in service escalation". The plan is to send a mail to defaultContact 24x7 and to groupNetwork only in the working hours. When I remove the service escalation, I only get notifications when the host is down (guess this is by design). Is there any other way how I can achieve this? Any help is very much appretiated. Cheers Klaus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 4 10:46:40 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 4 Mar 2008 09:46:40 +0000 Subject: check_snmp_mem.pl Message-ID: <4b008f7d0803040146w660a2e77ge8a997073b3b169d@mail.gmail.com> Hi Guys, I am having difficulties using this plugin. I can't get it to work. Can you guys help me please. What is syntax in the commands.cfg file and in the service file of the cisco router I intend to monitor. This is what I have commands.cfg define command{ command_name check_snmp_mem_v1 command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ } In my service definition file define service{ use core-rservice host_name core service_description Memory check_command check_snmp_mem_v1!communitystring!-I!80!98 } This is the result I get in nagios web cgi Memory CRITICAL03-04-2008 09:29:570d 14h 2m 0s6/6(Return code of 127 is out of bounds - plugin may be missing) I reckon I am not doing something right because the plugin works from the command line i.e. snmp:/usr/local/nagios/libexec# ./check_snmp_mem.pl -H 41.211.3.218 -C communitystring -I -w 40% -c 90% Processor:24%,I/O:60% : 28% : > 40 ; WARNING What am I doing wrong? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Mar 4 10:49:54 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 4 Mar 2008 10:49:54 +0100 Subject: Problem with Service Escalation 3.0rc3 In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A5744BD9973@hermes.sapphire-int.gi> Hi, Have you actually got any services defined? Thanks Giles ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Klaus Sent: 04 March 2008 10:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with Service Escalation 3.0rc3 Dear All, as stated above, I am running nagios 3.0rc3 and I seem to have a lack of understanding. I should state that I am new to nagios. I plan to have a host and service escalation for all hosts (with their associated services) belonging to a specific hostgroup. So here is what I have so far: define hostgroup{ hostgroup_name group1 alias group1 } define contact{ contact_name groupNetwork use generic-contact alias groupNetwork email groupNetwork at home.net } define host{ use windows-server host_name host1 alias Host 1 hostgroups group1 address 10.0.0.1 parents DUSSW00 contacts defaultContact } define hostescalation{ hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } define serviceescalation{ service_description * hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } When I try to start nagios, it tells me that it "Could not expand services specified in service escalation". The plan is to send a mail to defaultContact 24x7 and to groupNetwork only in the working hours. When I remove the service escalation, I only get notifications when the host is down (guess this is by design). Is there any other way how I can achieve this? Any help is very much appretiated. Cheers Klaus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Mar 4 10:55:23 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 4 Mar 2008 10:55:23 +0100 Subject: check_snmp_mem.pl In-Reply-To: <4b008f7d0803040146w660a2e77ge8a997073b3b169d@mail.gmail.com> References: <4b008f7d0803040146w660a2e77ge8a997073b3b169d@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744BD9976@hermes.sapphire-int.gi> What is $USER7$ macro? In your resource.conf? Likely to be the Community string, as that is what resource.conf is generally for. "check_snmp_mem.pl -H 41.211.3.218 $USER7$ communitystring -w -I -c 80 98" Is what your command translates too, which wouldn't work. ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini Sent: 04 March 2008 10:47 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp_mem.pl Hi Guys, I am having difficulties using this plugin. I can't get it to work. Can you guys help me please. What is syntax in the commands.cfg file and in the service file of the cisco router I intend to monitor. This is what I have commands.cfg define command{ ??command_name check_snmp_mem_v1 ??command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ } In my service definition file define service{ ?? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? core-rservice ?? ? ? ?host_name ? ? ? ? ? ? ? ? ?core ?? ? ? ?service_description ? ? ?Memory ?? ? ? ?check_command ? ? ? ? ?check_snmp_mem_v1!communitystring!-I!80!98 ?? ? ? ?} This is the result I get in nagios web cgi Memory CRITICAL 03-04-2008 09:29:57 0d 14h 2m 0s 6/6 (Return code of 127 is out of bounds - plugin may be missing) I reckon I am not doing something right because the plugin works from the command line i.e. snmp:/usr/local/nagios/libexec# ./check_snmp_mem.pl -H 41.211.3.218 -C communitystring -I -w 40% -c 90% Processor:24%,I/O:60% : 28% : ?> 40 ; WARNING? What am I doing wrong? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Tue Mar 4 10:57:24 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 4 Mar 2008 09:57:24 +0000 (GMT) Subject: check_snmp_mem.pl In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744BD9976@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A5744BD9976@hermes.sapphire-int.gi> Message-ID: <945462.48151.qm@web26201.mail.ukl.yahoo.com> Try to put "!" after 98 check_snmp_mem_v1!communitystring!-I!80!98 regards --- Giles Coochey wrote: > What is $USER7$ macro? In your resource.conf? > > Likely to be the Community string, as that is what > resource.conf is generally for. > > "check_snmp_mem.pl -H 41.211.3.218 $USER7$ > communitystring -w -I -c 80 98" > > Is what your command translates too, which wouldn't > work. > ________________________________________ > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] > On Behalf Of Alex Dehaini > Sent: 04 March 2008 10:47 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_snmp_mem.pl > > Hi Guys, > > I am having difficulties using this plugin. I can't > get it to work. Can you guys help me please. What is > syntax in the commands.cfg file and in the service > file of the cisco router I intend to monitor. This > is what I have > > commands.cfg > > define command{ > command_name check_snmp_mem_v1 > command_line $USER1$/check_snmp_mem.pl -H > $HOSTADDRESS$ $USER7$ $ARG1$ -w $ARG2$ -c $ARG3$ > $ARG4$ > } > > In my service definition file > > define service{ > use > core-rservice > host_name core > service_description Memory > check_command > check_snmp_mem_v1!communitystring!-I!80!98 > } > > This is the result I get in nagios web cgi > > Memory > > > > > CRITICAL > 03-04-2008 09:29:57 > 0d 14h 2m 0s > 6/6 > (Return code of 127 is out of bounds - plugin may be > missing) > > > I reckon I am not doing something right because the > plugin works from the command line i.e. > > snmp:/usr/local/nagios/libexec# ./check_snmp_mem.pl > -H 41.211.3.218 -C communitystring -I -w 40% -c 90% > Processor:24%,I/O:60% : 28% : > 40 ; WARNING > > What am I doing wrong? > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________________________________ Sent from Yahoo! Mail. A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From liebknecht at gmail.com Tue Mar 4 10:59:09 2008 From: liebknecht at gmail.com (Klaus) Date: Tue, 4 Mar 2008 10:59:09 +0100 Subject: Problem with Service Escalation 3.0rc3 Message-ID: Hi, yes I have. This is only a short extract of my configuration. I have about 370 services defined on 54 hosts. But you are right, I forgot to add this part of configuration. Sorry.. Here is a more complete one... define hostgroup{ hostgroup_name group1 alias group1 } define contact{ contact_name groupNetwork use generic-contact alias groupNetwork email groupNetwork at home.net } define host{ use windows-server host_name host1 alias Host 1 hostgroups group1 address 10.0.0.1 parents DUSSW00 contacts defaultContact } define service{ service_description SMTP use generic-service hostgroup_name group1 check_command check_smtp process_perf_data 1 action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } define hostescalation{ hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } define serviceescalation{ service_description * hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } --------------------- Hi, Have you actually got any services defined? Thanks Giles ________________________________ From: nagios-users-bounces at lists.sourceforge.net Sent: 04 March 2008 10:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with Service Escalation 3.0rc3 Dear All, as stated above, I am running nagios 3.0rc3 and I seem to have a lack of understanding. I should state that I am new to nagios. I plan to have a host and service escalation for all hosts (with their associated services) belonging to a specific hostgroup. So here is what I have so far: define hostgroup{ hostgroup_name group1 alias group1 } define contact{ contact_name groupNetwork use generic-contact alias groupNetwork email groupNetwork at home.net } define host{ use windows-server host_name host1 alias Host 1 hostgroups group1 address 10.0.0.1 parents DUSSW00 contacts defaultContact } define hostescalation{ hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } define serviceescalation{ service_description * hostgroup_name group1 contacts groupNetwork first_notification 1 last_notification 0 notification_interval 120 escalation_period workhours } When I try to start nagios, it tells me that it "Could not expand services specified in service escalation". The plan is to send a mail to defaultContact 24x7 and to groupNetwork only in the working hours. When I remove the service escalation, I only get notifications when the host is down (guess this is by design). Is there any other way how I can achieve this? Any help is very much appretiated. Cheers Klaus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 4 11:01:17 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 4 Mar 2008 10:01:17 +0000 Subject: check_snmp_mem.pl In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744BD9976@hermes.sapphire-int.gi> References: <4b008f7d0803040146w660a2e77ge8a997073b3b169d@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A5744BD9976@hermes.sapphire-int.gi> Message-ID: <4b008f7d0803040201m492f56eai37dbbb20a1c30b9e@mail.gmail.com> Thanks Giles, It worked. Thanks so much. I specified the community string in resource.cfgfor $USER7$ and it worked. Regards, Alex On Tue, Mar 4, 2008 at 9:55 AM, Giles Coochey wrote: > What is $USER7$ macro? In your resource.conf? > > Likely to be the Community string, as that is what resource.conf is > generally for. > > "check_snmp_mem.pl -H 41.211.3.218 $USER7$ communitystring -w -I -c 80 98" > > Is what your command translates too, which wouldn't work. > ________________________________________ > From: nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: 04 March 2008 10:47 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_snmp_mem.pl > > Hi Guys, > > I am having difficulties using this plugin. I can't get it to work. Can > you guys help me please. What is syntax in the commands.cfg file and in > the service file of the cisco router I intend to monitor. This is what I > have > > commands.cfg > > define command{ > command_name check_snmp_mem_v1 > command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ $ARG1$ > -w $ARG2$ -c $ARG3$ $ARG4$ > } > > In my service definition file > > define service{ > use core-rservice > host_name core > service_description Memory > check_command check_snmp_mem_v1!communitystring!-I!80!98 > } > > This is the result I get in nagios web cgi > > Memory > > > > > CRITICAL > 03-04-2008 09:29:57 > 0d 14h 2m 0s > 6/6 > (Return code of 127 is out of bounds - plugin may be missing) > > > I reckon I am not doing something right because the plugin works from the > command line i.e. > > snmp:/usr/local/nagios/libexec# ./check_snmp_mem.pl -H 41.211.3.218 -C > communitystring -I -w 40% -c 90% > Processor:24%,I/O:60% : 28% : > 40 ; WARNING > > What am I doing wrong? > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gunnar_thielebein at gmx.net Tue Mar 4 11:22:22 2008 From: gunnar_thielebein at gmx.net (Gunnar Thielebein) Date: Tue, 04 Mar 2008 11:22:22 +0100 Subject: ndo utils postgresql Message-ID: <47CD22DE.10708@gmx.net> Doese anyone knows how to get in contact with the author of the postgresql ndo plugin which is posted here? http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=1131 Perhaps someone else knows how to benefit from ndo postgresql database because currently I don't know of any usable frontends with pg support. Regards, Gunnar ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 4 11:54:44 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 4 Mar 2008 10:54:44 +0000 Subject: Monitoring windows servers Message-ID: <4b008f7d0803040254y7918d4aasac802a87a2cbf4dd@mail.gmail.com> Hi Guys, We have a couple of windows servers. We are monitoring services they are running i.e. IMAP, POP, SMTP, PING. I want to monitor CPU, memory, Disk-space and any other low level service. What is the best approach? Should I install snmp on the windows servers or is there something else that I can use. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Mar 4 12:02:50 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 4 Mar 2008 12:02:50 +0100 Subject: Monitoring windows servers In-Reply-To: <4b008f7d0803040254y7918d4aasac802a87a2cbf4dd@mail.gmail.com> References: <4b008f7d0803040254y7918d4aasac802a87a2cbf4dd@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744BD998F@hermes.sapphire-int.gi> I've used NC_Net for this. It has most of your metrics built in and can also check specific Windows Services. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini Sent: 04 March 2008 11:55 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring windows servers Hi Guys, We have a couple of windows servers. We are monitoring services they are running i.e. IMAP, POP, SMTP, PING. I want to monitor CPU, memory, Disk-space and any other low level service. What is the best approach? Should I install snmp on the windows servers or is there something else that I can use. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmw at tiger-computing.co.uk Tue Mar 4 12:02:27 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Tue, 4 Mar 2008 11:02:27 +0000 Subject: Monitoring windows servers In-Reply-To: <4b008f7d0803040254y7918d4aasac802a87a2cbf4dd@mail.gmail.com> References: <4b008f7d0803040254y7918d4aasac802a87a2cbf4dd@mail.gmail.com> Message-ID: <20080304110227.2f682e5d@tclmmw.in.tiger-computing.com> On Tue, 4 Mar 2008 10:54:44 +0000 "Alex Dehaini" wrote: > Hi Guys, > > We have a couple of windows servers. We are monitoring services they > are running i.e. IMAP, POP, SMTP, PING. I want to monitor CPU, memory, > Disk-space and any other low level service. What is the best approach? > > Should I install snmp on the windows servers or is there something > else that I can use. > Hi Alex, There is a nagios client for windows that we have used very successfully in the past. Download the client zip file from http://nsclient.ready2run.nl/ and extract to a suitable directory. Copy the Win_2k_XP_bin folder to C:\nagiosAgent Change to C:\nagiosAgent\ and execute the following to install the service: pNSClient.exe /install net start nsagent Be aware that if the server is running windows server 2003, you may need to do the following: Go to Control Panel -> System -> Advanced -> Settings (the first one under Performance) Click on the Data Execution Prevention tab and add pNSclient.exe as a valid executable (by clicking Add and browsing to it). Once this is done, point your Nagios config at the client, ensure that firewalls etc aren't blocking it and have fun! There's more details on the ready2run site about configuring the system. Cheers, M. -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0845 373 3579 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 14:05:30 2008 From: nagios at ayksolutions.com (nagios) Date: Tue, 04 Mar 2008 08:05:30 -0500 Subject: notifications for downed services In-Reply-To: <7DA24BCA-8F26-497C-8F3A-465E10D2311A@ena.com> References: <20080304045647.4C171580055@desire.netways.de> <7DA24BCA-8F26-497C-8F3A-465E10D2311A@ena.com> Message-ID: <47CD4919.5020401@ayksolutions.com> Marc Powell wrote: > On Mar 3, 2008, at 10:56 PM, Artyom Khmelnitsky wrote: > > >> Hello everyone, >> > > Hello. Did you see that you sent this to the list 6 times so far? > > >> I have just configured some service checks for services such as >> http, smtp, etc.. The commands are defined in the commands.cfg file >> and then called in the services.cfg file. The following is an >> example of how a commands.cfg and services.cfg looks: >> > > > > >> The contacts are setup correctly since our check_ping which is >> declared in the hosts.cfg file works perfectly fine and we do get >> the correct alerts >> > > ...for the host definitions. > > >> Could someone point me in the right direction of what I'm doing >> wrong here? I can't seem to get emails if a service is down. It's >> most likely in my syntax, but I'm not sure where since I get no >> errors when reloading Nagios. >> > > > You don't have any contact_groups defined for the services that I can > see. no contacts == no notifications. With nagios-2, they're not > automagically inherited from the hosts. I expect that nagios is > complaining with warnings though in nagios.log or when using -v. > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > -- > marc > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Marc, Thanks for the explanation. That makes sense. I'll have to recheck that. Once again, apologies for the multiple submissions earlier. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 14:34:10 2008 From: marc at ena.com (Marc Powell) Date: Tue, 4 Mar 2008 07:34:10 -0600 Subject: check_snmp_mem.pl In-Reply-To: <4b008f7d0803040146w660a2e77ge8a997073b3b169d@mail.gmail.com> References: <4b008f7d0803040146w660a2e77ge8a997073b3b169d@mail.gmail.com> Message-ID: <86500632-D5A9-4FEE-A3DA-03BF11A5B72C@ena.com> On Mar 4, 2008, at 3:46 AM, Alex Dehaini wrote: > Hi Guys, > > I am having difficulties using this plugin. I can't get it to work. > Can you guys help me please. What is syntax in the commands.cfg file > and in the service file of the cisco router I intend to monitor. > This is what I have > > commands.cfg > > define command{ > command_name check_snmp_mem_v1 > command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ > $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ > } > > In my service definition file > > define service{ > use core-rservice > host_name core > service_description Memory > check_command check_snmp_mem_v1!communitystring!-I! > 80!98 > } > > This is the result I get in nagios web cgi > > Memory > CRITICAL > 03-04-2008 09:29:57 > 0d 14h 2m 0s > 6/6 > (Return code of 127 is out of bounds - plugin may be missing) return code 127 means the plugin doesn't exist. There are 3 possibilities in your case -- - $USER1$ isn't set to /usr/local/nagios/libexec in resource.cfg - resource.cfg isn't included in nagios.cfg as a resource_file - check_snmp_mem.pl relies on an external program whose path isn't fully qualified within the script. > > > I reckon I am not doing something right because the plugin works > from the command line i.e. > > snmp:/usr/local/nagios/libexec# ./check_snmp_mem.pl -H 41.211.3.218 - > C communitystring -I -w 40% -c 90% > Processor:24%,I/O:60% : 28% : > 40 ; WARNING > this is not what you're telling nagios to run in a number of ways. $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ yields -- /path/to/plugins/check_snmp_mem.pl -H communitystring -w -I -c 80 98 Based on your service definition and test run, you probably want the following for your command{} - command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ -C $ARG1$ $ARG2$ -w $ARG4$ -c $ARG4$ -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Mar 4 15:03:15 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 04 Mar 2008 14:03:15 +0000 Subject: check_http and differents ports In-Reply-To: <877b18bb0803020013g52ee86dby6c15885adc826a66@mail.gmail.com> References: <877b18bb0802290251q3fe4410es296a4b4fd812b6ba@mail.gmail.com> <47C7E9DB.5080206@googlemail.com> <877b18bb0803020013g52ee86dby6c15885adc826a66@mail.gmail.com> Message-ID: <47CD56A3.2080509@googlemail.com> Diego Giurgola wrote: > I solved in this way. Thanks! > Diego. > > > 2008/2/29, Hari Sekhon >: > > your nagios configuration is probably wrong, double check your > checkcommands.cfg and your services.cfg where you are calling the > command. > > If you are specifying in services.cfg > > checkcommand check_http!-p 100080 > > then you will need the command to have an $ARG1$ variable after it in > checkcommands.cfg. > Ok, that's good, remember to CC the list so that other people can learn from it too. Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.gentoo at gmail.com Tue Mar 4 15:18:56 2008 From: diego.gentoo at gmail.com (Diego Giurgola) Date: Tue, 4 Mar 2008 15:18:56 +0100 Subject: check_http and differents ports In-Reply-To: <47CD56A3.2080509@googlemail.com> References: <877b18bb0802290251q3fe4410es296a4b4fd812b6ba@mail.gmail.com> <47C7E9DB.5080206@googlemail.com> <877b18bb0803020013g52ee86dby6c15885adc826a66@mail.gmail.com> <47CD56A3.2080509@googlemail.com> Message-ID: <877b18bb0803040618qa8aa0dcnf4d55f0e04b50da0@mail.gmail.com> Done. ---------- Forwarded message ---------- From: Hari Sekhon Date: 4-mar-2008 15.03 Subject: Re: [Nagios-users] check_http and differents ports To: Diego Giurgola , Nagios Users mailinglist < nagios-users at lists.sourceforge.net> Diego Giurgola wrote: > I solved in this way. Thanks! > Diego. > > > 2008/2/29, Hari Sekhon >: > > your nagios configuration is probably wrong, double check your > checkcommands.cfg and your services.cfg where you are calling the > command. > > If you are specifying in services.cfg > > checkcommand check_http!-p 100080 > > then you will need the command to have an $ARG1$ variable after it in > checkcommands.cfg. > Ok, that's good, remember to CC the list so that other people can learn from it too. Thanks -h -- Hari Sekhon -- Diego Giurgola Contatti Cellulare: 328/1481314 Skype: diego.giurgola Profilo LinkedIn: http://www.linkedin.com/in/diegogiurgola -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Tue Mar 4 15:24:31 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 04 Mar 2008 15:24:31 +0100 Subject: Escalations and notification_intervall Message-ID: <1204640671.3983.86.camel@bofh.dtnet.de> Hi I am trying to archieve the following goal: A service notification should be sent out after following time periods: 1.Notification: directly 2.Notification: after 1 hour 3.Notification: after 2 hours 4.Notification: after 4 hours 5.Notification: after 8 hours and every 24 hours from that time on I tried following configuration but I got 6 Norifications till now (one every hour) # Test define serviceescalation{ host_name lm_lmnagios service_description TEST-Service first_notification 1 last_notification 3 contact_groups test_CG notification_interval 60 } define serviceescalation{ host_name lm_lmnagios service_description TEST-Service first_notification 3 last_notification 4 contact_groups test_CG notification_interval 120 } define serviceescalation{ host_name lm_lmnagios service_description TEST-Service first_notification 4 last_notification 5 contact_groups test_CG notification_interval 240 } define serviceescalation{ host_name lm_lmnagios service_description TEST-Service first_notification 5 last_notification 0 contact_groups test_CG notification_interval 1440 } Any Ideas? Is there a possibility which escalation was used for a specific notification? Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strasser at etronics-online.com Tue Mar 4 15:35:31 2008 From: strasser at etronics-online.com (Eric Anderson) Date: Tue, 04 Mar 2008 06:35:31 -0800 Subject: What is the best way to monitor remote servers? In-Reply-To: <47CB9A7F.7000802@vanderkooij.org> References: <1204503602.27966.38.camel@zabberjabber.etronicsinc.com> <47CB9A7F.7000802@vanderkooij.org> Message-ID: <1204641331.27966.43.camel@zabberjabber.etronicsinc.com> On Mon, 2008-03-03 at 07:28 +0100, Hugo van der Kooij wrote: > Eric Anderson wrote: > | Hi all, > | > | I'm new to Nagios and I'm attempting to configure passive checks on a > | Windows 2003 box using NC_Net. I've read multiple documents and I'm > | still having trouble. I'm hoping someone can help me. > > How do you submit the passive check results? That is not anywhere in > your message. And by the very definition of passive checks there is no > action of Nagios for them. I'm operating under the belief that NC_Net has an embedded send_ncsa functionality. Being new to Nagios, I may be wrong and I welcome confirmation. > > | My setup is a Nagios server on Fedora Core 6 server and NC_net on the > | Windows box. These computers are both on the same LAN with no firewall > | between them. This configuration works and I'm receiving data when using > | active checks. I can't get it to work using passive checks. > > You are aware that Fedora Core 6 is no longer maintained? Yes, however would this effect Nagios functionality? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at inter.com.ve Tue Mar 4 15:54:27 2008 From: danilo.perdomo at inter.com.ve (Danilo Perdomo) Date: Tue, 04 Mar 2008 10:24:27 -0430 Subject: Monitor CRC errors Message-ID: <47CD62A3.7030001@inter.com.ve> Hi all, I was wondering if anyone has a plugin that works with Nagios to monitor the CRC errors on Cisco routers (7600, 7200) interfaces and sub-ifs and maybe the same with Switches. I have Nagios 2.7 up and running. Thanks for the help. -- Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones T?cnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sholikar at yahoo.com Tue Mar 4 16:02:01 2008 From: sholikar at yahoo.com (sachin holikar) Date: Tue, 4 Mar 2008 07:02:01 -0800 (PST) Subject: Can Nagios execute a script ?? Message-ID: <267707.39791.qm@web53205.mail.re2.yahoo.com> Hi, We ave installed Nagios 2.9 setup recently. Now for the alerting machanism we already have a tool in place. Now we need to integrate it with Nagios Alerting mechanism. In order to do it , there is a need to execute a script lets say abc.sh with specific parameters. Now question is does Nagios has the facility to execute an external script? If yes how do we do it? Can you suggest any help pages? Thanks, -Sac --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Tue Mar 4 16:23:18 2008 From: nagios at ayksolutions.com (nagios) Date: Tue, 04 Mar 2008 10:23:18 -0500 Subject: notifications for downed services In-Reply-To: <7DA24BCA-8F26-497C-8F3A-465E10D2311A@ena.com> References: <20080304045647.4C171580055@desire.netways.de> <7DA24BCA-8F26-497C-8F3A-465E10D2311A@ena.com> Message-ID: <47CD6966.4080304@ayksolutions.com> Well, here's what I have in its entirety. My services.cfg looks like this: #### Generic services template ################ define service{ name generic-service; active_checks_enabled 1; obsess_over_service 1; check_freshness 0; notifications_enabled 1; event_handler_enabled 1; flap_detection_enabled 1; retain_status_information 1; retain_nonstatus_information 1; register 0; } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 20 notification_period 24x7 register 0 } define service{ use basic-service name dns-service check_command check_dns max_check_attempts 10 check_period 24x7 notification_interval 20 notification_period 24x7 notification_options c,r contact_groups localadmin register 0 } #### HOST01 ###### define service{ use dns-service host_name host01 servicegroups mygroup service_description DNS contact_groups localadmin } So, to me, that looks correct. Host01's service check should inherit everything through 'use dns-service' line. checkcommands.cfg file for DNS: # 'check_dns' command definition define command{ command_name check_dns command_line $USER1$/check_dns -H $HOSTADDRESS$ } contactgroups.cfg: define contactgroup{ contactgroup_name localadmin alias Site Administrator members nagios } contacts.cfg: define contact{ contact_name nagios alias admin host_notification_period 24x7 service_notification_period 24x7 service_notification_options w,u,c,r,f host_notification_options d,u,r,f service_notification_commands notify-by-email host_notification_commands host-notify-by-email email mail at domain.com } I believe the above should be correct since I have host and service to be notified by email. Obviously I'm overlooking something. Marc, if you meant something else by setting up the contact_group for services, please let me know. Thanks Marc Powell wrote: > On Mar 3, 2008, at 10:56 PM, Artyom Khmelnitsky wrote: > > >> Hello everyone, >> > > Hello. Did you see that you sent this to the list 6 times so far? > > >> I have just configured some service checks for services such as >> http, smtp, etc.. The commands are defined in the commands.cfg file >> and then called in the services.cfg file. The following is an >> example of how a commands.cfg and services.cfg looks: >> > > > > >> The contacts are setup correctly since our check_ping which is >> declared in the hosts.cfg file works perfectly fine and we do get >> the correct alerts >> > > ...for the host definitions. > > >> Could someone point me in the right direction of what I'm doing >> wrong here? I can't seem to get emails if a service is down. It's >> most likely in my syntax, but I'm not sure where since I get no >> errors when reloading Nagios. >> > > > You don't have any contact_groups defined for the services that I can > see. no contacts == no notifications. With nagios-2, they're not > automagically inherited from the hosts. I expect that nagios is > complaining with warnings though in nagios.log or when using -v. > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > > -- > marc > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcavoy at ca.afilias.info Tue Mar 4 17:06:46 2008 From: smcavoy at ca.afilias.info (Sean McAvoy) Date: Tue, 4 Mar 2008 11:06:46 -0500 Subject: Can Nagios execute a script ?? In-Reply-To: <267707.39791.qm@web53205.mail.re2.yahoo.com> References: <267707.39791.qm@web53205.mail.re2.yahoo.com> Message-ID: <9F3BF314-08EA-4FF1-ADCF-035A69CCCD6F@ca.afilias.info> If you read over the the nagios documentation you will see that all notifications (and checks) in nagios are external scripts. So to answer your question, yes it can execute a script with specific parameters. On 4-Mar-08, at 10:02 , sachin holikar wrote: > > Hi, > > We ave installed Nagios 2.9 setup recently. Now for the alerting > machanism we already have a tool in place. Now we need to integrate > it with Nagios Alerting mechanism. > In order to do it , there is a need to execute a script lets say > abc.sh with specific parameters. > Now question is does Nagios has the facility to execute an external > script? > If yes how do we do it? Can you suggest any help pages? > > Thanks, > -Sac > > Looking for last minute shopping deals? Find them fast with Yahoo! > Search > .------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.potter at academy.com Tue Mar 4 17:15:56 2008 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 4 Mar 2008 10:15:56 -0600 Subject: Checking contents of a file on MS Windows Message-ID: So I have run across one for which I can't figure out a starting point. We are using Tivoli to backup our farm including databases. For the most part this is easy to monitor as we can just monitor Tivoli. However the database backups are not scheduled through Tivoli but rather in their respective DBs as scheduled procedures. (I am not a DBA so forgive me if my language on that piece is off). The only actual method for determining the success or failure of these backups is a log file on the Windows server. We are using SNMP for all our Windows monitoring at the moment but are open to other solutions. I need to be able to access this file, grep out the date and status, and process those results for Nagios. Does anyone know of a simple way to do this and if not then does anyone know of a complicated method? I am not locked into to any solution and would be willing to use active or passive checks, snmp, nc_net, or any other solution. Thanks in advance for any replies or advice. Best Regards, Mark L. Potter Systems Engineer Academy Sports & Outdoors 1800 N. Mason Rd Katy, Texas 77449 Office: 281-646-5857 Cell: 281-734-6965 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Tue Mar 4 18:21:38 2008 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 4 Mar 2008 18:21:38 +0100 Subject: Checking contents of a file on MS Windows In-Reply-To: References: Message-ID: <200803041721.m24HLCke005551@sol1.bb.consol.de> Hi Mark, maybe this http://www.consol.com/opensource/nagios/check-logfiles is what you're looking for. You tell the plugin the logfile and the patterns you expect and it raises an alert if one of the patterns was appended to the logfile since the last run. It is also possible to go the other way round. You tell the plugin which pattern you expect to find (e.g. backup succeeded) and it alerts if no such pattern appears. Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von mark.potter at academy.com Gesendet: Dienstag, 4. M?rz 2008 17:16 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Checking contents of a file on MS Windows So I have run across one for which I can't figure out a starting point. We are using Tivoli to backup our farm including databases. For the most part this is easy to monitor as we can just monitor Tivoli. However the database backups are not scheduled through Tivoli but rather in their respective DBs as scheduled procedures. (I am not a DBA so forgive me if my language on that piece is off). The only actual method for determining the success or failure of these backups is a log file on the Windows server. We are using SNMP for all our Windows monitoring at the moment but are open to other solutions. I need to be able to access this file, grep out the date and status, and process those results for Nagios. Does anyone know of a simple way to do this and if not then does anyone know of a complicated method? I am not locked into to any solution and would be willing to use active or passive checks, snmp, nc_net, or any other solution. Thanks in advance for any replies or advice. Best Regards, Mark L. Potter Systems Engineer Academy Sports & Outdoors 1800 N. Mason Rd Katy, Texas 77449 Office: 281-646-5857 Cell: 281-734-6965 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brock at kuhsefamily.org Tue Mar 4 18:34:29 2008 From: brock at kuhsefamily.org (Brock Kuhse) Date: Tue, 4 Mar 2008 10:34:29 -0700 Subject: Checking contents of a file on MS Windows In-Reply-To: References: Message-ID: <011e01c87e1e$001abc90$005035b0$@org> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of mark.potter at academy.com > Sent: Tuesday, March 04, 2008 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Checking contents of a file on MS Windows > > > monitoring at the moment but are open to other solutions. I need to be > able to access this file, grep out the date and status, and process > those results for Nagios. I'd put the file in an IIS virtual directory, setting up security in whatever way makes sense for your environment. >From there, you have plenty of options on how to grab the file. Good luck. - Brock ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Mar 4 19:48:34 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 04 Mar 2008 19:48:34 +0100 Subject: What is the best way to monitor remote servers? In-Reply-To: <1204641331.27966.43.camel@zabberjabber.etronicsinc.com> References: <1204503602.27966.38.camel@zabberjabber.etronicsinc.com> <47CB9A7F.7000802@vanderkooij.org> <1204641331.27966.43.camel@zabberjabber.etronicsinc.com> Message-ID: <47CD9982.20303@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eric Anderson wrote: | On Mon, 2008-03-03 at 07:28 +0100, Hugo van der Kooij wrote: | |> Eric Anderson wrote: |> | Hi all, |> | |> | I'm new to Nagios and I'm attempting to configure passive checks on a |> | Windows 2003 box using NC_Net. I've read multiple documents and I'm |> | still having trouble. I'm hoping someone can help me. |> |> How do you submit the passive check results? That is not anywhere in |> your message. And by the very definition of passive checks there is no |> action of Nagios for them. | I'm operating under the belief that NC_Net has an embedded send_ncsa | functionality. Being new to Nagios, I may be wrong and I welcome | confirmation. Well. Think of how information flows through your setup. Describe the steps you have taken to make sure each step works. Without that information it will be hard to guess what might be missing as there is no description available about your setup. |> | My setup is a Nagios server on Fedora Core 6 server and NC_net on the |> | Windows box. These computers are both on the same LAN with no firewall |> | between them. This configuration works and I'm receiving data when using |> | active checks. I can't get it to work using passive checks. |> |> You are aware that Fedora Core 6 is no longer maintained? | Yes, however would this effect Nagios functionality? It might. If you end up with a kernel bug later. Who will fix it? Regardless of how safe you think a system is now it may very well be that a critical issue is found next week and you may end up in dire need of a fix all of a sudden. I have burned myself on a number of issues like using Fedora Core for a production server and ending up with doing a lot of bending to fix something that could have been solved by using something that receives normal updates. Been there, done that, got the scars. Are you willing to find out for yourself that Fedora is not suited for real life due to it's short life cycle? Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHzZl/BvzDRVjxmYERAoYvAKCCB7ibgLgfde4Pt4gKxuzhV1kpbQCeLMbo y+QcShW5GLKsAjFz738pMZQ= =cQ13 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Tue Mar 4 20:15:39 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Tue, 4 Mar 2008 16:15:39 -0300 Subject: Parameters not passed to event handler's script Message-ID: <1127857B97C63B4285A9B02BEF67AEE60109B074@afrodite.halogica.com.br> Hi people, I've a Nagios 3rc1 with a very simple configuration and I'm facing a problem while using Event Handler. When the script run, in the logs I can to verify that the parameters is not passed to the code. See below: [1204655932] SERVICE ALERT: host1.fake.int;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 100% [1204655962] HOST ALERT: host1.fake.int;DOWN;SOFT;1;(Host Check Timed Out) [1204655962] HOST EVENT HANDLER: host1.fake.int;(null);(null);(null);fakescript Can anyone that already have faced this problem help me!? Thanks for advance. Best regards, brHS. Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 4 21:23:49 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 4 Mar 2008 12:23:49 -0800 Subject: Parameters not passed to event handler's script In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE60109B074@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE60109B074@afrodite.halogica.com.br> Message-ID: <20080304202349.GJ30836@bakgwai.americas.hpqcorp.net> Hi Br?ulio! On Tue, 04 Mar 2008, Br?ulio H. Soares wrote: > Hi people, > > I?ve a Nagios 3rc1 with a very simple configuration and I?m facing a problem while using Event Handler. > > When the script run, in the logs I can to verify that the parameters is not passed to the code. See below: > > [1204655932] SERVICE ALERT: host1.fake.int;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 100% > [1204655962] HOST ALERT: host1.fake.int;DOWN;SOFT;1;(Host Check Timed Out) > [1204655962] HOST EVENT HANDLER: host1.fake.int;(null);(null);(null);fakescript > > Can anyone that already have faced this problem help me!? Without any information about how your eventhandler is configured, I'm not sure how much we can help. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwelsh at itdm.com Tue Mar 4 21:42:09 2008 From: mwelsh at itdm.com (Mike Welsh) Date: Tue, 4 Mar 2008 14:42:09 -0600 Subject: multiple notifications on some alerts In-Reply-To: References: Message-ID: We have been getting multiple notifications on some of our alerts recently and I have been tasked with trying to find out why this is happening. I have checked the services.cfg, contacts.cfg and contactgroups.cfg files, all appear correct. I have checked the Exchange Server, the distribution group and members are correct. Am I missing checking somewhere? I have made a search online and have seen that others are reporting this also, but did not see a solution. Thanks Mike Welsh ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Tue Mar 4 21:35:03 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Tue, 4 Mar 2008 17:35:03 -0300 Subject: RES: Parameters not passed to event handler's script Message-ID: <1127857B97C63B4285A9B02BEF67AEE60109B124@afrodite.halogica.com.br> To test effects, consider the script like the example available at Nagios online docs, with some modifications (see the attachment). The command with the parameters is this: command_line /fakepath/nagios/fake_script $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ The event handler is globally enabled and is enable at the host/service level too. If to need anymore information, request me! Thanks. Sds, -----Mensagem original----- De: Patrick Morris [mailto:patrick.morris at hp.com] Enviada em: ter?a-feira, 4 de mar?o de 2008 17:24 Para: Br?ulio H. Soares Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Parameters not passed to event handler's script Hi Br?ulio! On Tue, 04 Mar 2008, Br?ulio H. Soares wrote: > Hi people, > > I?ve a Nagios 3rc1 with a very simple configuration and I?m facing a problem while using Event Handler. > > When the script run, in the logs I can to verify that the parameters is not passed to the code. See below: > > [1204655932] SERVICE ALERT: host1.fake.int;PING;CRITICAL;SOFT;1;PING CRITICAL - Packet loss = 100% > [1204655962] HOST ALERT: host1.fake.int;DOWN;SOFT;1;(Host Check Timed Out) > [1204655962] HOST EVENT HANDLER: host1.fake.int;(null);(null);(null);fakescript > > Can anyone that already have faced this problem help me!? Without any information about how your eventhandler is configured, I'm not sure how much we can help. Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fake_script.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.potter at academy.com Tue Mar 4 21:43:26 2008 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 4 Mar 2008 14:43:26 -0600 Subject: multiple notifications on some alerts In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 03/04/2008 02:42:09 PM: > We have been getting multiple notifications on some of our alerts > recently and I have been tasked with trying to find out why this is > happening. > > I have checked the services.cfg, contacts.cfg and contactgroups.cfg > files, all appear correct. I have checked the Exchange Server, the > distribution group and members are correct. > > Am I missing checking somewhere? > > I have made a search online and have seen that others are reporting this > also, but did not see a solution. > > Thanks > Mike Welsh > > 1. What version of Nagios are you using 2. On what OS it running 3. Attach at least the configs related to your multiple alerts. I would include contacts.cfg, contactgroups.cfg, at least one service for which you are getting multiple alerts, and so on. I am sure someone can help you out but we will never solve the problem taking shots in the dark. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 21:52:57 2008 From: marc at ena.com (Marc Powell) Date: Tue, 4 Mar 2008 14:52:57 -0600 Subject: multiple notifications on some alerts In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike Welsh > Sent: Tuesday, March 04, 2008 2:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] multiple notifications on some alerts > > We have been getting multiple notifications on some of our alerts > recently and I have been tasked with trying to find out why this is > happening. > > I have checked the services.cfg, contacts.cfg and contactgroups.cfg > files, all appear correct. I have checked the Exchange Server, the > distribution group and members are correct. > > Am I missing checking somewhere? Make sure you don't have multiple nagios daemons running at the same time. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Tue Mar 4 22:02:02 2008 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Tue, 4 Mar 2008 22:02:02 +0100 Subject: service notifications not being sent In-Reply-To: <47CCD6AD.2040403@ayksolutions.com> References: <47CCD6AD.2040403@ayksolutions.com> Message-ID: <53317ec10803041302x546f529bs42d05d7d7d721b18@mail.gmail.com> I am not sure but i think i read notifications for services are not sent is the host is down.. anyway, your options are critical and recovery, (are you calling down to critical state?) Are you sure you have your email server properly configured? hope this help you 2008/3/4, nagios : > > Hello everyone, > > I have just configured some service checks for services such as http, > smtp, etc.. The commands are defined in the commands.cfg file and then > called in the services.cfg file. The following is an example of how a > commands.cfg and services.cfg looks: > > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > } > > #### Generic services template ################ > define service{ > name generic-service; > active_checks_enabled 1; > obsess_over_service 1; > check_freshness 0; > notifications_enabled 1; > event_handler_enabled 1; > flap_detection_enabled 1; > retain_status_information 1; > retain_nonstatus_information 1; > register 0; > } > define service{ > use generic-service > name basic-service > is_volatile 0 > check_period 24x7 > max_check_attempts 15 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > notification_period 24x7 > register 0 > } > define service{ > use basic-service > name smtp-service > check_command check_smtp > notification_options c,r > register 0 > } > > Example service called for a specific host (same services.cfg file as > where the above services are declared in the beginning) > > define service{ > use dns-service > host_name serv01 > servicegroups mygroup > service_description DNS > contact_groups localadmin,supportpro > } > > The contacts are setup correctly since our check_ping which is declared in > the hosts.cfg file works perfectly fine and we do get the correct alerts. > > Could someone point me in the right direction of what I'm doing wrong > here? I can't seem to get emails if a service is down. It's most likely in > my syntax, but I'm not sure where since I get no errors when reloading > Nagios. > > Thanks for your help. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Tue Mar 4 22:42:16 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 04 Mar 2008 16:42:16 -0500 Subject: nrpe oddity In-Reply-To: <47CC6501.4020804@lubik.ca> References: <1204388477.3262.10.camel@new-host> <47CC6501.4020804@lubik.ca> Message-ID: <1204666936.4668.62.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Mon, 2008-03-03 at 15:52 -0500, Ugo Bellavance wrote: > su - nagios > > > Is your environment clean? > > Hum, how woudl I check that? > "su - user" should clean your enviromnent out. try "export" or "set" in the new shell > > > > Try ktrace(8)/strace(8) for a good time. > > How would I use strace? strace -p $PIDofNRPE? Yea, sudo -H -u nagios [ktrace|strace] nrpe [flags] If you're using ktrace, you can get the output using "kdump > ~/kdump_log.txt" ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at MIT.EDU Tue Mar 4 23:02:01 2008 From: scott at MIT.EDU (Scott R. Ehrlich) Date: Tue, 4 Mar 2008 17:02:01 -0500 (EST) Subject: Nagios service for Windows? Message-ID: Has the Nagios central service been ported to Windows? I know the central monitoring system is available for the Redhat and Debian worlds, but does it exist for Windows? I have a Windows XP machine I may want to use as the NOC. Thanks. Scott ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azoecalvo at yahoo.com.ar Tue Mar 4 23:16:38 2008 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Tue, 4 Mar 2008 14:16:38 -0800 (PST) Subject: help me Message-ID: <144634.59242.qm@web33008.mail.mud.yahoo.com> Hi, there any paper with instruction for install plugin check sybase?. I have many errors. I work with nagios 9.5 and Suse 10.1 Thanks, AC Yahoo! Encuentros. Ahora encontrar pareja es mucho m?s f?cil, prob? el nuevo Yahoo! Encuentros http://yahoo.cupidovirtual.com/servlet/NewRegistration -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Tue Mar 4 23:18:05 2008 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 4 Mar 2008 23:18:05 +0100 Subject: Nagios service for Windows? In-Reply-To: References: Message-ID: <90f6e8270803041418i3154278ch89c13eb5d0758d2a@mail.gmail.com> On Tue, Mar 4, 2008 at 11:02 PM, Scott R. Ehrlich wrote: > Has the Nagios central service been ported to Windows? I know the > central monitoring system is available for the Redhat and Debian worlds, > but does it exist for Windows? I have a Windows XP machine I may want to > use as the NOC. http://nagios.sourceforge.net/docs/3_0/about.html#whatis System Requirements The only requirement of running Nagios is a machine running Linux (or UNIX variant) and a C compiler. You will probably also want to have TCP/IP configured, as most service checks will be performed over the network. -- Groeten, J.Asenjo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at inter.com.ve Tue Mar 4 23:20:08 2008 From: danilo.perdomo at inter.com.ve (Danilo Perdomo) Date: Tue, 04 Mar 2008 17:50:08 -0430 Subject: help me In-Reply-To: <144634.59242.qm@web33008.mail.mud.yahoo.com> References: <144634.59242.qm@web33008.mail.mud.yahoo.com> Message-ID: <47CDCB18.2090005@inter.com.ve> Hi alicia, Check out this link http://www.nagiosexchange.org/ it might be helpful. And I don't thinks there's Nagios 9.5 Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones T?cnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve Alicia Calvo escribi?: > Hi, there any paper with instruction for install plugin check sybase?. > I have many errors. > I work with nagios 9.5 and Suse 10.1 > Thanks, AC > > ------------------------------------------------------------------------ > > Tarjeta de cr?dito Yahoo! de Banco Supervielle. Solicit? tu nueva > Tarjeta de cr?dito. De tu PC directo a tu casa. > Visit? www.tuprimeratarjeta.com.ar > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Mar 4 23:20:45 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 4 Mar 2008 14:20:45 -0800 Subject: help me In-Reply-To: <144634.59242.qm@web33008.mail.mud.yahoo.com> References: <144634.59242.qm@web33008.mail.mud.yahoo.com> Message-ID: <20080304222045.GL30836@bakgwai.americas.hpqcorp.net> On Tue, 04 Mar 2008, Alicia Calvo wrote: > Hi, there any paper with instruction for install plugin check sybase?. I have many errors. > I work with nagios 9.5 and Suse 10.1 I think it's vague question day on the Nagios list. :) Which check_sybase? There seem to be several floating around on the net. Where did you get yours? Which version of Nagios are you *really* running? There is no Nagios 9.5. What have you tried to get the plugin to build? What errors did you get? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kkrickar at iupui.edu Tue Mar 4 23:21:46 2008 From: kkrickar at iupui.edu (Kevin Rickard) Date: Tue, 04 Mar 2008 17:21:46 -0500 Subject: Notifications Message-ID: <47CDCB7A.5010209@iupui.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am unable to get nagios to send out notifications. I have postfix and mailx installed. I have checked all my settings and have been unable to get it to work. I check the mail log and it appears that the notification attempts have been made but I cannot receive the notifications. Kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHzct677d1kTzsQiIRAgJxAJ4tMzF7oS2Zi6chcFVFwaueAEGAqACeKl3S iXVZeXmpVMhaj5jzPjsmGYk= =fr5u -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.potter at academy.com Tue Mar 4 23:32:28 2008 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 4 Mar 2008 16:32:28 -0600 Subject: Notifications In-Reply-To: <47CDCB7A.5010209@iupui.edu> References: <47CDCB7A.5010209@iupui.edu> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 03/04/2008 04:21:46 PM: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I am unable to get nagios to send out notifications. I have postfix > and mailx installed. I have checked all my settings and have been > unable to get it to work. I check the mail log and it appears that the > notification attempts have been made but I cannot receive the > notifications. > > Kevin It truly is vague question day on the list. If the messages are making it to the maillog then it is most likely, in fact I am certain, not a Nagios issue. I suspect it is somewhere in your mailer configuration. Without more information there is precious little I can say. Check the Nagios logs to see if they are sent from Nagios, check the maillog to see what is happening there. If Nagios is sending them and they are making it to your mailer then Nagios is working and your mailer needs troubleshooting. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dreameration at gmail.com Wed Mar 5 09:45:31 2008 From: dreameration at gmail.com (Canhua) Date: Wed, 5 Mar 2008 16:45:31 +0800 Subject: question about nagios on solaris 10 Message-ID: hello all I am installing nagios on solaris 10. I have problem with svcadm. The situation is as follows. 1. If I "svcadm enable" nrpe/tcp, the nrpe is indeed "online". However if I try to telnet to nrpe port from localhost and monitoring server, I both get : ||Trying ***** ||Connected to *****. ||Escape character is '^]'. ||Connection to localhost closed by foreign host. 2.If I manually start nrpe from the command line directly,(/usr/local/nagios/bin/nrpe -c ...), then I could get correct output on localhost, while still get same message on monitoring server as in the case "1"( connected and then closed) Could anyone help me to figure out where the problem lie? Thank you in advance. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmw at tiger-computing.co.uk Wed Mar 5 10:34:20 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Wed, 5 Mar 2008 09:34:20 +0000 Subject: Monitoring Connection attempts Message-ID: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> Hi All, Before I start coding my own plugin to do this, does anyone know of a plugin that monitors the number of external connection attempts over a given period of time for a given service and sends alerts accordingly? I've noticed on a number of servers that we maintain recently that there are unauthorised attempts to connect via SSH/FTP. These appear in the log files about 2 seconds apart and are obviously automated. We've got Logcheck in place which alerts us to this kind of thing already, however I like the idea of a nice visual/audible alert (we all use the nagios-plugin for firefox here). Like I say, if it doesn't exist, I'll try and write it, I just thought someone might have a way of doing this already! Cheers, M. -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0845 373 3579 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Mar 5 11:08:07 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 5 Mar 2008 10:08:07 +0000 Subject: question about nagios on solaris 10 In-Reply-To: References: Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660C@monaco.fit.local> > I am installing nagios on solaris 10. I have problem with svcadm. The > situation is as follows. > > 1. If I "svcadm enable" nrpe/tcp, the nrpe is indeed "online". However > if I try to telnet to nrpe port from localhost and monitoring server, > I both get : > ||Trying ***** > ||Connected to *****. > ||Escape character is '^]'. > ||Connection to localhost closed by foreign host. > > 2.If I manually start nrpe from the command line > directly,(/usr/local/nagios/bin/nrpe -c ...), then I could get > correct output on localhost, while still get same message on > monitoring server as in the case "1"( connected and then closed) Do you have tcpwrappers enabled? Check /var/adm/messages to see if there are any rejection messages. Try adding the line nrpe: 127 to /etc/hosts.allow which will permit localhost access to the nrpe service. Phil -------------------------------------------------------------------------- Phil Costelloe Technical Consultant mailto:philc at foundation-it.com http://www.foundation-it.com/ Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Foundation IT Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE Registered in England Number 3281803 -------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Mar 5 11:24:57 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 5 Mar 2008 10:24:57 +0000 Subject: Monitoring windows servers In-Reply-To: <20080304110227.2f682e5d@tclmmw.in.tiger-computing.com> References: <4b008f7d0803040254y7918d4aasac802a87a2cbf4dd@mail.gmail.com> <20080304110227.2f682e5d@tclmmw.in.tiger-computing.com> Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660D@monaco.fit.local> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Matthew Macdonald-Wallace > On Tue, 4 Mar 2008 10:54:44 +0000 > "Alex Dehaini" wrote: > > > We have a couple of windows servers. We are monitoring services they > > are running i.e. IMAP, POP, SMTP, PING. I want to monitor CPU, > memory, > > Disk-space and any other low level service. What is the best > approach? > > > > Should I install snmp on the windows servers or is there something > > else that I can use. > > There is a nagios client for windows that we have used very > successfully > in the past. > > Download the client zip file from http://nsclient.ready2run.nl/ and > extract to a suitable directory. The original NSClient has not been developed for a long time and can have some problems on Server 2003 and 64 bit machines. There are several Windows clients that fulfill the same function as NSClient, but my favourite at the moment is OpMonAgent which is an actively developed update of the original NSClient code - http://www.opservices.com.br/index.php?option=com_content&task=view&id=54&Itemid=54. If anything it's easier to install and maintain than NSClient and It Just Works which is always good. Phil -------------------------------------------------------------------------- Phil Costelloe Technical Consultant mailto:philc at foundation-it.com http://www.foundation-it.com/ Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Foundation IT Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE Registered in England Number 3281803 -------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dreameration at gmail.com Wed Mar 5 11:28:40 2008 From: dreameration at gmail.com (Canhua) Date: Wed, 5 Mar 2008 18:28:40 +0800 Subject: question about nagios on solaris 10 In-Reply-To: References: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660C@monaco.fit.local> Message-ID: Thank you so much. I get information from /var/adm/message It said that ||Mar 5 14:58:41 uis1 nrpe[26376]: [ID 306117 daemon.error] Error: NRPE daemon ||cannot be run as user/group root! and ||Mar 5 15:35:14 uis1 nrpe[26475]: [ID 381997 daemon.error] Host 10.240.0.54 is ||not allowed to talk to us! however I still do not know what causes this two kind of errors. On Wed, Mar 5, 2008 at 6:08 PM, Phil Costelloe wrote: > > I am installing nagios on solaris 10. I have problem with svcadm. The > > situation is as follows. > > > > 1. If I "svcadm enable" nrpe/tcp, the nrpe is indeed "online". However > > if I try to telnet to nrpe port from localhost and monitoring server, > > I both get : > > ||Trying ***** > > ||Connected to *****. > > ||Escape character is '^]'. > > ||Connection to localhost closed by foreign host. > > > > 2.If I manually start nrpe from the command line > > directly,(/usr/local/nagios/bin/nrpe -c ...), then I could get > > correct output on localhost, while still get same message on > > monitoring server as in the case "1"( connected and then closed) > > Do you have tcpwrappers enabled? Check /var/adm/messages to see if there are any rejection messages. > > Try adding the line > > nrpe: 127 > > to /etc/hosts.allow which will permit localhost access to the nrpe service. > > Phil > > -------------------------------------------------------------------------- > Phil Costelloe > Technical Consultant > mailto:philc at foundation-it.com > http://www.foundation-it.com/ > Foundation IT > Foundation Court > Old Street > Oare > Hermitage Berkshire RG18 9SE > Switch: +44 (0) 1635 203700 > Helpdesk: +44 (0) 800 0121099 > DDI: +44 (0) 1635 203719 > Fax: +44 (0) 8700 543537 > Mobile: +44 (0) 7884 236299 > -------------------------------------------------------------------------- > This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. > Foundation IT > Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE > Registered in England Number 3281803 > -------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Mar 5 11:35:59 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 5 Mar 2008 10:35:59 +0000 Subject: question about nagios on solaris 10 In-Reply-To: References: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660C@monaco.fit.local> Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660E@monaco.fit.local> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Canhua > > Thank you so much. I get information from /var/adm/message > It said that > > ||Mar 5 14:58:41 uis1 nrpe[26376]: [ID 306117 daemon.error] Error: > NRPE daemon ||cannot be run as user/group root! > and > ||Mar 5 15:35:14 uis1 nrpe[26475]: [ID 381997 daemon.error] Host > 10.240.0.54 is ||not allowed to talk to us! > > however I still do not know what causes this two kind of errors. Check your nrpe.cfg file and change the nrpe_user and nrpe_group items to something other than root. I usually set up a nagios user and group with the least login and permission rights I can get away with. Also in nrpe.cfg, add 10.240.0.54 and 127.0.0.1 to allowed_hosts. Restart nrpe and see what difference that makes. Phil -------------------------------------------------------------------------- Phil Costelloe Technical Consultant mailto:philc at foundation-it.com http://www.foundation-it.com/ Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Foundation IT Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE Registered in England Number 3281803 -------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 5 12:33:20 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 5 Mar 2008 11:33:20 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk Message-ID: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com> Hi Guys, What plugin can I use to do these? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Wed Mar 5 12:45:25 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 5 Mar 2008 12:45:25 +0100 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com> References: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: 05 March 2008 12:33 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring Unix servers CPU, memory and hard-disk > > Hi Guys, > > What plugin can I use to do these? > Check_load, check_disk, check_procs ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 5 13:10:32 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 5 Mar 2008 12:10:32 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi> References: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi> Message-ID: <4b008f7d0803050410n1a304225jee56387b8090a204@mail.gmail.com> Many thanks On 3/5/08, Giles Coochey wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > > Sent: 05 March 2008 12:33 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Monitoring Unix servers CPU, memory and > hard-disk > > > > Hi Guys, > > > > What plugin can I use to do these? > > > > > Check_load, check_disk, check_procs > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 5 13:48:53 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 5 Mar 2008 12:48:53 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <4b008f7d0803050410n1a304225jee56387b8090a204@mail.gmail.com> References: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi> <4b008f7d0803050410n1a304225jee56387b8090a204@mail.gmail.com> Message-ID: <4b008f7d0803050448u35226c9fpefc801bf969d841f@mail.gmail.com> check_swap tests the local available swap. What about the acual memory that is free or used? Alex On 3/5/08, Alex Dehaini wrote: > Many thanks > > > On 3/5/08, Giles Coochey wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > > > Sent: 05 March 2008 12:33 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Monitoring Unix servers CPU, memory and > > hard-disk > > > > > > Hi Guys, > > > > > > What plugin can I use to do these? > > > > > > > > > Check_load, check_disk, check_procs > > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Wed Mar 5 13:53:06 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Wed, 5 Mar 2008 09:53:06 -0300 Subject: Add information in notification Message-ID: <1127857B97C63B4285A9B02BEF67AEE60109B2B3@afrodite.halogica.com.br> Hi people, I need to send the notifications with a comment, including information about the incident, instead only information about host or service... I think to achieve this using event handler, with scripts that send e-mail containing that message, but I not able to do this, because the user could receive two e-mail, the first could be a notification and the second the "incident information", generated by the script. Can I to add "environment variables" (like $HOSTALIAS$ or $HOSTSTATE$) in the Nagios, using to send the enhanced information? (The attachment contains a example of the e-mail I need. The additional information should be below the "topic" Techinical Info). Thanks for advance. Best Regards, brHS. Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Notification.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 5 13:56:20 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 5 Mar 2008 12:56:20 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <4b008f7d0803050448u35226c9fpefc801bf969d841f@mail.gmail.com> References: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi> <4b008f7d0803050410n1a304225jee56387b8090a204@mail.gmail.com> <4b008f7d0803050448u35226c9fpefc801bf969d841f@mail.gmail.com> Message-ID: <4b008f7d0803050456j4a708069jbec25e085c0b8cb@mail.gmail.com> Also, check_load and check_procs doesn't tell you the memory that is used or the memory that is free. What plugin can I use for that? On 3/5/08, Alex Dehaini wrote: > check_swap tests the local available swap. What about the acual memory > that is free or used? > > > Alex > > > On 3/5/08, Alex Dehaini wrote: > > Many thanks > > > > > > On 3/5/08, Giles Coochey wrote: > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > > > > Sent: 05 March 2008 12:33 > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] Monitoring Unix servers CPU, memory and > > > hard-disk > > > > > > > > Hi Guys, > > > > > > > > What plugin can I use to do these? > > > > > > > > > > > > > Check_load, check_disk, check_procs > > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Wed Mar 5 14:03:15 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 5 Mar 2008 14:03:15 +0100 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <4b008f7d0803050456j4a708069jbec25e085c0b8cb@mail.gmail.com> References: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com><9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi><4b008f7d0803050410n1a304225jee56387b8090a204@mail.gmail.com><4b008f7d0803050448u35226c9fpefc801bf969d841f@mail.gmail.com> <4b008f7d0803050456j4a708069jbec25e085c0b8cb@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744BD9A3C@hermes.sapphire-int.gi> > > Also, check_load and check_procs doesn't tell you the memory that is > used or the memory that is free. What plugin can I use for that? > Check out http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]= 1149 Note that UNIX systems have different memory management systems and can use, in the case of Linux, practically all spare memory for buffers and cache to improve performance. You will need to take this into account when choosing an appropriate plugin. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Mar 5 14:07:35 2008 From: jpratt at norwich.edu (James E. Pratt) Date: Wed, 5 Mar 2008 08:07:35 -0500 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <4b008f7d0803050456j4a708069jbec25e085c0b8cb@mail.gmail.com> References: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com><9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi><4b008f7d0803050410n1a304225jee56387b8090a204@mail.gmail.com><4b008f7d0803050448u35226c9fpefc801bf969d841f@mail.gmail.com> <4b008f7d0803050456j4a708069jbec25e085c0b8cb@mail.gmail.com> Message-ID: <3CB18FFE1CDC71449BCCEC0FFD983110704417@NUMAIL.norwich.edu> Kinda off-topic, but why on earth would you care much about memory details on a Linux box? Most memory is cached, so output from, say, "free" is kinda useless. (Not sure where that plugin gets it's info though either?).. IMO You are much better off monitoring loadavg . (Or, am I just losing it?) Regards, jp > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: Wednesday, March 05, 2008 7:56 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Unix servers CPU, memory and > hard-disk > > Also, check_load and check_procs doesn't tell you the memory that is > used or the memory that is free. What plugin can I use for that? > > On 3/5/08, Alex Dehaini wrote: > > check_swap tests the local available swap. What about the acual > memory > > that is free or used? > > > > > > Alex > > > > > > On 3/5/08, Alex Dehaini wrote: > > > Many thanks > > > > > > > > > On 3/5/08, Giles Coochey wrote: > > > > > > > > > > > > > -----Original Message----- > > > > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > > > > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > > > > > Sent: 05 March 2008 12:33 > > > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: [Nagios-users] Monitoring Unix servers CPU, memory > and > > > > hard-disk > > > > > > > > > > Hi Guys, > > > > > > > > > > What plugin can I use to do these? > > > > > > > > > > > > > > > > > Check_load, check_disk, check_procs > > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 5 14:14:59 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Mar 2008 13:14:59 +0000 Subject: Monitoring Connection attempts In-Reply-To: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> References: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> Message-ID: <47CE9CD3.1020806@googlemail.com> Matthew Macdonald-Wallace wrote: > Hi All, > > Before I start coding my own plugin to do this, does anyone know of a > plugin that monitors the number of external connection attempts over a > given period of time for a given service and sends alerts accordingly? > > I've noticed on a number of servers that we maintain recently that > there are unauthorised attempts to connect via SSH/FTP. These appear > in the log files about 2 seconds apart and are obviously automated. > > We've got Logcheck in place which alerts us to this kind of thing > already, however I like the idea of a nice visual/audible alert (we all > use the nagios-plugin for firefox here). > You could probably use check_logfiles to search for those logged strings and alert on those. Haven't used it myself yet but it seems good. http://www.consol.com/opensource/nagios/check-logfiles/ -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 5 14:16:38 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Mar 2008 13:16:38 +0000 Subject: Add information in notification In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE60109B2B3@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE60109B2B3@afrodite.halogica.com.br> Message-ID: <47CE9D36.80501@googlemail.com> Br?ulio H. Soares wrote: > > Hi people, > > I need to send the notifications with a comment, including information > about the incident, instead only information about host or service? > > I think to achieve this using event handler, with scripts that send > e-mail containing that message, but I not able to do this, because the > user could receive two e-mail, the first could be a notification and > the second the ?incident information?, generated by the script. > > Can I to add ?environment variables? (like $HOSTALIAS$ or $HOSTSTATE$) > in the Nagios, using to send the enhanced information? > > See misccommands.cfg where your notification commands are enabled. They use Nagios macros, so you can add more information using other macros there. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 5 14:19:31 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Mar 2008 13:19:31 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110704417@NUMAIL.norwich.edu> References: <4b008f7d0803050333o2439e950xf49a1bc10fb655d3@mail.gmail.com><9D30659ABCA7FB428CF91E386C3A5744BD9A34@hermes.sapphire-int.gi><4b008f7d0803050410n1a304225jee56387b8090a204@mail.gmail.com><4b008f7d0803050448u35226c9fpefc801bf969d841f@mail.gmail.com> <4b008f7d0803050456j4a708069jbec25e085c0b8cb@mail.gmail.com> <3CB18FFE1CDC71449BCCEC0FFD983110704417@NUMAIL.norwich.edu> Message-ID: <47CE9DE3.8040100@googlemail.com> James E. Pratt wrote: > Kinda off-topic, but why on earth would you care much about memory > details on a Linux box? Most memory is cached, so output from, say, > "free" is kinda useless. (Not sure where that plugin gets it's info > though either?).. IMO You are much better off monitoring loadavg . (Or, > am I just losing it?) > > Regards, > jp You would care if you've ever used Linux and heard of oom-killer. I wrote a plugin ages ago that checks this and takes this caching behaviour of Linux in to account. http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=909 This plugin counts cache ram as free by default as it effectively is on Linux architecture and so this is the correct thing to do, but there is also a switch to change this behaviour if you want. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 5 14:22:26 2008 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 5 Mar 2008 14:22:26 +0100 Subject: Monitoring Connection attempts In-Reply-To: <47CE9CD3.1020806@googlemail.com> References: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> <47CE9CD3.1020806@googlemail.com> Message-ID: <200803051422.26976.misch@multinet.de> Am Mittwoch, 5. M?rz 2008 14:14 schrieb Hari Sekhon: > Matthew Macdonald-Wallace wrote: > > Hi All, > > > > Before I start coding my own plugin to do this, does anyone know of a > > plugin that monitors the number of external connection attempts over a > > given period of time for a given service and sends alerts accordingly? > > > > I've noticed on a number of servers that we maintain recently that > > there are unauthorised attempts to connect via SSH/FTP. These appear > > in the log files about 2 seconds apart and are obviously automated. > > > > We've got Logcheck in place which alerts us to this kind of thing > > already, however I like the idea of a nice visual/audible alert (we all > > use the nagios-plugin for firefox here). > > You could probably use check_logfiles to search for those logged strings > and alert on those. Haven't used it myself yet but it seems good. > > http://www.consol.com/opensource/nagios/check-logfiles/ > > -h 1) Better use the logmatch option in the net-snmp configuration. It is quite undocumented but works like a charm. nagios can read these values with check_snmp. Syntax: logmatch 2) On the other hand: Why don't you use limits for external ssh connections? -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Wed Mar 5 14:30:35 2008 From: throck at duke.edu (Tom Throckmorton) Date: Wed, 5 Mar 2008 08:30:35 -0500 Subject: Monitoring Connection attempts In-Reply-To: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> References: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> Message-ID: <20080305133035.GA6749@duke.edu> On Mar 05 09:34, Matthew Macdonald-Wallace wrote: > Hi All, > > Before I start coding my own plugin to do this, does anyone know of a > plugin that monitors the number of external connection attempts over a > given period of time for a given service and sends alerts accordingly? > > I've noticed on a number of servers that we maintain recently that > there are unauthorised attempts to connect via SSH/FTP. These appear > in the log files about 2 seconds apart and are obviously automated. > > We've got Logcheck in place which alerts us to this kind of thing > already, however I like the idea of a nice visual/audible alert (we all > use the nagios-plugin for firefox here). Since you already have an investment in Logcheck, you could feed those events directly to Nagios using NSCA. There's an example configuration outlined in this document: https://www2.sans.org/reading_room/whitepapers/logging/198.php If you're looking for something more real-time, you might consider dropping Logcheck in favor of swatch/SEC. Cheers, -tt -- Tom Throckmorton OIT - CSI Duke University ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Wed Mar 5 14:47:04 2008 From: throck at duke.edu (Tom Throckmorton) Date: Wed, 5 Mar 2008 08:47:04 -0500 Subject: Monitoring Connection attempts In-Reply-To: <200803051422.26976.misch@multinet.de> References: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> <47CE9CD3.1020806@googlemail.com> <200803051422.26976.misch@multinet.de> Message-ID: <20080305134704.GB6749@duke.edu> On Mar 05 14:22, Michael Schwartzkopff wrote: > 1) Better use the logmatch option in the net-snmp configuration. It is quite > undocumented but works like a charm. nagios can read these values with > check_snmp. > > Syntax: > logmatch That's a good method, also, if you're just looking for counts of a very general regex. I've found this approach useful when I need to watch a log that isn't already getting fed to the central loghost, or I'm just looking for counters and not content. One caveat of logmatch is that some values are reset upon log rotation (logMatchCurrentCounter) or reading (logMatchCounter) - it's a feature :-D -tt -- Tom Throckmorton OIT - CSI Duke University ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkramme at crownpack.com Wed Mar 5 15:15:58 2008 From: jkramme at crownpack.com (John Kramme) Date: Wed, 5 Mar 2008 08:15:58 -0600 Subject: Add information in notification In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE60109B2B3@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE60109B2B3@afrodite.halogica.com.br> Message-ID: <64077F19C0D1AE4087B34935CE93C98409D9B5AF@cpserver12.crownpack.net> This is a perl script that I use. very informational, very configurable ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Br?ulio H. Soares Sent: Wednesday, March 05, 2008 6:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Add information in notification Hi people, I need to send the notifications with a comment, including information about the incident, instead only information about host or service... I think to achieve this using event handler, with scripts that send e-mail containing that message, but I not able to do this, because the user could receive two e-mail, the first could be a notification and the second the "incident information", generated by the script. Can I to add "environment variables" (like $HOSTALIAS$ or $HOSTSTATE$) in the Nagios, using to send the enhanced information? (The attachment contains a example of the e-mail I need. The additional information should be below the "topic" Techinical Info). Thanks for advance. Best Regards, brHS. Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: send_mail.pl Type: application/octet-stream Size: 10418 bytes Desc: send_mail.pl URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Wed Mar 5 15:53:12 2008 From: nagios at ayksolutions.com (nagios) Date: Wed, 05 Mar 2008 09:53:12 -0500 Subject: service notifications not being sent In-Reply-To: <53317ec10803041302x546f529bs42d05d7d7d721b18@mail.gmail.com> References: <47CCD6AD.2040403@ayksolutions.com> <53317ec10803041302x546f529bs42d05d7d7d721b18@mail.gmail.com> Message-ID: <47CEB3D8.9090400@ayksolutions.com> Pili, Thanks for your response. Email is working correctly since the host notices are going out. I'm aware that the notifications won't go out if the server is down, but the server is up as we setup a dummy service. Hitting a brick wall here. :) Pili Mu?oz Gargallo wrote: > I am not sure but i think i read notifications for services are not > sent is the host is down.. > anyway, your options are critical and recovery, (are you calling down > to critical state?) > Are you sure you have your email server properly configured? > > hope this help you > > > 2008/3/4, nagios >: > > Hello everyone, > > I have just configured some service checks for services such as > http, smtp, etc.. The commands are defined in the commands.cfg > file and then called in the services.cfg file. The following is an > example of how a commands.cfg and services.cfg looks: > > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > } > > #### Generic services template ################ > define service{ > name generic-service; > active_checks_enabled 1; > obsess_over_service 1; > check_freshness 0; > notifications_enabled 1; > event_handler_enabled 1; > flap_detection_enabled 1; > retain_status_information 1; > retain_nonstatus_information 1; > register 0; > } > define service{ > use generic-service > name basic-service > is_volatile 0 > check_period 24x7 > max_check_attempts 15 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > notification_period 24x7 > register 0 > } > define service{ > use basic-service > name smtp-service > check_command check_smtp > notification_options c,r > register 0 > } > > Example service called for a specific host (same services.cfg file > as where the above services are declared in the beginning) > > define service{ > use dns-service > host_name serv01 > servicegroups mygroup > service_description DNS > contact_groups localadmin,supportpro > } > > The contacts are setup correctly since our check_ping which is > declared in the hosts.cfg file works perfectly fine and we do get > the correct alerts. > > Could someone point me in the right direction of what I'm doing > wrong here? I can't seem to get emails if a service is down. It's > most likely in my syntax, but I'm not sure where since I get no > errors when reloading Nagios. > > Thanks for your help. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Wed Mar 5 16:01:19 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Wed, 5 Mar 2008 15:01:19 +0000 (GMT) Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <47CE9DE3.8040100@googlemail.com> References: <47CE9DE3.8040100@googlemail.com> Message-ID: <463838.15759.qm@web26206.mail.ukl.yahoo.com> check_load works on the local server only right? how to check_load on $HOSTNAME??? thanks --- Hari Sekhon wrote: > James E. Pratt wrote: > > Kinda off-topic, but why on earth would you care > much about memory > > details on a Linux box? Most memory is cached, so > output from, say, > > "free" is kinda useless. (Not sure where that > plugin gets it's info > > though either?).. IMO You are much better off > monitoring loadavg . (Or, > > am I just losing it?) > > > > Regards, > > jp > You would care if you've ever used Linux and heard > of oom-killer. > > I wrote a plugin ages ago that checks this and takes > this caching > behaviour of Linux in to account. > > http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=909 > > This plugin counts cache ram as free by default as > it effectively is on > Linux architecture and so this is the correct thing > to do, but there is > also a switch to change this behaviour if you want. > > -h > > -- > Hari Sekhon > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________________________________ Sent from Yahoo! Mail. A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Wed Mar 5 17:11:01 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 5 Mar 2008 17:11:01 +0100 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <463838.15759.qm@web26206.mail.ukl.yahoo.com> References: <47CE9DE3.8040100@googlemail.com> <463838.15759.qm@web26206.mail.ukl.yahoo.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744BD9A77@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Melanie Pfefer > Sent: 05 March 2008 16:01 > To: Hari Sekhon; James E. Pratt > Cc: Nagios Users > Subject: Re: [Nagios-users] Monitoring Unix servers CPU, memory and hard- > disk > > check_load works on the local server only right? > > how to check_load on $HOSTNAME??? > NRPE http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 5 17:11:55 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Mar 2008 16:11:55 +0000 Subject: Announce: check_svn - Plugin to test Subversion repositories Message-ID: <47CEC64B.3010909@googlemail.com> Hi, I've just released another plugin on NagiosExchange called check_svn that tests subversion repositories over svn://, http:// or https://. This is a re-write of a plugin I've been using for more than a year and had been meaning to release earlier, I know there were some people who had asked for it, and my apologies to those folks for taking so long on this, but work has not allowed me to spend time on the things I've been wanting to and I generally don't release my plugins until I feel they meet a minimum standard. The plugin takes range of options including username/password credentials, port, protocol, directory, directory content listing, timer output. It follows the standard Nagios coding guidelines with a --timeout for the test and levels of verbosity for more information or debugging. It requires that the svn command line client "svn" be somewhere in the path as it uses this to connect to the Subversion server to fetch a listing to determine that the repository is online and available. You can get the plugin from NagiosExchange: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=1258 Feedback on this plugin is always welcome. For support, feature requests or bug reports email me at this address. Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 5 17:15:13 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Mar 2008 16:15:13 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <463838.15759.qm@web26206.mail.ukl.yahoo.com> References: <463838.15759.qm@web26206.mail.ukl.yahoo.com> Message-ID: <47CEC711.2080908@googlemail.com> Melanie Pfefer wrote: > check_load works on the local server only right? > > how to check_load on $HOSTNAME??? > Read up on Nagios remote execution mechanisms, specifically NRPE, NSCA which are the 2 main ways of running remote checks (there is also SNMP and check_by_ssh but I don't recommend these as much for nagios, they're generally harder to get right). -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 5 17:30:01 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Mar 2008 16:30:01 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: References: <463838.15759.qm@web26206.mail.ukl.yahoo.com> <47CEC711.2080908@googlemail.com> Message-ID: <47CECA89.3040508@googlemail.com> Gary Every wrote: > Here is my command for checking load - it grabs 1,5,15 mins and > displays them. I'm watching to 5 min load, so it is first in the check: > > command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C > $ARG1$ -o > enterprises.ucdavis.laTable.laEntry.laLoadInt.2,enterprises.ucdavis.laTable.laEntry.laLoadInt.1,enterprises.ucdavis.laTable.laEntry.laLoadInt.3 > -w :$ARG2$ -c :$ARG3$ -u "is 5min - ,is Current - ,is 15min" > > > The important thing in this is the > "enterprises.ucdavis.laTable.laEntry.laLoadInt.2" where "2" is the > second object returned, but since it is first, that is what nagios > will measure. The -u is formatting so the nagios check looks like this > on the webpage: > > SNMP OK - 68 is 5min - 72 is Current - 63 is 15min > > snmp is the way to go. Read up on it, you can do MANY checks - mem, > procs, disk space, execute remote commands, etc Don't forget to CC the list. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 5 17:34:10 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 5 Mar 2008 16:34:10 +0000 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <47CECA89.3040508@googlemail.com> References: <463838.15759.qm@web26206.mail.ukl.yahoo.com> <47CEC711.2080908@googlemail.com> <47CECA89.3040508@googlemail.com> Message-ID: <4b008f7d0803050834h41557c9emeb488681fd4c5764@mail.gmail.com> Hari, I agree snmp is he way but I need the specific OIDs to monitor. Can I get all the OIDs for memory, cpu, etc? The OIDS that WORK Alex On 3/5/08, Hari Sekhon wrote: > Gary Every wrote: > > Here is my command for checking load - it grabs 1,5,15 mins and > > displays them. I'm watching to 5 min load, so it is first in the check: > > > > command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C > > $ARG1$ -o > > enterprises.ucdavis.laTable.laEntry.laLoadInt.2,enterprises.ucdavis.laTable.laEntry.laLoadInt.1,enterprises.ucdavis.laTable.laEntry.laLoadInt.3 > > -w :$ARG2$ -c :$ARG3$ -u "is 5min - ,is Current - ,is 15min" > > > > > > The important thing in this is the > > "enterprises.ucdavis.laTable.laEntry.laLoadInt.2" where "2" is the > > second object returned, but since it is first, that is what nagios > > will measure. The -u is formatting so the nagios check looks like this > > on the webpage: > > > > SNMP OK - 68 is 5min - 72 is Current - 63 is 15min > > > > snmp is the way to go. Read up on it, you can do MANY checks - mem, > > procs, disk space, execute remote commands, etc > Don't forget to CC the list. > > > -h > > -- > Hari Sekhon > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Wed Mar 5 17:43:36 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Wed, 5 Mar 2008 16:43:36 +0000 (GMT) Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <4b008f7d0803050834h41557c9emeb488681fd4c5764@mail.gmail.com> References: <4b008f7d0803050834h41557c9emeb488681fd4c5764@mail.gmail.com> Message-ID: <67477.66286.qm@web26203.mail.ukl.yahoo.com> excetly! can we have list of OID (cpu,mem and disk) for linux also? I tested ./check_snmp -H CLEO -o enterprises.ucdavis.laTable.laEntry.laLoadInt.2,enterprises.ucdavis.laTable.laEntry.laLoadInt.1,enterprises.ucdavis.laTable.laEntry.laLoadInt.3 -w 98 -c 99 -u "is 5min - ,is Current - ,is 15min" SNMP OK - 0 is 5min - 0 is Current - 0 is 15min | UCD-SNMP-MIB::laLoadInt.2=0 UCD-SNMP-MIB::laLoadInt.1=0 UCD-SNMP-MIB::laLoadInt.3=0 CLEO is a solaris machine. These OIDs are what exactly? --- Alex Dehaini wrote: > Hari, > > I agree snmp is he way but I need the specific OIDs > to monitor. Can I > get all the OIDs for memory, cpu, etc? The OIDS that > WORK > > Alex > > > On 3/5/08, Hari Sekhon > wrote: > > Gary Every wrote: > > > Here is my command for checking load - it grabs > 1,5,15 mins and > > > displays them. I'm watching to 5 min load, so > it is first in the check: > > > > > > command_line > /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ > -C > > > $ARG1$ -o > > > > enterprises.ucdavis.laTable.laEntry.laLoadInt.2,enterprises.ucdavis.laTable.laEntry.laLoadInt.1,enterprises.ucdavis.laTable.laEntry.laLoadInt.3 > > > -w :$ARG2$ -c :$ARG3$ -u "is 5min - ,is Current > - ,is 15min" > > > > > > > > > The important thing in this is the > > > > "enterprises.ucdavis.laTable.laEntry.laLoadInt.2" > where "2" is the > > > second object returned, but since it is first, > that is what nagios > > > will measure. The -u is formatting so the > nagios check looks like this > > > on the webpage: > > > > > > SNMP OK - 68 is 5min - 72 is Current - 63 is > 15min > > > > > > snmp is the way to go. Read up on it, you can > do MANY checks - mem, > > > procs, disk space, execute remote commands, etc > > Don't forget to CC the list. > > > > > > -h > > > > -- > > Hari Sekhon > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio > 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer at ultra-secure.de Wed Mar 5 17:45:35 2008 From: rainer at ultra-secure.de (Rainer Duffner) Date: Wed, 05 Mar 2008 17:45:35 +0100 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <4b008f7d0803050834h41557c9emeb488681fd4c5764@mail.gmail.com> References: <463838.15759.qm@web26206.mail.ukl.yahoo.com> <47CEC711.2080908@googlemail.com> <47CECA89.3040508@googlemail.com> <4b008f7d0803050834h41557c9emeb488681fd4c5764@mail.gmail.com> Message-ID: <47CECE2F.7070305@ultra-secure.de> Alex Dehaini schrieb: > Hari, > > I agree snmp is he way but I need the specific OIDs to monitor. Can I > get all the OIDs for memory, cpu, etc? The OIDS that WORK > > Alex > > Use an SNMP-Browser (like mbrowse). There are also ready-made plugins for this. Go to nagiosexchange and search for "snmp" - various are on the first page already. cheers, Rainer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 17:52:50 2008 From: marc at ena.com (Marc Powell) Date: Wed, 5 Mar 2008 10:52:50 -0600 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <67477.66286.qm@web26203.mail.ukl.yahoo.com> References: <67477.66286.qm@web26203.mail.ukl.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Melanie Pfefer > Sent: Wednesday, March 05, 2008 10:44 AM > To: Alex Dehaini; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Unix servers CPU, memory and hard- > disk > > excetly! > can we have list of OID (cpu,mem and disk) for linux > also? snmpwalk -c -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Wed Mar 5 18:20:54 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Wed, 5 Mar 2008 14:20:54 -0300 Subject: RES: Add information in notification Message-ID: <1127857B97C63B4285A9B02BEF67AEE6010CC8BF@afrodite.halogica.com.br> Thanks for the help, Hari. But I need to add information possibly different for each host and/or service notification, understand? By this way, I cannot insert static parameter in the command_line, into the commands file. I think another method to do this, but is no functional. I think the following: - Create a contact template with a specific service and host notifies command. - Create a command to send e-mail to each contact template, so I would have customized commands to each situation I need. The problem rises when creating the contacts, because the same contact should be assigned to several contact template, but is not possible. Anymore idea!? Thanks. Sds, -----Mensagem original----- De: Hari Sekhon [mailto:hpsekhon at googlemail.com] Enviada em: quarta-feira, 5 de mar?o de 2008 10:17 Para: Br?ulio H. Soares Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Add information in notification Br?ulio H. Soares wrote: > > Hi people, > > I need to send the notifications with a comment, including information > about the incident, instead only information about host or service... > > I think to achieve this using event handler, with scripts that send > e-mail containing that message, but I not able to do this, because the > user could receive two e-mail, the first could be a notification and > the second the "incident information", generated by the script. > > Can I to add "environment variables" (like $HOSTALIAS$ or $HOSTSTATE$) > in the Nagios, using to send the enhanced information? > > See misccommands.cfg where your notification commands are enabled. They use Nagios macros, so you can add more information using other macros there. -h -- Hari Sekhon Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 5 18:33:39 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Mar 2008 17:33:39 +0000 Subject: RES: Add information in notification In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE6010CC8BF@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE6010CC8BF@afrodite.halogica.com.br> Message-ID: <47CED973.5040500@googlemail.com> Br?ulio H. Soares wrote: > Thanks for the help, Hari. But I need to add information possibly different for each host and/or service notification, understand? > > By this way, I cannot insert static parameter in the command_line, into the commands file. > > I think another method to do this, but is no functional. I think the following: > > - Create a contact template with a specific service and host notifies command. > - Create a command to send e-mail to each contact template, so I would have customized commands to each situation I need. > > The problem rises when creating the contacts, because the same contact should be assigned to several contact template, but is not possible. > > Anymore idea!? > > Thanks. > > Sds, > If you are trying to do something too complicated, you might be trying to push a square peg in to a round hole by forcing Nagios to work in a way it normally doesn't do. Have you considered just having one notification command which calls a script. You can then program in all the logic in to this script. The script can accept lots and lots of Nagios macros and change the output depending of conditional testing and outputting certain macros with information depending on which host or service it is. This way all the logic is in once place and you just need to maintain that notification script. I didn't look at the one contributed by John Kramme just now, but that might be a good starting point for you. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Wed Mar 5 18:40:41 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Wed, 5 Mar 2008 14:40:41 -0300 Subject: RES: RES: Add information in notification Message-ID: <1127857B97C63B4285A9B02BEF67AEE6010CC8DD@afrodite.halogica.com.br> Truly, this is not the normal way that Nagios work, but, while I try to find a method to add information in the e-mail, I also try to find methods to send e-mail through using event handler (see the attachment History.txt). This is the other problem I'm facing. If anybody can help... Thanks! Best Regards, brHS -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Br?ulio H. Soares Enviada em: quarta-feira, 5 de mar?o de 2008 14:21 Para: Hari Sekhon Cc: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] RES: Add information in notification Thanks for the help, Hari. But I need to add information possibly different for each host and/or service notification, understand? By this way, I cannot insert static parameter in the command_line, into the commands file. I think another method to do this, but is no functional. I think the following: - Create a contact template with a specific service and host notifies command. - Create a command to send e-mail to each contact template, so I would have customized commands to each situation I need. The problem rises when creating the contacts, because the same contact should be assigned to several contact template, but is not possible. Anymore idea!? Thanks. Sds, -----Mensagem original----- De: Hari Sekhon [mailto:hpsekhon at googlemail.com] Enviada em: quarta-feira, 5 de mar?o de 2008 10:17 Para: Br?ulio H. Soares Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Add information in notification Br?ulio H. Soares wrote: > > Hi people, > > I need to send the notifications with a comment, including information > about the incident, instead only information about host or service... > > I think to achieve this using event handler, with scripts that send > e-mail containing that message, but I not able to do this, because the > user could receive two e-mail, the first could be a notification and > the second the "incident information", generated by the script. > > Can I to add "environment variables" (like $HOSTALIAS$ or $HOSTSTATE$) > in the Nagios, using to send the enhanced information? > > See misccommands.cfg where your notification commands are enabled. They use Nagios macros, so you can add more information using other macros there. -h -- Hari Sekhon Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: History.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 18:54:43 2008 From: marc at ena.com (Marc Powell) Date: Wed, 5 Mar 2008 11:54:43 -0600 Subject: RES: Parameters not passed to event handler's script In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE60109B124@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE60109B124@afrodite.halogica.com.br> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Br?ulio H. Soares > Sent: Tuesday, March 04, 2008 2:35 PM > To: Patrick Morris > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RES: Parameters not passed to event handler's > script > > To test effects, consider the script like the example available at Nagios > online docs, with some modifications (see the attachment). > > The command with the parameters is this: > command_line /fakepath/nagios/fake_script $SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$ See below... > -----Mensagem original----- > De: Patrick Morris [mailto:patrick.morris at hp.com] > Enviada em: ter?a-feira, 4 de mar?o de 2008 17:24 > Para: Br?ulio H. Soares > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] Parameters not passed to event handler's > script > > Hi Br?ulio! > > On Tue, 04 Mar 2008, Br?ulio H. Soares wrote: > > > Hi people, > > > > I?ve a Nagios 3rc1 with a very simple configuration and I?m facing a > problem while using Event Handler. > > > > When the script run, in the logs I can to verify that the parameters is > not passed to the code. See below: > > > > [1204655932] SERVICE ALERT: host1.fake.int;PING;CRITICAL;SOFT;1;PING > CRITICAL - Packet loss = 100% > > [1204655962] HOST ALERT: host1.fake.int;DOWN;SOFT;1;(Host Check Timed > Out) > > [1204655962] HOST EVENT HANDLER: > host1.fake.int;(null);(null);(null);fakescript $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMPT$ macros are not valid for host event handlers, only service event handlers. http://nagios.sourceforge.net/docs/3_0/macrolist.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Wed Mar 5 19:00:50 2008 From: gevery at gmail.com (Gary Every) Date: Wed, 5 Mar 2008 11:00:50 -0700 Subject: Monitoring Unix servers CPU, memory and hard-disk In-Reply-To: <47CECA89.3040508@googlemail.com> References: <463838.15759.qm@web26206.mail.ukl.yahoo.com> <47CEC711.2080908@googlemail.com> <47CECA89.3040508@googlemail.com> Message-ID: Go to: http://ultralight.caltech.edu/web-site/ultralight/workgroups/network/sc2005/snmpd.conf There are most of the ucdavis snmp strings that work. Use it as a model and replace the strings from my command It'll take a little playing, but it's worth it! On Wed, Mar 5, 2008 at 9:30 AM, Hari Sekhon wrote: > Gary Every wrote: > > Here is my command for checking load - it grabs 1,5,15 mins and > > displays them. I'm watching to 5 min load, so it is first in the check: > > > > command_line /usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C > > $ARG1$ -o > > enterprises.ucdavis.laTable.laEntry.laLoadInt.2, > enterprises.ucdavis.laTable.laEntry.laLoadInt.1, > enterprises.ucdavis.laTable.laEntry.laLoadInt.3 > > -w :$ARG2$ -c :$ARG3$ -u "is 5min - ,is Current - ,is 15min" > > > > > > The important thing in this is the > > "enterprises.ucdavis.laTable.laEntry.laLoadInt.2" where "2" is the > > second object returned, but since it is first, that is what nagios > > will measure. The -u is formatting so the nagios check looks like this > > on the webpage: > > > > SNMP OK - 68 is 5min - 72 is Current - 63 is 15min > > > > snmp is the way to go. Read up on it, you can do MANY checks - mem, > > procs, disk space, execute remote commands, etc > Don't forget to CC the list. > > -h > > -- > Hari Sekhon > > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 19:01:16 2008 From: marc at ena.com (Marc Powell) Date: Wed, 5 Mar 2008 12:01:16 -0600 Subject: RES: Add information in notification In-Reply-To: <47CED973.5040500@googlemail.com> References: <47CED973.5040500@googlemail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Wednesday, March 05, 2008 11:34 AM > To: "Br?ulio H. Soares" > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RES: Add information in notification > > Br?ulio H. Soares wrote: > > Thanks for the help, Hari. But I need to add information possibly > different for each host and/or service notification, understand? > > > > By this way, I cannot insert static parameter in the command_line, into > the commands file. > > > > I think another method to do this, but is no functional. I think the > following: > > > > - Create a contact template with a specific service and host notifies > command. > > - Create a command to send e-mail to each contact template, so I would > have customized commands to each situation I need. > > > > The problem rises when creating the contacts, because the same contact > should be assigned to several contact template, but is not possible. > > > > Anymore idea!? > > > > Thanks. > > > > Sds, > > > If you are trying to do something too complicated, you might be trying > to push a square peg in to a round hole by forcing Nagios to work in a > way it normally doesn't do. > > Have you considered just having one notification command which calls a > script. You can then program in all the logic in to this script. > > The script can accept lots and lots of Nagios macros and change the > output depending of conditional testing and outputting certain macros > with information depending on which host or service it is. I agree, changing your notification script is the way to go. In a very simple case, the script can perform a normal notification, including the contents of a file that contains your special instructions, if it exists. Using standard naming conventions should help this greatly. For host notifications, include the contents of the file that matches the value of /path/to/instructions/$HOSTALIAS$.txt if it exists. For service notifications, include the contents of the file that matches the value of /path/to/instructions/$HOSTALIAS$-$SERVICEDESC$.txt if it exists. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Wed Mar 5 19:11:19 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Wed, 5 Mar 2008 15:11:19 -0300 Subject: RES: RES: Parameters not passed to event handler'sscript Message-ID: <1127857B97C63B4285A9B02BEF67AEE6010CC91A@afrodite.halogica.com.br> You're correct! I see fix issue but the outputs in the log are the same... and the Nagios' behaviour too. To test, I'm using a firewall to drop ICMP in a host. When dropping ICPM packets, the host appears to be DOWN, and the log generate the message, like below. No e-mail is sent. When the firewall stops to drop ICMP the host appears UP, and a e-mail is sent, and the parameter are UP, HARD and 1, but any is passed to script, only is wrote in the log file. Best Regards, brHS. -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Marc Powell Enviada em: quarta-feira, 5 de mar?o de 2008 14:55 Para: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] RES: Parameters not passed to event handler'sscript > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Br?ulio H. Soares > Sent: Tuesday, March 04, 2008 2:35 PM > To: Patrick Morris > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RES: Parameters not passed to event handler's > script > > To test effects, consider the script like the example available at Nagios > online docs, with some modifications (see the attachment). > > The command with the parameters is this: > command_line /fakepath/nagios/fake_script $SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$ See below... > -----Mensagem original----- > De: Patrick Morris [mailto:patrick.morris at hp.com] > Enviada em: ter?a-feira, 4 de mar?o de 2008 17:24 > Para: Br?ulio H. Soares > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] Parameters not passed to event handler's > script > > Hi Br?ulio! > > On Tue, 04 Mar 2008, Br?ulio H. Soares wrote: > > > Hi people, > > > > I?ve a Nagios 3rc1 with a very simple configuration and I?m facing a > problem while using Event Handler. > > > > When the script run, in the logs I can to verify that the parameters is > not passed to the code. See below: > > > > [1204655932] SERVICE ALERT: host1.fake.int;PING;CRITICAL;SOFT;1;PING > CRITICAL - Packet loss = 100% > > [1204655962] HOST ALERT: host1.fake.int;DOWN;SOFT;1;(Host Check Timed > Out) > > [1204655962] HOST EVENT HANDLER: > host1.fake.int;(null);(null);(null);fakescript $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMPT$ macros are not valid for host event handlers, only service event handlers. http://nagios.sourceforge.net/docs/3_0/macrolist.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsoares at halogica.com Wed Mar 5 19:37:23 2008 From: bsoares at halogica.com (=?iso-8859-1?Q?Br=E1ulio_H._Soares?=) Date: Wed, 5 Mar 2008 15:37:23 -0300 Subject: RES: RES: RES: Parameters not passed to eventhandler'sscript Message-ID: <1127857B97C63B4285A9B02BEF67AEE6010CC94D@afrodite.halogica.com.br> I'm using to tests purposes the script attached. It's only send a e-mail when a change status occurs, based on the parameters $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$. I'm thinking by the following way: The conditions to the "cases" are not being matched. Thx in advance. Best Regards, brHS. -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Br?ulio H. Soares Enviada em: quarta-feira, 5 de mar?o de 2008 15:11 Para: Marc Powell; nagios-users at lists.sourceforge.net Assunto: [Nagios-users] RES: RES: Parameters not passed to eventhandler'sscript You're correct! I see fix issue but the outputs in the log are the same... and the Nagios' behaviour too. To test, I'm using a firewall to drop ICMP in a host. When dropping ICPM packets, the host appears to be DOWN, and the log generate the message, like below. No e-mail is sent. When the firewall stops to drop ICMP the host appears UP, and a e-mail is sent, and the parameter are UP, HARD and 1, but any is passed to script, only is wrote in the log file. Best Regards, brHS. -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Marc Powell Enviada em: quarta-feira, 5 de mar?o de 2008 14:55 Para: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] RES: Parameters not passed to event handler'sscript > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Br?ulio H. Soares > Sent: Tuesday, March 04, 2008 2:35 PM > To: Patrick Morris > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RES: Parameters not passed to event handler's > script > > To test effects, consider the script like the example available at Nagios > online docs, with some modifications (see the attachment). > > The command with the parameters is this: > command_line /fakepath/nagios/fake_script $SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$ See below... > -----Mensagem original----- > De: Patrick Morris [mailto:patrick.morris at hp.com] > Enviada em: ter?a-feira, 4 de mar?o de 2008 17:24 > Para: Br?ulio H. Soares > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] Parameters not passed to event handler's > script > > Hi Br?ulio! > > On Tue, 04 Mar 2008, Br?ulio H. Soares wrote: > > > Hi people, > > > > I?ve a Nagios 3rc1 with a very simple configuration and I?m facing a > problem while using Event Handler. > > > > When the script run, in the logs I can to verify that the parameters is > not passed to the code. See below: > > > > [1204655932] SERVICE ALERT: host1.fake.int;PING;CRITICAL;SOFT;1;PING > CRITICAL - Packet loss = 100% > > [1204655962] HOST ALERT: host1.fake.int;DOWN;SOFT;1;(Host Check Timed > Out) > > [1204655962] HOST EVENT HANDLER: > host1.fake.int;(null);(null);(null);fakescript $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMPT$ macros are not valid for host event handlers, only service event handlers. http://nagios.sourceforge.net/docs/3_0/macrolist.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Aviso de Confidencialidade: As informa??es contidas nesta mensagem de e-mail, incluindo quaisquer anexos, s?o confidenciais, e est?o destinadas apenas ? pessoa ou entidade para a qual foi diretamente endere?ada. Se voc? n?o ? o destinat?rio, nem o empregado ou agente respons?vel por encaminhar esta mensagem ao destinat?rio, ent?o voc? est? notificado de que n?o dever? rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou seus anexos. Se voc? recebeu este e-mail por engano, por favor, contate o remetente imediatamente e apague (delete) esta mensagem de seu computador ou de qualquer outro banco de dados. Opini?es pessoais, coment?rios e conclus?es n?o s?o endossados pela Hal?gica Tecnologia e devem ser desconsideradas. Obrigado. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Personal opinions, remarks and conclusions are not endorsed by Hal?gica Tecnologia, and must be disconsidered. Thank you. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: script.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Mar 5 19:46:16 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 05 Mar 2008 19:46:16 +0100 Subject: RES: RES: RES: Parameters not passed to eventhandler'sscript In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE6010CC94D@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE6010CC94D@afrodite.halogica.com.br> Message-ID: <47CEEA78.4030007@ederdrom.de> Br?ulio H. Soares schrieb: > I'm using to tests purposes the script attached. > It's only send a e-mail when a change status occurs, based on the parameters $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$. > > I'm thinking by the following way: > The conditions to the "cases" are not being matched. Hi, please use the complete path to your printf and mail binaray. $PATH is not set when nagios execute commands Joerg ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 20:22:03 2008 From: marc at ena.com (Marc Powell) Date: Wed, 5 Mar 2008 13:22:03 -0600 Subject: RES: RES: RES: Parameters not passed toeventhandler'sscript In-Reply-To: <1127857B97C63B4285A9B02BEF67AEE6010CC94D@afrodite.halogica.com.br> References: <1127857B97C63B4285A9B02BEF67AEE6010CC94D@afrodite.halogica.com.br> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Br?ulio H. Soares > Sent: Wednesday, March 05, 2008 12:37 PM > To: Br?ulio H. Soares; Marc Powell; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RES: RES: RES: Parameters not passed > toeventhandler'sscript > > I'm using to tests purposes the script attached. > It's only send a e-mail when a change status occurs, based on the > parameters $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$. > > I'm thinking by the following way: > The conditions to the "cases" are not being matched. > > The command with the parameters is this: > > command_line /fakepath/nagios/fake_script $SERVICESTATE$ > > $SERVICESTATETYPE$ $SERVICEATTEMPT$ $1 in your script should be 'OK', etc, presuming this is a service event handler. It will be null otherwise. However, the values $SERVICESTATE$, $SERVICESTATETYPE$ and $SERVICEATTEMPT$ will *always* be null within the script. Nagios doesn't perform macro substitution within scripts, only on the command_line used to call the script. In your script they'd be $1, $2 and $3 respectively if called as above. Why don't you provide full information in one concise e-mail. There are too many going around with hints and bits in each. If you're trying to get an event handler to work -- - a precise description of the scenario you are testing and the results you expect. - Nagios version - host{} definition -- host check_command command{} definition -- host event_handler command{} definition -- host event handler script - service{} definition -- service check_command command{} definition -- service event_handler command{} definition -- service event_handler script -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Mar 5 23:04:16 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 05 Mar 2008 23:04:16 +0100 Subject: Monitoring Connection attempts In-Reply-To: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> References: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> Message-ID: <47CF18E0.1090206@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Macdonald-Wallace wrote: | Hi All, | | Before I start coding my own plugin to do this, does anyone know of a | plugin that monitors the number of external connection attempts over a | given period of time for a given service and sends alerts accordingly? | | I've noticed on a number of servers that we maintain recently that | there are unauthorised attempts to connect via SSH/FTP. These appear | in the log files about 2 seconds apart and are obviously automated. They are in fact rooted machines running a bot doing the work. these are around for years and apparantly people still think that they can put up unpatched servers on the internet. But unless you will report the server to th owner of the network or anything like that I think it will be just adrain of resources without any benefit. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHzxjfBvzDRVjxmYERApWLAJ0T+XRDxY0QzwX3Gb9hJms8aCs3GACdF/dY E0w7IE9UPrEFuW0VXcW1Dlg= =41iP -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.potter at academy.com Wed Mar 5 23:10:31 2008 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 5 Mar 2008 16:10:31 -0600 Subject: Monitoring Connection attempts [OT Response] In-Reply-To: <47CF18E0.1090206@vanderkooij.org> References: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> <47CF18E0.1090206@vanderkooij.org> Message-ID: Best Regards, Mark L. Potter Systems Engineer Academy Sports & Outdoors 1800 N. Mason Rd Katy, Texas 77449 Office: 281-646-5857 Cell: 281-734-6965 nagios-users-bounces at lists.sourceforge.net wrote on 03/05/2008 04:04:16 PM: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Macdonald-Wallace wrote: > | Hi All, > | > | Before I start coding my own plugin to do this, does anyone know of a > | plugin that monitors the number of external connection attempts over a > | given period of time for a given service and sends alerts accordingly? > | > | I've noticed on a number of servers that we maintain recently that > | there are unauthorised attempts to connect via SSH/FTP. These appear > | in the log files about 2 seconds apart and are obviously automated. > > They are in fact rooted machines running a bot doing the work. these are > around for years and apparantly people still think that they can put up > unpatched servers on the internet. > > But unless you will report the server to th owner of the network or > anything like that I think it will be just adrain of resources without > any benefit. > > Hugo. > As much as reporting them sounds nice I find only about one in ten reports ever has any response and only about one on five of those has anything done about it. I use a combination of scripts to simply null route the bastards and be done with them. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.calcote at gmail.com Wed Mar 5 23:51:01 2008 From: john.calcote at gmail.com (John Calcote) Date: Wed, 5 Mar 2008 15:51:01 -0700 Subject: dnx version 0.16 release announcement Message-ID: <3ee91eb90803051451t3c5c8d12mf02e785a13fc7119@mail.gmail.com> Everyone, I'm pleased to announce the release of version 0.16 of the DNX package. DNX is a modular extension for the Nagios network monitoring package. One of the most significant enhancements is that we now set file system right properly during installation if you're running "make install" as root. Not setting file system rights correctly was the root cause of most of the startup problems with both the client daemon and the server module. Another significant addition is that of a more generic init script for non-SUSE linux distros - "make install" automatically detects SUSE platforms and installs the correct version - thanks to Alberto Villegas for this contribution. This version of DNX provides the following enhancments: - Fixed install bugs - mostly related to improper file system rights. - Debug output is now realistic - not pumping out droves of useless info. - Added new configure options for specifying log directory. - Fixed miscellaneous build system problems. - Fixed rpm build issue - getaddrinfo failing under OBS. - Fixed doxygen generation issues related to incorrect exclude dir list. - Added new unit test for dnxClient - tests proper client daemonization. - Added generic init script for non-SUSE platforms. Please download DNX version 0.16 and give it a try. I think you'll find the installation much cleaner since version 0.15. Thanks and enjoy! John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ From fabianomartinsrj at gmail.com Thu Mar 6 00:39:04 2008 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Wed, 5 Mar 2008 20:39:04 -0300 Subject: Doubt Message-ID: <94212b210803051539y49c132a8u33e6d2b09dee095e@mail.gmail.com> Hi all!! I have one file server in my company that provide many files to the costumers. I would like to know if it is possible to make nagios check file download. So I would give a URL to nagios and then it would check if the file is there and if it was realy downloaded. If anyone have saw that... Please give me a hint. Regards, Fabiano ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Thu Mar 6 00:49:21 2008 From: vmanojv at rediffmail.com (Mr Manoj) Date: 5 Mar 2008 23:49:21 -0000 Subject: Integrating MIBs with Nagios Message-ID: <20080305234921.15622.qmail@f5mail-237-236.rediffmail.com> ? Hi Friends, Can you share your ideas on integrating vendor MIBs with Nagios monitoring system. Thank you, Manu. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dreameration at gmail.com Thu Mar 6 01:14:31 2008 From: dreameration at gmail.com (Canhua) Date: Thu, 6 Mar 2008 08:14:31 +0800 Subject: question about nagios on solaris 10 In-Reply-To: References: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660C@monaco.fit.local> <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660E@monaco.fit.local> Message-ID: Actually I do have config nrpe_user and nrpe_group to nagios/nagios, and added that monitoring ip to allowed_hosts. On Wed, Mar 5, 2008 at 6:35 PM, Phil Costelloe wrote: > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Canhua > > > > > Thank you so much. I get information from /var/adm/message > > It said that > > > > ||Mar 5 14:58:41 uis1 nrpe[26376]: [ID 306117 daemon.error] Error: > > NRPE daemon ||cannot be run as user/group root! > > and > > ||Mar 5 15:35:14 uis1 nrpe[26475]: [ID 381997 daemon.error] Host > > 10.240.0.54 is ||not allowed to talk to us! > > > > however I still do not know what causes this two kind of errors. > > Check your nrpe.cfg file and change the nrpe_user and nrpe_group items to something other than root. I usually set up a nagios user and group with the least login and permission rights I can get away with. Also in nrpe.cfg, add 10.240.0.54 and 127.0.0.1 to allowed_hosts. Restart nrpe and see what difference that makes. > > > > Phil > > -------------------------------------------------------------------------- > Phil Costelloe > Technical Consultant > mailto:philc at foundation-it.com > http://www.foundation-it.com/ > Foundation IT > Foundation Court > Old Street > Oare > Hermitage Berkshire RG18 9SE > Switch: +44 (0) 1635 203700 > Helpdesk: +44 (0) 800 0121099 > DDI: +44 (0) 1635 203719 > Fax: +44 (0) 8700 543537 > Mobile: +44 (0) 7884 236299 > -------------------------------------------------------------------------- > This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. > Foundation IT > Registered Office: Foundation Court, Old Street, Oare, Hermitage, Berkshire, RG18 9SE > Registered in England Number 3281803 > -------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Thu Mar 6 01:17:55 2008 From: dale at chatham.org (Dale J. Chatham) Date: Wed, 05 Mar 2008 18:17:55 -0600 Subject: Integrating MIBs with Nagios In-Reply-To: <20080305234921.15622.qmail@f5mail-237-236.rediffmail.com> References: <20080305234921.15622.qmail@f5mail-237-236.rediffmail.com> Message-ID: <47CF3833.3020702@chatham.org> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Thu Mar 6 02:08:16 2008 From: amen at oreilly.com (Bob Amen) Date: Wed, 05 Mar 2008 17:08:16 -0800 Subject: Monitoring Connection attempts In-Reply-To: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> References: <20080305093420.34ca975f@tclmmw.in.tiger-computing.com> Message-ID: <47CF4400.1050306@oreilly.com> Matthew Macdonald-Wallace wrote: > Hi All, > > Before I start coding my own plugin to do this, does anyone know of a > plugin that monitors the number of external connection attempts over a > given period of time for a given service and sends alerts accordingly? > > I've noticed on a number of servers that we maintain recently that > there are unauthorised attempts to connect via SSH/FTP. These appear > in the log files about 2 seconds apart and are obviously automated. Better than checking for this is to block them with iptables. Take a look at http://denyhosts.sourceforge.net/ which we use on our outward facing servers. It comes with notification via email as a bonus. As others have mentioned even reporting this abuse to the owners/ISPs is pretty useless. Bob -- Bob Amen O'Reilly Media, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.calcote at gmail.com Thu Mar 6 02:32:50 2008 From: john.calcote at gmail.com (John Calcote) Date: Wed, 5 Mar 2008 18:32:50 -0700 Subject: dnx version 0.16 release announcement In-Reply-To: <3ee91eb90803051451t3c5c8d12mf02e785a13fc7119@mail.gmail.com> References: <3ee91eb90803051451t3c5c8d12mf02e785a13fc7119@mail.gmail.com> Message-ID: <3ee91eb90803051732q3971601fy3e9f63dbe035ae89@mail.gmail.com> Sorry for the list spam everyone, but I realized while I was updating the dnx web site that I had forgotten to include links: http://dnx.sourceforge.net http://www.sourceforge.net/projects/dnx Enjoy! John On Wed, Mar 5, 2008 at 3:51 PM, John Calcote wrote: > Everyone, > > I'm pleased to announce the release of version 0.16 of the DNX package. > > DNX is a modular extension for the Nagios network monitoring package. > > One of the most significant enhancements is that we now set file > system right properly during installation if you're running "make > install" as root. Not setting file system rights correctly was the > root cause of most of the startup problems with both the client daemon > and the server module. > > Another significant addition is that of a more generic init script for > non-SUSE linux distros - "make install" automatically detects SUSE > platforms and installs the correct version - thanks to Alberto > Villegas for this contribution. > > This version of DNX provides the following enhancments: > > - Fixed install bugs - mostly related to improper file system rights. > - Debug output is now realistic - not pumping out droves of useless info. > - Added new configure options for specifying log directory. > - Fixed miscellaneous build system problems. > - Fixed rpm build issue - getaddrinfo failing under OBS. > - Fixed doxygen generation issues related to incorrect exclude dir list. > - Added new unit test for dnxClient - tests proper client daemonization. > - Added generic init script for non-SUSE platforms. > > Please download DNX version 0.16 and give it a try. I think you'll > find the installation much cleaner since version 0.15. > > Thanks and enjoy! > John > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ From clee.hk at gmail.com Thu Mar 6 04:07:32 2008 From: clee.hk at gmail.com (Chris Lee) Date: Thu, 6 Mar 2008 04:07:32 +0100 (CET) Subject: JMX plugin In-Reply-To: References: Message-ID: <20080306030732.7EB33580055@desire.netways.de> Hi Ryan You mentioned that you modified check_jmx so that it can take authentication argument. Do you mind showing us the code for doing that? Thanks very much, - Chris Lee (cleegt) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=9677 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Thu Mar 6 04:12:52 2008 From: bjlockie at lockie.ca (James Lockie) Date: Wed, 05 Mar 2008 22:12:52 -0500 Subject: manually remove hard state Message-ID: <47CF6134.7040801@lockie.ca> I am trying to test email notifications but the host (invalid IP) is in a hard state. How do I manually remove the hard state so it checks and notifies again? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryangravener at gmail.com Thu Mar 6 05:07:29 2008 From: ryangravener at gmail.com (Ryan Gravener) Date: Wed, 5 Mar 2008 20:07:29 -0800 Subject: JMX plugin In-Reply-To: <20080306030732.7EB33580055@desire.netways.de> References: <20080306030732.7EB33580055@desire.netways.de> Message-ID: <8e121f9b0803052007t6294be5as14d9b483f082527d@mail.gmail.com> Sure, I made a google code project: http://code.google.com/p/jmxquery/source/browse/trunk/src/main/java/jmxquery/JMXQuery.java And here is the auth code: if(username!=null) { Map m = new HashMap(); m.put(JMXConnector.CREDENTIALS,new String[] {username,password}); connector = JMXConnectorFactory.connect(jmxUrl,m); } else { connector = JMXConnectorFactory.connect(jmxUrl); } On 05/03/2008, Chris Lee wrote: > Hi Ryan > > You mentioned that you modified check_jmx so that it can take authentication argument. Do you mind showing us the code for doing that? > > Thanks very much, > > - Chris Lee (cleegt) > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=9677 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Ryan Gravener http://ryangravener.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonmills at email.unc.edu Thu Mar 6 06:40:41 2008 From: jonmills at email.unc.edu (Jonathan Mills) Date: Thu, 6 Mar 2008 00:40:41 -0500 Subject: ipmi? Message-ID: <65712F5B-4819-45D6-8131-A8B01F44B68C@email.unc.edu> Does anyone have any specific experience using ipmi to check the status of disks in a Dell PERC raid? Yes, yes, I know there are many nrpe plugins to do this using omreport, the tool provided by the Dell OpenManage software. I want to know if anyone has done it without having OpenManage installed at all (I'm not a fan of it). Any advice would be much appreciated! Cheers! Jonathan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From y.harshal at drushti.in Thu Mar 6 06:45:43 2008 From: y.harshal at drushti.in (Harshal Yadwadkar) Date: Thu, 6 Mar 2008 11:15:43 +0530 (IST) Subject: About False notifications.. Message-ID: <1342.192.168.1.36.1204782343.squirrel@192.168.1.10> Hello, I am having the nagios installed on the server for monitoring the different services on the differenet hosts.But the problem i am facing is that nagios giving me a notification for http service for one of the host and the fact is that the port 80 is connecting perfectly fine from any where and from the server itself where the Nagios has been installed. It's giving me the status info as "CRITICAL - Socket timeout after 10 seconds" Can any body pls help me out to stop this false notifications. Regards, Harshal. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Mar 6 07:23:01 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 06 Mar 2008 07:23:01 +0100 Subject: About False notifications.. In-Reply-To: <1342.192.168.1.36.1204782343.squirrel@192.168.1.10> References: <1342.192.168.1.36.1204782343.squirrel@192.168.1.10> Message-ID: <47CF8DC5.8040000@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Harshal Yadwadkar wrote: | Hello, | | I am having the nagios installed on the server for monitoring the | different services on the differenet hosts.But the problem i am facing is | that nagios giving me a notification for http service for one of the host | and the fact is that the port 80 is connecting perfectly fine from any | where and from the server itself where the Nagios has been installed. | | It's giving me the status info as "CRITICAL - Socket timeout after 10 | seconds" | | Can any body pls help me out to stop this false notifications. First off. There is no false notification. Just an issue with the way you check your website. I suggest you check the webserver logs, use tcpdump to see what happens in the connection, ....... Think of the way you check your website with Nagios and verify each and every step. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHz43EBvzDRVjxmYERAsjZAJ4+1lx2wVAsp9/20vAOhk/17rK3TwCgq0I7 Qbl81FmOMH7ABOYv5IqOUow= =8b0E -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu Mar 6 08:31:57 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 06 Mar 2008 08:31:57 +0100 Subject: Escalations and notification_intervall In-Reply-To: <1204640671.3983.86.camel@bofh.dtnet.de> References: <1204640671.3983.86.camel@bofh.dtnet.de> Message-ID: <1204788717.30780.5.camel@bofh.dtnet.de> Hi > I am trying to archieve the following goal: > > A service notification should be sent out after following time periods: > > 1.Notification: directly > 2.Notification: after 1 hour > 3.Notification: after 2 hours > 4.Notification: after 4 hours > 5.Notification: after 8 hours > and every 24 hours from that time on > > I tried following configuration but I got 6 Norifications till now (one > every hour) Just for those who are interested in how to archive this: My Configuration works fine! I just didn't know, that someone else restarted the Nagios-Server while I was running the test :-/ So Nagios startet with notification 1 again after the first 3 were sent out... Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu Mar 6 08:40:18 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 06 Mar 2008 08:40:18 +0100 Subject: include notification number in subject Message-ID: <1204789218.30780.11.camel@bofh.dtnet.de> Hi Regarding to my post on Topic "Escalations and notification_intervall" Is it possible to include the Notification number in the Subject of a notification email? I know that I just can edit the 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/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } But I do not know how the variable is called - or even if it exists... Is there a list of available variables anywhere in the documentation? I did not find it... Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.hookins at anchor.com.au Thu Mar 6 09:04:01 2008 From: oliver.hookins at anchor.com.au (Oliver Hookins) Date: Thu, 6 Mar 2008 19:04:01 +1100 Subject: include notification number in subject In-Reply-To: <1204789218.30780.11.camel@bofh.dtnet.de> References: <1204789218.30780.11.camel@bofh.dtnet.de> Message-ID: <20080306080401.GA15197@captain.bridge.anchor.net.au> On Thu Mar 06, 2008 at 08:40:18 +0100, Sebastian Ries wrote: >Hi > >Regarding to my post on Topic "Escalations and notification_intervall" > >Is it possible to include the Notification number in the Subject of a >notification email? > >I know that I just can edit the 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/bin/mail -s "** >$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ >**" $CONTACTEMAIL$ > } > >But I do not know how the variable is called - or even if it exists... > >Is there a list of available variables anywhere in the documentation? >I did not find it... http://nagios.sourceforge.net/docs/2_0/macros.html -- Regards, Oliver Hookins Anchor Systems ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Thu Mar 6 09:14:39 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Thu, 6 Mar 2008 09:14:39 +0100 Subject: Antwort: Integrating MIBs with Nagios In-Reply-To: <20080305234921.15622.qmail@f5mail-237-236.rediffmail.com> References: <20080305234921.15622.qmail@f5mail-237-236.rediffmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 06.03.2008 00:49:21: > Can you share your ideas on integrating vendor MIBs with Nagios > monitoring system. You do not integrate MIBs into Nagios. Since check_snmp uses basic GNU tools (snmpget) to fetch its information, you only need to integrate your MIBs into the standard snmp environment in your *nix installation. check_snmp includes the -m ALL switch, which includes all installed mibs by default. man snmpget && man variables S -- Sascha Runschke Netzwerk- und Systemmanagement Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu Mar 6 09:20:00 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 06 Mar 2008 09:20:00 +0100 Subject: include notification number in subject In-Reply-To: <20080306080401.GA15197@captain.bridge.anchor.net.au> References: <1204789218.30780.11.camel@bofh.dtnet.de> <20080306080401.GA15197@captain.bridge.anchor.net.au> Message-ID: <1204791600.1687.0.camel@bofh.dtnet.de> Hi > >Is there a list of available variables anywhere in the documentation? > >I did not find it... > > http://nagios.sourceforge.net/docs/2_0/macros.html > Cool. That's exactly what I was looking for. I just did not search for macro... Thanks! -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sukesh.v at jigrahak.com Thu Mar 6 09:30:48 2008 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Thu, 6 Mar 2008 14:00:48 +0530 Subject: chage socket timed out after 10 seconds Message-ID: Hi, Iam haing the nagios intstalled on the server and monitoring several servers and services.If we monitor any web site using check_http plugin ,if that service is critcal iam getting error as "socket timed out after 10 seconds" .but i made time out in the service section as 120seconds.But still in the status information bar it shows 10 seconds.How we can get the original timed out in status information page. Thanks, Sukesh V -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu Mar 6 09:50:14 2008 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 6 Mar 2008 08:50:14 +0000 Subject: question about nagios on solaris 10 In-Reply-To: References: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660C@monaco.fit.local> <9BE0CA68DE32EC4B94849D2C9A9A09943F1F660E@monaco.fit.local> Message-ID: <9BE0CA68DE32EC4B94849D2C9A9A09943F1F6617@monaco.fit.local> The times on the two error messages did seem a bit distant, they may relate to different ways you tried to start nrpe. Is it working yet? Phil > -----Original Message----- > From: Canhua [mailto:dreameration at gmail.com] > Sent: 06 March 2008 00:13 > To: Phil Costelloe > Subject: Re: [Nagios-users] question about nagios on solaris 10 > > Actually I do have config nrpe_user and nrpe_group to nagios/nagios, > and added that monitoring ip to allowed_hosts. > > On Wed, Mar 5, 2008 at 6:35 PM, Phil Costelloe it.com> wrote: > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users- > > > bounces at lists.sourceforge.net] On Behalf Of Canhua > > > > > > > > Thank you so much. I get information from /var/adm/message > > > It said that > > > > > > ||Mar 5 14:58:41 uis1 nrpe[26376]: [ID 306117 daemon.error] > Error: > > > NRPE daemon ||cannot be run as user/group root! > > > and > > > ||Mar 5 15:35:14 uis1 nrpe[26475]: [ID 381997 daemon.error] Host > > > 10.240.0.54 is ||not allowed to talk to us! > > > > > > however I still do not know what causes this two kind of errors. > > > > Check your nrpe.cfg file and change the nrpe_user and nrpe_group > items to something other than root. I usually set up a nagios user and > group with the least login and permission rights I can get away with. > Also in nrpe.cfg, add 10.240.0.54 and 127.0.0.1 to allowed_hosts. > Restart nrpe and see what difference that makes. > > > > > > > > Phil > > > > -------------------------------------------------------------------- > ------ > > Phil Costelloe > > Technical Consultant > > mailto:philc at foundation-it.com > > http://www.foundation-it.com/ > > Foundation IT > > Foundation Court > > Old Street > > Oare > > Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Thu Mar 6 12:53:53 2008 From: termx23 at gmail.com (Peter Edmonds) Date: Thu, 6 Mar 2008 22:53:53 +1100 Subject: ipmi? In-Reply-To: <65712F5B-4819-45D6-8131-A8B01F44B68C@email.unc.edu> References: <65712F5B-4819-45D6-8131-A8B01F44B68C@email.unc.edu> Message-ID: <6b8cee7e0803060353u519dd277q82d46dc8741d7e00@mail.gmail.com> On Thu, Mar 6, 2008 at 4:40 PM, Jonathan Mills wrote: > Does anyone have any specific experience using ipmi to check the > status of disks in a Dell PERC raid? For a PERC5 might not this http://www.nagiosexchange.org/Hardware.56.0.html?&tx_netnagext_pi1[p_view]=941 be an alternative ? SNMP might be easier to get going than IPMI. There was a post to the list concerning IPMI a while back, so I put together this list of useful (IMHO) links for future reference. Haven't looked at it since unfortunately. Specific to a Dell PERC you might want to check out the first link. As an observation, there are quite a few IPMI plugins on nagiosexchange.org https://www.secure-computing.net/wiki/index.php/BMC_Nagios http://ipmitool.sourceforge.net/manpage.html http://www.anthonymendoza.com/index2.php?option=com_content&do_pdf=1&id=61 http://openipmi.sourceforge.net/ http://www.qwirx.com/check_ipmi http://www.nagiosexchange.org/Hardware.56.0.html?&tx_netnagext_pi1%5Bp_view%5D=983 http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=717 http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=718 http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=719 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwong at wong-consulting.com Thu Mar 6 14:38:31 2008 From: gwong at wong-consulting.com (Gregory Wong) Date: Thu, 06 Mar 2008 08:38:31 -0500 Subject: Check_mailq always reports queue empty Message-ID: Hi Everyone. I have NRPE running on my Ubuntu mail gateway (referred to as SMTP) that is running MailScanner, clamav, etc. I am having problems with the check_mailq command. It doesn?t seem to be reporting correctly. When I run the mailq command (as of about 1 minute ago) there were 10 messages in the queue. They were all MAILER-DAEMON emails so nothing that would suggest a relay problem. When I run the following command from SMTP: /usr/local/nagios/libexec/libexec/check_nrpe -H 127.0.0.1 -c check_mailq it returns: OK: mailq is empty|unsent=0;10;15;0 The same thing happens when it is run from Nagios. Yesterday a Exchange server who the SMTP server relays for went down and we got no notification that mail started spooling on the SMTP box. Any suggestions why this command is always reporting the mailq is empty? Also, does anyone have any good NRPE scripts that check MailScanner? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pgmail.net Thu Mar 6 14:44:23 2008 From: nagios at pgmail.net (Philipp Geschke) Date: Thu, 06 Mar 2008 14:44:23 +0100 Subject: Check_mailq always reports queue empty In-Reply-To: References: Message-ID: <47CFF537.6000800@pgmail.net> Hi, Gregory Wong schrieb: > Hi Everyone. I have NRPE running on my Ubuntu mail gateway (referred to > as SMTP) that is running MailScanner, clamav, etc. I am having problems > with the check_mailq command. It doesn?t seem to be reporting correctly. > > When I run the mailq command (as of about 1 minute ago) there were 10 > messages in the queue. They were all MAILER-DAEMON emails so nothing > that would suggest a relay problem. When I run the following command > from SMTP: > > /usr/local/nagios/libexec/libexec/check_nrpe -H 127.0.0.1 -c check_mailq > > it returns: OK: mailq is empty|unsent=0;10;15;0 > > The same thing happens when it is run from Nagios. Yesterday a Exchange > server who the SMTP server relays for went down and we got no > notification that mail started spooling on the SMTP box. > > Any suggestions why this command is always reporting the mailq is empty? > Also, does anyone have any good NRPE scripts that check MailScanner? > > Thanks. > Did you set the plugin's -M Switch to the mailserver software you are using? -M (--mailserver) = [ sendmail | qmail | postfix | exim ] (default = sendmail) Regards, Philipp ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 6 14:47:14 2008 From: marc at ena.com (Marc Powell) Date: Thu, 6 Mar 2008 07:47:14 -0600 Subject: chage socket timed out after 10 seconds In-Reply-To: References: Message-ID: <6B9CA98C-4603-4253-ACEF-5CBC2C75A8B8@ena.com> On Mar 6, 2008, at 2:30 AM, Sukesh /IT/BLR/JIG/IN wrote: > Hi, > Iam haing the nagios intstalled on the server and monitoring several > servers and services.If we monitor any web site using check_http > plugin ,if that service is critcal iam getting error as "socket > timed out after 10 seconds" .but i made time out in the service > section as 120seconds.But still in the status information bar it > shows 10 seconds.How we can get the original timed out in status > information page. > You need to set service_check_timeout in nagios.cfg to be greater than your highest plugin specific timeout. Nagios uses this timeout to kill any plugins that might not be terminating themselves properly. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwong at wong-consulting.com Thu Mar 6 15:00:30 2008 From: gwong at wong-consulting.com (Gregory Wong) Date: Thu, 06 Mar 2008 09:00:30 -0500 Subject: Check_mailq always reports queue empty In-Reply-To: <47CFF537.6000800@pgmail.net> References: <47CFF537.6000800@pgmail.net> Message-ID: Specifying the mail server using the ?M switch seem to have worked. Thanks Philipp! On 3/6/08 8:44 AM, "Philipp Geschke" wrote: > Hi, > > Gregory Wong schrieb: >> > Hi Everyone. I have NRPE running on my Ubuntu mail gateway (referred to >> > as SMTP) that is running MailScanner, clamav, etc. I am having problems >> > with the check_mailq command. It doesn?t seem to be reporting correctly. >> > >> > When I run the mailq command (as of about 1 minute ago) there were 10 >> > messages in the queue. They were all MAILER-DAEMON emails so nothing >> > that would suggest a relay problem. When I run the following command >> > from SMTP: >> > >> > /usr/local/nagios/libexec/libexec/check_nrpe -H 127.0.0.1 -c check_mailq >> > >> > it returns: OK: mailq is empty|unsent=0;10;15;0 >> > >> > The same thing happens when it is run from Nagios. Yesterday a Exchange >> > server who the SMTP server relays for went down and we got no >> > notification that mail started spooling on the SMTP box. >> > >> > Any suggestions why this command is always reporting the mailq is empty? >> > Also, does anyone have any good NRPE scripts that check MailScanner? >> > >> > Thanks. >> > > > Did you set the plugin's -M Switch to the mailserver software you are using? > > -M (--mailserver) = [ sendmail | qmail | postfix | exim ] (default = > sendmail) > > > Regards, > Philipp > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clee.hk at gmail.com Thu Mar 6 16:17:49 2008 From: clee.hk at gmail.com (Chris Lee) Date: Thu, 6 Mar 2008 16:17:49 +0100 (CET) Subject: JMX plugin In-Reply-To: <8e121f9b0803052007t6294be5as14d9b483f082527d@mail.gmail.com> References: <8e121f9b0803052007t6294be5as14d9b483f082527d@mail.gmail.com> Message-ID: <20080306151749.9C9B3580055@desire.netways.de> Hi Ryan Thanks a lot for your sharing. I am able to use your code in google to make it work on my system :) Best Regards, - Chris Lee (cleegt) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=9998 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nighthunter92403 at gmail.com Thu Mar 6 16:30:46 2008 From: nighthunter92403 at gmail.com (Nicholas Thompson) Date: Thu, 06 Mar 2008 10:30:46 -0500 Subject: check commands Message-ID: <47D00E26.90901@gmail.com> Hello All, I have a small question about the services configuration. Here is a sample of one of the configurations I have " define service { host_name Device_name service_description http://xxx.xxx.xxx.xxx check_command check_https!http://xxx.xxx.xxx.xxx/!user!password max_check_attempts 5 normal_check_interval 5 retry_check_interval 5 check_period 24x7 notification_interval 240 notification_options w,c,r contact_groups GroupName notification_period 24x7 } My question is this: Is there a way to change the "!user!password" to be encrypted? I do not want the ability to see the user and password in the configuration file. Is it possible to point the the command to an other file that contains the user names and passwords? Thanks for any help. Nick~ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 6 16:47:46 2008 From: marc at ena.com (Marc Powell) Date: Thu, 6 Mar 2008 09:47:46 -0600 Subject: check commands In-Reply-To: <47D00E26.90901@gmail.com> References: <47D00E26.90901@gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nicholas Thompson > Sent: Thursday, March 06, 2008 9:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check commands > > Hello All, > > I have a small question about the services configuration. > > Here is a sample of one of the configurations I have > check_command > check_https!http://xxx.xxx.xxx.xxx/!user!password > My question is this: Is there a way to change the "!user!password" to > be encrypted? I do not want the ability to see the user and password in No. > the configuration file. Is it possible to point the the command to an > other file that contains the user names and passwords? Not with check_http, which I assume is the command being used. You could create a wrapper script to check_http that did that then called check_http though. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_bond_10 at hotmail.com Thu Mar 6 17:45:56 2008 From: james_bond_10 at hotmail.com (James Bond) Date: Thu, 6 Mar 2008 16:45:56 +0000 Subject: check_smtp - Invalid SMTP response received from host In-Reply-To: References: Message-ID: Hi AllFor a few hours a day off and on, I get the following warning from "check_smtp -H xx.xx.xx.xx" command running on the main Nagios host:"Invalid SMTP response received from host""SMTP WARNING - 0.005 sec. response time|time=0.004907s;;;0.000000"During this problem, if I run the same command on machine xx.xx.xx.xx, it returns:SMTP OK - 0.005 sec. response time|time=0.005030s;;;0.000000This affects only one machine out of many.Any ideas appreciated.TIA, Nick _________________________________________________________________ Telly addicts unite! http://www.searchgamesbox.com/tvtown.shtml -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcavoy at ca.afilias.info Thu Mar 6 17:51:29 2008 From: smcavoy at ca.afilias.info (Sean McAvoy) Date: Thu, 6 Mar 2008 11:51:29 -0500 Subject: check_smtp - Invalid SMTP response received from host In-Reply-To: References: Message-ID: I'd suggest running tcpdump to capture the packet(s) causing the problem. On 6-Mar-08, at 11:45 , James Bond wrote: > Hi All > For a few hours a day off and on, I get the following warning from > "check_smtp -H xx.xx.xx.xx" > command running on the main Nagios host: > "Invalid SMTP response received from host" > "SMTP WARNING - 0.005 sec. response time|time=0.004907s;;;0.000000" > During this problem, if I run the same command on machine > xx.xx.xx.xx, it returns: > > > > > > SMTP OK - 0.005 sec. response time|time=0.005030s;;;0.000000 > This affects only one machine out of many. > Any ideas appreciated. > TIA, Nick > > > Messenger on the move. Text MSN to 63463 now! > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Thu Mar 6 17:51:29 2008 From: dennis at huenseler.net (=?ISO-8859-1?Q?Dennis_H=FCnseler?=) Date: Thu, 06 Mar 2008 17:51:29 +0100 Subject: check_smtp - Invalid SMTP response received from host In-Reply-To: References: Message-ID: <47D02111.3070301@huenseler.net> Hi Nick, are you able to connect to machine xx.xx.xx.xx on port 25 by telnet during the error occurs? Or maybe the smtp service gives a temporary failure for external connections because of high load for example. Took a look in the mail.log what is written down there ? Kind regards, Dennis > > Hi All > > For a few hours a day off and on, I get the following warning from "check_smtp -H xx.xx.xx.xx" > command running on the main Nagios host: > > "Invalid SMTP response received from host" > "SMTP WARNING - 0.005 sec. response time|time=0.004907s;;;0.000000" > > During this problem, if I run the same command on machine xx.xx.xx.xx, it returns: > > > > > > SMTP OK - 0.005 sec. response time|time=0.005030s;;;0.000000 > > This affects only one machine out of many. > > Any ideas appreciated. > > TIA, Nick > > > > > ------------------------------------------------------------------------ > Messenger on the move. Text MSN to 63463 now! > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Mar 6 18:30:52 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 06 Mar 2008 17:30:52 +0000 Subject: Announce: check_vnc - Plugin to test VNC including vnc authentication Message-ID: <47D02A4C.7080009@googlemail.com> Hi all, I have just released another plugin on NagiosExchange to test VNC on remote machines including vnc authentication and fetching a screenshot (at lowest quality in order to make the test very fast). ./check_vnc -H somemachine --passwd-file vncpass --timing OK: vnc logged in and image obtained successfully. Test completed in 0.300 seconds ./check_vnc -H somemachine -f vncpass --verbose OK: vnc logged in and image obtained successfully. VNC server supports protocol version 3.8 (viewer 3.3) This is a re-write of a plugin I've had working since 2006 and which some people had asked me for previously but wasn't in a release-worthy state at that time. As usual it follows the Nagios coding standards with a self timeout and increasing verbosity and -vvv debugging. You can get the plugin here: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=1261 Feedback always welcome. For bug reports, feature requests etc contact me at this address. Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Thu Mar 6 18:33:50 2008 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 6 Mar 2008 17:33:50 -0000 Subject: Plugin to check Business Objects Message-ID: Hi, Is there a plugin for nagios to check whether Business Objects is running. We have it running through Citrix - I've implemented the plugin to check an Application is being published using one of the citrix plugins but I need to monitor Business Objects to ensure it is running properly. Any help / pointers would be appreciated. regards, deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited Registered in England: 0212 7833 Registered Address: 3a Waterside Park Cookham Road Bracknell Berks RG12 1RB VAT number: 864 4378 92 *************************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.digrego at gmail.com Thu Mar 6 20:39:43 2008 From: d.digrego at gmail.com (Domenico Dig) Date: Thu, 6 Mar 2008 20:39:43 +0100 Subject: check_hd problem {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: I wont to thank you, Your work around it' s a good solution On 2/29/08, Marc Powell wrote: > > On Feb 29, 2008, at 7:01 AM, Domenico Dig wrote: > > > Hi all > > I'm having a problem with check_hd( the same problem with > > check_winmem). > > > > With nagios server (debian & nagios 2.5) I try to check hd on > > windows 2003, where i have installed snmp ( > > I have tested it with snmpwalk and it works, all mibs are shown) but > > manually with: > > > > nagios:/# /usr/lib/nagios/plugins/check_hd 10.1.1.8 public 10 10 c > > Critical : no response > > FSS: Don't run plugins as root, nagios doesn't. > > > while trouth web interface I see the follow error > > > > **ePN failed to compile /usr/lib/nagios/plugins/check_hd: "Global > > symbol "$PROGNAME" requires explicit package name at (eval 3) line 21, > > Nagios has been compiled with embedded perl support but this plugin > isn't made to work with it. > http://nagios.sourceforge.net/docs/2_0/embeddedperl.html > . Either recompile without embedded perl, modify the plugin to 'fix' > it or use the workaround below. > > > using this: > > define command{ > > > > command_name check_hd > > > > command_line $USER1$/check_hd $HOSTADDRESS$ public $ARG1$ $ARG2$ > > $ARG3$ > > > > } > > > > Using the following command_line will bypass use of the ePN for this > plugin specifically -- > > command_line /your/path/to/perl $USER1$/check_hd $HOSTADDRESS$ public > $ARG1$ $ARG2$ $ARG3$ > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Thu Mar 6 23:01:50 2008 From: llow at telesphere.com (Larry Low) Date: Thu, 6 Mar 2008 15:01:50 -0700 Subject: check_hd problem {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: <002601c87fd5$ae51b0d0$0af51270$@com> Or you can add # nagios: -epn to the top of the perl plugin. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Domenico Dig Sent: Thursday, March 06, 2008 12:40 PM To: Marc Powell; Nagios Users Mailinglist Subject: Re: [Nagios-users] check_hd problem {Disarmed} {Fraud?} I wont to thank you, Your work around it' s a good solution On 2/29/08, Marc Powell wrote: > > On Feb 29, 2008, at 7:01 AM, Domenico Dig wrote: > > > Hi all > > I'm having a problem with check_hd( the same problem with > > check_winmem). > > > > With nagios server (debian & nagios 2.5) I try to check hd on > > windows 2003, where i have installed snmp ( > > I have tested it with snmpwalk and it works, all mibs are shown) but > > manually with: > > > > nagios:/# /usr/lib/nagios/plugins/check_hd 10.1.1.8 public 10 10 c > > Critical : no response > > FSS: Don't run plugins as root, nagios doesn't. > > > while trouth web interface I see the follow error > > > > **ePN failed to compile /usr/lib/nagios/plugins/check_hd: "Global > > symbol "$PROGNAME" requires explicit package name at (eval 3) line 21, > > Nagios has been compiled with embedded perl support but this plugin > isn't made to work with it. > http://nagios.sourceforge.net/docs/2_0/embeddedperl.html > . Either recompile without embedded perl, modify the plugin to 'fix' > it or use the workaround below. > > > using this: > > define command{ > > > > command_name check_hd > > > > command_line $USER1$/check_hd $HOSTADDRESS$ public $ARG1$ $ARG2$ > > $ARG3$ > > > > } > > > > Using the following command_line will bypass use of the ePN for this > plugin specifically -- > > command_line /your/path/to/perl $USER1$/check_hd $HOSTADDRESS$ public > $ARG1$ $ARG2$ $ARG3$ > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.hookins at anchor.com.au Fri Mar 7 03:17:41 2008 From: oliver.hookins at anchor.com.au (Oliver Hookins) Date: Fri, 7 Mar 2008 13:17:41 +1100 Subject: Performance tuning a host returning results via NSCA Message-ID: <20080307021741.GB18474@captain.bridge.anchor.net.au> Hi all, I guess performance is a constant problem for everyone but what I'm seeing doesn't seem to make sense. I have two servers running Nagios, one that is more or less just a frontend and another doing the checks and returning results via send_nsca. Constantly I see the frontend light up with criticals due to the passive results not being received in time (the service freshness timeout is 120 seconds). I only have 120 passive service checks and 45 passive host checks, so I can assume if none of the hosts are down it is only doing one check per second. The host performing the checks is under very little load so I can't see why it is being held up. Here are some facts that may shed some light on the situation: On the host doing the checking: * as per docs/tuning.html: - 1. aggregate_status_updates = 1 - 3. max_concurrent_checks = 0 - 7. using check_icmp for host checks, and 'ping' service checks - 8. not using regularly scheduled host checks - 9. not using aggressive host checking * service_inter_check_delay_method=s (have tried 0.01) * service_interleave_factor=s * host_inter_check_delay_method=s (have tried 0.01) * service_reaper_frequency=1 * sleep_time=1 (have tried 0.01) OCSP and OCHP are both enabled and send through commands that look like this: /bin/echo -e "$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$" | /usr/sbin/send_nsca -H nagios-server -c /etc/nagios/send_nsca.cfg If I check the processes running by the nagios user with 'ps uf -U nagios' I frequently see just the main nagios process and a forked command for send_nsca. I'm wondering if sending the passive results is the bottleneck in this case, and what I could do to improve it? Perhaps write each result to a file and have a separate process sending multiple passive results back to the master nagios server? I'm interested to see anyone else's performance values on a system where they are using send_nsca. -- Regards, Oliver Hookins ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 04:57:47 2008 From: marc at ena.com (Marc Powell) Date: Thu, 6 Mar 2008 21:57:47 -0600 Subject: Performance tuning a host returning results via NSCA In-Reply-To: <20080307021741.GB18474@captain.bridge.anchor.net.au> References: <20080307021741.GB18474@captain.bridge.anchor.net.au> Message-ID: <2E5966D5-77DF-4510-9A26-A3C9C7C86ACE@ena.com> On Mar 6, 2008, at 8:17 PM, Oliver Hookins wrote: > > I'm interested to see anyone else's performance values on a system > where > they are using send_nsca. I have 5 remote nagios systems sending passive results to 2 central machines every 5 minutes. ~90% of my checks are check_icmp. I'm using essentially documented methods with no significant tuning except I perform no host checks anywhere, have external command check interval set to -1 on the central hosts and use aggregate updates. nsca is running in daemon mode. dc1 submits 572 results. dc2 submits 931 results. dc3 submits 706 results. dc4 submits 336 results. dc5 submits 1203 results. All data collectors are 2x Dual Core AMD Opteron(tm) Processor 275 2.2Ghz with 2GB RAM. All also collect Cricket stats for 10's of thousands of interfaces in the same 5 minute interval. 5 minute load average on dc5 is 3.32, dc2 - 1.98 and dc4 - 0.77. All appear to have plenty of room for growth. 2 central boxes receive all the check results above in 5 minute intervals (i.e. 3748 results in 5 minutes each box). Both also do _many_ other tasks unrelated to nagios. Both are 4x Intel(R) Xeon(TM) MP CPU 3.16GHz, 2GB RAM. 5 minute load average is 0.34. Again, I appear to have plenty of room for growth. I expect that my next major bottleneck will appear at around 6,000 results every 5 minutes as a result of nagios not being able to pull results from the command file fast enough. DNX looks like a promising fix for that if better methodology isn't built into nagios by then. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 05:39:41 2008 From: marc at ena.com (Marc Powell) Date: Thu, 6 Mar 2008 22:39:41 -0600 Subject: Performance tuning a host returning results via NSCA In-Reply-To: <20080307021741.GB18474@captain.bridge.anchor.net.au> References: <20080307021741.GB18474@captain.bridge.anchor.net.au> Message-ID: <5DDD0E5A-208C-42A6-BFFA-E55057CE903E@ena.com> On Mar 6, 2008, at 8:17 PM, Oliver Hookins wrote: > Hi all, > > I guess performance is a constant problem for everyone but what I'm > seeing > doesn't seem to make sense. I have two servers running Nagios, one > that is > more or less just a frontend and another doing the checks and > returning > results via send_nsca. Constantly I see the frontend light up with > criticals > due to the passive results not being received in time (the service > freshness timeout is 120 seconds). How many and are they always the same? What version of nagios? > > > I only have 120 passive service checks and 45 passive host checks, > so I can > assume if none of the hosts are down it is only doing one check per > second. Nagios doesn't distribute them that evenly but it tries to. I assume that you haven't done anything to prevent the parallelization of service checks. Is your normal_check_interval exactly 120 seconds? If so, you'll have some checks that happen at that time and their results would be received by the central host after your freshness timeout. Also, do you have a lot of host volatility? I'd also check communication between the remote and central. Try sending passive results manually from the command line to make sure they complete in a timely manner (should be fractions of a second). -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.hookins at anchor.com.au Fri Mar 7 05:56:51 2008 From: oliver.hookins at anchor.com.au (Oliver Hookins) Date: Fri, 7 Mar 2008 15:56:51 +1100 Subject: Performance tuning a host returning results via NSCA In-Reply-To: <5DDD0E5A-208C-42A6-BFFA-E55057CE903E@ena.com> References: <20080307021741.GB18474@captain.bridge.anchor.net.au> <5DDD0E5A-208C-42A6-BFFA-E55057CE903E@ena.com> Message-ID: <20080307045651.GC18474@captain.bridge.anchor.net.au> On Thu Mar 06, 2008 at 22:39:41 -0600, Marc Powell wrote: > >On Mar 6, 2008, at 8:17 PM, Oliver Hookins wrote: > >> Hi all, >> >> I guess performance is a constant problem for everyone but what I'm >> seeing >> doesn't seem to make sense. I have two servers running Nagios, one >> that is >> more or less just a frontend and another doing the checks and >> returning >> results via send_nsca. Constantly I see the frontend light up with >> criticals >> due to the passive results not being received in time (the service >> freshness timeout is 120 seconds). > >How many and are they always the same? What version of nagios? The host doing the checks is 2.10 and the frontend is 2.6. There are anything from just one critical service to dozens. The freshness timer expires then I have a dummy active check which always returns critical and mentions something about the freshness timer expiring. The actual services that return critical in these cases are always different. >> >> >> I only have 120 passive service checks and 45 passive host checks, >> so I can >> assume if none of the hosts are down it is only doing one check per >> second. > >Nagios doesn't distribute them that evenly but it tries to. I assume >that you haven't done anything to prevent the parallelization of >service checks. Is your normal_check_interval exactly 120 seconds? If >so, you'll have some checks that happen at that time and their results >would be received by the central host after your freshness timeout. >Also, do you have a lot of host volatility? normal_check_interval is 60 seconds for all service checks. Host volatility is pretty low, if any. In fact most of the hosts this system monitors are very stable. >I'd also check communication between the remote and central. Try >sending passive results manually from the command line to make sure >they complete in a timely manner (should be fractions of a second). It's a WAN link with fairly high latency and low bandwidth, but according to iptraf the amount of data being transferred is low anyway. I guess this is what I was driving at in my original post - does Nagios only ever call send_nsca serially? If the service checks are done in parallel I would have thought send_nsca would be called in parallel as well. -- Regards, Oliver Hookins Anchor Systems ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.hookins at anchor.com.au Fri Mar 7 07:06:54 2008 From: oliver.hookins at anchor.com.au (Oliver Hookins) Date: Fri, 7 Mar 2008 17:06:54 +1100 Subject: Performance tuning a host returning results via NSCA In-Reply-To: <20080307045651.GC18474@captain.bridge.anchor.net.au> References: <20080307021741.GB18474@captain.bridge.anchor.net.au> <5DDD0E5A-208C-42A6-BFFA-E55057CE903E@ena.com> <20080307045651.GC18474@captain.bridge.anchor.net.au> Message-ID: <20080307060654.GD18474@captain.bridge.anchor.net.au> On Fri Mar 07, 2008 at 15:56:51 +1100, Oliver Hookins wrote: >On Thu Mar 06, 2008 at 22:39:41 -0600, Marc Powell wrote: >> >>On Mar 6, 2008, at 8:17 PM, Oliver Hookins wrote: > >>I'd also check communication between the remote and central. Try >>sending passive results manually from the command line to make sure >>they complete in a timely manner (should be fractions of a second). > >It's a WAN link with fairly high latency and low bandwidth, but according to >iptraf the amount of data being transferred is low anyway. I guess this is >what I was driving at in my original post - does Nagios only ever call >send_nsca serially? If the service checks are done in parallel I would have >thought send_nsca would be called in parallel as well. I've just added in send_nsca_cached from http://altinity.blogs.com/dotorg/2006/11/caching_nsca_da.html with success. It seems that there is some restriction in the calling of the ocsp and ochp commands, because now that I am running them through send_nsca_cached the load on the machine has increased and I'm not seeing any freshness timers expiring. -- Regards, Oliver Hookins Anchor Systems ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Fri Mar 7 11:19:43 2008 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Fri, 7 Mar 2008 10:19:43 -0000 Subject: check_http error Message-ID: Has anyone had this error: [root at oberon nagios-plugins-1.4.11]# plugins/check_http -H --ssl -C 10 CRITICAL - Cannot make SSL connection 24922:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:s3_pkt.c:1052:SSL alert number 40 WARNING - Certificate expires in 7 day(s) (03/14/2008 17:14). [root at oberon nagios-plugins-1.4.11]# I've just downloaded the latest version of the plugins. It complains it cannot make the SSL connection (and subsequently the handshake) and yet is able to determine that the certificate is going to expire in 7 days. Thanks in advance. ------------ Wadud Miah Scientific Computing Systems Support High Performance Computing Services Group, e-Science, RAL 01235 446 794 ------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at nicole-haehnel.de Fri Mar 7 11:41:17 2008 From: ml at nicole-haehnel.de (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Fri, 07 Mar 2008 11:41:17 +0100 Subject: Probem with nrpe and sudo on rhel5 servers Message-ID: <47D11BCD.5030007@nicole-haehnel.de> Hi, I wrote a plugin to check running ipsec tunnels on our gateways. The plugin needs to have access to /proc/net/ipsec_eroute, so I have to run nrpe command with sudo. sudoers (for testing): nagios ALL=(ALL) NOPASSWD: ALL nrpe.conf: command[check_tunnel]=sudo /usr/lib/nagios/plugins/check_tunnel --tunnels $ARG1$ I tested the plugin on the gateway, it works fine, but with nagios I get "NRPE: Unable to read output". Running the plugin without sudo, nagios has an output, but 0 running tunnels. Looks like a problem with sudo command on rhel5 servers. Any ideas? Thanks! Nicole ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Mar 7 11:54:45 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 07 Mar 2008 10:54:45 +0000 Subject: Probem with nrpe and sudo on rhel5 servers In-Reply-To: <47D11BCD.5030007@nicole-haehnel.de> References: <47D11BCD.5030007@nicole-haehnel.de> Message-ID: <47D11EF5.8070203@googlemail.com> Nicole H?hnel wrote: > Hi, > > I wrote a plugin to check running ipsec tunnels on our gateways. > The plugin needs to have access to /proc/net/ipsec_eroute, so I have to > run nrpe command with sudo. > > sudoers (for testing): > nagios ALL=(ALL) NOPASSWD: ALL > > nrpe.conf: > command[check_tunnel]=sudo /usr/lib/nagios/plugins/check_tunnel > --tunnels $ARG1$ > > I tested the plugin on the gateway, it works fine, > but with nagios I get "NRPE: Unable to read output". > Running the plugin without sudo, nagios has an output, > but 0 running tunnels. > > Looks like a problem with sudo command on rhel5 servers. > Any ideas 2 Things: 1. You cannot embed Nagios macros like $ARG1$ in nrpe unless you're doing something like dont_blame_nrpe which is a bad idea according to those that make it. 2. Have you confirmed that the nrpe user is in fact nagios and that the path to the plugin is correct? -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at nicole-haehnel.de Fri Mar 7 13:41:17 2008 From: ml at nicole-haehnel.de (=?ISO-8859-15?Q?Nicole_H=E4hnel?=) Date: Fri, 07 Mar 2008 13:41:17 +0100 Subject: Probem with nrpe and sudo on rhel5 servers In-Reply-To: <47D11EF5.8070203@googlemail.com> References: <47D11BCD.5030007@nicole-haehnel.de> <47D11EF5.8070203@googlemail.com> Message-ID: <47D137ED.1040905@nicole-haehnel.de> Hari Sekhon schrieb: > Nicole H?hnel wrote: >> Hi, >> >> I wrote a plugin to check running ipsec tunnels on our gateways. >> The plugin needs to have access to /proc/net/ipsec_eroute, so I have to >> run nrpe command with sudo. >> >> sudoers (for testing): >> nagios ALL=(ALL) NOPASSWD: ALL >> >> nrpe.conf: >> command[check_tunnel]=sudo /usr/lib/nagios/plugins/check_tunnel >> --tunnels $ARG1$ >> >> I tested the plugin on the gateway, it works fine, >> but with nagios I get "NRPE: Unable to read output". >> Running the plugin without sudo, nagios has an output, >> but 0 running tunnels. >> >> Looks like a problem with sudo command on rhel5 servers. >> Any ideas > 2 Things: > > 1. You cannot embed Nagios macros like $ARG1$ in nrpe unless you're > doing something like dont_blame_nrpe which is a bad idea according to > those that make it. > 2. Have you confirmed that the nrpe user is in fact nagios and that > the path to the plugin is correct? > > -h > Yes, I have enabled dont_blame_nrpe, but my problem is not a security question. Even if disable dont_blame_nrpe and add the count of the tunnels to nrpe.conf, nagios shows "NRPE: Unable to read output". The only way to get an output is to remove sudo command, but nagios user has no rights to read files in /proc. So it's a wrong check result. command[check_tunnel]=sudo /usr/lib/nagios/plugins/check_tunnel --tunnels 15 [root at nagios01 objects]# /usr/lib/nagios/plugins/check_nrpe -H xxx -c check_tunnel NRPE: Unable to read output command[check_tunnel]=/usr/lib/nagios/plugins/check_tunnel --tunnels 15 [root at nagios01 objects]# /usr/lib/nagios/plugins/check_nrpe -H xxx -c check_tunnel CRITICAL - Only 0 tunnels from 15 are up an running Nicole ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Mar 7 14:08:53 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 07 Mar 2008 13:08:53 +0000 Subject: Probem with nrpe and sudo on rhel5 servers In-Reply-To: <47D137ED.1040905@nicole-haehnel.de> References: <47D11BCD.5030007@nicole-haehnel.de> <47D11EF5.8070203@googlemail.com> <47D137ED.1040905@nicole-haehnel.de> Message-ID: <47D13E65.3080206@googlemail.com> Nicole H?hnel wrote: > The only way to get an output is to remove sudo command, but nagios user > has no rights to read files in /proc. > So it's a wrong check result. > try logging in as the nrpe user, the running sudo ... by hand to see if it works or if it is actually still prompting for a passwd. What happens? -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Fri Mar 7 14:18:41 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 7 Mar 2008 13:18:41 +0000 Subject: Monitoring Router Errors Message-ID: <4b008f7d0803070518j695e58ffnec4c21eb092ed622@mail.gmail.com> Hi Guys, How can I use nagios to monitor if there are any errors on my cisco routers i.e. CRC errors, frame-relay or any sort of errors we have on the routers. Alex -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sholikar at yahoo.com Fri Mar 7 14:43:43 2008 From: sholikar at yahoo.com (sachin holikar) Date: Fri, 7 Mar 2008 05:43:43 -0800 (PST) Subject: Email notification stopped!! Message-ID: <332093.51251.qm@web53208.mail.re2.yahoo.com> Hi, We have configured Nagios 2.9 onto Linux Box recently. In the event of an issue , Email notification is being sent to my mailbox. Everthing was setup so far. Suddenly the Email notifications have stopped coming. I checked the log files and found that notifications are getting sent , it just that mail is not getting generated. This I checked from maillog. See below, /var/log/nagios/nagios [1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING: HTTP/1.1 404 Not Found [1204896827] SERVICE ALERT: localhost;HTTP;WARNING;HARD;2;HTTP WARNING: HTTP/1.1 404 Not Found [1204896827] SERVICE NOTIFICATION: itsme;localhost;HTTP;WARNING;notify-by-email;HTTP WARNING: HTTP/1.1 404 Not Found Now whats gone wrong suddenly? Is there any way to check out?? Thanks in advance. -Sachin --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at tomsommer.dk Fri Mar 7 14:44:17 2008 From: mail at tomsommer.dk (Tom Sommer) Date: Fri, 07 Mar 2008 14:44:17 +0100 Subject: Retry interval on hard states Message-ID: <47D146B1.4000602@tomsommer.dk> Hi, I wish to setup the following check interval: Check the service every 5 minutes -> If down then check the service every 1 minute for 3 minutes/times -> If still down, notify and continue to check the service every 1 minute until it recovers. I'm having a few problems with the last condition. Basically once the notification is sent, Nagios seems to revert to the "normal" check interval, which is 5 minutes - resulting in a substantial delay for the recovery notification to be sent. My settings are: max_check_attempts 3 check_interval 5 retry_interval 1 Did I miss anything or is the above simply not possible? Using 3.0rc3 Thanks -- Tom Sommer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 7 15:15:38 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 7 Mar 2008 15:15:38 +0100 Subject: Monitoring Router Errors In-Reply-To: <4b008f7d0803070518j695e58ffnec4c21eb092ed622@mail.gmail.com> References: <4b008f7d0803070518j695e58ffnec4c21eb092ed622@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9556@hermes.sapphire-int.gi> > > Hi Guys, > > How can I use nagios to monitor if there are any errors on my cisco > routers i.e. CRC errors, frame-relay or any sort of errors we have on > the routers. > snmp ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 7 15:18:58 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 7 Mar 2008 15:18:58 +0100 Subject: Email notification stopped!! In-Reply-To: <332093.51251.qm@web53208.mail.re2.yahoo.com> References: <332093.51251.qm@web53208.mail.re2.yahoo.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9559@hermes.sapphire-int.gi> TIP: If you make your configuration a CVS or SVN repository then you would be able to track exactly what configuration change you made that caused this problem. It might be related by your Nagios system unable to send emails, it might be caused by updates resulting in a change of paths to your executables used to generate notifications. Check logfiles, check for errors, and then check the psychics on the Nagios-users mailing list :-) ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of sachin holikar Sent: 07 March 2008 14:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Email notification stopped!! Hi, We have configured Nagios 2.9 onto Linux Box recently. In the event of an issue , Email notification is being sent to my mailbox. Everthing was setup so far. Suddenly the Email notifications have stopped coming. I checked the log files and found that notifications are getting sent , it just that mail is not getting generated. This I checked from maillog. See below, /var/log/nagios/nagios [1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING: HTTP/1.1 404 Not Found [1204896827] SERVICE ALERT: localhost;HTTP;WARNING;HARD;2;HTTP WARNING: HTTP/1.1 404 Not Found [1204896827] SERVICE NOTIFICATION: itsme;localhost;HTTP;WARNING;notify-by-email;HTTP WARNING: HTTP/1.1 404 Not Found Now whats gone wrong suddenly? Is there any way to check out?? Thanks in advance. -Sachin ________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Fri Mar 7 15:19:58 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 7 Mar 2008 14:19:58 +0000 Subject: Monitoring Router Errors In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744CF9556@hermes.sapphire-int.gi> References: <4b008f7d0803070518j695e58ffnec4c21eb092ed622@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A5744CF9556@hermes.sapphire-int.gi> Message-ID: <4b008f7d0803070619j2bc58badh469ce71f00bf2424@mail.gmail.com> Any specific OID to monitor. Please give me an example Alex On 3/7/08, Giles Coochey wrote: > > > > Hi Guys, > > > > How can I use nagios to monitor if there are any errors on my cisco > > routers i.e. CRC errors, frame-relay or any sort of errors we have on > > the routers. > > > > snmp > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 7 15:27:32 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 7 Mar 2008 15:27:32 +0100 Subject: Monitoring Router Errors In-Reply-To: <4b008f7d0803070619j2bc58badh469ce71f00bf2424@mail.gmail.com> References: <4b008f7d0803070518j695e58ffnec4c21eb092ed622@mail.gmail.com><9D30659ABCA7FB428CF91E386C3A5744CF9556@hermes.sapphire-int.gi> <4b008f7d0803070619j2bc58badh469ce71f00bf2424@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF955B@hermes.sapphire-int.gi> > Any specific OID to monitor. Please give me an example > All detailed in the IF-MIB Get the Interface MIB and walk your cisco for the OIDs RFC2020 (20-20 eyesight required for that one.... or google) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrewn at locus.net Fri Mar 7 15:39:37 2008 From: andrewn at locus.net (Andrew Norris) Date: Fri, 07 Mar 2008 09:39:37 -0500 Subject: Probem with nrpe and sudo on rhel5 servers In-Reply-To: <47D11BCD.5030007@nicole-haehnel.de> References: <47D11BCD.5030007@nicole-haehnel.de> Message-ID: <47D153A9.4060908@locus.net> Have you tried commenting out the following line in sudoers? "Defaults requiretty" I got hit by that one moving ssh checks from centos4 to centos5. Nicole H?hnel wrote: > Hi, > > I wrote a plugin to check running ipsec tunnels on our gateways. > The plugin needs to have access to /proc/net/ipsec_eroute, so I have to > run nrpe command with sudo. > > sudoers (for testing): > nagios ALL=(ALL) NOPASSWD: ALL > > nrpe.conf: > command[check_tunnel]=sudo /usr/lib/nagios/plugins/check_tunnel > --tunnels $ARG1$ > > I tested the plugin on the gateway, it works fine, > but with nagios I get "NRPE: Unable to read output". > Running the plugin without sudo, nagios has an output, > but 0 running tunnels. > > Looks like a problem with sudo command on rhel5 servers. > Any ideas? > > > Thanks! > > Nicole > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andrew Norris Systems Administrator Locus Telecommunications andrewn at locus.net (201)-947-2807 ext. 1135 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 15:44:37 2008 From: marc at ena.com (Marc Powell) Date: Fri, 7 Mar 2008 08:44:37 -0600 Subject: Email notification stopped!! In-Reply-To: <332093.51251.qm@web53208.mail.re2.yahoo.com> References: <332093.51251.qm@web53208.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of sachin holikar > Sent: Friday, March 07, 2008 7:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Email notification stopped!! > > > Hi, > > We have configured Nagios 2.9 onto Linux Box recently. In the event of an > issue , Email notification is being sent to my mailbox. Everthing was > setup so far. > Suddenly the Email notifications have stopped coming. > > I checked the log files and found that notifications are getting sent , it > just that mail is not getting generated. This I checked from maillog. Are you saying here that you see the notification attempt in nagios.log but do not see any corresponding activity in /var/log/maillog? If so, verify that you have not changed your notification commands and that they work when run from the command line as the nagios user. > > See below, > /var/log/nagios/nagios > > [1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING: > HTTP/1.1 404 Not Found > [1204896827] SERVICE ALERT: localhost;HTTP;WARNING;HARD;2;HTTP WARNING: > HTTP/1.1 404 Not Found > [1204896827] SERVICE NOTIFICATION: itsme;localhost;HTTP;WARNING;notify-by- > email;HTTP WARNING: HTTP/1.1 404 Not Found > > Now whats gone wrong suddenly? How can we know? Something was changed, what is it? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 15:57:04 2008 From: marc at ena.com (Marc Powell) Date: Fri, 7 Mar 2008 08:57:04 -0600 Subject: Retry interval on hard states In-Reply-To: <47D146B1.4000602@tomsommer.dk> References: <47D146B1.4000602@tomsommer.dk> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Sommer > Sent: Friday, March 07, 2008 7:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Retry interval on hard states > > Hi, > > I wish to setup the following check interval: > > Check the service every 5 minutes > -> If down then check the service every 1 minute for 3 minutes/times > -> If still down, notify and continue to check the service every 1 > minute until it recovers. > > I'm having a few problems with the last condition. Basically once the > notification is sent, Nagios seems to revert to the "normal" check > interval, which is 5 minutes - resulting in a substantial delay for the > recovery notification to be sent. This is expected behavior. I'm curious, what kind of environment are you in when up to 5 minute delay in notification of recovery is 'substantial'? > Did I miss anything or is the above simply not possible? Not possible as far as I know although it has been discussed at least once before on this list. Perhaps someone else remembers or has a link to that thread. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 7 16:04:09 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 7 Mar 2008 16:04:09 +0100 Subject: Retry interval on hard states In-Reply-To: References: <47D146B1.4000602@tomsommer.dk> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF956C@hermes.sapphire-int.gi> > This is expected behavior. I'm curious, what kind of environment are you > in when up to 5 minute delay in notification of recovery is > 'substantial'? > Hi Marc, I know I'm not the target of your question, but... Some require 5 figure uptime reports for their SLAs, and a 99.999% SLA is often requested by users and customers. That only gives us 315.36 seconds of downtime per year per service. In that scenario a 5 minute delay, in order to use any of Nagios' performance monitoring, is far too large for the margin of error. That is an extreme case, but even 4 9s SLAs will suffer as a result. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 16:04:07 2008 From: marc at ena.com (Marc Powell) Date: Fri, 7 Mar 2008 09:04:07 -0600 Subject: Monitoring Router Errors In-Reply-To: <4b008f7d0803070619j2bc58badh469ce71f00bf2424@mail.gmail.com> References: <4b008f7d0803070619j2bc58badh469ce71f00bf2424@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: Friday, March 07, 2008 8:20 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Router Errors > > Any specific OID to monitor. Please give me an example They're reported per interface under the oid 1.3.6.1.2.1.2.2.1 (for Cisco routers at least). You'll need to figure out the OIDs for the specific interface you want to monitor as they're variable. Walking ifDescr and ifAlias will give you interface names to associate with the interface numbers reported through SNMP. Alternately, you could search for 'interface' on http://www.nagiosexchange.org and probably find some love there... -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Mar 7 16:14:38 2008 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 7 Mar 2008 08:14:38 -0700 Subject: Display Error Message-ID: <4BE6EDFB3C58E24887D56332993B03AF045D86B7@VS2.EXCHPROD.USA.NET> We had to reboot the server that is running Nagios. Now when I try to log into the web site I get the following error: The website cannot display the page Most likely causes: The website is under maintenance The website has a programming error I have stopped and started the Nagios service but I am still getting the error. Any suggestions? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sholikar at yahoo.com Fri Mar 7 16:14:41 2008 From: sholikar at yahoo.com (sachin holikar) Date: Fri, 7 Mar 2008 07:14:41 -0800 (PST) Subject: Email notification stopped!! In-Reply-To: References: Message-ID: <204988.28499.qm@web53207.mail.re2.yahoo.com> Hi, As always you are dead right. Tried sending mail by logging in as nagios user and it gave error saying cannot write to /tmp directory. Thats strange as currently I'm the only person working on this system. And saw that /tmp permissions have changed. Changed the same and I could manage to send emails. Thought it would help someone having similar issue. Thanks anyways. Marc Powell wrote: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of sachin holikar > Sent: Friday, March 07, 2008 7:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Email notification stopped!! > > > Hi, > > We have configured Nagios 2.9 onto Linux Box recently. In the event of an > issue , Email notification is being sent to my mailbox. Everthing was > setup so far. > Suddenly the Email notifications have stopped coming. > > I checked the log files and found that notifications are getting sent , it > just that mail is not getting generated. This I checked from maillog. Are you saying here that you see the notification attempt in nagios.log but do not see any corresponding activity in /var/log/maillog? If so, verify that you have not changed your notification commands and that they work when run from the command line as the nagios user. > > See below, > /var/log/nagios/nagios > > [1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING: > HTTP/1.1 404 Not Found > [1204896827] SERVICE ALERT: localhost;HTTP;WARNING;HARD;2;HTTP WARNING: > HTTP/1.1 404 Not Found > [1204896827] SERVICE NOTIFICATION: itsme;localhost;HTTP;WARNING;notify-by- > email;HTTP WARNING: HTTP/1.1 404 Not Found > > Now whats gone wrong suddenly? How can we know? Something was changed, what is it? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 16:16:56 2008 From: marc at ena.com (Marc Powell) Date: Fri, 7 Mar 2008 09:16:56 -0600 Subject: Retry interval on hard states In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744CF956C@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A5744CF956C@hermes.sapphire-int.gi> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Giles Coochey > Sent: Friday, March 07, 2008 9:04 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Retry interval on hard states > > > This is expected behavior. I'm curious, what kind of environment are > you > > in when up to 5 minute delay in notification of recovery is > > 'substantial'? > > > > Hi Marc, > > I know I'm not the target of your question, but... > > Some require 5 figure uptime reports for their SLAs, and a 99.999% SLA > is often requested by users and customers. > > That only gives us 315.36 seconds of downtime per year per service. *nod*, thanks. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Mar 7 16:16:50 2008 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 7 Mar 2008 08:16:50 -0700 Subject: Display Error In-Reply-To: References: Message-ID: <4BE6EDFB3C58E24887D56332993B03AF045D86BB@VS2.EXCHPROD.USA.NET> I stopped and started the httpd service. From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, March 07, 2008 9:15 AM To: Michael Egan; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Display Error Did you do anything too apache? You may want to check and make sure the webserver is ok. From: Michael Egan [mailto:michaele at capitalsafety.com] Sent: Friday, March 07, 2008 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Display Error We had to reboot the server that is running Nagios. Now when I try to log into the web site I get the following error: The website cannot display the page Most likely causes: The website is under maintenance The website has a programming error I have stopped and started the Nagios service but I am still getting the error. Any suggestions? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sholikar at yahoo.com Fri Mar 7 16:17:23 2008 From: sholikar at yahoo.com (sachin holikar) Date: Fri, 7 Mar 2008 07:17:23 -0800 (PST) Subject: executing custom script as notification!! Message-ID: <628945.9363.qm@web53205.mail.re2.yahoo.com> Hi, We have this custom made script for sending alert messages to our remote Monitoring Team. Now we are required to integrate this with Nagios. Instead of sending Nagios Email alert, is there any way we can execute this custom made script by sending the parameters such as $SERVICESTATE $HOST etc etc to it? So that, this script will get executed on the host in the case of Nagios Alert Event. And the alert will be sent to our monitoring team? In simplex term we want to execute a script whenever Nagios detects there is a problem. Can someone give some hints ? Thanks in advance. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 16:25:18 2008 From: marc at ena.com (Marc Powell) Date: Fri, 7 Mar 2008 09:25:18 -0600 Subject: executing custom script as notification!! In-Reply-To: <628945.9363.qm@web53205.mail.re2.yahoo.com> References: <628945.9363.qm@web53205.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of sachin holikar > Sent: Friday, March 07, 2008 9:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] executing custom script as notification!! > > Hi, > > We have this custom made script for sending alert messages to our remote > Monitoring Team. Now we are required to integrate this with Nagios. > Instead of sending Nagios Email alert, is there any way we can execute > this custom made script by sending the parameters such as $SERVICESTATE > $HOST etc etc to it? So that, this script will get executed on the host in > the case of Nagios Alert Event. And the alert will be sent to our > monitoring team? > In simplex term we want to execute a script whenever Nagios detects there > is a problem. > Can someone give some hints ? The notification command{} definition(s) are no different than any other plugin command{} definition. You can make it whatever you like and pass standard nagios $MACROS$ to it. The default just happens to call the printf 'script' and pipe it's output to mail. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ojan at gfi.fr Fri Mar 7 15:15:13 2008 From: ojan at gfi.fr (Olivier JAN) Date: Fri, 07 Mar 2008 15:15:13 +0100 Subject: nagios and mod_fastcgi Message-ID: <20080307151513.hqqc22i6sskkc00w@intra.expertise-online.net> Hi list, I was wondering if anyone has tried to setup Nagios cgis to use mod_fastcgi with Apache2 ? Is it makeable ? Are nagios cgis faster under mod_fastcgi ? ... Any feedback would help Olivier Jan http://nagios-fr.org ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 7 16:45:14 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 7 Mar 2008 16:45:14 +0100 Subject: Display Error In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF045D86BB@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF045D86BB@VS2.EXCHPROD.USA.NET> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9577@hermes.sapphire-int.gi> >I stopped and started the httpd service. Is it actually running? Linux: ps -aux | grep httpd Solaris: ps -ef | grep httpd ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 7 16:49:32 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 7 Mar 2008 16:49:32 +0100 Subject: Display Error In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF045D8732@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF045D86BB@VS2.EXCHPROD.USA.NET> <9D30659ABCA7FB428CF91E386C3A5744CF9577@hermes.sapphire-int.gi> <4BE6EDFB3C58E24887D56332993B03AF045D8732@VS2.EXCHPROD.USA.NET> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9578@hermes.sapphire-int.gi> > Giles, > It is running because I have MRTG running on the same server and I can > browse to the graphs. > OK, nice, I forgot you mentioned that. Still looks like an apache problem, I assume you are using a virtual host / host header type set up. And that would need to be checked. When Nagios has a problem or isn't running, Apache normally gives a different error to the one you have described. So from here, it looks like an Apache configuration problem. Cheers, Giles ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 7 16:55:57 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 7 Mar 2008 16:55:57 +0100 Subject: Display Error In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF045D874A@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF045D86BB@VS2.EXCHPROD.USA.NET> <9D30659ABCA7FB428CF91E386C3A5744CF9577@hermes.sapphire-int.gi> <4BE6EDFB3C58E24887D56332993B03AF045D8732@VS2.EXCHPROD.USA.NET> <9D30659ABCA7FB428CF91E386C3A5744CF9578@hermes.sapphire-int.gi> <4BE6EDFB3C58E24887D56332993B03AF045D874A@VS2.EXCHPROD.USA.NET> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9579@hermes.sapphire-int.gi> > Giles, > Isn't there supposed to be a Nagios folder under /var/www/html? If so > it isn't there any more. > Mike, That would depend on installation. You might have something like: Alias /nagios /path/to/nagios/share In your http.conf which will make it work at whatever path as long as permissions are permissible. (post to list, I'm going home in a few minutes and who's going to help you over the weekend?) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsi.com Fri Mar 7 17:26:18 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 7 Mar 2008 11:26:18 -0500 Subject: Performance tuning a host returning resultsvia NSCA In-Reply-To: <20080307045651.GC18474@captain.bridge.anchor.net.au> References: <20080307045651.GC18474@captain.bridge.anchor.net.au> Message-ID: >-----Original Message----- >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >Of Oliver Hookins >Sent: Thursday, March 06, 2008 11:57 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Performance tuning a host >returning resultsvia NSCA > >On Thu Mar 06, 2008 at 22:39:41 -0600, Marc Powell wrote: >> >>On Mar 6, 2008, at 8:17 PM, Oliver Hookins wrote: >> >>> Hi all, >>> >>> I guess performance is a constant problem for everyone but >what I'm >>> seeing >>> doesn't seem to make sense. I have two servers running Nagios, one >>> that is >>> more or less just a frontend and another doing the checks and >>> returning >>> results via send_nsca. Constantly I see the frontend light up with >>> criticals >>> due to the passive results not being received in time (the service >>> freshness timeout is 120 seconds). >> >>How many and are they always the same? What version of nagios? > >The host doing the checks is 2.10 and the frontend is 2.6. There are >anything from just one critical service to dozens. The freshness timer >expires then I have a dummy active check which always returns >critical and >mentions something about the freshness timer expiring. > >The actual services that return critical in these cases are always >different. > >>> >>> >>> I only have 120 passive service checks and 45 passive host checks, >>> so I can >>> assume if none of the hosts are down it is only doing one >check per >>> second. >> >>Nagios doesn't distribute them that evenly but it tries to. I assume >>that you haven't done anything to prevent the parallelization of >>service checks. Is your normal_check_interval exactly 120 >seconds? If >>so, you'll have some checks that happen at that time and >their results >>would be received by the central host after your freshness timeout. >>Also, do you have a lot of host volatility? > >normal_check_interval is 60 seconds for all service checks. >Host volatility >is pretty low, if any. In fact most of the hosts this system >monitors are >very stable. > >>I'd also check communication between the remote and central. Try >>sending passive results manually from the command line to make sure >>they complete in a timely manner (should be fractions of a second). > >It's a WAN link with fairly high latency and low bandwidth, >but according to >iptraf the amount of data being transferred is low anyway. I >guess this is >what I was driving at in my original post - does Nagios only ever call >send_nsca serially? If the service checks are done in parallel >I would have >thought send_nsca would be called in parallel as well. > >-- >Regards, >Oliver Hookins >Anchor Systems I had posted a message that seems along these lines back in January (title "Problem with high latencies after going distributed"). Ultimately, we found that the time for sending OCSP and OCHP commands on the distributed node was sending the check latencies through the roof on the distributed node. Every time Nagios thought it needed to run the command that did the send_nsca, it saw that it might take 10 seconds or so and that kept pushing the service and host times back further and further. Eventually I think we had some latencies of 9000 seconds on the distributed nodes. When we ran this same set of services on a non-distributed system, I think we had latencies of a second. And in our case as well, the central server saw timeouts due to fresheness checking and almost every check was done actively from the central server. The generalized solution to this is to have the ocsp/ochp commands run as quickly as possible -- almost instantly if you can do that. There are already some solutions out there to do that. A couple I saw involved sending check data through a pipe (fifo) and having a separate daemon process at the other end of the pipe to do the actual processing of check data (send_nsca). Nagios is then fooled into thinking that the ocsp/ochp commmand did it job really quickly. Ultimately, I did not like the fifo solution because I have to keep a second process running properly (the fifo consumer) otherwise the fifo will fill up and Nagios will lock up. I ended up "rolling my own" solution where I have Nagios write check data to a file and then have another daemon-ish perl script grab the data every 10 seconds and pump it up as a batch to the central server. If the batch script dies for some reason, then I have a pretty big buffer of time where I can just remove the ocsp/ochp data file, but Nagios is never stopped on the distributed node. I now have sub-second latencies on my distributed nodes. I'm actually surprised that even as of Nagios 3.x, this is still a problem (the speedy sending of distributed check data back to the server) necessitating people to come up with their own unofficial solutions. The standard solution of just making a simple shell script that runs send_nsca with the right arguments that the Nagios books mention causes this problem if you're running any reasonable number of checks from your distributed node. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonmills at email.unc.edu Fri Mar 7 17:52:57 2008 From: jonmills at email.unc.edu (Jonathan Mills) Date: Fri, 7 Mar 2008 11:52:57 -0500 Subject: Probem with nrpe and sudo on rhel5 servers In-Reply-To: <47D11BCD.5030007@nicole-haehnel.de> References: <47D11BCD.5030007@nicole-haehnel.de> Message-ID: Huh, just as a side note, it's probably a bad idea to give the nagios user so many powers in sudo. I've limited it by doing this: nagios ALL=NOPASSWD: /sbin/service nagios restart, \ /sbin/service nagios reload, \ /sbin/service nagios checkconfig In my case, the nagios use only needs to be able to manipulate the nagios daemon, in these pre-defined ways. You can add your own commands. I'm using this on RHEL5 and it's working. In another case, I'm using the hpacucli tool to test the raid status of an HP SmartArray. In my sudoers file on the HP server with the array, I have this: nagios ALL=NOPASSWD: /usr/sbin/hpacucli and in the nrpe.cfg file, I've got this: command[check_hparray]=/usr/local/nagios/check_hparray -s 0 Again, this is RHEL5, and it works great. On Mar 7, 2008, at 5:41 AM, Nicole H?hnel wrote: > Hi, > > I wrote a plugin to check running ipsec tunnels on our gateways. > The plugin needs to have access to /proc/net/ipsec_eroute, so I have > to > run nrpe command with sudo. > > sudoers (for testing): > nagios ALL=(ALL) NOPASSWD: ALL > > nrpe.conf: > command[check_tunnel]=sudo /usr/lib/nagios/plugins/check_tunnel > --tunnels $ARG1$ > > I tested the plugin on the gateway, it works fine, > but with nagios I get "NRPE: Unable to read output". > Running the plugin without sudo, nagios has an output, > but 0 running tunnels. > > Looks like a problem with sudo command on rhel5 servers. > Any ideas? > > > Thanks! > > Nicole > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at tomsommer.dk Fri Mar 7 18:24:05 2008 From: mail at tomsommer.dk (Tom Sommer) Date: Fri, 07 Mar 2008 18:24:05 +0100 Subject: Retry interval on hard states In-Reply-To: References: Message-ID: <47D17A35.9020702@tomsommer.dk> Marc Powell wrote: >> Hi, >> >> I wish to setup the following check interval: >> >> Check the service every 5 minutes >> -> If down then check the service every 1 minute for 3 minutes/times >> -> If still down, notify and continue to check the service every 1 >> minute until it recovers. >> >> I'm having a few problems with the last condition. Basically once the >> notification is sent, Nagios seems to revert to the "normal" check >> interval, which is 5 minutes - resulting in a substantial delay for >> > the > >> recovery notification to be sent. >> > > This is expected behavior. I'm curious, what kind of environment are you > in when up to 5 minute delay in notification of recovery is > 'substantial'? > Well, the current environment/system we run, have the above behavior, and to be honest, I don't understand how it's not default behavior. Normally you would want to know if a service have recovered as soon as possible, I would have it check every 30 seconds if I could. It's especially important for people who are on call, receive a notification, resolve the issue, and then await confirmation of recovery, 5 minutes is a long wait. A simple setting to set this interval sounds trivial and I would think almost required for a monitoring system. -- Tom Sommer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Fri Mar 7 19:10:28 2008 From: webknowledge at gmail.com (Marcel) Date: Fri, 7 Mar 2008 15:10:28 -0300 Subject: Retry interval on hard states In-Reply-To: <47D146B1.4000602@tomsommer.dk> References: <47D146B1.4000602@tomsommer.dk> Message-ID: <2dfcbd1b0803071010g28dc334bvf3b7d5b05cdc7716@mail.gmail.com> I guess that in 3.0rc3 you can modify service check configuration on-demand. Not implemented yet, but you should be able to do something like changing normal_check_interval until it reaches an OK state. Anyone here already come up with a solution to this problem? Cheers On Fri, Mar 7, 2008 at 10:44 AM, Tom Sommer wrote: > Hi, > > I wish to setup the following check interval: > > Check the service every 5 minutes > -> If down then check the service every 1 minute for 3 minutes/times > -> If still down, notify and continue to check the service every 1 > minute until it recovers. > > I'm having a few problems with the last condition. Basically once the > notification is sent, Nagios seems to revert to the "normal" check > interval, which is 5 minutes - resulting in a substantial delay for the > recovery notification to be sent. > > My settings are: > max_check_attempts 3 > check_interval 5 > retry_interval 1 > > Did I miss anything or is the above simply not possible? > > Using 3.0rc3 > > Thanks > -- > Tom Sommer > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Fri Mar 7 19:13:28 2008 From: webknowledge at gmail.com (Marcel) Date: Fri, 7 Mar 2008 15:13:28 -0300 Subject: Retry interval on hard states In-Reply-To: <2dfcbd1b0803071010g28dc334bvf3b7d5b05cdc7716@mail.gmail.com> References: <47D146B1.4000602@tomsommer.dk> <2dfcbd1b0803071010g28dc334bvf3b7d5b05cdc7716@mail.gmail.com> Message-ID: <2dfcbd1b0803071013k5867a4c6o66f60a81dd230438@mail.gmail.com> here it is: http://nagios.sourceforge.net/docs/3_0/adaptive.html On Fri, Mar 7, 2008 at 3:10 PM, Marcel wrote: > I guess that in 3.0rc3 you can modify service check configuration > on-demand. > > Not implemented yet, but you should be able to do something like changing > normal_check_interval until it reaches an OK state. > > Anyone here already come up with a solution to this problem? > > Cheers > > > On Fri, Mar 7, 2008 at 10:44 AM, Tom Sommer wrote: > > > Hi, > > > > I wish to setup the following check interval: > > > > Check the service every 5 minutes > > -> If down then check the service every 1 minute for 3 minutes/times > > -> If still down, notify and continue to check the service every 1 > > minute until it recovers. > > > > I'm having a few problems with the last condition. Basically once the > > notification is sent, Nagios seems to revert to the "normal" check > > interval, which is 5 minutes - resulting in a substantial delay for the > > recovery notification to be sent. > > > > My settings are: > > max_check_attempts 3 > > check_interval 5 > > retry_interval 1 > > > > Did I miss anything or is the above simply not possible? > > > > Using 3.0rc3 > > > > Thanks > > -- > > Tom Sommer > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at tomsommer.dk Fri Mar 7 19:15:10 2008 From: mail at tomsommer.dk (Tom Sommer) Date: Fri, 07 Mar 2008 19:15:10 +0100 Subject: Retry interval on hard states In-Reply-To: <2dfcbd1b0803071013k5867a4c6o66f60a81dd230438@mail.gmail.com> References: <47D146B1.4000602@tomsommer.dk> <2dfcbd1b0803071010g28dc334bvf3b7d5b05cdc7716@mail.gmail.com> <2dfcbd1b0803071013k5867a4c6o66f60a81dd230438@mail.gmail.com> Message-ID: <47D1862E.9060507@tomsommer.dk> Would this feature not be best served being in the core? Marcel wrote: > here it is: > > http://nagios.sourceforge.net/docs/3_0/adaptive.html > > > > On Fri, Mar 7, 2008 at 3:10 PM, Marcel > wrote: > > I guess that in 3.0rc3 you can modify service check configuration > on-demand. > > Not implemented yet, but you should be able to do something like > changing normal_check_interval until it reaches an OK state. > > Anyone here already come up with a solution to this problem? > > Cheers > > > On Fri, Mar 7, 2008 at 10:44 AM, Tom Sommer > wrote: > > Hi, > > I wish to setup the following check interval: > > Check the service every 5 minutes > -> If down then check the service every 1 minute for 3 > minutes/times > -> If still down, notify and continue to check the service every 1 > minute until it recovers. > > I'm having a few problems with the last condition. Basically > once the > notification is sent, Nagios seems to revert to the "normal" check > interval, which is 5 minutes - resulting in a substantial delay > for the > recovery notification to be sent. > > My settings are: > max_check_attempts 3 > check_interval 5 > retry_interval 1 > > Did I miss anything or is the above simply not possible? > > Using 3.0rc3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Fri Mar 7 19:34:41 2008 From: webknowledge at gmail.com (Marcel) Date: Fri, 7 Mar 2008 15:34:41 -0300 Subject: Retry interval on hard states In-Reply-To: <2dfcbd1b0803071010g28dc334bvf3b7d5b05cdc7716@mail.gmail.com> References: <47D146B1.4000602@tomsommer.dk> <2dfcbd1b0803071010g28dc334bvf3b7d5b05cdc7716@mail.gmail.com> Message-ID: <2dfcbd1b0803071034r4813a903i2a1150e5118dc20c@mail.gmail.com> I"ve meant: "I have NOT implemented yet..." - sorry for my bad english. On Fri, Mar 7, 2008 at 3:10 PM, Marcel wrote: > I guess that in 3.0rc3 you can modify service check configuration > on-demand. > > Not implemented yet, but you should be able to do something like changing > normal_check_interval until it reaches an OK state. > > Anyone here already come up with a solution to this problem? > > Cheers > > > On Fri, Mar 7, 2008 at 10:44 AM, Tom Sommer wrote: > > > Hi, > > > > I wish to setup the following check interval: > > > > Check the service every 5 minutes > > -> If down then check the service every 1 minute for 3 minutes/times > > -> If still down, notify and continue to check the service every 1 > > minute until it recovers. > > > > I'm having a few problems with the last condition. Basically once the > > notification is sent, Nagios seems to revert to the "normal" check > > interval, which is 5 minutes - resulting in a substantial delay for the > > recovery notification to be sent. > > > > My settings are: > > max_check_attempts 3 > > check_interval 5 > > retry_interval 1 > > > > Did I miss anything or is the above simply not possible? > > > > Using 3.0rc3 > > > > Thanks > > -- > > Tom Sommer > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whegge at gmail.com Fri Mar 7 20:33:06 2008 From: whegge at gmail.com (Wes Hegge) Date: Fri, 7 Mar 2008 13:33:06 -0600 Subject: check_http problem with version 3.0rc2 Message-ID: Hello everyone, I have this command working on version 2 of Nagios but have not been able to get it to work on version 3.0rc2. Plugins are version 1.4.11. Here is the command: define command{ command_name check_http_backhaul_trango command_line $USER1$/checkk_http -H $HOSTADDRESS$ -a :rabbit -r "var rfAssociated = 1;" } Here is the Host definition: define host{ use backhaul host_name 001-To-040 alias Horizon to Belvidere Grain address 10.251.0.6 } Here is the Service definition: define service{ use trango-backhauls-http host_name 001-To-040 register 1 } The 'use backhaul' and 'use trango-backhauls-http' just set notification and testing intervals. If I run the command from the command line as the nagios user I get: HTTP OK HTTP/1.0 200 OK - 1.196 second response time |time=1.195612s;;;0.000000 size=12225B;;;0 Looks Good! Exactly what I expect. Now when I look at the 'Service Detail' I have this: 001-To-040 Check TBH Status CRITICAL (null) It looks like Nagios is not picking up the return value from the check_http command. I have check the log file it has nothing. Any way to get a more detailed log output? Any ideas? Thanks, -- Wes Hegge - If the phone rings. Its not me. -- Jimmy Buffet -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Fri Mar 7 21:39:48 2008 From: bjlockie at lockie.ca (James) Date: Fri, 7 Mar 2008 15:39:48 -0500 (EST) Subject: Motorola OIDs Message-ID: <17484.24.215.0.20.1204922388.squirrel@webmail.lockie.ca> I am trying to monitor the memory of a Motorola BSR64000 CMTS. I have check commands for Cisco stuff but not Motorola. The Cisco OIDs are: oid_mem5minUsed: 1.3.6.1.4.1.9.9.48.1.1.1.5.1 oid_mem5minFree: 1.3.6.1.4.1.9.9.48.1.1.1.6.1 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Fri Mar 7 21:46:59 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Fri, 07 Mar 2008 21:46:59 +0100 Subject: check_http problem with version 3.0rc2 In-Reply-To: References: Message-ID: <47D1A9C3.9090802@process-zero.de> Wes Hegge schrieb: > Hello everyone, > > I have this command working on version 2 of Nagios but have not been > able to get it to work on version 3.0rc2. Plugins are version 1.4.11. > > Here is the command: > define command{ > command_name check_http_backhaul_trango > command_line $USER1$/checkk_http -H $HOSTADDRESS$ -a :rabbit > -r "var rfAssociated = 1;" > } > Copy and Paste error or did you called it realy checkkkkkkk_http? ;) > > If I run the command from the command line as the nagios user I get: > HTTP OK HTTP/1.0 200 OK - 1.196 second response time > |time=1.195612s;;;0.000000 size=12225B;;;0 > > Looks Good! Exactly what I expect. Now when I look at the 'Service > Detail' I have this: > 001-To-040 Check TBH Status CRITICAL downtime> (null) > Even if there were any problems with Nagios you should see some plugin output after state and before > It looks like Nagios is not picking up the return value from the > check_http command. I have check the log file it has nothing. > > Any way to get a more detailed log output? > Well.... nagios.log would be a beginning. - Hendrik -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2185 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Fri Mar 7 21:49:21 2008 From: brian.murphy at gmx.net (Brian Murphy) Date: Fri, 07 Mar 2008 21:49:21 +0100 Subject: Interface traffic monitoring via snmp Message-ID: <20080307204921.246470@gmx.net> Hi List Running nagios-3rc3 on SLES 10and looking for a cpu/time efficient way to get traffic stats from remote routers. Currently doing this in our test environment with check_iftraffic.pl but this can take over a second to execute, and given that I am anticipating 2 interfaces on each of 600-1000 devices this is a worry to me. Has anyone got a way of doing this through snmppd, which from past experience I imagine would run faster and leaner? Any suggestions welcome Brian -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlin at personalcapital.com Sat Mar 8 00:16:17 2008 From: jlin at personalcapital.com (Julie S. Lin) Date: Fri, 07 Mar 2008 15:16:17 -0800 Subject: check_smtp times out Message-ID: <47D1CCC1.8010002@personalcapital.com> Hi All for one particular server (mail.borken.com) it sporadically comes back "Socket timeout after 10 seconds " when doing smtp_checks. however, another server "outside" the cisco pix firewall works fine doing the same check. other checks involving mail.borken.com come back fine, so firewall doesn't appear to be an issue. below is my configurations.... can anyone kindly point me to things I might want to look at? services.cfg : define service{ use generic-service host_name mail.works.com,mail.borken.com service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 12 normal_check_interval 6 retry_check_interval 1 contact_groups jlin notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } checkcommands.cfg : # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Sat Mar 8 00:20:14 2008 From: vmanojv at rediffmail.com (Mr Manoj) Date: 7 Mar 2008 23:20:14 -0000 Subject: Integrating MIBs with Nagios Message-ID: <20080307232014.31451.qmail@f5mail-237-202.rediffmail.com> Ok fine. how can i intergrate new MIBs with check_snmp. Say, when i receive new vendor MIB, how to comiple those to make Nagios understand about the new MIBs. ----- manu ? On Thu, 06 Mar 2008 Dale J.Chatham wrote : >check_snmp >Mr Manoj wrote: > >? >Hi Friends, >Can you share your ideas on integrating vendor MIBs with Nagios >monitoring system. >Thank you, >Manu. > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. > >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Mar 8 01:18:01 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 7 Mar 2008 16:18:01 -0800 Subject: check_smtp times out In-Reply-To: <47D1CCC1.8010002@personalcapital.com> References: <47D1CCC1.8010002@personalcapital.com> Message-ID: <20080308001801.GR30836@bakgwai.americas.hpqcorp.net> On Fri, 07 Mar 2008, Julie S. Lin wrote: > Hi All > > for one particular server (mail.borken.com) it sporadically comes back > "Socket timeout after 10 seconds " when doing smtp_checks. however, > another server > "outside" the cisco pix firewall works fine doing the same check. other > checks involving mail.borken.com come back fine, so firewall doesn't > appear to be > an issue. > > below is my configurations.... can anyone kindly point me to things I > might want to look at? Mail logs would be where I'd start... either that or manually running the check, maybe inside a shell script loop, until it fails. My first suspicion would be something like a reverse DNS lookup problem against the nagios host address, but that's a total guess. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Mar 8 01:23:29 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 7 Mar 2008 16:23:29 -0800 Subject: Integrating MIBs with Nagios In-Reply-To: <20080307232014.31451.qmail@f5mail-237-202.rediffmail.com> References: <20080307232014.31451.qmail@f5mail-237-202.rediffmail.com> Message-ID: <20080308002329.GS30836@bakgwai.americas.hpqcorp.net> On Fri, 07 Mar 2008, Mr Manoj wrote: > Ok fine. how can i intergrate new MIBs with check_snmp. > > Say, when i receive new vendor MIB, how to comiple those to make > Nagios understand about the new MIBs. Nagios doesn't deal directly with MIBs at all -- really, all they all is a standard format for documenting the SNMP information from a given device. To use that information, well, that depends on what's in the MIBs, and what you care about. Look through the MIBs, and add check_snmp checks against the OIDS you care about. Unless they're traps, in which case this is a good starting point: http://www.nagios.org/faqs/viewfaq.php?faq_id=29 In either case, you don't *need* MIBs at all. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 8 16:18:56 2008 From: marc at ena.com (Marc Powell) Date: Sat, 8 Mar 2008 09:18:56 -0600 Subject: check_smtp times out In-Reply-To: <47D1CCC1.8010002@personalcapital.com> References: <47D1CCC1.8010002@personalcapital.com> Message-ID: <6D1580EF-D113-4EA5-84EA-55CDAA531E90@ena.com> On Mar 7, 2008, at 5:16 PM, Julie S. Lin wrote: > Hi All > > for one particular server (mail.borken.com) it sporadically comes > back > "Socket timeout after 10 seconds " when doing smtp_checks. however, > another server > "outside" the cisco pix firewall works fine doing the same check. > other > checks involving mail.borken.com come back fine, so firewall doesn't > appear to be > an issue. > > below is my configurations.... can anyone kindly point me to things I > might want to look at? The question you should be asking is why it sometimes taking mail.borken.com more than 10 seconds to respond to a connect with a banner and exit after a QUIT command. Is this a busy server? Do you use anything like greet-pause on it? As previously mentioned, the mail logs on that server might provide some insight but also running check_smtp from the command line while it's happening (with -v) might be helpful. Also telnetting directly from the command line might prove informative... $ telnet mail.borken.com 25 Trying ... Connected to mail.borken.com (). Escape character is '^]'. 220 mail.borken.com banner; Sat, 8 Mar 2008 09:09:44 -0600 quit 221 2.0.0 mail.borken.com closing connection Connection closed by foreign host. $ -- marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Sat Mar 8 23:04:23 2008 From: alexus at gmail.com (alexus) Date: Sat, 8 Mar 2008 17:04:23 -0500 Subject: nrpe/plugin Message-ID: <6ae50c2d0803081404y1f186f89je14195be52eb7aab@mail.gmail.com> hi i ran into one very interesting issue whenever i do from nagios box d# ./check_nrpe -H XX.XX.XX.XX -c check_procs -a rsync PROCS OK: 1 process with args 'rsync' /(!8@((c)? d# what with those extra characters?? on remote box in debug log i see following Mar 8 16:58:02 box nrpe[61700]: Connection from XX.XX.XX.XX port 26050 Mar 8 16:58:02 box nrpe[61700]: Host address is in allowed_hosts Mar 8 16:58:02 box nrpe[61700]: Handling the connection... Mar 8 16:58:02 box nrpe[61700]: Host is asking for command 'check_procs' to be run... Mar 8 16:58:02 box nrpe[61700]: Running command: /usr/local/nagios/libexec/check_procs -a rsync Mar 8 16:58:02 box nrpe[61700]: Command completed with return code 0 and output: PROCS OK: 1 process with args 'rsync' /(!8@(^D^H^R Mar 8 16:58:02 box nrpe[61700]: Return Code: 0, Output: PROCS OK: 1 process with args 'rsync' /(!8@(^D^H^R Mar 8 16:58:02 box nrpe[61700]: Connection from 64.237.55.82 closed. yet if i issue command myself su-3.2# /usr/local/nagios/libexec/check_procs -a rsync PROCS OK: 0 processes with args 'rsync' su-3.2# any ideas? -- http://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Mar 8 23:29:04 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 08 Mar 2008 23:29:04 +0100 Subject: check_smtp times out In-Reply-To: <47D1CCC1.8010002@personalcapital.com> References: <47D1CCC1.8010002@personalcapital.com> Message-ID: <47D31330.2050805@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Julie S. Lin wrote: | Hi All | | for one particular server (mail.borken.com) it sporadically comes back | "Socket timeout after 10 seconds " when doing smtp_checks. however, | another server | "outside" the cisco pix firewall works fine doing the same check. other | checks involving mail.borken.com come back fine, so firewall doesn't | appear to be | an issue. If you use any sort of SMTP checkup in your Cisco device then you should count yourself lucky only the Nagios traffic is impaired. SMTP is broken is so many ways inside Cisco equipment I can only recommend to disable it completely and protect your SMTP traffic with a real solution. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFH0xMsBvzDRVjxmYERApexAKCPHt3sJfh+4RNJzVX/pP8h+Zdh4QCZAcyq 4GnpDPc+638no6ZA55oMA4k= =cs4R -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Sun Mar 9 01:45:16 2008 From: vmanojv at rediffmail.com (Nair) Date: 9 Mar 2008 00:45:16 -0000 Subject: Integrating MIBs with Nagios Message-ID: <20080309004516.22730.qmail@f5mail-237-205.rediffmail.com> As i understand check_snmp internally used net-snmpd for its snmp communication. In that case if that any use of keeping new MIBs to /usr/share/snmp/mibs of Nagios server. Also, is there any tool to read OID from MIB files. Please clarify. Thanks, Manu. On Sat, 08 Mar 2008 Patrick Morris wrote : >On Fri, 07 Mar 2008, Mr Manoj wrote: > > > Ok fine. how can i intergrate new MIBs with check_snmp. > > > > Say, when i receive new vendor MIB, how to comiple those to make > > Nagios understand about the new MIBs. > >Nagios doesn't deal directly with MIBs at all -- really, all they all is >a standard format for documenting the SNMP information from a given >device. > >To use that information, well, that depends on what's in the MIBs, and >what you care about. Look through the MIBs, and add check_snmp checks >against the OIDS you care about. Unless they're traps, in which case >this is a good starting point: > >http://www.nagios.org/faqs/viewfaq.php?faq_id=29 > >In either case, you don't *need* MIBs at all. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marknassy at gmail.com Sun Mar 9 14:20:12 2008 From: marknassy at gmail.com (Mark Nassy) Date: Sun, 9 Mar 2008 09:20:12 -0400 Subject: NC_Net and Avg. Disk sec/Read warning and critical values In-Reply-To: References: Message-ID: <16F5425F-B388-48D6-BD96-11371E129E39@gmail.com> hi, i would like to (temporarily) monitor the Avg. Disk sec/Read performance values using nagios. i would like to set -w to 0.02 (20 ms) and -c 0.05 (50 ms). the results returned from nc_net are returned in seconds and nc_net uses an integer for -w and -c. is there anyway to convert the values returned from the performance monitoring to ms or have NC_Net use a float? or is there another alternative? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxmail at 4lin.net Sun Mar 9 16:14:01 2008 From: linuxmail at 4lin.net (Denny Schierz) Date: Sun, 09 Mar 2008 16:14:01 +0100 Subject: HA with Nagios3 + NDOutils (mysql) (+ OTRS) ? Message-ID: <47D3FEB9.9020507@4lin.net> hi, i've never used freeBSD (6.2) before and now im build a Nagios3(rc3) server to make checks from some server (active_checks), switches (active_checks), some other devices (passive_checks) and so on. Under Linux i know, how to build HA setups (like heartbeat and DRBD), but i dont' know anything from freeBSD. So, what is the prefered way with MySQL as backend via NDOutils (and NagiosQL, OTRS (ticket system) Nagviz etc. pp.) any hints could be usefull :-) cu denny -- Stoppt den ?berwachungswahn - Stoppt den Sch?uble Katalog: http://www.nopsis.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Mar 10 00:37:28 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Mar 2008 00:37:28 +0100 Subject: Bug with check_ping v1810 (nagios-plugins 1.4.11) Message-ID: <47D474B8.1090307@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I just updated a server today and a bit later it seems a significant part of the network was down right after the update. It was working great untill then and at first I was suspecting an issue with the POP of SIXXS as my IPv6 connectivity seemed to be down. But with further troubleshooting I noticed that check_ping is all of a sudden barfing over IPv6 addresses. Like: # /usr/lib/nagios/plugins/check_ping -6 -H 2001:610:600:2cf::1 -w 1000,50% -c 5000,100% CRITICAL - Host not found (2001:610:600:2cf::1) This was never an issue with any plugin untill I did an update this morning on my Centos 4 machine. The package nagios-plugins 1.4.9 was fine but 1.4.11 is broken in this particular manner. So check_ping v1.81 (aka: 1810) (part of the 1.4.11 plugins) is broken. And check_ping v1.61 (part of the 1.4.9 plugins) is not broken. While there could always be a particular packager issue at hand I have no reason to suspect that this is a problem created by Dag. And check_ping is the only package that seems to suffer from this issue. I can do HTTP, SMTP, IMAP, .... connections to the IPv6 host without a problem and those Nagios plugins report no problem. For the moment I have reverted check_ping back to the older one to make things work again. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFH1HS1BvzDRVjxmYERAlaCAKCW9mEh4mkql7icoqt8V3RP1jiDUgCfTG82 huiLr6ujBaSn8unOrJbpqic= =0wvs -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Mon Mar 10 03:12:21 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Sun, 9 Mar 2008 19:12:21 -0700 (PDT) Subject: missing info in notifications Message-ID: <489098.59026.qm@web62412.mail.re1.yahoo.com> I have enabled notification via email. I just notice there are some missing info in the notification. Here is a sample ***** Nagios ***** Notification Type: PROBLEM Service: Host: BAP Web1 Server Address: X.X.X.X State: Date/Time: Mon Mar 10 09:49:55 PHT 2008 Additional Info: ------------------------------------- Nothing follows It doesn't indicated the service,state and additional info. I have checked misscommands.cfg but don't know where to look for the variables. ____________________________________________________ Tired of spam? Yahoo! Mail has the best spam protection around http://ph.mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 03:27:44 2008 From: marc at ena.com (Marc Powell) Date: Sun, 9 Mar 2008 21:27:44 -0500 Subject: missing info in notifications In-Reply-To: <489098.59026.qm@web62412.mail.re1.yahoo.com> References: <489098.59026.qm@web62412.mail.re1.yahoo.com> Message-ID: On Mar 9, 2008, at 9:12 PM, Nelson Serafica wrote: > I have enabled notification via email. I just notice there are some > missing info in the notification. Here is a sample > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: > Host: BAP Web1 Server > Address: X.X.X.X > State: > > Date/Time: Mon Mar 10 09:49:55 PHT 2008 > > Additional Info: > > ------------------------------------- Nothing follows > > It doesn't indicated the service,state and additional info. I have > checked misscommands.cfg but don't know where to look for the > variables. Look at the *_notification_commands specified for the contact{}. Look at that command{} definitions for those commands. Verify that you are using $MACROS$ appropriate for your version of nagios. You almost certainly are not. These links are for 2.x, the version you should probably be using... -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Mon Mar 10 03:38:15 2008 From: alexus at gmail.com (alexus) Date: Sun, 9 Mar 2008 22:38:15 -0400 Subject: nrpe/plugin In-Reply-To: <6ae50c2d0803081404y1f186f89je14195be52eb7aab@mail.gmail.com> References: <6ae50c2d0803081404y1f186f89je14195be52eb7aab@mail.gmail.com> Message-ID: <6ae50c2d0803091938h7a0a62d3y9bc9b6537b9fbd46@mail.gmail.com> anyone?? On Sat, Mar 8, 2008 at 6:04 PM, alexus wrote: > hi > > i ran into one very interesting issue > > whenever i do from nagios box > > d# ./check_nrpe -H XX.XX.XX.XX -c check_procs -a rsync > PROCS OK: 1 process with args 'rsync' > /(!8@((c)? > d# > > what with those extra characters?? > > on remote box in debug log i see following > > Mar 8 16:58:02 box nrpe[61700]: Connection from XX.XX.XX.XX port 26050 > Mar 8 16:58:02 box nrpe[61700]: Host address is in allowed_hosts > Mar 8 16:58:02 box nrpe[61700]: Handling the connection... > Mar 8 16:58:02 box nrpe[61700]: Host is asking for command > 'check_procs' to be run... > Mar 8 16:58:02 box nrpe[61700]: Running command: > /usr/local/nagios/libexec/check_procs -a rsync > Mar 8 16:58:02 box nrpe[61700]: Command completed with return code 0 > and output: PROCS OK: 1 process with args 'rsync' /(!8@(^D^H^R > Mar 8 16:58:02 box nrpe[61700]: Return Code: 0, Output: PROCS OK: 1 > process with args 'rsync' /(!8@(^D^H^R > Mar 8 16:58:02 box nrpe[61700]: Connection from 64.237.55.82 closed. > > yet if i issue command myself > > su-3.2# /usr/local/nagios/libexec/check_procs -a rsync > PROCS OK: 0 processes with args 'rsync' > su-3.2# > > any ideas? > > > > -- > http://alexus.org/ > -- http://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Mon Mar 10 04:11:45 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Sun, 9 Mar 2008 20:11:45 -0700 (PDT) Subject: missing info in notifications Message-ID: <242788.74403.qm@web62408.mail.re1.yahoo.com> Thanks. My host_notification_commands is notify-by-email. Here is the snippet of notify-by-email: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HO STALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } If macros are not enabled, why $HOSTALIAS$ and $HOSTADDRESS$ has a value? Do you think the problem is in the services.cfg only because most of the missing variables is related to services? I'm using Nagios 2.10 ----- Original Message ---- From: Marc Powell To: Nagios Users Mailinglist Sent: Monday, March 10, 2008 10:27:44 AM Subject: Re: [Nagios-users] missing info in notifications On Mar 9, 2008, at 9:12 PM, Nelson Serafica wrote: > I have enabled notification via email. I just notice there are some > missing info in the notification. Here is a sample > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: > Host: BAP Web1 Server > Address: X.X.X.X > State: > > Date/Time: Mon Mar 10 09:49:55 PHT 2008 > > Additional Info: > > ------------------------------------- Nothing follows > > It doesn't indicated the service,state and additional info. I have > checked misscommands.cfg but don't know where to look for the > variables. Look at the *_notification_commands specified for the contact{}. Look at that command{} definitions for those commands. Verify that you are using $MACROS$ appropriate for your version of nagios. You almost certainly are not. These links are for 2.x, the version you should probably be using... -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ____________________________________________________ Tired of spam? Yahoo! Mail has the best spam protection around http://ph.mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 04:18:25 2008 From: marc at ena.com (Marc Powell) Date: Sun, 9 Mar 2008 22:18:25 -0500 Subject: missing info in notifications In-Reply-To: <242788.74403.qm@web62408.mail.re1.yahoo.com> References: <242788.74403.qm@web62408.mail.re1.yahoo.com> Message-ID: On Mar 9, 2008, at 10:11 PM, Nelson Serafica wrote: > Thanks. My host_notification_commands is notify-by-email. Here is > the snippet of notify-by-email: > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n > \nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ > \nHost: $HO > STALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/ > Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/ > mail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > If macros are not enabled, why $HOSTALIAS$ and $HOSTADDRESS$ has a > value? Do you think the problem is in the services.cfg only because > most of the missing variables is related to services? Macros are always enabled but in your case, $SERVICE*$ macros don't make any sense for host notifications and aren't available for them. They're only valid for service notifications. You need to use the corresponding $HOST*$ macros as detailed on the macros documentation. The sample config files ship with a notify-by-email for service notifications and host-notify-by-email for host notifications. You should see if you already have one defined and use it instead. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 04:31:22 2008 From: marc at ena.com (Marc Powell) Date: Sun, 9 Mar 2008 22:31:22 -0500 Subject: nrpe/plugin In-Reply-To: <6ae50c2d0803091938h7a0a62d3y9bc9b6537b9fbd46@mail.gmail.com> References: <6ae50c2d0803081404y1f186f89je14195be52eb7aab@mail.gmail.com> <6ae50c2d0803091938h7a0a62d3y9bc9b6537b9fbd46@mail.gmail.com> Message-ID: Make sure you're using the latest version of check_procs. Make sure you're using the latest version of NRPE. Otherwise, provide version information for everything, including OS and how you installed the plugins/NRPE in case someone wants to try to reproduce it. -- Marc p.s. Don't test as root. Nagios isn't running the plugin as root so you may see different results. On Mar 9, 2008, at 9:38 PM, alexus wrote: > anyone?? > > > On Sat, Mar 8, 2008 at 6:04 PM, alexus wrote: >> hi >> >> i ran into one very interesting issue >> >> whenever i do from nagios box >> >> d# ./check_nrpe -H XX.XX.XX.XX -c check_procs -a rsync >> PROCS OK: 1 process with args 'rsync' >> /(!8@((c)? >> d# >> >> what with those extra characters?? >> >> on remote box in debug log i see following >> >> Mar 8 16:58:02 box nrpe[61700]: Connection from XX.XX.XX.XX port >> 26050 >> Mar 8 16:58:02 box nrpe[61700]: Host address is in allowed_hosts >> Mar 8 16:58:02 box nrpe[61700]: Handling the connection... >> Mar 8 16:58:02 box nrpe[61700]: Host is asking for command >> 'check_procs' to be run... >> Mar 8 16:58:02 box nrpe[61700]: Running command: >> /usr/local/nagios/libexec/check_procs -a rsync >> Mar 8 16:58:02 box nrpe[61700]: Command completed with return code 0 >> and output: PROCS OK: 1 process with args 'rsync' /(! >> 8@(^D^H^R >> Mar 8 16:58:02 box nrpe[61700]: Return Code: 0, Output: PROCS OK: 1 >> process with args 'rsync' /(!8@(^D^H^R >> Mar 8 16:58:02 box nrpe[61700]: Connection from 64.237.55.82 closed. >> >> yet if i issue command myself >> >> su-3.2# /usr/local/nagios/libexec/check_procs -a rsync >> PROCS OK: 0 processes with args 'rsync' >> su-3.2# >> >> any ideas? >> >> >> >> -- >> http://alexus.org/ >> > > > > -- > http://alexus.org/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dirk.schulz at kinzesberg.de Mon Mar 10 08:24:43 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Mon, 10 Mar 2008 08:24:43 +0100 Subject: Checking http with forms and login Message-ID: <55E1D70BBFEAD5148039EDEE@Dirks-MacBook-Pro.local> Hi folks, I have searched nagiosexchange and the list archives, but found nothing appropriate. I would like to be able to check web sites that you have to log into with name and password. Is there a plugin that can do that? Has anybody ever found a solution to this? Any hint or help will be appreciated. Thanks, Dirk ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ojan at gfi.fr Mon Mar 10 08:55:34 2008 From: ojan at gfi.fr (Olivier JAN) Date: Mon, 10 Mar 2008 08:55:34 +0100 Subject: Checking http with forms and login In-Reply-To: <55E1D70BBFEAD5148039EDEE@Dirks-MacBook-Pro.local> References: <55E1D70BBFEAD5148039EDEE@Dirks-MacBook-Pro.local> Message-ID: <20080310085534.yjrg6fntus44c04s@intra.expertise-online.net> Hi, Webinject can do such things and has an output formatted for Nagios. You can use it as a standard Nagios plugin. Olivier Jan "Dirk H. Schulz" a ?crit : > Hi folks, > > I have searched nagiosexchange and the list archives, but found nothing > appropriate. > > I would like to be able to check web sites that you have to log into with > name and password. Is there a plugin that can do that? Has anybody ever > found a solution to this? > > Any hint or help will be appreciated. > > Thanks, > > Dirk > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at nicole-haehnel.de Mon Mar 10 08:59:49 2008 From: ml at nicole-haehnel.de (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Mon, 10 Mar 2008 08:59:49 +0100 Subject: Probem with nrpe and sudo on rhel5 servers In-Reply-To: <47D153A9.4060908@locus.net> References: <47D11BCD.5030007@nicole-haehnel.de> <47D153A9.4060908@locus.net> Message-ID: <47D4EA75.9040700@nicole-haehnel.de> Hi, yes, commenting out "Defaults requiretty" works. Big thanks! Nicole Andrew Norris schrieb: > Have you tried commenting out the following line in sudoers? > > "Defaults requiretty" > > I got hit by that one moving ssh checks from centos4 to centos5. > > Nicole H?hnel wrote: >> Hi, >> >> I wrote a plugin to check running ipsec tunnels on our gateways. >> The plugin needs to have access to /proc/net/ipsec_eroute, so I have to >> run nrpe command with sudo. >> >> sudoers (for testing): >> nagios ALL=(ALL) NOPASSWD: ALL >> >> nrpe.conf: >> command[check_tunnel]=sudo /usr/lib/nagios/plugins/check_tunnel >> --tunnels $ARG1$ >> >> I tested the plugin on the gateway, it works fine, >> but with nagios I get "NRPE: Unable to read output". >> Running the plugin without sudo, nagios has an output, >> but 0 running tunnels. >> >> Looks like a problem with sudo command on rhel5 servers. >> Any ideas? >> >> >> Thanks! >> >> Nicole >> >> >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MachielR at agilitytech.co.za Mon Mar 10 11:42:30 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Mon, 10 Mar 2008 12:42:30 +0200 Subject: Will this command for nagios work? Message-ID: <350DEB176C3F20459BE245610997FD7F020790D7@caretech.co.za> Hi everyone I hope someone can help me out.... We are running a server (suse 9.3 using oracle database) that have some database services/components that needs to be monitored by simply checking whether the component is Alive / Down and notifying everyone if the component is down. We have written the custom commands into scripts for the separate components and the only output it provides is Alive / Down. The question I have is regarding the command that I need to enter into the nrpe.cfg file on the server...will the command as below work or do we need to design the scripts in a different way? command[check_service]=/usr/local/nagios/libexec/check_service -c Down regards machiel *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 10 14:06:40 2008 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 10 Mar 2008 14:06:40 +0100 Subject: LB-OT: check_ping in LAN Message-ID: <200803101406.40851.misch@multinet.de> Hi, I have a little bit off topic problem here. My nagios machine is attached to the switch of our internal LAN. All other boxes are attached to that switch also. I have about 5 servers configured in nagios. Only ONE of there 5 server shows problems with the check_ping check. The check_ping results sometimes with more that 100ms time in our internal LAN. This happens about twice per hour. All other servers are fine. Difference between the servers: One Windows, all other Linux. Did anybody see such problems (>100ms ping time in LAN)? Is there any other explanation that obious Windows-bashing? Thanks for any help. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 14:54:00 2008 From: marc at ena.com (Marc Powell) Date: Mon, 10 Mar 2008 08:54:00 -0500 Subject: LB-OT: check_ping in LAN In-Reply-To: <200803101406.40851.misch@multinet.de> References: <200803101406.40851.misch@multinet.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Schwartzkopff > Sent: Monday, March 10, 2008 8:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] LB-OT: check_ping in LAN > > Hi, > > I have a little bit off topic problem here. > > My nagios machine is attached to the switch of our internal LAN. All other > boxes are attached to that switch also. I have about 5 servers configured in > nagios. Only ONE of there 5 server shows problems with the check_ping check. > > The check_ping results sometimes with more that 100ms time in our internal > LAN. This happens about twice per hour. All other servers are fine. > Difference between the servers: > One Windows, all other Linux. > > Did anybody see such problems (>100ms ping time in LAN)? > Is there any other explanation that obious Windows-bashing? Speed and duplex mismatch between the switch and the machine? Bad port on the switch or machine? Bad cable? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 10 15:09:03 2008 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 10 Mar 2008 15:09:03 +0100 Subject: LB-OT: check_ping in LAN In-Reply-To: References: Message-ID: <200803101509.03612.misch@multinet.de> Am Montag, 10. M?rz 2008 14:54 schrieb Marc Powell: (...) > > Did anybody see such problems (>100ms ping time in LAN)? > > Is there any other explanation that obious Windows-bashing? > > Speed and duplex mismatch between the switch and the machine? Bad port > on the switch or machine? Bad cable? thanks. I will check it. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Mon Mar 10 16:25:33 2008 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs?=) Date: Mon, 10 Mar 2008 16:25:33 +0100 Subject: Histogram Message-ID: <1205162733.25245.13.camel@kloaca> Hi! i'mtrying to get some reports from Nagios Alert Histogram, but when i select a host, and an interval, it return me a clean graph with no drawings inside (I assure that nagios have data about this interval). I've tried several intervals and i got same result. Curiosly, when i try with a service it works... what can be happening? I'm using Nagios 2.6. Thanks in advance! ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Mar 10 21:07:35 2008 From: td3201 at gmail.com (Terry) Date: Mon, 10 Mar 2008 15:07:35 -0500 Subject: OT?: email to voice Message-ID: <8ee061010803101307g59b581as9cf39fa376c93c47@mail.gmail.com> All, Anyone have recommendations as to a service that you can send emails to and it will then turn around and call and read that email to you? myesa.com did this at one time and it worked pretty well, but curious about other solutions out there. Thanks, Terry ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Chapin at t8design.com Mon Mar 10 21:11:27 2008 From: Jeff.Chapin at t8design.com (Jeff Chapin) Date: Mon, 10 Mar 2008 15:11:27 -0500 Subject: OT?: email to voice In-Reply-To: <8ee061010803101307g59b581as9cf39fa376c93c47@mail.gmail.com> References: <8ee061010803101307g59b581as9cf39fa376c93c47@mail.gmail.com> Message-ID: <9A53DDE1FE082F4D952FDF20AC87E21F64CCCA@exchange2.t8design.com> For a project we work with, we use the for-pay service located here: http://cafe.bevocal.com/index.html I've never worked with it directly, all I know is that it does read emails out over the phone, but you have to be careful to craft the emails phonetically to get the correct pronunciation. JEFF CHAPIN SYSTEMS ADMINISTRATOR T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry Sent: Monday, March 10, 2008 3:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] OT?: email to voice All, Anyone have recommendations as to a service that you can send emails to and it will then turn around and call and read that email to you? myesa.com did this at one time and it worked pretty well, but curious about other solutions out there. Thanks, Terry ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxmail at 4lin.net Mon Mar 10 22:53:16 2008 From: linuxmail at 4lin.net (Denny Schierz) Date: Mon, 10 Mar 2008 22:53:16 +0100 Subject: getting snmptt working -> unknown traps Message-ID: <47D5ADCC.4060902@4lin.net> hi, i'm trying to get snmptt working but i have no success. The trap receiver snmptrapd is running and he receives traps: Nagios 3rc3 NagTrap Version 0.1.2: MySQL 5.x ps ax | grep snmp 6493 ?? Ss 0:00.69 snmptrapd -Lf /var/log/snmptt.debug -On -C -c /usr/local/share/snmp/snmpd.conf my snmpd.conf looks like: ##### disableAuthorization yes traphandle default /usr/local/sbin/snmptt ini=/usr/local/etc/snmptt.ini ##### and now the snmptt.ini ##### [General] snmptt_system_name = logserver mode = standalone multiple_event = 1 dns_enable = 0 strip_domain = 0 strip_domain_list = < -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Mar 10 23:05:30 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 10 Mar 2008 15:05:30 -0700 Subject: getting snmptt working -> unknown traps In-Reply-To: <47D5ADCC.4060902@4lin.net> References: <47D5ADCC.4060902@4lin.net> Message-ID: <20080310220530.GJ16638@bakgwai.americas.hpqcorp.net> Hi Denny! On Mon, 10 Mar 2008, Denny Schierz wrote: > EVENT ascEvoNotif .1.3.6.1.4.1.4063.2.1.1.1 "Status Events" Normal > FORMAT RecorderID: $1 > Mon Mar 10 10:17:38 2008: Unknown trap (.1.3.6.1.4.1.4063.2.1.2) > received from asc2.foo.com at: > Value 0: asc2.foo.com > Value 1: 16.24.37.23 > Value 2: 10:19:18:29.24 > Value 3: .1.3.6.1.4.1.4063.2.1.2 > Value 4: 16.24.37.23 > > if i test to translate, it works: > > snmptranslate .1.3.6.1.4.1.4063.2.1.2 > ASC-SNMP-MIB-EXT::ascEvoObj > > so, why are these traps unknown? any suggestions? You have not configured snmptt to handle this trap. .1.3.6.1.4.1.4063.2.1.1.1 is not the same as .1.3.6.1.4.1.4063.2.1.2 You're also really asking the wrong list, as this really 9at least to this point) is completely unrelated to Nagios. https://lists.sourceforge.net/lists/listinfo/snmptt-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Mon Mar 10 23:50:29 2008 From: perldork at webwizarddesign.com (Max) Date: Mon, 10 Mar 2008 17:50:29 -0500 Subject: Anyone know of add-ons / patches to Nagios that produce XML output for host and service statuses? Message-ID: Hi, I saw NXE, but it was for 1.x. Ideally status.cgi would have a mode=xml param :) to produce well-formed XML output so that external programs could have a nice HTTP-based interface, I think this would be hugely useful. I have searched for other projects, but only found NXE. Anyone know of others? I really wish I had the time to patch status.cgi and create an XML mode :) .. anyone made attempts at this? Regards, Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Tue Mar 11 03:38:39 2008 From: termx23 at gmail.com (Peter Edmonds) Date: Tue, 11 Mar 2008 13:38:39 +1100 Subject: OT?: email to voice In-Reply-To: <9A53DDE1FE082F4D952FDF20AC87E21F64CCCA@exchange2.t8design.com> References: <8ee061010803101307g59b581as9cf39fa376c93c47@mail.gmail.com> <9A53DDE1FE082F4D952FDF20AC87E21F64CCCA@exchange2.t8design.com> Message-ID: <6b8cee7e0803101938p642491dag4a8b512a8eb25a18@mail.gmail.com> > Anyone have recommendations as to a service that you can send emails > to and it will then turn around and call and read that email to you? I set this up a little while back using the instructions from http://www.groundworkopensource.com/community/forums/viewtopic.php?t=1152 Uses Flite to convert the text to speech and Asterisk to do the calling out to your telephone. Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Tue Mar 11 04:37:56 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Mon, 10 Mar 2008 20:37:56 -0700 (PDT) Subject: advice in my customize plugins Message-ID: <914933.44642.qm@web62406.mail.re1.yahoo.com> We are customizing nagios to send an txt to our mobile phone. The setup is this. If there is a critical in every host/service, it must visit the url http://x.x.x.x/commigx/iserver?page=sms_sendsms.. I tried to do this by putting the ff in the miscommands.cfg: define command{ command_name notify-by-txt command_line /usr/bin/links "http://X.X.X.X/commigx/iserver?page=sms_sendsmsmessage&multi_recipients=+6388888888&smsmessage=t esting&username=nagios&NOEXPIRE" } I put notify-by-txt in the contacts.cfg restart nagios. But still no txt message received. But when I do manually in the shell the command specified in the command_line in miscommands.cfg, there is no problem. I can received the text successfully. Any advise? I'm still doing trial and error up to now but need some advise from the expert from the forum. ____________________________________________________ Tired of spam? Yahoo! Mail has the best spam protection around http://ph.mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxmail at 4lin.net Tue Mar 11 09:34:01 2008 From: linuxmail at 4lin.net (Denny Schierz) Date: Tue, 11 Mar 2008 09:34:01 +0100 Subject: getting snmptt working -> unknown traps In-Reply-To: <20080310220530.GJ16638@bakgwai.americas.hpqcorp.net> References: <47D5ADCC.4060902@4lin.net> <20080310220530.GJ16638@bakgwai.americas.hpqcorp.net> Message-ID: <47D643F9.5030304@4lin.net> Hi Patrick, Patrick Morris schrieb: > You have not configured snmptt to handle this trap. > > .1.3.6.1.4.1.4063.2.1.1.1 is not the same as .1.3.6.1.4.1.4063.2.1.2 oh, it seems, that the manufacture has send me the wrong MIB, if i understand you right (i hope) > You're also really asking the wrong list, as this really 9at least to > this point) is completely unrelated to Nagios. > > https://lists.sourceforge.net/lists/listinfo/snmptt-users absolute ... i did nothing, but nagios the last weeks, so ... to ask the snmp list is a good way to resolve my problem :-) thanks a lot -- Stoppt den ?berwachungswahn - Stoppt den Sch?uble Katalog: http://www.nopsis.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javi80mix at gmail.com Tue Mar 11 09:51:41 2008 From: javi80mix at gmail.com (javi lopez) Date: Tue, 11 Mar 2008 09:51:41 +0100 Subject: nagios 2.10 test nrpe Message-ID: <929999eb0803110151m5584ed95m6ef83d6b4a3d603f@mail.gmail.com> hello everybody and thanks for your help, this is my problem: I have some hosts with Service -> Test_nrpe_services, and show me this status information: AD WARNING - [WARNING] You are logged on as a local user. (NT AUTHORITY\SYSTEM) [WARNING] You are logged on as a local user. (NT AUTHORITY\SYSTEM) this problem occurs when the miniport wan is disabled, because if i enable this miniport, nagios show me other warning in that port. How can i fix this warning? My nagios is 2.10.Thanks, and sorry my english. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Mar 11 10:04:44 2008 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Tue, 11 Mar 2008 09:04:44 +0000 Subject: Anyone know of add-ons / patches to Nagios that produce XML output for host and service statuses? In-Reply-To: References: Message-ID: <4e0e33ee0803110204q44f920a1x7f9a8be15f69743a@mail.gmail.com> Hi, if you are using the ndo backend it is very simple to create an xml from a db : mysqldump -xml ... Seb. On Mon, Mar 10, 2008 at 10:50 PM, Max wrote: > Hi, > > I saw NXE, but it was for 1.x. Ideally status.cgi would have a > mode=xml param :) to produce well-formed XML output so that external > programs could have a nice HTTP-based interface, I think this would be > hugely useful. > > I have searched for other projects, but only found NXE. > > Anyone know of others? I really wish I had the time to patch > status.cgi and create an XML mode :) .. anyone made attempts at this? > > Regards, > Max > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MachielR at agilitytech.co.za Tue Mar 11 11:19:45 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Tue, 11 Mar 2008 12:19:45 +0200 Subject: Nagios memory percentages Message-ID: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> Hi Everyone Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. My question is this... I can use the command free to get the amount of memory , used, free etc... How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Tue Mar 11 12:14:55 2008 From: dale at chatham.org (Dale J. Chatham) Date: Tue, 11 Mar 2008 06:14:55 -0500 Subject: Nagios memory percentages In-Reply-To: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> Message-ID: <47D669AF.9040500@chatham.org> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Tue Mar 11 12:16:59 2008 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs?=) Date: Tue, 11 Mar 2008 12:16:59 +0100 Subject: Histogram In-Reply-To: References: Message-ID: <1205234219.1978.6.camel@kloaca> Yes, i've got tons of chronological log archives at /var/log/nagios/archives. Is this the right place? El lun, 10-03-2008 a las 14:38 -0400, Valdinger, Stephen (DOV, MSX) escribi?: > Are you retaining state information for the hosts? Sounds like a retention problem. Check to make sure there is historical data about your hosts in the Nagios /var directory. > > Stephen Valdinger > MIS Helpdesk Coordinator > 330-365-3622 > stephen.valdinger at doverchem.com > > > Why do we tell computers to shut down and people to shut up? > > > -----Original Message----- > From: Jes?s [mailto:jolivan at sertec-si.com] > Sent: Monday, March 10, 2008 11:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Histogram > > Hi! > > i'mtrying to get some reports from Nagios Alert Histogram, but when i > select a host, and an interval, it return me a clean graph with no > drawings inside (I assure that nagios have data about this interval). > I've tried several intervals and i got same result. Curiosly, when i try > with a service it works... what can be happening? > > I'm using Nagios 2.6. > > Thanks in advance! > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MachielR at agilitytech.co.za Tue Mar 11 13:41:07 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Tue, 11 Mar 2008 14:41:07 +0200 Subject: Nagios memory percentages In-Reply-To: <47D669AF.9040500@chatham.org> References: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> <47D669AF.9040500@chatham.org> Message-ID: <350DEB176C3F20459BE245610997FD7F020790F6@caretech.co.za> Hi I am trying to use this option but the issue I have now is with the following: The output from the /proc/meminfo is as follows: MemFree: 206788 kB However, when I try to use cut in order to only get the numeric value, the output I get back does not work that well as it still includes the infront of the numeric value as well as the kb at the end... I have even tried this with free and the same result.... What should I use as delimiter to the cut command? Any other suggestions on how to only get the numeric value? Commands used with output: cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" output : 2067884 kB As you can see the spaces are all out of place..... I have also noticed that when using a space as delimiter and counting the spaces to the value, then you get the result, however if the numeric value increase by one digit (i.e. from 6 digits to 7 digits for instance) then the amount of spaces change and the program does not work. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dale J. Chatham Sent: Tuesday, March 11, 2008 1:15 PM To: Machiel Richards Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Looc at the /proc/meminfo file and the vmstat command. Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. Machiel Richards wrote: Hi Everyone Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. My question is this... I can use the command free to get the amount of memory , used, free etc... How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. ________________________________ ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Mar 11 13:59:03 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 11 Mar 2008 13:59:03 +0100 Subject: Nagios memory percentages In-Reply-To: <350DEB176C3F20459BE245610997FD7F020790F6@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> <47D669AF.9040500@chatham.org> <350DEB176C3F20459BE245610997FD7F020790F6@caretech.co.za> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF95CB@hermes.sapphire-int.gi> Perhaps, rather than cut, try grep -o '[0-9][0-9]*' ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Machiel Richards Sent: 11 March 2008 13:41 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Hi ? I am trying to use this option but the issue I have now is with the following: The output from the /proc/meminfo is? as follows: ??????????? MemFree:????? 206788 kB ?? However, when I try to use cut in order to only get the numeric value, the output I get back does not work that well as it still includes the infront of the numeric value as well as the kb at the end... ??????????? I have even tried this with free and the same result.... ??????????? What should I use as delimiter to the cut command? ??????????? Any other suggestions on how to only get the numeric value? ??????????? Commands used with output: cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" output : ????? 2067884 kB ? As you can see the spaces are all out of place..... ????? I have also noticed that when using a space as delimiter and counting the spaces to the value, then you get the result, however if the numeric value increase by one digit (i.e. from 6 digits to 7 digits for instance) then the amount of spaces change and the program does not work. ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dale J. Chatham Sent: Tuesday, March 11, 2008 1:15 PM To: Machiel Richards Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Looc at the /proc/meminfo file and the vmstat command. Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. Machiel Richards wrote: Hi Everyone ? ? Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. ? ?? I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. ? ? ?? I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. ? Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. ? ??????????? On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. ? ? ??????????? My question is this... I can use the command free to get the amount of memory , used, free etc... ? ??????????? How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? ? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. ________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ________________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Mar 11 14:22:12 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 11 Mar 2008 09:22:12 -0400 Subject: Anyone know of add-ons / patches to Nagios that produce XML output for host and service statuses? In-Reply-To: References: <4e0e33ee0803110204q44f920a1x7f9a8be15f69743a@mail.gmail.com> Message-ID: Hi Seb, On Tue, Mar 11, 2008 at 5:04 AM, S?bastien Barbereau wrote: > Hi, > if you are using the ndo backend it is very simple to create an xml from a > db : mysqldump -xml ... > > Seb. True, and it would be pretty easy to create an HTTP-based / REST XML query service based on the NDO database, though I still think it would be nice to have this as core functionality or as an add on that reads from the Nagios status files or that ties into NEB so that it doesn't *have* to depend on NDO :). - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MachielR at agilitytech.co.za Tue Mar 11 14:33:22 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Tue, 11 Mar 2008 15:33:22 +0200 Subject: Nagios memory percentages In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744CF95CB@hermes.sapphire-int.gi> References: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> <47D669AF.9040500@chatham.org> <350DEB176C3F20459BE245610997FD7F020790F6@caretech.co.za> <9D30659ABCA7FB428CF91E386C3A5744CF95CB@hermes.sapphire-int.gi> Message-ID: <350DEB176C3F20459BE245610997FD7F020790F9@caretech.co.za> Thanks a lot, now I've learned something new... This works perfectly. -----Original Message----- From: Giles Coochey [mailto:gcoochey at sapphire.gi] Sent: Tuesday, March 11, 2008 2:59 PM To: Machiel Richards; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios memory percentages Perhaps, rather than cut, try grep -o '[0-9][0-9]*' ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Machiel Richards Sent: 11 March 2008 13:41 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Hi ? I am trying to use this option but the issue I have now is with the following: The output from the /proc/meminfo is? as follows: ??????????? MemFree:????? 206788 kB ?? However, when I try to use cut in order to only get the numeric value, the output I get back does not work that well as it still includes the infront of the numeric value as well as the kb at the end... ??????????? I have even tried this with free and the same result.... ??????????? What should I use as delimiter to the cut command? ??????????? Any other suggestions on how to only get the numeric value? ??????????? Commands used with output: cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" output : ????? 2067884 kB ? As you can see the spaces are all out of place..... ????? I have also noticed that when using a space as delimiter and counting the spaces to the value, then you get the result, however if the numeric value increase by one digit (i.e. from 6 digits to 7 digits for instance) then the amount of spaces change and the program does not work. ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dale J. Chatham Sent: Tuesday, March 11, 2008 1:15 PM To: Machiel Richards Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages Looc at the /proc/meminfo file and the vmstat command. Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. Machiel Richards wrote: Hi Everyone ? ? Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. ? ?? I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. ? ? ?? I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. ? Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. ? ??????????? On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. ? ? ??????????? My question is this... I can use the command free to get the amount of memory , used, free etc... ? ??????????? How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? ? tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. ________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ________________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue Mar 11 14:42:06 2008 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 11 Mar 2008 14:42:06 +0100 Subject: Nagios memory percentages In-Reply-To: <350DEB176C3F20459BE245610997FD7F020790F9@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> <47D669AF.9040500@chatham.org> <350DEB176C3F20459BE245610997FD7F020790F6@caretech.co.za> <9D30659ABCA7FB428CF91E386C3A5744CF95CB@hermes.sapphire-int.gi> <350DEB176C3F20459BE245610997FD7F020790F9@caretech.co.za> Message-ID: <20080311134206.GB14909@winnie.telcotec.se> $ cat /proc/meminfo | awk '{print $2}' On Tue, Mar 11, 2008 at 03:33:22PM +0200, Machiel Richards wrote: > Thanks a lot, now I've learned something new... > > This works perfectly. > > -----Original Message----- > From: Giles Coochey [mailto:gcoochey at sapphire.gi] > Sent: Tuesday, March 11, 2008 2:59 PM > To: Machiel Richards; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios memory percentages > > Perhaps, rather than cut, try grep -o '[0-9][0-9]*' > > ________________________________________ > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Machiel Richards > Sent: 11 March 2008 13:41 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages > > Hi > > ? I am trying to use this option but the issue I have now is with the following: > > The output from the /proc/meminfo is? as follows: > > ??????????? MemFree:????? 206788 kB > > ?? However, when I try to use cut in order to only get the numeric value, the output I get back does not work that well as it still includes the infront of the numeric value as well as the kb at the end... > > ??????????? I have even tried this with free and the same result.... > > ??????????? What should I use as delimiter to the cut command? > > ??????????? Any other suggestions on how to only get the numeric value? > > ??????????? Commands used with output: > > cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" > > output : > > ????? 2067884 kB > > > ? As you can see the spaces are all out of place..... > > ????? I have also noticed that when using a space as delimiter and counting the spaces to the value, then you get the result, however if the numeric value increase by one digit (i.e. from 6 digits to 7 digits for instance) then the amount of spaces change and the program does not work. > > > > > ________________________________________ > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dale J. Chatham > Sent: Tuesday, March 11, 2008 1:15 PM > To: Machiel Richards > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages > > Looc at the /proc/meminfo file and the vmstat command. > > Divide memory parameter (free, used, whatever) by total memory, multiply by 100 and you have percent. > > Machiel Richards wrote: > Hi Everyone > ? > ? Maybe someone can assist me, but this may be a more linux specific question than Nagios even though related to Nagios. > ? > ?? I need to monitor the memory usage in percentage on Nagios and would like to rather write my own scripts for this. > ? > ? > ?? I know there are snmp versions of this to do the job for me, however I do not want to complicate the systems with too many clients running on them. > ? > Currently we are using the normal nrpe to connect to the systems and run scripts remotely, however we do not have one to monitor the memory. > ? > ??????????? On the web there are a lot of references to the snmp commands but as all the systems are production and we might be having a couple of upgrades soon, I would like to rather keep it simple and only run one client on it for all Nagios connections. > ? > ? > ??????????? My question is this... I can use the command free to get the amount of memory , used, free etc... > ? > ??????????? How can I write this into a script to display as percentages... is there another command I can use or maybe an option that I do not know about? > ? > tx > *** Disclaimer *** > The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. > The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. > The Company is not liable to ensure that outgoing e-mails are virus-free. > The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. > The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. > The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. > > > > > > ________________________________________ > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > > ________________________________________ > > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > *** Disclaimer *** > The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. > The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. > The Company is not liable to ensure that outgoing e-mails are virus-free. > The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. > The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. > The sender of this e-mail is subject to and bound by the terms and conditions of Company's Electronic Communications Usage Policy. > > > *** Disclaimer *** > > The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. > > The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. > > The Company is not liable to ensure that outgoing e-mails are virus-free. > > The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. > > The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. > > The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Lars.Stavholm at telcotec.se Telcotec Sweden AB phone: +46 (0)31 216404 Norra Gubberogatan 30 mobile: +46 (0)705 606498 416 63 Gothenburg, Sweden fax: +46 (0)31 216404 http://www.telcotec.se ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MachielR at agilitytech.co.za Tue Mar 11 14:45:17 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Tue, 11 Mar 2008 15:45:17 +0200 Subject: Nagios memory percentages In-Reply-To: <20080311134206.GB14909@winnie.telcotec.se> References: <350DEB176C3F20459BE245610997FD7F020790F1@caretech.co.za> <47D669AF.9040500@chatham.org> <350DEB176C3F20459BE245610997FD7F020790F6@caretech.co.za> <9D30659ABCA7FB428CF91E386C3A5744CF95CB@hermes.sapphire-int.gi> <350DEB176C3F20459BE245610997FD7F020790F9@caretech.co.za> <20080311134206.GB14909@winnie.telcotec.se> Message-ID: <350DEB176C3F20459BE245610997FD7F020790FB@caretech.co.za> Hi everyone Thank you for all the help I also now need to know the following : I have now managed to get the memory usage working where it provides the percentage as output and this is then used for monitoring innagios. However, the only 'message' displayed on the Nagios screen for the monitoring is the percentage and that is basically all... How can I still get this message to be a bit more user friendly without breaking the monitoring part? -----Original Message----- *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company+IBk-s Electronic Communications Usage Policy. From: Lars Stavholm [mailto:stava at telcotec.se]=20 Sent: Tuesday, March 11, 2008 3:42 PM To: Machiel Richards Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios memory percentages $ cat /proc/meminfo | awk '{print $2}' On Tue, Mar 11, 2008 at 03:33:22PM +0200, Machiel Richards wrote: > Thanks a lot, now I've learned something new... >=20 > This works perfectly. >=20 > -----Original Message----- > From: Giles Coochey [mailto:gcoochey at sapphire.gi]=20 > Sent: Tuesday, March 11, 2008 2:59 PM > To: Machiel Richards; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios memory percentages >=20 > Perhaps, rather than cut, try grep -o '[0-9][0-9]*' >=20 > ________________________________________ > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bou= nces at lists.sourceforge.net] On Behalf Of Machiel Richards > Sent: 11 March 2008 13:41 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages >=20 > Hi >=20 > =A0 I am trying to use this option but the issue I have now is with the f= ollowing: >=20 > The output from the /proc/meminfo is=A0 as follows: >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 MemFree:=A0=A0=A0=A0=A0 206788 kB >=20 > =A0=A0 However, when I try to use cut in order to only get the numeric va= lue, the output I get back does not work that well as it still includes the= infront of the numeric value as well as the kb at the end... >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I have even tried this with free and th= e same result.... >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 What should I use as delimiter to the c= ut command? >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Any other suggestions on how to only ge= t the numeric value? >=20 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Commands used with output: >=20 > cat /proc/meminfo | grep MemTotal | cut -f 2 -d ":" >=20 > output : >=20 > =A0=A0=A0=A0=A0 2067884 kB >=20 >=20 > =A0 As you can see the spaces are all out of place..... >=20 > =A0=A0=A0=A0=A0 I have also noticed that when using a space as delimiter = and counting the spaces to the value, then you get the result, however if t= he numeric value increase by one digit (i.e. from 6 digits to 7 digits for = instance) then the amount of spaces change and the program does not work. >=20 >=20 >=20 >=20 > ________________________________________ > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bou= nces at lists.sourceforge.net] On Behalf Of Dale J. Chatham > Sent: Tuesday, March 11, 2008 1:15 PM > To: Machiel Richards > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios memory percentages >=20 > Looc at the /proc/meminfo file and the vmstat command. >=20 > Divide memory parameter (free, used, whatever) by total memory, multiply = by 100 and you have percent. >=20 > Machiel Richards wrote:=20 > Hi Everyone > =A0 > =A0 Maybe someone can assist me, but this may be a more linux specific qu= estion than Nagios even though related to Nagios. > =A0 > =A0=A0 I need to monitor the memory usage in percentage on Nagios and wou= ld like to rather write my own scripts for this. > =A0 > =A0 > =A0=A0 I know there are snmp versions of this to do the job for me, howev= er I do not want to complicate the systems with too many clients running on= them. > =A0 > Currently we are using the normal nrpe to connect to the systems and run = scripts remotely, however we do not have one to monitor the memory. > =A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 On the web there are a lot of reference= s to the snmp commands but as all the systems are production and we might b= e having a couple of upgrades soon, I would like to rather keep it simple a= nd only run one client on it for all Nagios connections. > =A0 > =A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 My question is this... I can use the co= mmand free to get the amount of memory , used, free etc...=20 > =A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 How can I write this into a script to d= isplay as percentages... is there another command I can use or maybe an opt= ion that I do not know about? > =A0 > tx > *** Disclaimer ***=20 > The information contained in this e-mail is confidential and legally priv= ileged and is intended solely for the addressee and to others who have the = authority to receive it. Access to this e-mail by anyone else is unauthoriz= ed and as such, any disclosure, copying, distribution or any action taken o= r omitted in reliance on it is unlawful. If you have received this e-mail i= n error, please notify the sender immediately.=20 > The views expressed in this e-mail are the views of the individual sender= and should in no way be construed as the views of the Company.=20 > The Company is not liable to ensure that outgoing e-mails are virus-free.= =20 > The Company is not liable, should information or data, for whatever reaso= n, be corrupted or fail to reach its intended addressee.=20 > The Company is not liable for any loss or damage of whatsoever nature and= howsoever arising resulting from the opening or the use of the information= in this e-mail, including its attachments and links.=20 > The sender of this e-mail is subject to and bound by the terms and condit= ions of Company's Electronic Communications Usage Policy.=20 >=20 >=20 >=20 >=20 >=20 > ________________________________________ >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >=20 >=20 >=20 >=20 >=20 > ________________________________________ >=20 >=20 >=20 >=20 >=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 report= ing any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null >=20 > *** Disclaimer ***=20 > The information contained in this e-mail is confidential and legally priv= ileged and is intended solely for the addressee and to others who have the = authority to receive it. Access to this e-mail by anyone else is unauthoriz= ed and as such, any disclosure, copying, distribution or any action taken o= r omitted in reliance on it is unlawful. If you have received this e-mail i= n error, please notify the sender immediately.=20 > The views expressed in this e-mail are the views of the individual sender= and should in no way be construed as the views of the Company.=20 > The Company is not liable to ensure that outgoing e-mails are virus-free.= =20 > The Company is not liable, should information or data, for whatever reaso= n, be corrupted or fail to reach its intended addressee.=20 > The Company is not liable for any loss or damage of whatsoever nature and= howsoever arising resulting from the opening or the use of the information= in this e-mail, including its attachments and links.=20 > The sender of this e-mail is subject to and bound by the terms and condit= ions of Company's Electronic Communications Usage Policy.=20 >=20 >=20 > *** Disclaimer *** >=20 > The information contained in this e-mail is confidential and legally priv= ileged and is intended solely for the addressee and to others who have the = authority to receive it. Access to this e-mail by anyone else is unauthoriz= ed and as such, any disclosure, copying, distribution or any action taken o= r omitted in reliance on it is unlawful. If you have received this e-mail i= n error, please notify the sender immediately. >=20 > The views expressed in this e-mail are the views of the individual sender= and should in no way be construed as the views of the Company. >=20 > The Company is not liable to ensure that outgoing e-mails are virus-free. >=20 > The Company is not liable, should information or data, for whatever reaso= n, be corrupted or fail to reach its intended addressee. >=20 > The Company is not liable for any loss or damage of whatsoever nature and= howsoever arising resulting from the opening or the use of the information= in this e-mail, including its attachments and links. >=20 > The sender of this e-mail is subject to and bound by the terms and condit= ions of Company's Electronic Communications Usage Policy. >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > 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.=20 > ::: Messages without supporting info will risk being sent to /dev/null --=20 Lars.Stavholm at telcotec.se Telcotec Sweden AB phone: +46 (0)31 216404 Norra Gubberogatan 30 mobile: +46 (0)705 606498 416 63 Gothenburg, Sweden fax: +46 (0)31 216404 http://www.telcotec.se -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.duraiswamy at gmail.com Tue Mar 11 16:51:37 2008 From: john.duraiswamy at gmail.com (John Duraisw) Date: Tue, 11 Mar 2008 11:51:37 -0400 Subject: nrpe on rhel 4 Message-ID: <69451f940803110851h6b2c92c7j44f2a7641319cb10@mail.gmail.com> All, I have problems getting output check_nrpe from client machine. My nagios server is Centos5 and the client server rhel 4 and I am having the following issue. I am running the latest version of nrpe and also tried bunch of other older version, still no luck. When I try to monitor other centos server with the same config it works fine. [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 NRPE v2.10 [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_load NRPE: Unable to read output [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj NRPE: Command 'check_lljfj' not defined Thanks, -john -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 11 17:05:44 2008 From: marc at ena.com (Marc Powell) Date: Tue, 11 Mar 2008 11:05:44 -0500 Subject: nrpe on rhel 4 {Disarmed} {Fraud?} In-Reply-To: <69451f940803110851h6b2c92c7j44f2a7641319cb10@mail.gmail.com> References: <69451f940803110851h6b2c92c7j44f2a7641319cb10@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Duraisw > Sent: Tuesday, March 11, 2008 10:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?} > > All, > I have problems getting output check_nrpe from client machine. My nagios > server is Centos5 and the client server rhel 4 and I am having the following > issue. I am running the latest version of nrpe and also tried bunch of other > older version, still no luck. When I try to monitor other centos server with > the same config it works fine. > > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 > NRPE v2.10 > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_load > NRPE: Unable to read output Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the nagios user on 10.31.47.21 and see what it says. > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj > NRPE: Command 'check_lljfj' not defined Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.duraiswamy at gmail.com Tue Mar 11 17:27:42 2008 From: john.duraiswamy at gmail.com (John Duraisw) Date: Tue, 11 Mar 2008 12:27:42 -0400 Subject: nrpe on rhel 4 {Disarmed} {Fraud?} In-Reply-To: References: <69451f940803110851h6b2c92c7j44f2a7641319cb10@mail.gmail.com> Message-ID: <69451f940803110927v664e6d5cx59c0160b708ff77c@mail.gmail.com> Marc, This is what happens when I do that. [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 CHECK_NRPE: Error - Could not complete SSL handshake. [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 -c check_load CHECK_NRPE: Error - Could not complete SSL handshake. [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Mar 11 12:22:34 wsfs7-rhel nrpe[26314]: Host 127.0.0.1 is not allowed to talk to us! Mar 11 12:22:43 wsfs7-rhel nrpe[26317]: Host 127.0.0.1 is not allowed to talk to us! Mar 11 12:22:46 wsfs7-rhel nrpe[26320]: Host 127.0.0.1 is not allowed to talk to $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ On Tue, Mar 11, 2008 at 12:05 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of John Duraisw > > Sent: Tuesday, March 11, 2008 10:52 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?} > > > > All, > > I have problems getting output check_nrpe from client machine. My > nagios > > server is Centos5 and the client server rhel 4 and I am having the > following > > issue. I am running the latest version of nrpe and also tried bunch of > other > > older version, still no luck. When I try to monitor other centos > server with > > the same config it works fine. > > > > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 > > NRPE v2.10 > > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_load > > NRPE: Unable to read output > > Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the > nagios user on 10.31.47.21 and see what it says. > > > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj > > NRPE: Command 'check_lljfj' not defined > > Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.duraiswamy at gmail.com Tue Mar 11 17:45:38 2008 From: john.duraiswamy at gmail.com (John Duraisw) Date: Tue, 11 Mar 2008 12:45:38 -0400 Subject: nrpe on rhel 4 {Disarmed} {Fraud?} In-Reply-To: <69451f940803110927v664e6d5cx59c0160b708ff77c@mail.gmail.com> References: <69451f940803110851h6b2c92c7j44f2a7641319cb10@mail.gmail.com> <69451f940803110927v664e6d5cx59c0160b708ff77c@mail.gmail.com> Message-ID: <69451f940803110945m708b099au1988adc5767937fe@mail.gmail.com> Marc, I moved the other plugins from another server, and looks like something got screwed during the transfer. I just recompiled all the nagios plugins on the client server and things started working fine. [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_load OK - load average: 0.00, 0.05, 0.02|load1=0.000;15.000;30.000;0; load5=0.050;10.000;25.000;0; load15=0.020;5.000;20.000;0; Thanks, -john On Tue, Mar 11, 2008 at 12:27 PM, John Duraisw wrote: > Marc, > This is what happens when I do that. > > [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 > CHECK_NRPE: Error - Could not complete SSL handshake. > [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. > [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages. > > $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ > Mar 11 12:22:34 wsfs7-rhel nrpe[26314]: Host 127.0.0.1 is not allowed to > talk to > us! > Mar 11 12:22:43 wsfs7-rhel nrpe[26317]: Host 127.0.0.1 is not allowed to > talk to > us! > Mar 11 12:22:46 wsfs7-rhel nrpe[26320]: Host 127.0.0.1 is not allowed to > talk to > $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ > > > > > > > On Tue, Mar 11, 2008 at 12:05 PM, Marc Powell wrote: > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of John Duraisw > > > Sent: Tuesday, March 11, 2008 10:52 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?} > > > > > > All, > > > I have problems getting output check_nrpe from client machine. My > > nagios > > > server is Centos5 and the client server rhel 4 and I am having the > > following > > > issue. I am running the latest version of nrpe and also tried bunch of > > other > > > older version, still no luck. When I try to monitor other centos > > server with > > > the same config it works fine. > > > > > > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 > > > NRPE v2.10 > > > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_load > > > NRPE: Unable to read output > > > > Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the > > nagios user on 10.31.47.21 and see what it says. > > > > > [root at nmsweb libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj > > > NRPE: Command 'check_lljfj' not defined > > > > Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21. > > > > -- > > Marc > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 11 17:46:52 2008 From: marc at ena.com (Marc Powell) Date: Tue, 11 Mar 2008 11:46:52 -0500 Subject: nrpe on rhel 4 In-Reply-To: <69451f940803110927v664e6d5cx59c0160b708ff77c@mail.gmail.com> References: <69451f940803110927v664e6d5cx59c0160b708ff77c@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Duraisw > Sent: Tuesday, March 11, 2008 11:28 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nrpe on rhel 4 > > > Marc, > This is what happens when I do that. > > [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 > CHECK_NRPE: Error - Could not complete SSL handshake. > [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. > [root at wsfs7-rhel libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. Looks like correct behavior to me. Of course, none of the above is what I suggested you to do. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smirnoff.d at gmail.com Tue Mar 11 21:13:33 2008 From: smirnoff.d at gmail.com (dmitri smirnoff) Date: Tue, 11 Mar 2008 16:13:33 -0400 Subject: Looking for IBM System x3500 plugin Message-ID: <5895142b0803111313v28c07be5u603cdbebc2687872@mail.gmail.com> I have this IBM System x3500 server with IBM Director agent. I'm looking for the IBM Director SNMP/CLI integration with the Nagios or Nagios plugin. Is it possible to adapt plugin check_snmp_ibm_bladecenter for the IBM System x3500 server? Any help appreciated -- Dmitri Smirnoff gmail: smirnoff.d at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From azoecalvo at yahoo.com.ar Tue Mar 11 23:47:02 2008 From: azoecalvo at yahoo.com.ar (Alicia Calvo) Date: Tue, 11 Mar 2008 15:47:02 -0700 (PDT) Subject: Nagios Message-ID: <835194.30078.qm@web33001.mail.mud.yahoo.com> Hi, I work with nagios version 2.9 in Suse 10.1. I need check data base sybase, and for this I nedd to use CHECK_SYBASE for free space and connect. It execution give me this error: linux-site:/usr/local/nagios/libexec # ./check_sybase -U BC2788 -P zoe2007 -S desarrollo -D sistemas --checktype=CONNECT install_driver(Sybase) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libsybunic64.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at ./check_sybase line 143 I need one more library, I need an other version of a library the PERL or what??? Thank you Los referentes m?s importantes en compra/ venta de autos se juntaron: Demotores y Yahoo! Ahora comprar o vender tu auto es m?s f?cil. Vist? ar.autos.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Mar 11 23:57:14 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 11 Mar 2008 18:57:14 -0400 Subject: Nagios In-Reply-To: <835194.30078.qm@web33001.mail.mud.yahoo.com> References: <835194.30078.qm@web33001.mail.mud.yahoo.com> Message-ID: On Tue, Mar 11, 2008 at 6:47 PM, Alicia Calvo wrote: > > Hi, I work with nagios version 2.9 in Suse 10.1. I need check data base > sybase, and for this I nedd to use CHECK_SYBASE for free space and connect. > It execution give me this error: > > linux-site:/usr/local/nagios/libexec # ./check_sybase -U BC2788 -P zoe2007 > -S desarrollo -D sistemas --checktype=CONNECT > > install_driver(Sybase) failed: Can't load > '/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Sybase/Sybase.so' > for module DBD::Sybase: libsybunic64.so: cannot open shared object file: No > such file or directory at > /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. > at (eval 3) line 3 > Compilation failed in require at (eval 3) line 3. > Perhaps a required shared library or dll isn't installed where expected > at ./check_sybase line 143 > > I need one more library, I need an other version of a library the PERL or > what??? Hi, you need DBD::Sybase bash# cpan [answer initial configuration questions, accepting the defaults presented works for most people] cpan> install DBD::Sybase - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Mar 11 23:58:45 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 11 Mar 2008 18:58:45 -0400 Subject: Nagios In-Reply-To: References: <835194.30078.qm@web33001.mail.mud.yahoo.com> Message-ID: Whoops, Actually, looks like you need to install the Sybase client software for Linux on your Nagios host unless the sybase libraries are available as a standalone package, this happens with Oracle too when the think driver (the one that supports transactions) is needed. - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Mar 11 23:59:17 2008 From: perldork at webwizarddesign.com (Max) Date: Tue, 11 Mar 2008 18:59:17 -0400 Subject: Nagios In-Reply-To: References: <835194.30078.qm@web33001.mail.mud.yahoo.com> Message-ID: Thick driver I mean :), not think. On Tue, Mar 11, 2008 at 6:58 PM, Max wrote: > Whoops, > > Actually, looks like you need to install the Sybase client software > for Linux on your Nagios host unless the sybase libraries are > available as a standalone package, this happens with Oracle too when > the think driver (the one that supports transactions) is needed. > > - Max > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adam65535 at gmail.com Wed Mar 12 00:00:06 2008 From: adam65535 at gmail.com (Adam65535) Date: Tue, 11 Mar 2008 19:00:06 -0400 Subject: Any way to make PING service use host dependencies? Message-ID: <7f4b16ba0803111600x2a9838d6w93217695fa1c1f93@mail.gmail.com> I mistakenly it seems figured that the PING service would use the host dependency config before sending a notification since a latency problem with a remote office would cause every host at the remote office to spawn a PING latency notification. I found out today that is not the case with nagios (using 2.9). Do I have to keep replicating all my hosts dependencies into a separate ping service dependency or am I missing something somewhere? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wilson.galafassi at gmail.com Wed Mar 12 01:23:49 2008 From: wilson.galafassi at gmail.com (Wilson Galafassi) Date: Tue, 11 Mar 2008 21:23:49 -0300 Subject: problem with suexec Message-ID: <9774f0ba0803111723k447f7c17k25d33e0c08f11b1d@mail.gmail.com> hello. i have installed nagios on my server running apache 2.2.6. when i try to access the web interface i see: Internal Server Error in error_log i see: [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec policy violation: see suexec log for more details, referer: http://www.digitalstorage.com.br/nagios/side.html [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature end of script headers: tac.cgi, referer: http://www.digitalstorage.com.br/nagios/side.html [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does not exist: /home/digital/public_html/500.shtml, referer: http://www.digitalstorage.com.br/nagios/side.html in suexec_log: [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: tac.cgi [2008-03-11 21:22:04]: directory is writable by others: (/usr/local/nagios/sbin) any help is apreciated. thanks, wilson galafassi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Wed Mar 12 03:14:03 2008 From: throck at duke.edu (Tom Throckmorton) Date: Tue, 11 Mar 2008 22:14:03 -0400 Subject: Nagios In-Reply-To: References: <835194.30078.qm@web33001.mail.mud.yahoo.com> Message-ID: <20080312021402.GA30874@duke.edu> On Mar 11 18:58, Max wrote: > Whoops, > > Actually, looks like you need to install the Sybase client software > for Linux on your Nagios host unless the sybase libraries are > available as a standalone package, DBD::Sybase can use either the Sybase libraries (which are provided with Sybase ASE), or FreeTDS (www.freetds.org). Personally, I find the FreeTDS package easier, and much, *much* smaller (596k vs. 200+MB). I've used both, and they seem to be functionally the same, especially for the purposes of this plugin. Cheers, -tt -- Tom Throckmorton OIT - CSI Duke University ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Mar 12 05:04:09 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 12 Mar 2008 00:04:09 -0400 Subject: Any way to make PING service use host dependencies? In-Reply-To: <7f4b16ba0803111600x2a9838d6w93217695fa1c1f93@mail.gmail.com> References: <7f4b16ba0803111600x2a9838d6w93217695fa1c1f93@mail.gmail.com> Message-ID: On Tue, Mar 11, 2008 at 7:00 PM, Adam65535 wrote: > I mistakenly it seems figured that the PING service would use the host > dependency config before sending a notification since a latency problem with > a remote office would cause every host at the remote office to spawn a PING > latency notification. I found out today that is not the case with nagios > (using 2.9). Do I have to keep replicating all my hosts dependencies into a > separate ping service dependency or am I missing something somewhere? In Nagios 3.x you can use host groups for service and host dependencies, but even then I think that this isn't the best way to handle this situation. I think the best resolution for for this one is something like the following. I had a switch port that was attached to a VPN device I wasn't allowed to monitor, this port serves as the connection between our local and remote office, so I just created a fake host for the VPN, put the SNMP port and traffic status checks as the services for the VPN host , and then made the fake VPN 'host' the parent to our core router and the child to the remote office router .. so now when the VPN connection goes down or times out the remote map gets turned unreachable. Does that make sense? - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Wed Mar 12 08:27:01 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Wed, 12 Mar 2008 08:27:01 +0100 Subject: problem with suexec In-Reply-To: <9774f0ba0803111723k447f7c17k25d33e0c08f11b1d@mail.gmail.com> References: <9774f0ba0803111723k447f7c17k25d33e0c08f11b1d@mail.gmail.com> Message-ID: <47D785C5.1020807@process-zero.de> Hi Wilson, Wilson Galafassi schrieb: > hello. > i have installed nagios on my server running apache 2.2.6. > > when i try to access the web interface i see: Internal Server Error > > in error_log i see: > [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec > policy violation: see suexec log for more details, referer: > http://www.digitalstorage.com.br/nagios/side.html > [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature > end of script headers: tac.cgi, referer: > http://www.digitalstorage.com.br/nagios/side.html > [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does > not exist: /home/digital/public_html/500.shtml, referer: > http://www.digitalstorage.com.br/nagios/side.html > > in suexec_log: > [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: tac.cgi > [2008-03-11 21:22:04]: directory is writable by others: (/usr/local/nagios/sbin) > Well, did you begin to re-set the permissions? I don't know suexec in depth but in your situation I would start to try to do what suexec suggests. After each step I would control if the balance between application and security is givven. So like your suexec_log: change the directory permission of "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w /usr/local/nagios/sbin) Regards Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 12 10:07:29 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 12 Mar 2008 09:07:29 +0000 Subject: grouping service problems Message-ID: <4b008f7d0803120207n5f9c96far5abd445ce0ccbee5@mail.gmail.com> Hi Guys, Is there a way that I can group service problems? By default, all service problems i.e. warning, critical, unreachable, down shows up under service problems. Can I group devices that belong to the same group under service problems? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Mar 12 11:00:37 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 12 Mar 2008 10:00:37 +0000 Subject: grouping service problems In-Reply-To: <4b008f7d0803120207n5f9c96far5abd445ce0ccbee5@mail.gmail.com> References: <4b008f7d0803120207n5f9c96far5abd445ce0ccbee5@mail.gmail.com> Message-ID: <47D7A9C5.8030605@googlemail.com> Alex Dehaini wrote: > Is there a way that I can group service problems? By default, all > service problems i.e. warning, critical, unreachable, down shows up > under service problems. Can I group devices that belong to the same > group under service problems? The closest I think you can do is to select a servicegroup in Servicegroup/Hostgroup Overview/Summary and then order by status... Unless anyone else has a better idea? -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxmail at 4lin.net Wed Mar 12 11:45:14 2008 From: linuxmail at 4lin.net (Denny Schierz) Date: Wed, 12 Mar 2008 11:45:14 +0100 Subject: Redundancy Nagios3 with NDO MySQL Message-ID: <47D7B43A.4010105@4lin.net> hi, just some questions. we have Nagios3rc3 with NDO utils for NagVis and other addons. If i want to clone the master, two ndo installations can read/write into one MySQL db. I don't know enough to say, it works or not. MySQL is allready HA. I want to submit the service checks via nsca and following the Nagios3 redundancy howto. But what is with the historie and graphs (PnP)? (both runs under freebsd 6.2, so no drbd available) cu denny -- Stoppt den ?berwachungswahn - Stoppt den Sch?uble Katalog: http://www.nopsis.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wilson.galafassi at gmail.com Wed Mar 12 12:26:31 2008 From: wilson.galafassi at gmail.com (Wilson A. Galafassi Jr.) Date: Wed, 12 Mar 2008 08:26:31 -0300 Subject: RES: problem with suexec In-Reply-To: <47D785C5.1020807@process-zero.de> References: <9774f0ba0803111723k447f7c17k25d33e0c08f11b1d@mail.gmail.com> <47D785C5.1020807@process-zero.de> Message-ID: I have tried but the problem persist. Any other idea? Thanks, Wilson -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik B?cker Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 Para: wilson at galafassi.com.br Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] problem with suexec Hi Wilson, Wilson Galafassi schrieb: > hello. > i have installed nagios on my server running apache 2.2.6. > > when i try to access the web interface i see: Internal Server Error > > in error_log i see: > [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec > policy violation: see suexec log for more details, referer: > http://www.digitalstorage.com.br/nagios/side.html > [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature > end of script headers: tac.cgi, referer: > http://www.digitalstorage.com.br/nagios/side.html > [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does > not exist: /home/digital/public_html/500.shtml, referer: > http://www.digitalstorage.com.br/nagios/side.html > > in suexec_log: > [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: tac.cgi > [2008-03-11 21:22:04]: directory is writable by others: (/usr/local/nagios/sbin) > Well, did you begin to re-set the permissions? I don't know suexec in depth but in your situation I would start to try to do what suexec suggests. After each step I would control if the balance between application and security is givven. So like your suexec_log: change the directory permission of "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w /usr/local/nagios/sbin) Regards Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Wed Mar 12 12:28:03 2008 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 12 Mar 2008 12:28:03 +0100 Subject: Solaris 10 SMF, Getting NRPE to run as user nagios In-Reply-To: <6F41C23E99FC594D90E848FA564234313226F50B40@TBEMAIL.corp.local> References: <6F41C23E99FC594D90E848FA564234313226F50B40@TBEMAIL.corp.local> Message-ID: Robert, Finally, I was able to enable NRPE through service management on Solaris 10 (not using SMF) without SUID: echo "nrpe stream tcp nowait nagios /apps/nagios/nrpe/nrpe /apps/nagios/nrpe/nrpe -c /db/sysadmin/nagios/nrpe.cfg --inetd " >! /etc/nrpe.inetd inetconv -i /etc/nrpe.inetd inetadm -m svc:/network/nrpe/tcp tcp_wrappers=TRUE echo nrpe: ALL >> /etc/hosts.deny echo nrpe: your_nagios_server >> /etc/hosts.allow --SSH-- > inetadm -l svc:/network/nrpe/tcp:default SCOPE NAME=VALUE name="nrpe" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/apps/nagios/nrpe/nrpe -c /db/sysadmin/nagios/nrpe.cfg --inetd" arg0="/apps/nagios/nrpe/nrpe" user="nagios" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE tcp_wrappers=TRUE --SSH-- > ls -l /apps/nagios/nrpe/nrpe -rwxrwxr-x 1 nagios nagios 71608 Oct 4 2006 /apps/nagios/nrpe/nrpe Let me know if it works for you. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Cipriani, Robert C Sent: Tuesday, January 15, 2008 4:43 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Solaris 10 SMF, Getting NRPE to run as user nagios I have NRPE running on Solaris 10 SPARC under SMF, but the only way I could get it to run as user nagios is if I set SUID on the nrpe executable. This is the output inetadm -l svc:/network/nrpe/tcp:default SCOPE NAME=VALUE name="nrpe" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i" arg0="/usr/local/nagios/bin/nrpe" user="nagios" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE default tcp_wrappers=FALSE user="nagios" , but if I don't do the SUID I get in the system log: nrpe[10222]: [ID 306117 auth.error] Error: NRPE daemon cannot be run as user/group root! I've searched the web and the archives to no avail. Does anyone have experience running NRPE under SMF? Any concerns about running it SUID? Thanks so much. Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 ________________________________ CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From federico.donati at hermess.it Wed Mar 12 15:49:06 2008 From: federico.donati at hermess.it (Federico Donati) Date: Wed, 12 Mar 2008 15:49:06 +0100 Subject: strange nrpe behaviour Message-ID: <47D7ED62.8090109@hermess.it> Hi all, i have a Dell PowerEdge 1950 server with a PERC Raid Controller. It runs Debian Etch, updated. I've installed nrpe on the machine and all works fine, except for the raid check. I use the check_dell_omreport, that i found here: http://www.nagiosexchange.org/DELL_Server.61.0.html?&tx_netnagext_pi1[p_view]=433 So, if i run the command on the server (by hand), the output is correct: # /usr/lib/nagios/plugins/check_dell_omreport.pl OK: Controller0=Ok/Ready [ Battery0=Ok/Ready Vdisk0=Ok/Ready [ 0:0:0=Ok/Online 0:0:1=Ok/Online ] ] But when i run it from the Nagios server machine, it won't works :( morfeorz:~# /usr/lib/nagios/plugins/check_nrpe -H 192.168.2.3 -c check_raid STORAGE: UNKNOWN check_raid is defined as: "command[check_raid]=/usr/lib/nagios/plugins/check_dell_omreport.pl" I've alredy tried to restart the nrpe-server, but without success. Any suggestion about this quirk behaviour? I have the same configuration for other machine, that work perfectly. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Wed Mar 12 16:06:34 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Wed, 12 Mar 2008 16:06:34 +0100 Subject: RES: problem with suexec In-Reply-To: References: <9774f0ba0803111723k447f7c17k25d33e0c08f11b1d@mail.gmail.com> <47D785C5.1020807@process-zero.de> Message-ID: <47D7F17A.2020103@process-zero.de> Wilson A. Galafassi Jr. schrieb: > I have tried but the problem persist. > With the same error message? Show us your directory (ls -la). > Any other idea? > > Thanks, > Wilson > > -----Mensagem original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik > B?cker > Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 > Para: wilson at galafassi.com.br > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] problem with suexec > > Hi Wilson, > > Wilson Galafassi schrieb: >> hello. >> i have installed nagios on my server running apache 2.2.6. >> >> when i try to access the web interface i see: Internal Server Error >> >> in error_log i see: >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec >> policy violation: see suexec log for more details, referer: >> http://www.digitalstorage.com.br/nagios/side.html >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature >> end of script headers: tac.cgi, referer: >> http://www.digitalstorage.com.br/nagios/side.html >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does >> not exist: /home/digital/public_html/500.shtml, referer: >> http://www.digitalstorage.com.br/nagios/side.html >> >> in suexec_log: >> [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: > tac.cgi >> [2008-03-11 21:22:04]: directory is writable by others: > (/usr/local/nagios/sbin) > Well, did you begin to re-set the permissions? > I don't know suexec in depth but in your situation I would start to try > to do what suexec suggests. After each step I would control if the > balance between application and security is givven. > > So like your suexec_log: change the directory permission of > "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w > /usr/local/nagios/sbin) > > Regards > Hendrik > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Wed Mar 12 16:08:52 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Wed, 12 Mar 2008 16:08:52 +0100 Subject: strange nrpe behaviour In-Reply-To: <47D7ED62.8090109@hermess.it> References: <47D7ED62.8090109@hermess.it> Message-ID: <1205334532.30951.9.camel@bofh.dtnet.de> Hi > i have a Dell PowerEdge 1950 server with a PERC Raid Controller. It runs > Debian Etch, updated. > > I've installed nrpe on the machine and all works fine, except for the > raid check. > I use the check_dell_omreport, that i found here: > > http://www.nagiosexchange.org/DELL_Server.61.0.html?&tx_netnagext_pi1[p_view]=433 > > So, if i run the command on the server (by hand), the output is correct: > > # /usr/lib/nagios/plugins/check_dell_omreport.pl > OK: Controller0=Ok/Ready [ Battery0=Ok/Ready Vdisk0=Ok/Ready [ > 0:0:0=Ok/Online 0:0:1=Ok/Online ] ] > > But when i run it from the Nagios server machine, it won't works :( > > morfeorz:~# /usr/lib/nagios/plugins/check_nrpe -H 192.168.2.3 -c check_raid > > STORAGE: UNKNOWN Sounds like a permission problem. NRPE Server run scripts with permitions of the user specified in nrpe.conf Try to run the script as that user on the mashine. If it fails try to find out wich permissions are missing. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 12 16:15:20 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Mar 2008 10:15:20 -0500 Subject: strange nrpe behaviour In-Reply-To: <47D7ED62.8090109@hermess.it> References: <47D7ED62.8090109@hermess.it> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Federico Donati > Sent: Wednesday, March 12, 2008 9:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] strange nrpe behaviour > > Hi all, > > i have a Dell PowerEdge 1950 server with a PERC Raid Controller. It runs > Debian Etch, updated. > > I've installed nrpe on the machine and all works fine, except for the > raid check. > I use the check_dell_omreport, that i found here: > > http://www.nagiosexchange.org/DELL_Server.61.0.html?&tx_netnagext_pi1[p_ view]= > 433 > > So, if i run the command on the server (by hand), the output is correct: > > # /usr/lib/nagios/plugins/check_dell_omreport.pl > OK: Controller0=Ok/Ready [ Battery0=Ok/Ready Vdisk0=Ok/Ready [ > 0:0:0=Ok/Online 0:0:1=Ok/Online ] ] Not a valid test. Nagios isn't running the plugin as root. Try running it as the nagios user, I'll bet you see different, probably informative, behavior. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Wed Mar 12 15:15:37 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 12 Mar 2008 15:15:37 +0100 Subject: Nagios 2.11 changelog Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9655@hermes.sapphire-int.gi> I see 2.11 is released... Has anyone worked out how to get to the Changelog, since the Nagios.org site changed the download pages? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 12 16:36:44 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Mar 2008 10:36:44 -0500 Subject: Nagios 2.11 changelog In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744CF9655@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A5744CF9655@hermes.sapphire-int.gi> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Giles Coochey > Sent: Wednesday, March 12, 2008 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.11 changelog > > > I see 2.11 is released... > > Has anyone worked out how to get to the Changelog, since the Nagios.org > site changed the download pages? http://www.nagios.org/development/ -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From federico.donati at hermess.it Wed Mar 12 17:10:18 2008 From: federico.donati at hermess.it (Federico Donati) Date: Wed, 12 Mar 2008 17:10:18 +0100 Subject: strange nrpe behaviour In-Reply-To: References: Message-ID: <47D8006A.30801@hermess.it> > Not a valid test. Nagios isn't running the plugin as root. Try running > it as the nagios user, I'll bet you see different, probably informative, > behavior. Thank you, and thanks to Sebastian Ries too. I've enabled sudo and now it works, but this sounds strange to me, eheh. I have the same configuration on another machine, same files, same permission on the executable that that script calls (and same permission to the script too), and it works only on a machine. BTW, if it wants sudo, it will have sudo! :P Thank you for the suggestion :) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wilson.galafassi at gmail.com Wed Mar 12 17:12:39 2008 From: wilson.galafassi at gmail.com (Wilson A. Galafassi Jr.) Date: Wed, 12 Mar 2008 13:12:39 -0300 Subject: RES: RES: problem with suexec Message-ID: # ls -la drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 . drwxr-xr-x 22 root root 4096 Mar 10 20:00 .. drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 bin drwxrwxr-x 3 nagios nagios 4096 Mar 10 20:32 etc drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:41 libexec drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 sbin drwxrwxr-x 9 nagios nagios 4096 Mar 10 20:41 share drwxrwxr-x 5 nagios nagios 4096 Mar 12 13:11 var sbin # ls -la total 3092 drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 . drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 .. -rwxrwxr-x 1 nagios nagios 214472 Mar 10 20:00 avail.cgi -rwxrwxr-x 1 nagios nagios 210760 Mar 10 20:00 cmd.cgi -rwxrwxr-x 1 nagios nagios 180680 Mar 10 20:00 config.cgi -rwxrwxr-x 1 nagios nagios 230024 Mar 10 20:00 extinfo.cgi -rwxrwxr-x 1 nagios nagios 184936 Mar 10 20:00 histogram.cgi -rwxrwxr-x 1 nagios nagios 168456 Mar 10 20:00 history.cgi -rwxrwxr-x 1 nagios nagios 164328 Mar 10 20:00 notifications.cgi -rwxrwxr-x 1 nagios nagios 160200 Mar 10 20:00 outages.cgi -rwxrwxr-x 1 nagios nagios 164616 Mar 10 20:00 showlog.cgi -rwxrwxr-x 1 nagios nagios 221704 Mar 10 20:00 status.cgi -rwxrwxr-x 1 nagios nagios 180904 Mar 10 20:00 statusmap.cgi -rwxrwxr-x 1 nagios nagios 176648 Mar 10 20:00 statuswml.cgi -rwxrwxr-x 1 nagios nagios 164360 Mar 10 20:00 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 181832 Mar 10 20:00 summary.cgi -rwxrwxr-x 1 nagios nagios 176680 Mar 10 20:00 tac.cgi -rwxrwxr-x 1 nagios nagios 189064 Mar 10 20:00 trends.cgi -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik B?cker Enviada em: quarta-feira, 12 de mar?o de 2008 12:07 Para: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] RES: problem with suexec Wilson A. Galafassi Jr. schrieb: > I have tried but the problem persist. > With the same error message? Show us your directory (ls -la). > Any other idea? > > Thanks, > Wilson > > -----Mensagem original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik > B?cker > Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 > Para: wilson at galafassi.com.br > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] problem with suexec > > Hi Wilson, > > Wilson Galafassi schrieb: >> hello. >> i have installed nagios on my server running apache 2.2.6. >> >> when i try to access the web interface i see: Internal Server Error >> >> in error_log i see: >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec >> policy violation: see suexec log for more details, referer: >> http://www.digitalstorage.com.br/nagios/side.html >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature >> end of script headers: tac.cgi, referer: >> http://www.digitalstorage.com.br/nagios/side.html >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does >> not exist: /home/digital/public_html/500.shtml, referer: >> http://www.digitalstorage.com.br/nagios/side.html >> >> in suexec_log: >> [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: > tac.cgi >> [2008-03-11 21:22:04]: directory is writable by others: > (/usr/local/nagios/sbin) > Well, did you begin to re-set the permissions? > I don't know suexec in depth but in your situation I would start to try > to do what suexec suggests. After each step I would control if the > balance between application and security is givven. > > So like your suexec_log: change the directory permission of > "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w > /usr/local/nagios/sbin) > > Regards > Hendrik > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Wed Mar 12 17:30:00 2008 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 12 Mar 2008 16:30:00 -0000 Subject: Nagios 2.11 changelog In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744CF9655@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A5744CF9655@hermes.sapphire-int.gi> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA0331F845@HC-MBX02.herefordshire.gov.uk> The new download page is vile! Bring back the old one! Phil -- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Giles Coochey > Sent: 12 March 2008 14:16 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.11 changelog > > > I see 2.11 is released... > > Has anyone worked out how to get to the Changelog, since the > Nagios.org > site changed the download pages? > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 12 17:32:45 2008 From: marc at ena.com (Marc Powell) Date: Wed, 12 Mar 2008 11:32:45 -0500 Subject: strange nrpe behaviour In-Reply-To: <47D8006A.30801@hermess.it> References: <47D8006A.30801@hermess.it> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Federico Donati > Sent: Wednesday, March 12, 2008 11:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] strange nrpe behaviour > > I've enabled sudo and now it works, but this sounds strange to me, eheh. > I have the same configuration on another machine, same files, same > permission on the executable that that script calls (and same permission > to the script too), and it works only on a machine. It's probably a difference in permissions for the devices or programs the accesses then, if you wanted to dig further. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at nuvox.com Wed Mar 12 17:42:59 2008 From: dfulton at nuvox.com (Fulton, David) Date: Wed, 12 Mar 2008 12:42:59 -0400 Subject: Nagios 2.11 changelog In-Reply-To: References: <9D30659ABCA7FB428CF91E386C3A5744CF9655@hermes.sapphire-int.gi> Message-ID: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1F5E29F5@EMAIL01.CORPORATE.VOX.NET> Just click the changelog tag in the latest news section and scroll down. David Fulton Systems Administrator NuVox Communications "Because Business is on the Line" > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Wednesday, March 12, 2008 11:37 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.11 changelog > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Giles Coochey > > Sent: Wednesday, March 12, 2008 9:16 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios 2.11 changelog > > > > > > I see 2.11 is released... > > > > Has anyone worked out how to get to the Changelog, since the > Nagios.org > > site changed the download pages? > > http://www.nagios.org/development/ > > -- > Marc > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 and any attachments ("Message") may contain legally privileged and/or confidential information. If you are not the addressee, or if this Message has been addressed to you in error, you are not authorized to read, copy, or distribute it, and we ask that you please delete it (including all copies) and notify the sender by return email. Delivery of this Message to any person other than the intended recipient(s) shall not be deemed a waiver of confidentiality and/or a privilege. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Mar 12 18:30:11 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 12 Mar 2008 13:30:11 -0400 Subject: RES: RES: problem with suexec In-Reply-To: References: Message-ID: > [2008-03-11 21:22:04]: directory is writable by others: (/usr/local/nagios/sbin) group writable directory and group writable files ... On Wed, Mar 12, 2008 at 12:12 PM, Wilson A. Galafassi Jr. wrote: > > # ls -la > drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 . > drwxr-xr-x 22 root root 4096 Mar 10 20:00 .. > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 bin > drwxrwxr-x 3 nagios nagios 4096 Mar 10 20:32 etc > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:41 libexec > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 sbin > drwxrwxr-x 9 nagios nagios 4096 Mar 10 20:41 share > drwxrwxr-x 5 nagios nagios 4096 Mar 12 13:11 var > > sbin > # ls -la > total 3092 > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 . > drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 .. > -rwxrwxr-x 1 nagios nagios 214472 Mar 10 20:00 avail.cgi > -rwxrwxr-x 1 nagios nagios 210760 Mar 10 20:00 cmd.cgi > -rwxrwxr-x 1 nagios nagios 180680 Mar 10 20:00 config.cgi > -rwxrwxr-x 1 nagios nagios 230024 Mar 10 20:00 extinfo.cgi > -rwxrwxr-x 1 nagios nagios 184936 Mar 10 20:00 histogram.cgi > -rwxrwxr-x 1 nagios nagios 168456 Mar 10 20:00 history.cgi > -rwxrwxr-x 1 nagios nagios 164328 Mar 10 20:00 notifications.cgi > -rwxrwxr-x 1 nagios nagios 160200 Mar 10 20:00 outages.cgi > -rwxrwxr-x 1 nagios nagios 164616 Mar 10 20:00 showlog.cgi > -rwxrwxr-x 1 nagios nagios 221704 Mar 10 20:00 status.cgi > -rwxrwxr-x 1 nagios nagios 180904 Mar 10 20:00 statusmap.cgi > -rwxrwxr-x 1 nagios nagios 176648 Mar 10 20:00 statuswml.cgi > -rwxrwxr-x 1 nagios nagios 164360 Mar 10 20:00 statuswrl.cgi > -rwxrwxr-x 1 nagios nagios 181832 Mar 10 20:00 summary.cgi > -rwxrwxr-x 1 nagios nagios 176680 Mar 10 20:00 tac.cgi > -rwxrwxr-x 1 nagios nagios 189064 Mar 10 20:00 trends.cgi > > > -----Mensagem original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik > B?cker > Enviada em: quarta-feira, 12 de mar?o de 2008 12:07 > Para: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] RES: problem with suexec > > > > > > Wilson A. Galafassi Jr. schrieb: > > I have tried but the problem persist. > > > With the same error message? Show us your directory (ls -la). > > > Any other idea? > > > > > Thanks, > > Wilson > > > > -----Mensagem original----- > > De: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik > > B?cker > > Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 > > Para: wilson at galafassi.com.br > > Cc: nagios-users at lists.sourceforge.net > > Assunto: Re: [Nagios-users] problem with suexec > > > > Hi Wilson, > > > > Wilson Galafassi schrieb: > >> hello. > >> i have installed nagios on my server running apache 2.2.6. > >> > >> when i try to access the web interface i see: Internal Server Error > >> > >> in error_log i see: > >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec > >> policy violation: see suexec log for more details, referer: > >> http://www.digitalstorage.com.br/nagios/side.html > >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature > >> end of script headers: tac.cgi, referer: > >> http://www.digitalstorage.com.br/nagios/side.html > >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does > >> not exist: /home/digital/public_html/500.shtml, referer: > >> http://www.digitalstorage.com.br/nagios/side.html > >> > >> in suexec_log: > >> [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: > > tac.cgi > >> [2008-03-11 21:22:04]: directory is writable by others: > > (/usr/local/nagios/sbin) > > Well, did you begin to re-set the permissions? > > I don't know suexec in depth but in your situation I would start to try > > to do what suexec suggests. After each step I would control if the > > balance between application and security is givven. > > > > So like your suexec_log: change the directory permission of > > "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w > > /usr/local/nagios/sbin) > > > > Regards > > Hendrik > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 12 18:31:42 2008 From: michael at medin.name (Michael Medin) Date: Wed, 12 Mar 2008 18:31:42 +0100 Subject: Announce: NSClient++ 0.3.1 Windows agent Message-ID: <47D8137E.8000806@medin.name> Hello, Just realized I haven't posted any release notices to this list in a few years so I figured it was about time :) "NSClient++ aims to be a simple lightweight yet powerful and secure monitoring agent for the Windows operating systems. In addition to being compatible with check_nt (NSClient) it can also be monitored via NRPE or NSCA. It has the usual set of built-in checks but since it can also be extended with plugins/scripts (in various languages) you can "theoretically" monitor pretty much anything with it if you are so inclined." It is written in C++ and thus is fairly low on resources and memory. As for compatibility it should run on Windows NT4 all the way up to Vista (and beyond?) on Win32, x64 and IA64. The web page can be found here: http://trac.nakednuns.org/nscp/ There is also a sourceforge page http://sourceforge.net/project/showfiles.php?group_id=131326&package_id=144099 But since I think sourceforge sucks (too slow to use) you wont find anything but releases there. The highlights from the last two releases are: (for details refer to the changelog: http://trac.nakednuns.org/nscp/browser/trunk/changelog ) - 0.3.1 * Logfile in unicode (now logging in a galaxy far far away will also work :) * Improved Eventlog (can now properly render messages, return only unique errors and a lot of other enhancements) * New interactive Installer (very simple as of now, but still) * Variable packet size for NRPE module (needs recompile of check_nrpe) * New NRPE Client (to check "other" services via NRPE) * New CheckExternalScripts module (simpler then the "old" NRPE version) * New NSCA module (with proper encryption) * New LUA module (write your own checks with LUA scripts) * Improved stability (as always) * Improved SysTray (nicer dialogs and improved stability) * Index-lookups of PDH counters (hopefully this will once-and.-for-all fixe the dreaded PDH counter thread issues) - 0.3.0 * Improved WMI module (should, I hope, be useful now) * Unicode support (that means people in can use performance counters). * *FIXES* in the socket handling (hopefully it actually works now) * Some new performance counters as well as slightly better handling (has been fixed even better in next version) ... PS. Since I am about to start sketching on the 0.4.0 version feature requests are always nice :) // Michael Medin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Wed Mar 12 18:38:08 2008 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Wed, 12 Mar 2008 23:23:08 +0545 Subject: Host are up but not notified. Message-ID: <47D81500.2020004@subisu.net.np> Dear all, I have noticed a few times that I get notifications when a host goes down, but afterwards though the host comes up. I dont get a notification and the status in nagios is not updated as well i.e, it shows the host is still down. And after I restart nagios it notifes and updates it status. What might be the reason. I am using Nagios 2.10 . Any body else has faced this scene before? Any reference or advise would be helpful. TIA, Gaurav ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s6a9d6u9s at gmail.com Wed Mar 12 22:08:06 2008 From: s6a9d6u9s at gmail.com (Jeremy) Date: Wed, 12 Mar 2008 16:08:06 -0500 Subject: check result buffer memory leak? Message-ID: Hi, I'm trying to get some more information about this fix in 2.11: "Fix for a possible memory leak in situations where overflow occurs in check result buffer" How can I tell if our Nagios servers are suffering from this memory leak or not? Is this caused by scripts returning more than the ~300 some characters that Nagios 2.x accepts for the check results? Just trying to decide if its worth upgrading to 2.11 or just waiting a bit longer for 3.0.1 ;-) We have a fairly big distributed server setup so I'd have to upgrade about 8 Nagios servers. All our servers are password protected and also only accessible internally so I'm not that worried about the XSS vulnerability. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wilson.galafassi at gmail.com Wed Mar 12 22:26:34 2008 From: wilson.galafassi at gmail.com (Wilson A. Galafassi Jr.) Date: Wed, 12 Mar 2008 18:26:34 -0300 Subject: RES: RES: RES: problem with suexec In-Reply-To: References: Message-ID: Hello. if i use the commands: chmod g-w sbin chmod g-w sbin/* suexec tell me: [2008-03-12 18:25:02]: error: target uid/gid (32042/32044) mismatch with directory (32121/32123) or program (32121/32123) or trusted user (0/10) Any other sugestion? Thanks Wilson -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Max Enviada em: quarta-feira, 12 de mar?o de 2008 14:30 Para: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] RES: RES: problem with suexec > [2008-03-11 21:22:04]: directory is writable by others: (/usr/local/nagios/sbin) group writable directory and group writable files ... On Wed, Mar 12, 2008 at 12:12 PM, Wilson A. Galafassi Jr. wrote: > > # ls -la > drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 . > drwxr-xr-x 22 root root 4096 Mar 10 20:00 .. > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 bin > drwxrwxr-x 3 nagios nagios 4096 Mar 10 20:32 etc > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:41 libexec > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 sbin > drwxrwxr-x 9 nagios nagios 4096 Mar 10 20:41 share > drwxrwxr-x 5 nagios nagios 4096 Mar 12 13:11 var > > sbin > # ls -la > total 3092 > drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 . > drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 .. > -rwxrwxr-x 1 nagios nagios 214472 Mar 10 20:00 avail.cgi > -rwxrwxr-x 1 nagios nagios 210760 Mar 10 20:00 cmd.cgi > -rwxrwxr-x 1 nagios nagios 180680 Mar 10 20:00 config.cgi > -rwxrwxr-x 1 nagios nagios 230024 Mar 10 20:00 extinfo.cgi > -rwxrwxr-x 1 nagios nagios 184936 Mar 10 20:00 histogram.cgi > -rwxrwxr-x 1 nagios nagios 168456 Mar 10 20:00 history.cgi > -rwxrwxr-x 1 nagios nagios 164328 Mar 10 20:00 notifications.cgi > -rwxrwxr-x 1 nagios nagios 160200 Mar 10 20:00 outages.cgi > -rwxrwxr-x 1 nagios nagios 164616 Mar 10 20:00 showlog.cgi > -rwxrwxr-x 1 nagios nagios 221704 Mar 10 20:00 status.cgi > -rwxrwxr-x 1 nagios nagios 180904 Mar 10 20:00 statusmap.cgi > -rwxrwxr-x 1 nagios nagios 176648 Mar 10 20:00 statuswml.cgi > -rwxrwxr-x 1 nagios nagios 164360 Mar 10 20:00 statuswrl.cgi > -rwxrwxr-x 1 nagios nagios 181832 Mar 10 20:00 summary.cgi > -rwxrwxr-x 1 nagios nagios 176680 Mar 10 20:00 tac.cgi > -rwxrwxr-x 1 nagios nagios 189064 Mar 10 20:00 trends.cgi > > > -----Mensagem original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik > B?cker > Enviada em: quarta-feira, 12 de mar?o de 2008 12:07 > Para: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] RES: problem with suexec > > > > > > Wilson A. Galafassi Jr. schrieb: > > I have tried but the problem persist. > > > With the same error message? Show us your directory (ls -la). > > > Any other idea? > > > > > Thanks, > > Wilson > > > > -----Mensagem original----- > > De: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik > > B?cker > > Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 > > Para: wilson at galafassi.com.br > > Cc: nagios-users at lists.sourceforge.net > > Assunto: Re: [Nagios-users] problem with suexec > > > > Hi Wilson, > > > > Wilson Galafassi schrieb: > >> hello. > >> i have installed nagios on my server running apache 2.2.6. > >> > >> when i try to access the web interface i see: Internal Server Error > >> > >> in error_log i see: > >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec > >> policy violation: see suexec log for more details, referer: > >> http://www.digitalstorage.com.br/nagios/side.html > >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature > >> end of script headers: tac.cgi, referer: > >> http://www.digitalstorage.com.br/nagios/side.html > >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does > >> not exist: /home/digital/public_html/500.shtml, referer: > >> http://www.digitalstorage.com.br/nagios/side.html > >> > >> in suexec_log: > >> [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: > > tac.cgi > >> [2008-03-11 21:22:04]: directory is writable by others: > > (/usr/local/nagios/sbin) > > Well, did you begin to re-set the permissions? > > I don't know suexec in depth but in your situation I would start to try > > to do what suexec suggests. After each step I would control if the > > balance between application and security is givven. > > > > So like your suexec_log: change the directory permission of > > "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w > > /usr/local/nagios/sbin) > > > > Regards > > Hendrik > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Wed Mar 12 22:34:16 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Wed, 12 Mar 2008 22:34:16 +0100 Subject: RES: RES: RES: problem with suexec In-Reply-To: References: Message-ID: <47D84C58.3060908@process-zero.de> Hi, I would _not_ suggest to disable suexec, but I suggest that you should be more familar with it.... So please read the following docs carefully: http://httpd.apache.org/docs/2.0/suexec.html Wilson A. Galafassi Jr. schrieb: > Hello. > if i use the commands: > chmod g-w sbin > chmod g-w sbin/* > > suexec tell me: > [2008-03-12 18:25:02]: error: target uid/gid (32042/32044) mismatch with > directory (32121/32123) or program (32121/32123) or trusted user (0/10) > so... the files are owned by another uid/gid than your apache (i guess). > > Any other sugestion? > Thanks > Wilson > > -----Mensagem original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Max > Enviada em: quarta-feira, 12 de mar?o de 2008 14:30 > Para: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] RES: RES: problem with suexec > >> [2008-03-11 21:22:04]: directory is writable by others: > (/usr/local/nagios/sbin) > > group writable directory and group writable files ... > > On Wed, Mar 12, 2008 at 12:12 PM, Wilson A. Galafassi Jr. > wrote: >> # ls -la >> drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 . >> drwxr-xr-x 22 root root 4096 Mar 10 20:00 .. >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 bin >> drwxrwxr-x 3 nagios nagios 4096 Mar 10 20:32 etc >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:41 libexec >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 sbin >> drwxrwxr-x 9 nagios nagios 4096 Mar 10 20:41 share >> drwxrwxr-x 5 nagios nagios 4096 Mar 12 13:11 var >> >> sbin >> # ls -la >> total 3092 >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 . >> drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 .. >> -rwxrwxr-x 1 nagios nagios 214472 Mar 10 20:00 avail.cgi >> -rwxrwxr-x 1 nagios nagios 210760 Mar 10 20:00 cmd.cgi >> -rwxrwxr-x 1 nagios nagios 180680 Mar 10 20:00 config.cgi >> -rwxrwxr-x 1 nagios nagios 230024 Mar 10 20:00 extinfo.cgi >> -rwxrwxr-x 1 nagios nagios 184936 Mar 10 20:00 histogram.cgi >> -rwxrwxr-x 1 nagios nagios 168456 Mar 10 20:00 history.cgi >> -rwxrwxr-x 1 nagios nagios 164328 Mar 10 20:00 notifications.cgi >> -rwxrwxr-x 1 nagios nagios 160200 Mar 10 20:00 outages.cgi >> -rwxrwxr-x 1 nagios nagios 164616 Mar 10 20:00 showlog.cgi >> -rwxrwxr-x 1 nagios nagios 221704 Mar 10 20:00 status.cgi >> -rwxrwxr-x 1 nagios nagios 180904 Mar 10 20:00 statusmap.cgi >> -rwxrwxr-x 1 nagios nagios 176648 Mar 10 20:00 statuswml.cgi >> -rwxrwxr-x 1 nagios nagios 164360 Mar 10 20:00 statuswrl.cgi >> -rwxrwxr-x 1 nagios nagios 181832 Mar 10 20:00 summary.cgi >> -rwxrwxr-x 1 nagios nagios 176680 Mar 10 20:00 tac.cgi >> -rwxrwxr-x 1 nagios nagios 189064 Mar 10 20:00 trends.cgi >> >> >> -----Mensagem original----- >> De: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik >> B?cker >> Enviada em: quarta-feira, 12 de mar?o de 2008 12:07 >> Para: nagios-users at lists.sourceforge.net >> Assunto: Re: [Nagios-users] RES: problem with suexec >> >> >> >> >> >> Wilson A. Galafassi Jr. schrieb: >> > I have tried but the problem persist. >> > >> With the same error message? Show us your directory (ls -la). >> >> > Any other idea? >> > >> >> > Thanks, >> > Wilson >> > >> > -----Mensagem original----- >> > De: nagios-users-bounces at lists.sourceforge.net >> > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik >> > B?cker >> > Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 >> > Para: wilson at galafassi.com.br >> > Cc: nagios-users at lists.sourceforge.net >> > Assunto: Re: [Nagios-users] problem with suexec >> > >> > Hi Wilson, >> > >> > Wilson Galafassi schrieb: >> >> hello. >> >> i have installed nagios on my server running apache 2.2.6. >> >> >> >> when i try to access the web interface i see: Internal Server Error >> >> >> >> in error_log i see: >> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec >> >> policy violation: see suexec log for more details, referer: >> >> http://www.digitalstorage.com.br/nagios/side.html >> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature >> >> end of script headers: tac.cgi, referer: >> >> http://www.digitalstorage.com.br/nagios/side.html >> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does >> >> not exist: /home/digital/public_html/500.shtml, referer: >> >> http://www.digitalstorage.com.br/nagios/side.html >> >> >> >> in suexec_log: >> >> [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: >> > tac.cgi >> >> [2008-03-11 21:22:04]: directory is writable by others: >> > (/usr/local/nagios/sbin) >> > Well, did you begin to re-set the permissions? >> > I don't know suexec in depth but in your situation I would start to try >> > to do what suexec suggests. After each step I would control if the >> > balance between application and security is givven. >> > >> > So like your suexec_log: change the directory permission of >> > "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w >> > /usr/local/nagios/sbin) >> > >> > Regards >> > Hendrik >> > >> > > ------------------------------------------------------------------------- >> > This SF.net email is sponsored by: Microsoft >> > Defy all challenges. Microsoft(R) Visual Studio 2008. >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Wed Mar 12 22:37:56 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Wed, 12 Mar 2008 22:37:56 +0100 Subject: Nagios 2.11 changelog In-Reply-To: <7EF0EE5CB3B263488C8C18823239BEBA0331F845@HC-MBX02.herefordshire.gov.uk> References: <9D30659ABCA7FB428CF91E386C3A5744CF9655@hermes.sapphire-int.gi> <7EF0EE5CB3B263488C8C18823239BEBA0331F845@HC-MBX02.herefordshire.gov.uk> Message-ID: <47D84D34.7000400@process-zero.de> Randal, Phil schrieb: > The new download page is vile! Bring back the old one! > The template based object definition of Nagios is stupidly and evil to manage - please bring back Netsaint like configuration ;) SCNR Regards Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wilson.galafassi at gmail.com Wed Mar 12 22:37:52 2008 From: wilson.galafassi at gmail.com (Wilson A. Galafassi Jr.) Date: Wed, 12 Mar 2008 18:37:52 -0300 Subject: RES: RES: RES: RES: problem with suexec In-Reply-To: <47D84C58.3060908@process-zero.de> References: <47D84C58.3060908@process-zero.de> Message-ID: I?m running cpanel with alot of websites in this host. So disable suexec isn?t an option. Any sugestion? Thanks Wilson -----Mensagem original----- De: Hendrik B?cker [mailto:andurin at process-zero.de] Enviada em: quarta-feira, 12 de mar?o de 2008 18:34 Para: Wilson A. Galafassi Jr. Cc: 'Max'; nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] RES: RES: RES: problem with suexec Hi, I would _not_ suggest to disable suexec, but I suggest that you should be more familar with it.... So please read the following docs carefully: http://httpd.apache.org/docs/2.0/suexec.html Wilson A. Galafassi Jr. schrieb: > Hello. > if i use the commands: > chmod g-w sbin > chmod g-w sbin/* > > suexec tell me: > [2008-03-12 18:25:02]: error: target uid/gid (32042/32044) mismatch with > directory (32121/32123) or program (32121/32123) or trusted user (0/10) > so... the files are owned by another uid/gid than your apache (i guess). > > Any other sugestion? > Thanks > Wilson > > -----Mensagem original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Max > Enviada em: quarta-feira, 12 de mar?o de 2008 14:30 > Para: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] RES: RES: problem with suexec > >> [2008-03-11 21:22:04]: directory is writable by others: > (/usr/local/nagios/sbin) > > group writable directory and group writable files ... > > On Wed, Mar 12, 2008 at 12:12 PM, Wilson A. Galafassi Jr. > wrote: >> # ls -la >> drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 . >> drwxr-xr-x 22 root root 4096 Mar 10 20:00 .. >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 bin >> drwxrwxr-x 3 nagios nagios 4096 Mar 10 20:32 etc >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:41 libexec >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 sbin >> drwxrwxr-x 9 nagios nagios 4096 Mar 10 20:41 share >> drwxrwxr-x 5 nagios nagios 4096 Mar 12 13:11 var >> >> sbin >> # ls -la >> total 3092 >> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 . >> drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 .. >> -rwxrwxr-x 1 nagios nagios 214472 Mar 10 20:00 avail.cgi >> -rwxrwxr-x 1 nagios nagios 210760 Mar 10 20:00 cmd.cgi >> -rwxrwxr-x 1 nagios nagios 180680 Mar 10 20:00 config.cgi >> -rwxrwxr-x 1 nagios nagios 230024 Mar 10 20:00 extinfo.cgi >> -rwxrwxr-x 1 nagios nagios 184936 Mar 10 20:00 histogram.cgi >> -rwxrwxr-x 1 nagios nagios 168456 Mar 10 20:00 history.cgi >> -rwxrwxr-x 1 nagios nagios 164328 Mar 10 20:00 notifications.cgi >> -rwxrwxr-x 1 nagios nagios 160200 Mar 10 20:00 outages.cgi >> -rwxrwxr-x 1 nagios nagios 164616 Mar 10 20:00 showlog.cgi >> -rwxrwxr-x 1 nagios nagios 221704 Mar 10 20:00 status.cgi >> -rwxrwxr-x 1 nagios nagios 180904 Mar 10 20:00 statusmap.cgi >> -rwxrwxr-x 1 nagios nagios 176648 Mar 10 20:00 statuswml.cgi >> -rwxrwxr-x 1 nagios nagios 164360 Mar 10 20:00 statuswrl.cgi >> -rwxrwxr-x 1 nagios nagios 181832 Mar 10 20:00 summary.cgi >> -rwxrwxr-x 1 nagios nagios 176680 Mar 10 20:00 tac.cgi >> -rwxrwxr-x 1 nagios nagios 189064 Mar 10 20:00 trends.cgi >> >> >> -----Mensagem original----- >> De: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik >> B?cker >> Enviada em: quarta-feira, 12 de mar?o de 2008 12:07 >> Para: nagios-users at lists.sourceforge.net >> Assunto: Re: [Nagios-users] RES: problem with suexec >> >> >> >> >> >> Wilson A. Galafassi Jr. schrieb: >> > I have tried but the problem persist. >> > >> With the same error message? Show us your directory (ls -la). >> >> > Any other idea? >> > >> >> > Thanks, >> > Wilson >> > >> > -----Mensagem original----- >> > De: nagios-users-bounces at lists.sourceforge.net >> > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik >> > B?cker >> > Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 >> > Para: wilson at galafassi.com.br >> > Cc: nagios-users at lists.sourceforge.net >> > Assunto: Re: [Nagios-users] problem with suexec >> > >> > Hi Wilson, >> > >> > Wilson Galafassi schrieb: >> >> hello. >> >> i have installed nagios on my server running apache 2.2.6. >> >> >> >> when i try to access the web interface i see: Internal Server Error >> >> >> >> in error_log i see: >> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec >> >> policy violation: see suexec log for more details, referer: >> >> http://www.digitalstorage.com.br/nagios/side.html >> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] Premature >> >> end of script headers: tac.cgi, referer: >> >> http://www.digitalstorage.com.br/nagios/side.html >> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File does >> >> not exist: /home/digital/public_html/500.shtml, referer: >> >> http://www.digitalstorage.com.br/nagios/side.html >> >> >> >> in suexec_log: >> >> [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: >> > tac.cgi >> >> [2008-03-11 21:22:04]: directory is writable by others: >> > (/usr/local/nagios/sbin) >> > Well, did you begin to re-set the permissions? >> > I don't know suexec in depth but in your situation I would start to try >> > to do what suexec suggests. After each step I would control if the >> > balance between application and security is givven. >> > >> > So like your suexec_log: change the directory permission of >> > "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w >> > /usr/local/nagios/sbin) >> > >> > Regards >> > Hendrik >> > >> > > ------------------------------------------------------------------------- >> > This SF.net email is sponsored by: Microsoft >> > Defy all challenges. Microsoft(R) Visual Studio 2008. >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Thu Mar 13 01:26:15 2008 From: vmanojv at rediffmail.com (Nair) Date: 13 Mar 2008 00:26:15 -0000 Subject: Nagios Config Script Message-ID: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> Hi friends, I got to monitor my data centre with Nagios. Please share your thoughts on automated *.cfg file creation. Thank you, Manu. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 slb.com Thu Mar 13 01:29:21 2008 From: DVeldhuisen at slb.com (Doug Veldhuisen) Date: Thu, 13 Mar 2008 01:29:21 +0100 Subject: Nagios Config Script In-Reply-To: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> References: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> Message-ID: That covers a lot of ground. At first thought, there is a program called NACE that might work for you. http://www.adamsinfoserv.com/AISTWiki/bin/view/AIS/NACE Doug From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nair Sent: Wednesday, March 12, 2008 7:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Config Script Hi friends, I got to monitor my data centre with Nagios. Please share your thoughts on automated *.cfg file creation. Thank you, Manu. [cid:~WRD000.jpg] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: ~WRD000.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 13 01:53:37 2008 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 12 Mar 2008 19:53:37 -0500 Subject: Nagios Config Script In-Reply-To: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> References: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> Message-ID: <20080313005337.GA15017@odin.demosthenes.org> Care to elaborate on your requirements? I'd be happy to give you some ideas where NACE might help. Thanks. On Thu, Mar 13, 2008 at 12:26:15AM -0000, Nair wrote: > Hi friends, > > I got to monitor my data centre with Nagios. > > Please share your thoughts on automated *.cfg file creation. > > Thank you, > > Manu. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Thu Mar 13 02:19:22 2008 From: dale at chatham.org (Dale J. Chatham) Date: Wed, 12 Mar 2008 20:19:22 -0500 Subject: Nagios Config Script In-Reply-To: <20080313005337.GA15017@odin.demosthenes.org> References: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> <20080313005337.GA15017@odin.demosthenes.org> Message-ID: <47D8811A.2070007@chatham.org> I've written lots of scripts to autocreate .cfg files. My advice is to have one file per configuratin item, file name = configuration item name (less the .cfg). Separate directories for each config type. Russell Adams wrote: > Care to elaborate on your requirements? I'd be happy to give you some > ideas where NACE might help. > > Thanks. > > On Thu, Mar 13, 2008 at 12:26:15AM -0000, Nair wrote: > >> Hi friends, >> >> I got to monitor my data centre with Nagios. >> >> Please share your thoughts on automated *.cfg file creation. >> >> Thank you, >> >> Manu. >> >> > > >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 07:24:40 2008 From: ralf.prengel at comline.de (Ralf Prengel) Date: Thu, 13 Mar 2008 07:24:40 +0100 Subject: best way to check cups-spooler Message-ID: <47D8C8A8.2020706@comline.de> Hallo, I ve to check a printwerver with about 50 printers. What is the best way to check a) health and connectivity of the printers b) if jobs are hanging Thanks for hints -- i.A. Ralf Prengel Customer Care Manager Comline AG Hauert 8 D-44227 Dortmund/Germany Fon +49231 97575- 904 Fax +49231 97575- 905 EMail ralf.prengel at comline.de www.comline.de Vorstand Stephan Schilling, Erwin Leonhardi Aufsichtsrat Dr. Franz Schoser (Vorsitzender) HR Dortmund B 14570 USt.-ID-Nr. DE 124727422 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Thu Mar 13 12:02:40 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Thu, 13 Mar 2008 12:02:40 +0100 Subject: RES: RES: RES: RES: problem with suexec In-Reply-To: References: <47D84C58.3060908@process-zero.de> Message-ID: <47D909D0.4040005@process-zero.de> Wilson A. Galafassi Jr. schrieb: > I?m running cpanel with alot of websites in this host. So disable suexec > isn?t an option. As I wrote - I would not suggest to disable. > > Any sugestion? What about reading the fine manual to know what suexec is expecting??? > Thanks > Wilson > > > -----Mensagem original----- > De: Hendrik B?cker [mailto:andurin at process-zero.de] > Enviada em: quarta-feira, 12 de mar?o de 2008 18:34 > Para: Wilson A. Galafassi Jr. > Cc: 'Max'; nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] RES: RES: RES: problem with suexec > > Hi, > > I would _not_ suggest to disable suexec, but I suggest that you should > be more familar with it.... > > So please read the following docs carefully: > http://httpd.apache.org/docs/2.0/suexec.html > > Wilson A. Galafassi Jr. schrieb: >> Hello. >> if i use the commands: >> chmod g-w sbin >> chmod g-w sbin/* >> >> suexec tell me: >> [2008-03-12 18:25:02]: error: target uid/gid (32042/32044) mismatch with >> directory (32121/32123) or program (32121/32123) or trusted user (0/10) >> > so... the files are owned by another uid/gid than your apache (i guess). >> Any other sugestion? >> Thanks >> Wilson >> >> -----Mensagem original----- >> De: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Max >> Enviada em: quarta-feira, 12 de mar?o de 2008 14:30 >> Para: nagios-users at lists.sourceforge.net >> Assunto: Re: [Nagios-users] RES: RES: problem with suexec >> >>> [2008-03-11 21:22:04]: directory is writable by others: >> (/usr/local/nagios/sbin) >> >> group writable directory and group writable files ... >> >> On Wed, Mar 12, 2008 at 12:12 PM, Wilson A. Galafassi Jr. >> wrote: >>> # ls -la >>> drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 . >>> drwxr-xr-x 22 root root 4096 Mar 10 20:00 .. >>> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 bin >>> drwxrwxr-x 3 nagios nagios 4096 Mar 10 20:32 etc >>> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:41 libexec >>> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 sbin >>> drwxrwxr-x 9 nagios nagios 4096 Mar 10 20:41 share >>> drwxrwxr-x 5 nagios nagios 4096 Mar 12 13:11 var >>> >>> sbin >>> # ls -la >>> total 3092 >>> drwxrwxr-x 2 nagios nagios 4096 Mar 10 20:00 . >>> drwxrwxr-x 8 nagios nagios 4096 Mar 10 20:00 .. >>> -rwxrwxr-x 1 nagios nagios 214472 Mar 10 20:00 avail.cgi >>> -rwxrwxr-x 1 nagios nagios 210760 Mar 10 20:00 cmd.cgi >>> -rwxrwxr-x 1 nagios nagios 180680 Mar 10 20:00 config.cgi >>> -rwxrwxr-x 1 nagios nagios 230024 Mar 10 20:00 extinfo.cgi >>> -rwxrwxr-x 1 nagios nagios 184936 Mar 10 20:00 histogram.cgi >>> -rwxrwxr-x 1 nagios nagios 168456 Mar 10 20:00 history.cgi >>> -rwxrwxr-x 1 nagios nagios 164328 Mar 10 20:00 notifications.cgi >>> -rwxrwxr-x 1 nagios nagios 160200 Mar 10 20:00 outages.cgi >>> -rwxrwxr-x 1 nagios nagios 164616 Mar 10 20:00 showlog.cgi >>> -rwxrwxr-x 1 nagios nagios 221704 Mar 10 20:00 status.cgi >>> -rwxrwxr-x 1 nagios nagios 180904 Mar 10 20:00 statusmap.cgi >>> -rwxrwxr-x 1 nagios nagios 176648 Mar 10 20:00 statuswml.cgi >>> -rwxrwxr-x 1 nagios nagios 164360 Mar 10 20:00 statuswrl.cgi >>> -rwxrwxr-x 1 nagios nagios 181832 Mar 10 20:00 summary.cgi >>> -rwxrwxr-x 1 nagios nagios 176680 Mar 10 20:00 tac.cgi >>> -rwxrwxr-x 1 nagios nagios 189064 Mar 10 20:00 trends.cgi >>> >>> >>> -----Mensagem original----- >>> De: nagios-users-bounces at lists.sourceforge.net >>> [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik >>> B?cker >>> Enviada em: quarta-feira, 12 de mar?o de 2008 12:07 >>> Para: nagios-users at lists.sourceforge.net >>> Assunto: Re: [Nagios-users] RES: problem with suexec >>> >>> >>> >>> >>> >>> Wilson A. Galafassi Jr. schrieb: >>> > I have tried but the problem persist. >>> > >>> With the same error message? Show us your directory (ls -la). >>> >>> > Any other idea? >>> > >>> >>> > Thanks, >>> > Wilson >>> > >>> > -----Mensagem original----- >>> > De: nagios-users-bounces at lists.sourceforge.net >>> > [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hendrik >>> > B?cker >>> > Enviada em: quarta-feira, 12 de mar?o de 2008 04:27 >>> > Para: wilson at galafassi.com.br >>> > Cc: nagios-users at lists.sourceforge.net >>> > Assunto: Re: [Nagios-users] problem with suexec >>> > >>> > Hi Wilson, >>> > >>> > Wilson Galafassi schrieb: >>> >> hello. >>> >> i have installed nagios on my server running apache 2.2.6. >>> >> >>> >> when i try to access the web interface i see: Internal Server Error >>> >> >>> >> in error_log i see: >>> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] suexec >>> >> policy violation: see suexec log for more details, referer: >>> >> http://www.digitalstorage.com.br/nagios/side.html >>> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] > Premature >>> >> end of script headers: tac.cgi, referer: >>> >> http://www.digitalstorage.com.br/nagios/side.html >>> >> [Tue Mar 11 21:20:15 2008] [error] [client xxx.yyy.zzz.xxxx] File > does >>> >> not exist: /home/digital/public_html/500.shtml, referer: >>> >> http://www.digitalstorage.com.br/nagios/side.html >>> >> >>> >> in suexec_log: >>> >> [2008-03-11 21:22:04]: uid: (32042/digital) gid: (32044/32044) cmd: >>> > tac.cgi >>> >> [2008-03-11 21:22:04]: directory is writable by others: >>> > (/usr/local/nagios/sbin) >>> > Well, did you begin to re-set the permissions? >>> > I don't know suexec in depth but in your situation I would start to > try >>> > to do what suexec suggests. After each step I would control if the >>> > balance between application and security is givven. >>> > >>> > So like your suexec_log: change the directory permission of >>> > "/usr/local/nagios/sbin" to make it not writable by "other" (chmod o-w >>> > /usr/local/nagios/sbin) >>> > >>> > Regards >>> > Hendrik >>> > >>> > >> ------------------------------------------------------------------------- >>> > This SF.net email is sponsored by: Microsoft >>> > Defy all challenges. Microsoft(R) Visual Studio 2008. >>> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> > _______________________________________________ >>> > Nagios-users mailing list >>> > Nagios-users at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/nagios-users >>> > ::: 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: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 12:30:33 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 13 Mar 2008 12:30:33 +0100 Subject: best way to check cups-spooler In-Reply-To: <47D8C8A8.2020706@comline.de> References: <47D8C8A8.2020706@comline.de> Message-ID: <47D91059.5070602@its-lehmann.de> Hi, 13.03.2008 07:24, Ralf Prengel wrote: > Hallo, > > I ve to check a printwerver with about 50 printers. > What is the best way to check > a) > health and connectivity of the printers > b) > if jobs are hanging > > Thanks for hints If this is CUPS, I'd write wrapper scripts around lpq and a text-mode web browser (or curl, or whatever perl/python/php library you like) to query the web interface for the printer states. nagiosexchange.org also has some cups-related plugins... Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rcupardo at tnet.it Thu Mar 13 12:50:32 2008 From: rcupardo at tnet.it (Riccardo Cupardo) Date: Thu, 13 Mar 2008 12:50:32 +0100 Subject: Cluster services dependencies Message-ID: <47D91508.90101@tnet.it> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 12:56:50 2008 From: marc at ena.com (Marc Powell) Date: Thu, 13 Mar 2008 06:56:50 -0500 Subject: Cluster services dependencies In-Reply-To: <47D91508.90101@tnet.it> References: <47D91508.90101@tnet.it> Message-ID: <6C2D9882-E038-4207-B1ED-9FCCB864D694@ena.com> On Mar 13, 2008, at 6:50 AM, Riccardo Cupardo wrote: > Hi all, > > i have a trouble.... i need to check a MSSQL service in cluster > mode... > > ad u know, in the service is running on hostA is stopped on hostB > and viceversa... > > There is a method to avoid this with dependecies? Does check_cluster[2] work for your needs? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 12:58:14 2008 From: marc at ena.com (Marc Powell) Date: Thu, 13 Mar 2008 06:58:14 -0500 Subject: check result buffer memory leak? In-Reply-To: References: Message-ID: On Mar 12, 2008, at 4:08 PM, Jeremy wrote: > Hi, > > I'm trying to get some more information about this fix in 2.11: > "Fix for a possible memory leak in situations where overflow occurs > in check result buffer" > How can I tell if our Nagios servers are suffering from this memory > leak or not? I would guess that if you saw the memory size of the nagios process continually growing then you're experiencing the memory leak. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 13:00:33 2008 From: marc at ena.com (Marc Powell) Date: Thu, 13 Mar 2008 07:00:33 -0500 Subject: Host are up but not notified. In-Reply-To: <47D81500.2020004@subisu.net.np> References: <47D81500.2020004@subisu.net.np> Message-ID: On Mar 12, 2008, at 12:38 PM, Gaurav Ghimire wrote: > Dear all, > > I have noticed a few times that I get notifications when a host goes > down, but afterwards though the host comes up. I dont get a > notification > and the status in nagios is not updated as well i.e, it shows the host > is still down. And after I restart nagios it notifes and updates it > status. > Does this host have any services associated with it? What is their status when this problem occurs? Can you post the host definition and a service definition for the host? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Thu Mar 13 13:03:51 2008 From: rage_q3 at mail.ru (Meylikhov) Date: Thu, 13 Mar 2008 15:03:51 +0300 Subject: nrpe timeout after 10 seconds Message-ID: <009601c88502$4e480270$ead80750$@ru> Hello! I have 4 linux servers that are monitored by nagios. Sometimes I get notification on my contact e-mail: CHECK_NRPE: Socket timeout after 10 seconds. Notifications stating that nrpe timed out come for ALL services and for ALL hosts randomly every 1-2-3 hours. Then I get another notification stating that everything is fine. This flapping events take place every 1-2-3-4-5 hours randomly. Nagios and monitoring servers are situated in the same network, therefore I have no intermediary between monitoring servers and nagios. Can you help me to diagnose what's wrong? Can I increase socket timeout variable on my nagios server? I think it could help. Thanks in advice. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.F.Wheeler at rl.ac.uk Thu Mar 13 13:13:36 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Thu, 13 Mar 2008 12:13:36 -0000 Subject: nrpe timeout after 10 seconds In-Reply-To: <009601c88502$4e480270$ead80750$@ru> References: <009601c88502$4e480270$ead80750$@ru> Message-ID: -----Original Message----- From: nagios-users On Behalf Of Meylikhov Sent: 13 March 2008 12:04 > I have 4 linux servers that are monitored by nagios. Sometimes I get notification on my > contact e-mail: > CHECK_NRPE: Socket timeout after 10 seconds. > Notifications stating that nrpe timed out come for ALL services and for ALL hosts randomly > every 1-2-3 hours. > Then I get another notification stating that everything is fine. This flapping events take > place every 1-2-3-4-5 hours randomly. > Nagios and monitoring servers are situated in the same network, therefore I have no > intermediary between monitoring servers and nagios. > Can you help me to diagnose what's wrong? Can I increase socket timeout variable on my > nagios server? I think it could help. There is a timeout on the nrpe command which you can set using -t option (default is 10 secs). Try adding "-t 30" to your nrpe command, probably in checkcommands.cfg Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MachielR at agilitytech.co.za Thu Mar 13 12:15:45 2008 From: MachielR at agilitytech.co.za (Machiel Richards) Date: Thu, 13 Mar 2008 13:15:45 +0200 Subject: 3d status map and graphs Message-ID: <350DEB176C3F20459BE245610997FD7F0207915B@caretech.co.za> Hi All Can anyone please assist me with the following additions that I need to set up on Nagios : * 3d status map (It seems to need a vrml to be installed but I haven't had any luck to get a version that will actually install) * I am also unable to access the following options from the web interface o Status map o Trends o Alert histogram * I am also trying to add the functionality for creating of graphs to show history graphs for hosts / services tx *** Disclaimer *** The information contained in this e-mail is confidential and legally privileged and is intended solely for the addressee and to others who have the authority to receive it. Access to this e-mail by anyone else is unauthorized and as such, any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. If you have received this e-mail in error, please notify the sender immediately. The views expressed in this e-mail are the views of the individual sender and should in no way be construed as the views of the Company. The Company is not liable to ensure that outgoing e-mails are virus-free. The Company is not liable, should information or data, for whatever reason, be corrupted or fail to reach its intended addressee. The Company is not liable for any loss or damage of whatsoever nature and howsoever arising resulting from the opening or the use of the information in this e-mail, including its attachments and links. The sender of this e-mail is subject to and bound by the terms and conditions of Company?s Electronic Communications Usage Policy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.weaver at thenap.com Thu Mar 13 13:19:10 2008 From: drew.weaver at thenap.com (Drew Weaver) Date: Thu, 13 Mar 2008 08:19:10 -0400 Subject: Nagios Config Script In-Reply-To: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> References: <20080313002615.17633.qmail@f5mail-237-204.rediffmail.com> Message-ID: You could always download and use Nagion at: http://www.systemadminihater.com/management/nagion-10-released/ It is a simple PHP script, you fill out details about your hosts in one file, and run the PHP script in the CLI and it spits out the cfg files, pretty easy also pretty simple/limited. I haven't had much time to go back and play with it, I plan on doing that soon. Thanks, -Drew From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nair Sent: Wednesday, March 12, 2008 8:26 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Config Script Hi friends, I got to monitor my data centre with Nagios. Please share your thoughts on automated *.cfg file creation. Thank you, Manu. [http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/2066548_2059176/creative_2066627.gif] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 14:12:12 2008 From: marc at ena.com (Marc Powell) Date: Thu, 13 Mar 2008 08:12:12 -0500 Subject: nrpe timeout after 10 seconds In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Wheeler, JF (Jonathan) > Sent: Thursday, March 13, 2008 7:14 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nrpe timeout after 10 seconds > > > -----Original Message----- > From: nagios-users On Behalf Of Meylikhov > Sent: 13 March 2008 12:04 > > > I have 4 linux servers that are monitored by nagios. Sometimes I get > notification on my > > contact e-mail: > > CHECK_NRPE: Socket timeout after 10 seconds. > There is a timeout on the nrpe command which you can set using -t option > (default is 10 secs). Try adding "-t 30" to your nrpe command, probably > in checkcommands.cfg You'll also need to adjust service_check_timeout in nagios.cfg to be higher than your highest plugin specific timeout. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 14:19:29 2008 From: marc at ena.com (Marc Powell) Date: Thu, 13 Mar 2008 08:19:29 -0500 Subject: 3d status map and graphs In-Reply-To: <350DEB176C3F20459BE245610997FD7F0207915B@caretech.co.za> References: <350DEB176C3F20459BE245610997FD7F0207915B@caretech.co.za> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Machiel Richards > Sent: Thursday, March 13, 2008 6:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 3d status map and graphs > > Hi All > > > > Can anyone please assist me with the following additions that I > need to set up on Nagios : > > > > * 3d status map (It seems to need a vrml to be installed but I haven't > had any luck to get a version that will actually install) What OS? Which VRML viewer? What specific help do you need? There are a number of FAQs related to this at http://www.nagios.org/faqs under Web Interface. > * I am also unable to access the following options from the web > interface > > o Status map > > o Trends > > o Alert histogram > This is a FAQ - http://www.nagios.org/faqs/ under Web Interface. > * I am also trying to add the functionality for creating of graphs to > show history graphs for hosts / services If you're looking for a suggestion, PNP is popular - http://www.nagios.org/download/addons/. Others can be found on http://www.nagiosexchange.org. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rcupardo at tnet.it Thu Mar 13 14:51:43 2008 From: rcupardo at tnet.it (Riccardo Cupardo) Date: Thu, 13 Mar 2008 14:51:43 +0100 Subject: Cluster services dependencies In-Reply-To: <6C2D9882-E038-4207-B1ED-9FCCB864D694@ena.com> References: <47D91508.90101@tnet.it> <6C2D9882-E038-4207-B1ED-9FCCB864D694@ena.com> Message-ID: <47D9316F.3050100@tnet.it> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Flacke at gmx.de Thu Mar 13 15:34:20 2008 From: Matthias.Flacke at gmx.de (Matthias Flacke) Date: Thu, 13 Mar 2008 15:34:20 +0100 Subject: Cluster services dependencies In-Reply-To: <47D9316F.3050100@tnet.it> References: <47D91508.90101@tnet.it> <6C2D9882-E038-4207-B1ED-9FCCB864D694@ena.com> <47D9316F.3050100@tnet.it> Message-ID: <47D93B6C.2030104@gmx.de> Hi, Riccardo Cupardo wrote: > Ty for your reply Marc, > > I configured check_service_cluster and working very well, but requied > two stand-alone Mssql-Check services... because is a Mssql cluster, the > normal scenario is: one started and one stopped.... > And i have a critical report on the stand-alone service looking for the > stand-by mssql server... > > Any tips? Have a look onto check_multi (http://www.my-plugin.de/wiki/projects/check_multi/start) and especially the state evaluation (http://www.my-plugin.de/wiki/projects/check_multi/process_views). It also includes a cluster monitoring example using _one_ nagios service. Greetz, Matthias > Ty in advance. > > Marc Powell ha scritto: >> On Mar 13, 2008, at 6:50 AM, Riccardo Cupardo wrote: >> >> >>> Hi all, >>> >>> i have a trouble.... i need to check a MSSQL service in cluster >>> mode... >>> >>> ad u know, in the service is running on hostA is stopped on hostB >>> and viceversa... >>> >>> There is a method to avoid this with dependecies? >>> >> >> Does check_cluster[2] work for your needs? >> >> -- >> Marc >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > -- > Riccardo Cupardo > > Area Network > mailto:rcupardo at tnet.it > Tel: +39 095 37 83 111 > Fax: +39 095 37 83 444 > > __________________ T. NET ________________ > Sede T. net Italia S.r.l.: Viale Africa, 84 - 95129 Catania - Italy > Tel: +39 095 37 83 111 - Fax: +39 095 37 83 444 > P. I.V.A.: 03979950874 > www.tnet.it www.lavocevola.it > __________T. NET Telecommunication Company________ > > > *************************************************************** > Le informazioni in questa e-mail sono confidenziali e > riservate esclusivamente al destinatario del messaggio. > Information in this email is confidential and intended > solely for the addressee; it may be legally privileged. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- http://my-plugin.de/check_multi ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.calcote at gmail.com Thu Mar 13 16:26:55 2008 From: john.calcote at gmail.com (John Calcote) Date: Thu, 13 Mar 2008 09:26:55 -0600 Subject: dnx patch for nagios 3.0 available here and in svn Message-ID: <3ee91eb90803130826m272f6cacxe15f2928a45ae3d5@mail.gmail.com> Hi list(s), Here's a DNX patch for the Nagios 3.0 stable release. Please note that the attached patch is slightly smaller than the nagios-3.0rc2-dnx.patch that was packaged with DNX 0.16, because there are fewer changes in this patch. The only functional difference between the old and new patches is that this new patch removes *changes* to functionality found in the now canonical Nagios 3.0 code base. To be more explicit, in the earlier patch, I *moved* some event broker functionality from one event dispatch location to another in base/checks.c. In this patch, I *copied* the functionality from the first dispatch location to the second. The reason for moving the functionality in the first place was that I was trying to convince Ethan that event dispatch should work in a slightly different way. Now that 3.0 has been released, the canonical functionality should not be changed, but rather only enhanced by third-party product patches. This patch enhances without changing. This patch is backward compatible with nagios 3.0 rc2 and rc3. This patch is checked into the DNX SVN trunk, and will be released with version 0.17 of DNX in a few weeks. Regards, John Calcote DNX project maintainer http://dnx.sourceforge.net -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-3.0-dnx.patch Type: application/octet-stream Size: 2913 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-ginsburg at northwestern.edu Thu Mar 13 16:33:28 2008 From: g-ginsburg at northwestern.edu (Gerald N. Ginsburg) Date: Thu, 13 Mar 2008 10:33:28 -0500 Subject: core dump with nagios-3.0rc3 with Solaris 8 Message-ID: <004001c8851f$968b4890$35d66981@bluejay> When I try to start nagios-3.0rc3 or verify my config files I get a configuration fault and core dump. This is under Solaris 8 (SPARC) with gcc version 3.4.2. I have not had this, or any problems, with earlier versions, including 2.x, 3.x beta, or 3.0rc1. I have tried various config files, including my 2.9 config files, the sample config files, and a very minimal config. Any ideas or help will be most welcome. This is the last few line of the messages I get: LEN: 29, END: 27, BUF=#xrddb_database=somedatabase BUFNOW: #xrddb_database=somedatabase LEN: 25, END: 23, BUF=#xrddb_username=someuser BUFNOW: #xrddb_username=someuser LEN: 29, END: 27, BUF=#xrddb_password=somepassword BUFNOW: #xrddb_password=somepassword LEN: 23, END: 21, BUF=#xrddb_optimize_data=1 BUFNOW: #xrddb_optimize_data=1 LEN: 1, END: -1, BUF= BUFNOW: Segmentation Fault (core dumped) Thanks, Gerry Gerald N. Ginsburg ITCS Northwestern University 2020 Ridge Ave. Evanston IL 60208-4311 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s6a9d6u9s at gmail.com Thu Mar 13 16:48:42 2008 From: s6a9d6u9s at gmail.com (Jeremy) Date: Thu, 13 Mar 2008 10:48:42 -0500 Subject: Cluster services dependencies In-Reply-To: <47D91508.90101@tnet.it> References: <47D91508.90101@tnet.it> Message-ID: Hi Set up the cluster as its own host in Nagios using the cluster IP and do the checks on that host. Service should always be started when you check the cluster IP like that, no matter which server the cluster is on currently. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 13 17:03:59 2008 From: m.borsani at it.net (Marco Borsani) Date: Thu, 13 Mar 2008 17:03:59 +0100 Subject: NSClient - ERROR: PDH Collection thread not running. Message-ID: <014d01c88523$dabce060$0900d40a@intranet.it.net> Hi all ! I am using NSClient++ 0.2.7 Yesterday, for the first time, I receive following error: NSClient - ERROR: PDH Collection thread not running. I read that sometime happens for language problems, but my server has an english version ... After the agent rebooting , the problem stop. Any idea ? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver at net-track.ch Thu Mar 13 17:33:28 2008 From: oliver at net-track.ch (Oliver Hitz) Date: Thu, 13 Mar 2008 17:33:28 +0100 Subject: Notify if a number of hosts are down Message-ID: <20080313163328.GM12458@net-track.ch> Hi all I'd like to monitor a number of hosts or services that are not critical. Not critical means that I don't want to be notified every time a host has a problem, but only when a substantial number of these hosts is down. I couldn't find anything like this in Nagios. I have looked into specifying notification options in host groups or service groups, but apparently these really only serve to group stuff together. Did I miss something? Does anybody have a nice workaround to achieve this? Thanks in advance Oliver -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Mar 13 17:35:24 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 13 Mar 2008 10:35:24 -0600 Subject: Notify if a number of hosts are down In-Reply-To: <20080313163328.GM12458@net-track.ch> References: <20080313163328.GM12458@net-track.ch> Message-ID: <1205426125.10989.26.camel@sidhqmis4grdv91> possibly: http://nagiosplugins.org/man/check_cluster On Thu, 2008-03-13 at 17:33 +0100, Oliver Hitz wrote: > Hi all > > I'd like to monitor a number of hosts or services that are not critical. > Not critical means that I don't want to be notified every time a host > has a problem, but only when a substantial number of these hosts is > down. > > I couldn't find anything like this in Nagios. I have looked into > specifying notification options in host groups or service groups, but > apparently these really only serve to group stuff together. > > Did I miss something? Does anybody have a nice workaround to achieve > this? > > Thanks in advance > > Oliver > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver at net-track.ch Thu Mar 13 17:43:35 2008 From: oliver at net-track.ch (Oliver Hitz) Date: Thu, 13 Mar 2008 17:43:35 +0100 Subject: Notify if a number of hosts are down In-Reply-To: <1205426125.10989.26.camel@sidhqmis4grdv91> References: <20080313163328.GM12458@net-track.ch> <1205426125.10989.26.camel@sidhqmis4grdv91> Message-ID: <20080313164335.GA7209@net-track.ch> On 13 Mar 2008, Aaron M. Segura wrote: > possibly: > > http://nagiosplugins.org/man/check_cluster Thanks, I guess really does it! Oliver -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Thu Mar 13 17:43:43 2008 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 13 Mar 2008 16:43:43 -0000 Subject: NSClient - ERROR: PDH Collection thread not running. In-Reply-To: <014d01c88523$dabce060$0900d40a@intranet.it.net> References: <014d01c88523$dabce060$0900d40a@intranet.it.net> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA0331FA3C@HC-MBX02.herefordshire.gov.uk> Upgrade to NSClient++ 0.3.1 and try again. Cheers, Phil -- Phil Randal Network Engineer Herefordshire Council Hereford, UK ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: 13 March 2008 16:04 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient - ERROR: PDH Collection thread not running. Hi all ! I am using NSClient++ 0.2.7 Yesterday, for the first time, I receive following error: NSClient - ERROR: PDH Collection thread not running. I read that sometime happens for language problems, but my server has an english version ... After the agent rebooting , the problem stop. Any idea ? Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy's new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Thu Mar 13 19:41:21 2008 From: wallis at aps.anl.gov (David Wallis) Date: Thu, 13 Mar 2008 19:41:21 +0100 (CET) Subject: Problem running multiple nagios instances on one server Message-ID: <20080313184121.CB1DB58005A@desire.netways.de> I searched for similar threads, but came up empty, sorry if this is a repeat question, I want to run multiple nagios instances on a single server. I'm running nagios 3.0rc3 and nagios-plugins 1.4.11 on Solaris 9. The nagios software is installed in /usr/local/nagios, and is available from there to the nagios server and all monitored clients. I have a separate local directory for each nagios instance (e.g, /local/nagios1, /local/nagios2, etc) that contains the config files, logs and log archives, external command file, etc. (everything in nagios/var, nagios/etc and nagios/share) Testing each config file, nagios recognizes the correct number of hosts and servers, and returns no errors. Each nagios instance starts up without errors, and runs fine when it's the only instance running. However, when more than one is running, the log files indicate that each instance is receiving some check results from hosts/services on another instance... I see messages like this in /local/nagios2/var/nagios.log, when the host "hadar" is configured in the /local/nagios1/etc/hosts.cfg config file: [1204870487] Warning: Check result queue contained results for host 'hadar', but the host could not be found! Perhaps you forgot to define the host in your config files? I've checked the nagios.cfg files for both instances, and each refers properly to files in it's own path. What am I missing here? - David Wallis (dbwallis) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Thu Mar 13 21:08:33 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Thu, 13 Mar 2008 21:08:33 +0100 Subject: Problem running multiple nagios instances on one server In-Reply-To: <20080313184121.CB1DB58005A@desire.netways.de> References: <20080313184121.CB1DB58005A@desire.netways.de> Message-ID: <47D989C1.1070503@process-zero.de> Hi David, David Wallis schrieb: > I searched for similar threads, but came up empty, sorry if this is a repeat question, > > I want to run multiple nagios instances on a single server. I'm running nagios 3.0rc3 and nagios-plugins 1.4.11 on Solaris 9. > > The nagios software is installed in /usr/local/nagios, and is available from there to the nagios server and all monitored clients. > > I have a separate local directory for each nagios instance (e.g, /local/nagios1, /local/nagios2, etc) that contains the config files, logs and log archives, external command file, etc. (everything in nagios/var, nagios/etc and nagios/share) > > Testing each config file, nagios recognizes the correct number of hosts and servers, and returns no errors. Each nagios instance starts up without errors, and runs fine when it's the only instance running. However, when more than one is running, the log files indicate that each instance is receiving some check results from hosts/services on another instance... I see messages like this in /local/nagios2/var/nagios.log, when the host "hadar" is configured in the /local/nagios1/etc/hosts.cfg config file: > > [1204870487] Warning: Check result queue contained results for host 'hadar', but the host could not be found! Perhaps > you forgot to define the host in your config files? > sound like your different instances are sharing the "check_result_path" (nagios.cfg). > I've checked the nagios.cfg files for both instances, and each refers properly to files in it's own path. What am I missing here? > Hopefully you didn't upgrade from nagios 2 without applying the changes against a nagios 3 main config? ;) Regards Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Thu Mar 13 21:19:10 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Thu, 13 Mar 2008 16:19:10 -0400 Subject: Setting up statusmap icons Message-ID: <9179DC579128514D8035295BE49187E70425F27E@mail2.fidelitynational.com> I'm fairly new to nagios and running nagios 3. I want to configure icons on my statusmap and have a couple questions. First is about the location. The nagios documentation says the default location for the images is /usr/local/nagios/share/images/logos. I have the book Building a Monitoring Infrastructure with Nagios by David Josephson and it says the icons are expected to be in the webroot/images/icons directory. So where should I store the icons? Secondly the documentation says in nagios 3.x extended host information definitions can be added to the host definitions. So in the host definition I would just include statusmap_image and the name of the image file? What I would really like to do if possible is tie the icon to my windows server group rather than having to go through and edit every single host definition. It isn't a huge deal but would be easier. Thanks for the help and glad to be joining the nagios community. Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbenger at ztechnet.com Thu Mar 13 21:29:34 2008 From: jbenger at ztechnet.com (Jeff C. Benger) Date: Thu, 13 Mar 2008 16:29:34 -0400 Subject: Setting up statusmap icons In-Reply-To: <9179DC579128514D8035295BE49187E70425F27E@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E70425F27E@mail2.fidelitynational.com> Message-ID: <10BE874C84038E448517C08D335C1B680157A763@gimli.allezsoftware.com> Since you're using 3.0 and I assume template based configs, I'd just add the statusmap_image to the template. Define host { Name windows-server Use generic-host Statusmap_image rm_windows.png ... } Define host { Name linux-server Use generic-host Statusmap_image rm_linux.png ... } Define host { Name exchange-server Use windows-server Statusmap_image mail.png ... } And then if you need to overwrite the default image you can just toss it in the host definition that's using the template. /usr/local/nagios/share is the webroot, so yes in /usr/local/nagios/share/images/logos ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh Wells Sent: Thursday, March 13, 2008 4:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up statusmap icons I'm fairly new to nagios and running nagios 3. I want to configure icons on my statusmap and have a couple questions. First is about the location. The nagios documentation says the default location for the images is /usr/local/nagios/share/images/logos. I have the book Building a Monitoring Infrastructure with Nagios by David Josephson and it says the icons are expected to be in the webroot/images/icons directory. So where should I store the icons? Secondly the documentation says in nagios 3.x extended host information definitions can be added to the host definitions. So in the host definition I would just include statusmap_image and the name of the image file? What I would really like to do if possible is tie the icon to my windows server group rather than having to go through and edit every single host definition. It isn't a huge deal but would be easier. Thanks for the help and glad to be joining the nagios community. Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Thu Mar 13 21:34:07 2008 From: wallis at aps.anl.gov (David Wallis) Date: Thu, 13 Mar 2008 15:34:07 -0500 Subject: Problem running multiple nagios instances on one server In-Reply-To: <47D989C1.1070503@process-zero.de> References: <20080313184121.CB1DB58005A@desire.netways.de> <47D989C1.1070503@process-zero.de> Message-ID: <47D98FBF.5070305@aps.anl.gov> Hendrik B?cker wrote: > Hi David, > > sound like your different instances are sharing the > "check_result_path" (nagios.cfg). > >> I've checked the nagios.cfg files for both instances, and each refers >> properly to files in it's own path. What am I missing here? >> > Hopefully you didn't upgrade from nagios 2 without applying the > changes against a nagios 3 main config? ;) > > Regards > Hendrik That's exactly what I did :-[ There was no "check_result_path" setting in my config file, so I assume that nagios was using a default somewhere. Adding that directive seems to have cleared up the problem - many thanks! -- David Wallis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Thu Mar 13 21:42:01 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Thu, 13 Mar 2008 16:42:01 -0400 Subject: Setting up statusmap icons In-Reply-To: <10BE874C84038E448517C08D335C1B680157A763@gimli.allezsoftware.com> References: <9179DC579128514D8035295BE49187E70425F27E@mail2.fidelitynational.com> <10BE874C84038E448517C08D335C1B680157A763@gimli.allezsoftware.com> Message-ID: <9179DC579128514D8035295BE49187E70425F27F@mail2.fidelitynational.com> Worked like a charm! Now I just have to figure out how to get the status map unjumbled and the green circles off the icons. I'm getting there! ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff C. Benger Sent: Thursday, March 13, 2008 4:30 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Setting up statusmap icons Since you're using 3.0 and I assume template based configs, I'd just add the statusmap_image to the template. Define host { Name windows-server Use generic-host Statusmap_image rm_windows.png ... } Define host { Name linux-server Use generic-host Statusmap_image rm_linux.png ... } Define host { Name exchange-server Use windows-server Statusmap_image mail.png ... } And then if you need to overwrite the default image you can just toss it in the host definition that's using the template. /usr/local/nagios/share is the webroot, so yes in /usr/local/nagios/share/images/logos ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh Wells Sent: Thursday, March 13, 2008 4:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up statusmap icons I'm fairly new to nagios and running nagios 3. I want to configure icons on my statusmap and have a couple questions. First is about the location. The nagios documentation says the default location for the images is /usr/local/nagios/share/images/logos. I have the book Building a Monitoring Infrastructure with Nagios by David Josephson and it says the icons are expected to be in the webroot/images/icons directory. So where should I store the icons? Secondly the documentation says in nagios 3.x extended host information definitions can be added to the host definitions. So in the host definition I would just include statusmap_image and the name of the image file? What I would really like to do if possible is tie the icon to my windows server group rather than having to go through and edit every single host definition. It isn't a huge deal but would be easier. Thanks for the help and glad to be joining the nagios community. Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbenger at ztechnet.com Thu Mar 13 21:50:51 2008 From: jbenger at ztechnet.com (Jeff C. Benger) Date: Thu, 13 Mar 2008 16:50:51 -0400 Subject: Setting up statusmap icons In-Reply-To: <9179DC579128514D8035295BE49187E70425F27F@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E70425F27E@mail2.fidelitynational.com><10BE874C84038E448517C08D335C1B680157A763@gimli.allezsoftware.com> <9179DC579128514D8035295BE49187E70425F27F@mail2.fidelitynational.com> Message-ID: <10BE874C84038E448517C08D335C1B680157A76A@gimli.allezsoftware.com> Green circles I believe mean that the host has no parent. Unjumbling it is a pita, the 2d_coords are a pain to setup. Personally, on the instance I have with a lot of hosts I just let nagios do it. I did it manually for another smaller site so it matched our visio network diagram. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh Wells Sent: Thursday, March 13, 2008 4:42 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Setting up statusmap icons Worked like a charm! Now I just have to figure out how to get the status map unjumbled and the green circles off the icons. I'm getting there! ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff C. Benger Sent: Thursday, March 13, 2008 4:30 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Setting up statusmap icons Since you're using 3.0 and I assume template based configs, I'd just add the statusmap_image to the template. Define host { Name windows-server Use generic-host Statusmap_image rm_windows.png ... } Define host { Name linux-server Use generic-host Statusmap_image rm_linux.png ... } Define host { Name exchange-server Use windows-server Statusmap_image mail.png ... } And then if you need to overwrite the default image you can just toss it in the host definition that's using the template. /usr/local/nagios/share is the webroot, so yes in /usr/local/nagios/share/images/logos ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh Wells Sent: Thursday, March 13, 2008 4:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up statusmap icons I'm fairly new to nagios and running nagios 3. I want to configure icons on my statusmap and have a couple questions. First is about the location. The nagios documentation says the default location for the images is /usr/local/nagios/share/images/logos. I have the book Building a Monitoring Infrastructure with Nagios by David Josephson and it says the icons are expected to be in the webroot/images/icons directory. So where should I store the icons? Secondly the documentation says in nagios 3.x extended host information definitions can be added to the host definitions. So in the host definition I would just include statusmap_image and the name of the image file? What I would really like to do if possible is tie the icon to my windows server group rather than having to go through and edit every single host definition. It isn't a huge deal but would be easier. Thanks for the help and glad to be joining the nagios community. Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Thu Mar 13 22:13:51 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Thu, 13 Mar 2008 17:13:51 -0400 Subject: Setting up statusmap icons In-Reply-To: References: Message-ID: <9179DC579128514D8035295BE49187E70425F280@mail2.fidelitynational.com> Thanks to both of you for the information. I guess I will have to play around with the x and y coords and see how it goes. Seems like there would be an easier way. One more quick question. Where do you get your vrml icons for the 3D map? I don't see any on nagiosexchange and when I tried to use ones from the nagios base package they look like garbage. -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Thursday, March 13, 2008 5:09 PM To: Josh Wells; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Setting up statusmap icons Parenting will clear up the status map icons, as will supplying x y coords in hostextinfo definitions. Stephen Valdinger MIS Helpdesk Coordinator P: 330.365.3622 C: 740.491.0958 -----Original Message----- From: Josh Wells To: nagios-users at lists.sourceforge.net Sent: Thu Mar 13 16:42:01 2008 Subject: Re: [Nagios-users] Setting up statusmap icons Worked like a charm! Now I just have to figure out how to get the status map unjumbled and the green circles off the icons. I'm getting there! _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff C. Benger Sent: Thursday, March 13, 2008 4:30 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Setting up statusmap icons Since you're using 3.0 and I assume template based configs, I'd just add the statusmap_image to the template. Define host { Name windows-server Use generic-host Statusmap_image rm_windows.png ... } Define host { Name linux-server Use generic-host Statusmap_image rm_linux.png ... } Define host { Name exchange-server Use windows-server Statusmap_image mail.png ... } And then if you need to overwrite the default image you can just toss it in the host definition that's using the template. /usr/local/nagios/share is the webroot, so yes in /usr/local/nagios/share/images/logos _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh Wells Sent: Thursday, March 13, 2008 4:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up statusmap icons I'm fairly new to nagios and running nagios 3. I want to configure icons on my statusmap and have a couple questions. First is about the location. The nagios documentation says the default location for the images is /usr/local/nagios/share/images/logos. I have the book Building a Monitoring Infrastructure with Nagios by David Josephson and it says the icons are expected to be in the webroot/images/icons directory. So where should I store the icons? Secondly the documentation says in nagios 3.x extended host information definitions can be added to the host definitions. So in the host definition I would just include statusmap_image and the name of the image file? What I would really like to do if possible is tie the icon to my windows server group rather than having to go through and edit every single host definition. It isn't a huge deal but would be easier. Thanks for the help and glad to be joining the nagios community. Josh ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pguser at gmail.com Fri Mar 14 00:18:44 2008 From: pguser at gmail.com (Joey K.) Date: Thu, 13 Mar 2008 15:18:44 -0800 Subject: Nagios 3 statusmap.cgi on CentOS 5.1 i386 Message-ID: <467669b30803131618u7f79f05ey13dfc4486f08f121@mail.gmail.com> Hello, I'm attempting to install Nagios 3 on CentOS 5.1 i386. I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib, zlib-devel packages. I'm comping nagios 3 with the following options, ./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios --localstatedir=/var/ nagios --with-command-group=nagcmd --with-nagios-user=nagios --with-nagios-grou p=nagios --enable-event-broker --with-gd-lib=/usr/lib --with-gd-inc=/usr/includ e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes --enable-statuswrl=yes Compile is successful. However there is no statusmap.cgi in sbin/ and I get apache error (file not found) on clicking "Status Map". config.log has, ........ ..... configure:5760: result: no configure:5768: checking for gdImagePng in -lgd (order 1) configure:5796: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib conftest.c -lgd -lttf -lpng -ljpeg -lz -lm >&5 /usr/bin/ld: cannot find -lttf collect2: ld returned 1 exit status configure:5802: $? = 1 configure: failed program was: | /* confdefs.h. */ .... ... .... | #define USE_XDDDEFAULT 1 | /* end confdefs.h. */ | /* Override any gcc2 internal prototype to avoid an error. */ | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char gdImagePng(); | | int | main () | { | gdImagePng() | ; | return 0; | } configure:5837: result: no configure:5844: checking for gdImagePng in -lgd (order 2) configure:5872: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib conftest.c -lgd -lpng -ljpeg -lz -lm >&5 configure:5878: $? = 0 configure:5882: test -z || test ! -s conftest.err configure:5885: $? = 0 configure:5888: test -s conftest configure:5891: $? = 0 configure:5906: result: yes configure:6206: checking ltdl.h usability configure:6218: gcc -c -g -O2 -I/usr/include conftest.c >&5 conftest.c:114:18: error: ltdl.h: No such file or directory configure:6224: $? = 1 configure: failed program was: | /* confdefs.h. */ .... .... I'm not sure what the problem is. Any ideas? Thanks in advance, Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Fri Mar 14 09:00:01 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Fri, 14 Mar 2008 09:00:01 +0100 Subject: Problem running multiple nagios instances on one server In-Reply-To: <47D98FBF.5070305@aps.anl.gov> References: <20080313184121.CB1DB58005A@desire.netways.de> <47D989C1.1070503@process-zero.de> <47D98FBF.5070305@aps.anl.gov> Message-ID: <47DA3081.8080405@process-zero.de> David Wallis schrieb: > > That's exactly what I did :-[ > > There was no "check_result_path" setting in my config file, so I assume > that nagios was using a default somewhere. Adding that directive seems > to have cleared up the problem - many thanks! > You're welcome. In that manner I would suggest that you make a diff between your running (converted) nagios.cfg against the dist nagios.cfg. There are many new improvements you should include into your personalized config. Regards, Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Fri Mar 14 09:03:47 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Fri, 14 Mar 2008 09:03:47 +0100 Subject: Setting up statusmap icons In-Reply-To: <9179DC579128514D8035295BE49187E70425F280@mail2.fidelitynational.com> References: <9179DC579128514D8035295BE49187E70425F280@mail2.fidelitynational.com> Message-ID: <47DA3163.2000102@process-zero.de> Hi Josh, Josh Wells schrieb: > Thanks to both of you for the information. I guess I will have to play > around with the x and y coords and see how it goes. Seems like there > would be an easier way. > There is a Nagios Addon out there called "NagVis" (www.nagvis.org). If you are sad to screw up the x/y cords just give it a chance. Just my 2 Cents - Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Fri Mar 14 11:31:17 2008 From: rage_q3 at mail.ru (Meylikhov) Date: Fri, 14 Mar 2008 13:31:17 +0300 Subject: Sending notifications via SMS+mobile phone Message-ID: <003c01c885be$898a45c0$9c9ed140$@ru> Hello, everybody! Can anyone assist me in solving the following task: I need nagios to send SMS via mobile phone connected to COM port. Are there are such possibilities in nagios and are there any plugins that support sending sms via mobile phone? I found only one plugin (NAGIOSMS: http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_vi ew]=619 )that is currently supports sending notifications via mobile phone but I even can't imagine how to connect mobile phone to my Linux Debian 4.0 server (2.6.18-6-686). Maybe someone already has configured notifications send via mobile phone and can suggest me what mobile phone to buy? I also need any help (suggestions,links, documentation, etc) in connecting mobile phone to my Linux Debian 4.0 server. My system: Nagios server: Linux Debian 4.0 server 2.6.18-6-686 Nagios: nagios-3.0b5 Nagios plugins: nagios-plugins-1.4.11 NRPE: nrpe-2.10 Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Fri Mar 14 11:38:12 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Fri, 14 Mar 2008 11:38:12 +0100 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <003c01c885be$898a45c0$9c9ed140$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> Message-ID: <47DA5594.2060003@pictura-dp.nl> Hi, I use the siemens tc35i gsm modem and think it's great. Just hook it up to your COM port, install smstool (which is in debian) create the configfile, make a script to send sms and go.... It's really easy. Greets, Sander Meylikhov wrote: > > Hello, everybody! > > Can anyone assist me in solving the following task: I need nagios to > send SMS via mobile phone connected to COM port. Are there are such > possibilities in nagios and are there any plugins that support sending > sms via mobile phone? I found only one plugin (NAGIOSMS: > http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=619 > )that is currently supports sending notifications via mobile phone but > I even can?t imagine how to connect mobile phone to my Linux Debian > 4.0 server (2.6.18-6-686)? Maybe someone already has configured > notifications send via mobile phone and can suggest me what mobile > phone to buy? I also need any help (suggestions,links, documentation, > etc) in connecting mobile phone to my Linux Debian 4.0 server. > > My system: > > Nagios server: Linux Debian 4.0 server 2.6.18-6-686 > > Nagios: nagios-3.0b5 > > Nagios plugins: nagios-plugins-1.4.11 > > NRPE: nrpe-2.10 > > Thank you! > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.F.Wheeler at rl.ac.uk Fri Mar 14 11:52:00 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Fri, 14 Mar 2008 10:52:00 -0000 Subject: Problems with nagios Message-ID: In the past I have reported problems when our master server has failed with "Out of memory" problems caused by all server memory and swap space being used up. I have largely (but not completely) solved these by increasing the number of "Command" and "Check result" buffers. However I would like some explanations of the following problems (note that I run 1 master and 5 slave servers - shortly to be come 6 slaves; the master server runs nagios, nsca and ndo2db daemons): 1. When I arrived this morning, there were 27000+ nsca processes waiting to run. Counting the number of processes showed that the number was increasing by at least 10 per second. 2. Recently a restart of the nagios daemon (on the master server) has hung after 27 seconds and does not reach completion. 3. For some restarts of the nagios daemon (for example, after a configuration change), the command pipe cannot be created because there is a normal file in its place - is this real file created by a nsca process ? Can I stop this happening ? 4. After a reboot of the master server to try to fix problems 1 and 2 above (I have tried restarting nsca and nagios, and killing many of the nsca processes), the nagios daemon did not update any of its log files (see the following outputs from command "nagiosstats -c /etc/nagios/nagios.cfg": Nagios Stats 2.10 Copyright (c) 2003-2007 Ethan Galstad (www.nagios.org) Last Modified: 10-21-2007 License: GPL CURRENT STATUS DATA ---------------------------------------------------- Status File: /var/log/nagios/tmpfs/status.dat Status File Age: 0d 0h 56m 56s Status File Version: 2.10 Program Running Time: 0d 0h 57m 34s Nagios PID: 3229 Used/High/Total Command Buffers: 0 / 0 / 40960 Used/High/Total Check Result Buffers: 0 / 0 / 61440 Total Services: 18688 Services Checked: 18688 Services Scheduled: 26 Active Service Checks: 4882 Passive Service Checks: 13806 Total Service State Change: 0.000 / 94.540 / 0.082 % Active Service Latency: 0.207 / 94495564.236 / 19643.884 sec Active Service Execution Time: 0.116 / 31.104 / 0.612 sec Active Service State Change: 0.000 / 94.540 / 0.105 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Service State Change: 0.000 / 76.250 / 0.074 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 17257 / 210 / 174 / 1047 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 907 Hosts Checked: 901 Hosts Scheduled: 0 Active Host Checks: 907 Passive Host Checks: 0 Total Host State Change: 0.000 / 20.000 / 0.162 % Active Host Latency: 0.000 / 235.096 / 4.491 sec Active Host Execution Time: 0.000 / 10.127 / 0.358 sec Active Host State Change: 0.000 / 20.000 / 0.162 % Active Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 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: 859 / 48 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Output from command "nagios -s /etc/nagios/nagios.cfg": Nagios 2.10 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 10-21-2007 License: GPL Warning: Host 'Dont know 1 on 184' has no services associated with it! Warning: Host 'Dont know 2 on 184' has no services associated with it! Warning: Host 'babarams1' has no services associated with it! Warning: Host 'babarams1-2' has no services associated with it! Warning: Host 'babarams1-3' has no services associated with it! Warning: Host 'babarams1-4' has no services associated with it! Warning: Host 'babarams2' has no services associated with it! Warning: Host 'babarams2-2' has no services associated with it! Warning: Host 'babarams2-3' has no services associated with it! Warning: Host 'babarams2-4' has no services associated with it! Warning: Host 'c2certdb' has no services associated with it! Warning: Host 'c2certdlf' has no services associated with it! Warning: Host 'c2certlsf' has no services associated with it! Warning: Host 'c2certns' has no services associated with it! Warning: Host 'c2certstager' has no services associated with it! Warning: Host 'ctsc18' has no services associated with it! Warning: Host 'jra1dch01' has no services associated with it! Warning: Host 'jra1dcp01' has no services associated with it! Warning: Host 'swt-4400-1' has no services associated with it! Warning: Host 'swt-5510-1' has no services associated with it! Warning: Host 'swt-5510-2' has no services associated with it! Warning: Host 'swt-5510-3' has no services associated with it! Warning: Host 'swt-5530-0' has no services associated with it! Warning: Host 'swt-55xx-ads' has no services associated with it! Warning: Host 'swt001' has no services associated with it! Warning: Host 'swt002' has no services associated with it! Warning: Host 'swt003' has no services associated with it! Warning: Host 'swt004' has no services associated with it! Warning: Host 'swt005' has no services associated with it! Warning: Host 'swt006' has no services associated with it! Warning: Host 'swt007' has no services associated with it! Warning: Host 'swt008' has no services associated with it! Warning: Host 'swt010' has no services associated with it! Warning: Contact 'guyDaytime' is not a member of any contact groups! Warning: Contact group 'aix-ads-contacts-callout' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'castor-contacts-build' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'castor-contacts-preprod' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'castor-contacts-srmV2' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'corew' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'tape-robot-contacts-callout' is not used in any host/service definitions or host/service escalations! 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: 907 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: 18688 Total scheduled services: 21 Service inter-check delay method: SMART Average service check interval: 11742.86 sec Inter-check delay: 85.71 sec Interleave factor method: SMART Average services per host: 20.60 Service interleave factor: 1 Max service check spread: 30 min First scheduled check: Wed Mar 12 10:10:11 2008 Last scheduled check: Thu Mar 13 04:00:00 2008 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 4 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. Output from command "cd /var/log/nagios; ls -ltr . rw tmpfs": rw: total 0 prw-rw---- 1 nagios apache 0 Mar 12 09:41 nagios.cmd .: total 59264 -rw-rw-r-- 1 nagios nagios 2483 Mar 5 08:39 downtime.log drwxr-xr-x 2 nagios nagios 12288 Mar 12 00:00 archives -rw------- 1 nagios nagios 22832729 Mar 12 08:41 retention.dat -rw-r--r-- 1 nagios nagios 15081485 Mar 12 08:42 objects.cache drwxr-sr-x 2 nagios apache 4096 Mar 12 08:42 rw -rw-rw-r-- 1 nagios nagios 96471 Mar 12 08:42 comment.log drwxrwxrwt 2 root root 60 Mar 12 08:42 tmpfs -rw-rw-r-- 1 nagios nagios 22564667 Mar 12 08:42 nagios.log tmpfs/: total 20864 -rw-r--r-- 1 nagios nagios 21333927 Mar 12 08:42 status.dat Any comments, advice etc would be most appreciated as it is getting rather frustrating when nagios does not perform reliably Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at netsafe.cz Fri Mar 14 11:53:04 2008 From: david at netsafe.cz (DD) Date: Fri, 14 Mar 2008 11:53:04 +0100 Subject: Sending notifications via SMS+mobile phone References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl> Message-ID: <010301c885c1$94867040$8301400a@ddnb> Yeah i'm using same siemens gsm terminals and it's working great. But they are out of production now, so u will have to get them some on ebay or something similar. Here is little bash script /usr/local/bin/sendsms which will send sms to specified number: ----- #!/bin/bash SMSCMD=/usr/bin/scmxx if [ -z "$2" ];then echo "Usage: $0 " exit 0 fi $SMSCMD --device=/dev/ttyS0 --send --sms --direct -q --number=$1 --text="$2" ----- /usr/bin/scmxx is binary from package scmxx (debian package) for communitacion with siemens phones. Then i have notify command defined in nagios. For services it looks like this: /usr/local/bin/sendsms $CONTACTPAGER$ "Service: $SERVICEDESC$ Host: $HOSTNAME$ State: $SERVICESTATE$ Notify: $NOTIFICATIONTYPE$" for hosts: /usr/local/bin/sendsms $CONTACTPAGER$ "Host: $HOSTNAME$ State: $HOSTSTATE$ Notify: $NOTIFICATIONTYPE$" And for each contact has defined it's mobile phone number as pager. That's all. Cheers, DD ----- Original Message ----- From: "Sander Klein" To: "Meylikhov" Cc: Sent: Friday, March 14, 2008 11:38 AM Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Hi, I use the siemens tc35i gsm modem and think it's great. Just hook it up to your COM port, install smstool (which is in debian) create the configfile, make a script to send sms and go.... It's really easy. Greets, Sander Meylikhov wrote: > > Hello, everybody! > > Can anyone assist me in solving the following task: I need nagios to > send SMS via mobile phone connected to COM port. Are there are such > possibilities in nagios and are there any plugins that support sending > sms via mobile phone? I found only one plugin (NAGIOSMS: > http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=619 > )that is currently supports sending notifications via mobile phone but > I even can?t imagine how to connect mobile phone to my Linux Debian > 4.0 server (2.6.18-6-686)? Maybe someone already has configured > notifications send via mobile phone and can suggest me what mobile > phone to buy? I also need any help (suggestions,links, documentation, > etc) in connecting mobile phone to my Linux Debian 4.0 server. > > My system: > > Nagios server: Linux Debian 4.0 server 2.6.18-6-686 > > Nagios: nagios-3.0b5 > > Nagios plugins: nagios-plugins-1.4.11 > > NRPE: nrpe-2.10 > > Thank you! > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Fri Mar 14 12:22:26 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Fri, 14 Mar 2008 12:22:26 +0100 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <005001c885c4$2e246340$8a6d29c0$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl> <005001c885c4$2e246340$8a6d29c0$@ru> Message-ID: <47DA5FF2.3020502@pictura-dp.nl> Hi, please keep it on the list. Meylikhov wrote: > Dear Sander, it's brilliant that you know how to do it! But my experience > with Linux is not great and there could be difficulties, for example where > can I get drivers for linux for this gsm modem? And how nagios will send > notifications to this GSM modem? And there could be problems with writing > the script. Mostly, I am windows administrator (MCSA) not linux :(. It could > be great if you will help me to do it, and if you have problems with time we > can talk about money reward :) > You don't need any drivers for the modem. Everything is in the stock debian kernel. Just attach the siemens modem and it will work. To be honest, DD has an even better solution than I have when it comes to sending sms. If you read his mail carefully you will get there. Everything is in there. The script to send the sms and the notifications command for nagios. If you still don't get it after reading DD's mail, just contact the list. I myself use smstools because we also receive sms and do stuff with it. Greets, Sander ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Fri Mar 14 12:53:10 2008 From: rage_q3 at mail.ru (Meylikhov) Date: Fri, 14 Mar 2008 14:53:10 +0300 Subject: FW: Sending notifications via SMS+mobile phone Message-ID: <009901c885c9$fa662ce0$ef3286a0$@ru> Hi again! Who is DD and where can I read what he suggests? Where can I find his mail? > To be honest, DD has an even better solution than I have when it comes > to sending sms. If you read his mail carefully you will get there. > Everything is in there. The script to send the sms and the notifications > command for nagios. -----Original Message----- From: Sander Klein [mailto:sander at pictura-dp.nl] Sent: Friday, March 14, 2008 2:22 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Hi, please keep it on the list. Meylikhov wrote: > Dear Sander, it's brilliant that you know how to do it! But my experience > with Linux is not great and there could be difficulties, for example where > can I get drivers for linux for this gsm modem? And how nagios will send > notifications to this GSM modem? And there could be problems with writing > the script. Mostly, I am windows administrator (MCSA) not linux :(. It could > be great if you will help me to do it, and if you have problems with time we > can talk about money reward :) > You don't need any drivers for the modem. Everything is in the stock debian kernel. Just attach the siemens modem and it will work. To be honest, DD has an even better solution than I have when it comes to sending sms. If you read his mail carefully you will get there. Everything is in there. The script to send the sms and the notifications command for nagios. If you still don't get it after reading DD's mail, just contact the list. I myself use smstools because we also receive sms and do stuff with it. Greets, Sander ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Fri Mar 14 13:19:32 2008 From: termx23 at gmail.com (Peter Edmonds) Date: Fri, 14 Mar 2008 23:19:32 +1100 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <003c01c885be$898a45c0$9c9ed140$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> Message-ID: <6b8cee7e0803140519o4924cba7pb566db4b996356fe@mail.gmail.com> > Can anyone assist me in solving the following task: I need nagios to send > SMS via mobile phone connected to COM port. I use gnokii. I have used a Telular GSM SX5D and currently use an Easygate analog fixed cellular terminal (via serial port). Gnokii is avaialble in Debian Etch and supports a lot of mobile phones. Check http://wiki.gnokii.org/index.php/Config for a partial list of supported phones. The atgen driver in gnokii supports lots of phones. /etc/gnokiirc looks like this [global] port = /dev/ttyS0 model = AT initlength = default connection = serial use_locking = yes serial_baudrate = 19200 smsc_timeout = 10 [gnokiid] bindir = /usr/sbin/ [connect_script] TELEPHONE = 12345678 [disconnect_script] [logging] debug = on rlpdebug = off xdebug = off Notify command for service notifications looks like this echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME$" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/groundwork/nagios/var/gnokii.log 2>&1 For host notifications this does the job echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$HOSTOUTPUT$\n$LONGDATETIME$" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Fri Mar 14 13:23:01 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Fri, 14 Mar 2008 13:23:01 +0100 Subject: FW: Sending notifications via SMS+mobile phone In-Reply-To: <009901c885c9$fa662ce0$ef3286a0$@ru> References: <009901c885c9$fa662ce0$ef3286a0$@ru> Message-ID: <47DA6E25.6030909@pictura-dp.nl> DD mailed to this list... but to be complete here is the mail: --- Yeah i'm using same siemens gsm terminals and it's working great. But they are out of production now, so u will have to get them some on ebay or something similar. Here is little bash script /usr/local/bin/sendsms which will send sms to specified number: ----- #!/bin/bash SMSCMD=/usr/bin/scmxx if [ -z "$2" ];then echo "Usage: $0 " exit 0 fi $SMSCMD --device=/dev/ttyS0 --send --sms --direct -q --number=$1 --text="$2" ----- /usr/bin/scmxx is binary from package scmxx (debian package) for communitacion with siemens phones. Then i have notify command defined in nagios. For services it looks like this: /usr/local/bin/sendsms $CONTACTPAGER$ "Service: $SERVICEDESC$ Host: $HOSTNAME$ State: $SERVICESTATE$ Notify: $NOTIFICATIONTYPE$" for hosts: /usr/local/bin/sendsms $CONTACTPAGER$ "Host: $HOSTNAME$ State: $HOSTSTATE$ Notify: $NOTIFICATIONTYPE$" And for each contact has defined it's mobile phone number as pager. That's all. Cheers, DD --- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.duraiswamy at gmail.com Fri Mar 14 13:47:58 2008 From: john.duraiswamy at gmail.com (John Duraisw) Date: Fri, 14 Mar 2008 08:47:58 -0400 Subject: Nagio 3.0 Stable release - and trends reporting Message-ID: <69451f940803140547ube56e5dyfea94a8e2e30cb02@mail.gmail.com> All, I upgraded my 2.10 version to 3.0 stable yesterday. Everything seems to work fine except for the trends reporting. I am getting the following error when I try to run trends reports. "It appears as though you are not authorized to view information for the specified host..." Thanks, -john -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 14:01:39 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 Mar 2008 14:01:39 +0100 Subject: dnx patch for nagios 3.0 available here and in svn In-Reply-To: <3ee91eb90803130826m272f6cacxe15f2928a45ae3d5@mail.gmail.com> References: <3ee91eb90803130826m272f6cacxe15f2928a45ae3d5@mail.gmail.com> Message-ID: <47DA7733.8080607@op5.se> John Calcote wrote: > Hi list(s), > > Here's a DNX patch for the Nagios 3.0 stable release. > Oh? Not necessarily. This patch also opens up for building in plugins and parallellizing plugin execution between multiple nagios processes. IOW, it's not necessarily DNX specific, but other projects can use it too. I've been eye-balling it a while now, and it looks obviously correct to me. Ethan, any chance of getting this into 3.1 or so? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.duraiswamy at gmail.com Fri Mar 14 14:21:42 2008 From: john.duraiswamy at gmail.com (John Duraisw) Date: Fri, 14 Mar 2008 09:21:42 -0400 Subject: Nagios 3 statusmap.cgi on CentOS 5.1 i386 In-Reply-To: <467669b30803131618u7f79f05ey13dfc4486f08f121@mail.gmail.com> References: <467669b30803131618u7f79f05ey13dfc4486f08f121@mail.gmail.com> Message-ID: <69451f940803140621i19cf8f70g550da49678f543d5@mail.gmail.com> Check whether you have gd-devel and libpng-devel installed. If not install it and recompile it. [root at web sbin]# yum list installed | grep gd-devel gd-devel.i386 2.0.33-9.4.el5_1.1 installed [root at web sbin]# yum list installed | grep libpng-devel libpng-devel.i386 2:1.2.10-7.1.el5_0.1 installed Thanks, -john On Thu, Mar 13, 2008 at 7:18 PM, Joey K. wrote: > Hello, > > I'm attempting to install Nagios 3 on CentOS 5.1 i386. > > I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib, > zlib-devel packages. > > I'm comping nagios 3 with the following options, > > ./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios > --localstatedir=/var/ > nagios --with-command-group=nagcmd --with-nagios-user=nagios > --with-nagios-grou > p=nagios --enable-event-broker --with-gd-lib=/usr/lib > --with-gd-inc=/usr/includ > e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes > --enable-statuswrl=yes > > Compile is successful. However there is no statusmap.cgi in sbin/ and I > get apache error (file not found) on clicking "Status Map". > > config.log has, > > > ........ > ..... > configure:5760: result: no > configure:5768: checking for gdImagePng in -lgd (order 1) > configure:5796: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > conftest.c -lgd -lttf -lpng -ljpeg -lz -lm >&5 > /usr/bin/ld: cannot find -lttf > collect2: ld returned 1 exit status > configure:5802: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > .... > ... > > > > > .... > > | #define USE_XDDDEFAULT 1 > | /* end confdefs.h. */ > | /* Override any gcc2 internal prototype to avoid an error. */ > | /* We use char because int might match the return type of a gcc2 > | builtin and then its argument prototype would still apply. */ > | char gdImagePng(); > | > | int > | main () > | { > | gdImagePng() > | ; > | return 0; > | } > configure:5837: result: no > configure:5844: checking for gdImagePng in -lgd (order 2) > configure:5872: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > conftest.c -lgd -lpng -ljpeg -lz -lm >&5 > configure:5878: $? = 0 > configure:5882: test -z > || test ! -s conftest.err > configure:5885: $? = 0 > configure:5888: test -s conftest > configure:5891: $? = 0 > configure:5906: result: yes > configure:6206: checking ltdl.h usability > configure:6218: gcc -c -g -O2 -I/usr/include conftest.c >&5 > conftest.c:114:18: error: ltdl.h: No such file or directory > configure:6224: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > .... > .... > > > I'm not sure what the problem is. Any ideas? > > Thanks in advance, > Joey > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sholikar at yahoo.com Fri Mar 14 15:03:20 2008 From: sholikar at yahoo.com (sachin holikar) Date: Fri, 14 Mar 2008 07:03:20 -0700 (PDT) Subject: strange error Message-ID: <987620.87751.qm@web53207.mail.re2.yahoo.com> Hi, Just in the initial phase of Nagios Configuration. Successfully installed Nagios Server part and 1 remote host. Now when I added one more host to the setup , while restarting nagios service , it gives us the error as """"Warning: Host 'c04' has no services associated with it""""""" And the Graphical view shows this host but the status remains as PENDING.... c04 PENDING N/A 0d 0h 3m 58s+ Host has not been checked yet What could be the problem ????? Thanx in advance. --------------------------------- Never miss a thing. Make Yahoo your homepage. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 15:12:38 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Mar 2008 09:12:38 -0500 Subject: strange error In-Reply-To: <987620.87751.qm@web53207.mail.re2.yahoo.com> References: <987620.87751.qm@web53207.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of sachin holikar > Sent: Friday, March 14, 2008 9:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] strange error > > Hi, > Just in the initial phase of Nagios Configuration. Successfully > installed Nagios Server part and 1 remote host. Now when I added one more > host to the setup , while restarting nagios service , it gives us the > error as > > """"Warning: Host 'c04' has no services associated with it""""""" > What could be the problem ????? Host 'c04' has no service{} definitions associated with it. All hosts must have at least one service defined for them. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 14 15:45:48 2008 From: m.borsani at it.net (Marco Borsani) Date: Fri, 14 Mar 2008 15:45:48 +0100 Subject: View - Update every 90 seconds Message-ID: <013901c885e2$17c88720$0900d40a@intranet.it.net> Hi all. I'd like to increase the default seconds used to refresh all the views on nagios. Actually I read: "Updated every 90 seconds" I hoped to do this change with the parameter "freshness_check_interval" inside nagios.cfg, but I wrong. Can be done in different ways? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Fri Mar 14 15:48:37 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 14 Mar 2008 15:48:37 +0100 Subject: Antwort: View - Update every 90 seconds In-Reply-To: <013901c885e2$17c88720$0900d40a@intranet.it.net> References: <013901c885e2$17c88720$0900d40a@intranet.it.net> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 14.03.2008 15:45:48: > I'd like to increase the default seconds used to refresh all the > views on nagios. > Actually I read: "Updated every 90 seconds" > > I hoped to do this change with the parameter > "freshness_check_interval" inside nagios.cfg, but I wrong. > > Can be done in different ways? Quoting from cgi.cfg: # REFRESH RATE # This option allows you to specify the refresh rate in seconds # of various CGIs (status, statusmap, extinfo, and outages). refresh_rate=90 -- Sascha Runschke Netzwerk- und Systemmanagement - Abt. Organisation und Betrieb - IT-Infrastruktur Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 14 15:49:42 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 14 Mar 2008 15:49:42 +0100 Subject: View - Update every 90 seconds In-Reply-To: <013901c885e2$17c88720$0900d40a@intranet.it.net> References: <013901c885e2$17c88720$0900d40a@intranet.it.net> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9704@hermes.sapphire-int.gi> Cgiutils.h DEFAULT_REFRESH_RATE Then recompile Can only be changed through source recompilation as far as I know. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Borsani Sent: 14 March 2008 15:46 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] View - Update every 90 seconds Hi all. I'd like to increase the default seconds used to refresh all the views on nagios. Actually I read: "Updated every 90 seconds" I hoped to do this change with the parameter "freshness_check_interval" inside nagios.cfg, but I wrong. Can be done in different ways? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy's new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Fri Mar 14 15:50:34 2008 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 14 Mar 2008 15:50:34 +0100 Subject: Antwort: View - Update every 90 seconds In-Reply-To: References: <013901c885e2$17c88720$0900d40a@intranet.it.net> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744CF9705@hermes.sapphire-int.gi> I stand corrected... must be Friday :-( ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sascha.Runschke at gfkl.com Sent: 14 March 2008 15:49 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Antwort: View - Update every 90 seconds nagios-users-bounces at lists.sourceforge.net schrieb am 14.03.2008 15:45:48: > I'd like to increase the default seconds used to refresh all the > views on nagios. > Actually I read: "Updated every 90 seconds" > > I hoped to do this change with the parameter > "freshness_check_interval" inside nagios.cfg, but I wrong. > > Can be done in different ways? Quoting from cgi.cfg: # REFRESH RATE # This option allows you to specify the refresh rate in seconds # of various CGIs (status, statusmap, extinfo, and outages). refresh_rate=90 -- Sascha Runschke Netzwerk- und Systemmanagement - Abt. Organisation und Betrieb - IT-Infrastruktur Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 15:50:11 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Mar 2008 09:50:11 -0500 Subject: strange error In-Reply-To: <170894.99481.qm@web53207.mail.re2.yahoo.com> References: <170894.99481.qm@web53207.mail.re2.yahoo.com> Message-ID: Please always respond on list. > -----Original Message----- > From: sachin holikar [mailto:sholikar at yahoo.com] > Sent: Friday, March 14, 2008 9:19 AM > To: Marc Powell > Subject: Re: [Nagios-users] strange error > > > Hi Marc, > > No....its not so... I have defined c04 in c04.cfg file as, Yes, I'm afraid it is as far as nagios is concerned. > # Define a service to "ping" the local machine > define service{ > use local-service ; Name of service > template to use > host_name c04 > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > define service{ > use local-service > host_name c04 > service_description load > check_command check_nrpe!check_load > } > What could be the issue? Nagios isn't reading the file c04.cfg then. Do you have it specified as a cfg_file in nagios.cfg? Or, does it live in a directory specified as a cfg_dir in nagios.cfg? The program at http://oss.op5.se/nagios/getnagioscfg.c might help show you the cfg files that nagios has been told about. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 14 15:55:04 2008 From: m.borsani at it.net (Marco Borsani) Date: Fri, 14 Mar 2008 15:55:04 +0100 Subject: R: Antwort: View - Update every 90 seconds In-Reply-To: References: <013901c885e2$17c88720$0900d40a@intranet.it.net> Message-ID: <015c01c885e3$633f91c0$0900d40a@intranet.it.net> Yes it is true! I was looking to the code .. and it seems to be difficult, but you give me the correct answer. Many thanks Marco _____ Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Sascha.Runschke at gfkl.com Inviato: venerd? 14 marzo 2008 15.49 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] Antwort: View - Update every 90 seconds nagios-users-bounces at lists.sourceforge.net schrieb am 14.03.2008 15:45:48: > I'd like to increase the default seconds used to refresh all the > views on nagios. > Actually I read: "Updated every 90 seconds" > > I hoped to do this change with the parameter > "freshness_check_interval" inside nagios.cfg, but I wrong. > > Can be done in different ways? Quoting from cgi.cfg: # REFRESH RATE # This option allows you to specify the refresh rate in seconds # of various CGIs (status, statusmap, extinfo, and outages). refresh_rate=90 -- Sascha Runschke Netzwerk- und Systemmanagement - Abt. Organisation und Betrieb - IT-Infrastruktur Telefon : +49 (201) 102-1879 Mobil : +49 (173) 5419665 Fax : +49 (201) 102-1102105 GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sholikar at yahoo.com Fri Mar 14 16:24:24 2008 From: sholikar at yahoo.com (sachin holikar) Date: Fri, 14 Mar 2008 08:24:24 -0700 (PDT) Subject: strange error In-Reply-To: References: Message-ID: <366658.86157.qm@web53212.mail.re2.yahoo.com> Whatever servers i m adding with the help of NRPE ....Nagios server is not able to check it. Same error for one more newly added host now. I am confused. Marc Powell wrote: Please always respond on list. > -----Original Message----- > From: sachin holikar [mailto:sholikar at yahoo.com] > Sent: Friday, March 14, 2008 9:19 AM > To: Marc Powell > Subject: Re: [Nagios-users] strange error > > > Hi Marc, > > No....its not so... I have defined c04 in c04.cfg file as, Yes, I'm afraid it is as far as nagios is concerned. > # Define a service to "ping" the local machine > define service{ > use local-service ; Name of service > template to use > host_name c04 > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > define service{ > use local-service > host_name c04 > service_description load > check_command check_nrpe!check_load > } > What could be the issue? Nagios isn't reading the file c04.cfg then. Do you have it specified as a cfg_file in nagios.cfg? Or, does it live in a directory specified as a cfg_dir in nagios.cfg? The program at http://oss.op5.se/nagios/getnagioscfg.c might help show you the cfg files that nagios has been told about. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Never miss a thing. Make Yahoo your homepage. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Fri Mar 14 15:27:13 2008 From: dale at chatham.org (Dale J. Chatham) Date: Fri, 14 Mar 2008 09:27:13 -0500 Subject: Nagios 2.10 to 3.0 upgrade Message-ID: <47DA8B41.7070008@chatham.org> Is this painless? It looks like a few config items have been added, but they don't look mandatory. Some have been dropped, but I don't think I was using them anyway. What are the gotchas? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 16:42:54 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Mar 2008 10:42:54 -0500 Subject: strange error In-Reply-To: <366658.86157.qm@web53212.mail.re2.yahoo.com> References: <366658.86157.qm@web53212.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of sachin holikar > Sent: Friday, March 14, 2008 10:24 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] strange error > > Whatever servers i m adding with the help of NRPE ....Nagios server is not > able to check it. > Same error for one more newly added host now. That's because the problem isn't with NRPE (at this point). > > I am confused. Read again what I said below and reference this documentation to answer the questions. -- http://nagios.sourceforge.net/docs/2_0/config.html http://nagios.sourceforge.net/docs/2_0/configmain.html#cfg_file http://nagios.sourceforge.net/docs/2_0/configmain.html#cfg_dir (use one or the other) Chances are, you'll resolve your issue if you can answer the questions. -- Marc > > Marc Powell wrote: > > What could be the issue? > > Nagios isn't reading the file c04.cfg then. Do you have it specified as > a cfg_file in nagios.cfg? Or, does it live in a directory specified as a > cfg_dir in nagios.cfg? The program at > http://oss.op5.se/nagios/getnagioscfg.c might help show you the cfg > files that nagios has been told about. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 16:56:24 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Mar 2008 10:56:24 -0500 Subject: Nagios 2.10 to 3.0 upgrade In-Reply-To: <47DA8B41.7070008@chatham.org> References: <47DA8B41.7070008@chatham.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Dale J. Chatham > Sent: Friday, March 14, 2008 9:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.10 to 3.0 upgrade > > Is this painless? > > It looks like a few config items have been added, but they don't look > mandatory. Some have been dropped, but I don't think I was using them > anyway. > > What are the gotchas? Have you read through the Upgrade document? http://nagios.sourceforge.net/docs/3_0/upgrading.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.knecht at anyweb.ch Fri Mar 14 17:12:22 2008 From: david.knecht at anyweb.ch (David Knecht) Date: Fri, 14 Mar 2008 17:12:22 +0100 Subject: Nagio 3.0 Stable release - and trends reporting Message-ID: <47DAA3E6.5050807@anyweb.ch> I discovered the same issue after having upgraded from Nagios 3.0rc3 to Nagios 3.0 GA... No solution yet. David -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3303 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pguser at gmail.com Fri Mar 14 18:08:37 2008 From: pguser at gmail.com (Joey K.) Date: Fri, 14 Mar 2008 09:08:37 -0800 Subject: Nagios 3 statusmap.cgi on CentOS 5.1 i386 In-Reply-To: <69451f940803140621i19cf8f70g550da49678f543d5@mail.gmail.com> References: <467669b30803131618u7f79f05ey13dfc4486f08f121@mail.gmail.com> <69451f940803140621i19cf8f70g550da49678f543d5@mail.gmail.com> Message-ID: <467669b30803141008m7c3a6189sbf45f8f6c8697f6d@mail.gmail.com> John, Appreciate your response. [joey at outside2 ~]$ yum list installed | grep gd-devel gd-devel.i386 2.0.33-9.4.el5_1.1 installed [joey at outside2 ~]$ yum list installed | grep libjpeg-devel libjpeg-devel.i386 6b-37 installed [joey at outside2 ~]$ yum list installed | grep libpng-devel libpng-devel.i386 2:1.2.10-7.1.el5_0.1 installed [joey at outside2 ~]$ yum list installed | grep zlib-devel zlib-devel.i386 1.2.3-3 installed [joey at outside2 ~]$ yum list installed | grep freetype-devel freetype-devel.i386 2.2.1-19.el5 installed [joey at outside2 ~]$ I'm not sure what else could be missing. Joey On Fri, Mar 14, 2008 at 5:21 AM, John Duraisw wrote: > Check whether you have gd-devel and libpng-devel installed. If not install > it and recompile it. > > [root at web sbin]# yum list installed | grep gd-devel > gd-devel.i386 2.0.33-9.4.el5_1.1 installed > [root at web sbin]# yum list installed | grep libpng-devel > libpng-devel.i386 2:1.2.10-7.1.el5_0.1 installed > > Thanks, > > -john > > > > > On Thu, Mar 13, 2008 at 7:18 PM, Joey K. wrote: > > > Hello, > > > > I'm attempting to install Nagios 3 on CentOS 5.1 i386. > > > > I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib, > > zlib-devel packages. > > > > I'm comping nagios 3 with the following options, > > > > ./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios > > --localstatedir=/var/ > > nagios --with-command-group=nagcmd --with-nagios-user=nagios > > --with-nagios-grou > > p=nagios --enable-event-broker --with-gd-lib=/usr/lib > > --with-gd-inc=/usr/includ > > e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes > > --enable-statuswrl=yes > > > > Compile is successful. However there is no statusmap.cgi in sbin/ and I > > get apache error (file not found) on clicking "Status Map". > > > > config.log has, > > > > > > ........ > > ..... > > configure:5760: result: no > > configure:5768: checking for gdImagePng in -lgd (order 1) > > configure:5796: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > > conftest.c -lgd -lttf -lpng -ljpeg -lz -lm >&5 > > /usr/bin/ld: cannot find -lttf > > collect2: ld returned 1 exit status > > configure:5802: $? = 1 > > configure: failed program was: > > | /* confdefs.h. */ > > .... > > ... > > > > > > > > > > .... > > > > | #define USE_XDDDEFAULT 1 > > | /* end confdefs.h. */ > > | /* Override any gcc2 internal prototype to avoid an error. */ > > | /* We use char because int might match the return type of a gcc2 > > | builtin and then its argument prototype would still apply. */ > > | char gdImagePng(); > > | > > | int > > | main () > > | { > > | gdImagePng() > > | ; > > | return 0; > > | } > > configure:5837: result: no > > configure:5844: checking for gdImagePng in -lgd (order 2) > > configure:5872: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > > conftest.c -lgd -lpng -ljpeg -lz -lm >&5 > > configure:5878: $? = 0 > > configure:5882: test -z > > || test ! -s conftest.err > > configure:5885: $? = 0 > > configure:5888: test -s conftest > > configure:5891: $? = 0 > > configure:5906: result: yes > > configure:6206: checking ltdl.h usability > > configure:6218: gcc -c -g -O2 -I/usr/include conftest.c >&5 > > conftest.c:114:18: error: ltdl.h: No such file or directory > > configure:6224: $? = 1 > > configure: failed program was: > > | /* confdefs.h. */ > > .... > > .... > > > > > > I'm not sure what the problem is. Any ideas? > > > > Thanks in advance, > > Joey > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Fri Mar 14 18:09:47 2008 From: rupertt at gmail.com (rupert) Date: Fri, 14 Mar 2008 18:09:47 +0100 Subject: upgrade to 3.0, new service stuck at pending Message-ID: <537dcd6b0803141009g7b627220s6179d7bea68005d4@mail.gmail.com> Hello ListUsers, i just upgraded to nagios 3,0 and all my old services are checked fine, now i added a mysql check with the default check_mysql plugin and it never get checked. I can do "/usr/local/nagios/libexec/check_mysql -H 172.20.1.101 -u monitoring" and it works fine, i defined a service and the command, and the webinterface shows me the serivice on the right hosts, but it never changes from pending to checked When i start nagios. all the services get a state, but also not my new one [1205513869] INITIAL SERVICE STATE: backend-A1;MYSQL;OK;HARD;1; [1205513869] INITIAL SERVICE STATE: backend-A1;PING;OK;HARD;1;OK - 172.20.1.101: rta 0.332ms, lost 0% define command{ command_name check_mysql command_line $USER1$/check_mysql -H $HOSTADDRESS$ -u $ARG1$ } define service{ host_name backend-A1, backend-B1 service_description MYSQL check_command check_mysql!monitoring max_check_attempts 3 normal_check_interval 1 retry_check_interval 3 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,u,c,r,f contact_groups noc } I checked all the file permissions and it looks fine, there are no other entries in the logfiles. greetings Heiko ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Fri Mar 14 18:18:43 2008 From: jcall at verio.net (Jonathan Call) Date: Fri, 14 Mar 2008 13:18:43 -0400 Subject: FreeBSD 7.0-RELEASE and nagios 2.10 Message-ID: <04F3233F47E2714CB7431AE913E57E7702974341@IAD-WPRD-XCHB02.corp.verio.net> I did an upgrade of my two test Nagios boxes to FreeBSD 7.0. I rebuilt all of the ports. I'm also still* using the libmap.conf options: [nagios] # Resolve fork/vfork issues with Nagios libpthread.so.2 libthr.so.2 libpthread.so libthr.so Both of my test boxes now have zombie processes that do not respond to any kill command: nagios 46134 0.0 0.0 0 0 ?? Z 11:43PM 0:00.06 nagios 46133 0.0 0.0 0 8 ?? DE 11:43PM 0:00.02 /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg Has anyone else run into this issue? Jonathan Call * The port Makefile was updated with the following USE_AUTOTOOLS= autoconf:261 libltdl:15 -- Link with libthr when available. This should fix the CPU consumption problem. So I don't know if the libmap.conf entry is necessary anymore? This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 18:20:59 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Mar 2008 12:20:59 -0500 Subject: upgrade to 3.0, new service stuck at pending In-Reply-To: <537dcd6b0803141009g7b627220s6179d7bea68005d4@mail.gmail.com> References: <537dcd6b0803141009g7b627220s6179d7bea68005d4@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of rupert > Sent: Friday, March 14, 2008 12:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] upgrade to 3.0, new service stuck at pending > > define service{ > host_name backend-A1, backend-B1 > service_description MYSQL > check_command check_mysql!monitoring > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 3 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups noc > } > > I checked all the file permissions and it looks fine, there are no > other entries in the logfiles. I don't know off the top of my head what the default is (I assume 0), but you don't explicitly state 'active_checks_enabled 1'. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.duraiswamy at gmail.com Fri Mar 14 18:55:17 2008 From: john.duraiswamy at gmail.com (John Duraisw) Date: Fri, 14 Mar 2008 13:55:17 -0400 Subject: Nagios 3 statusmap.cgi on CentOS 5.1 i386 In-Reply-To: <467669b30803141008m7c3a6189sbf45f8f6c8697f6d@mail.gmail.com> References: <467669b30803131618u7f79f05ey13dfc4486f08f121@mail.gmail.com> <69451f940803140621i19cf8f70g550da49678f543d5@mail.gmail.com> <467669b30803141008m7c3a6189sbf45f8f6c8697f6d@mail.gmail.com> Message-ID: <69451f940803141055j7f6b171eha07273317bf2bf0b@mail.gmail.com> Joey, You want to try the following config. /configure --prefix=/opt/nagios --sysconfdir=/etc/nagios --localstatedir=/var/ nagios --with-command-group=nagcmd --with-nagios-user=nagios --with-nagios-grou p=nagios --enable-event-broker --with-mail=/usr/sbin/sendmail or you can try ./configure --with-command-group=nagcmd (this should put everything under /usr/local/nagios/) I am sure you have created nagios user nagios group and nagcmd. Thanks, -john On Fri, Mar 14, 2008 at 1:08 PM, Joey K. wrote: > > John, > > Appreciate your response. > > [joey at outside2 ~]$ yum list installed | grep gd-devel > gd-devel.i386 2.0.33-9.4.el5_1.1 > installed > [joey at outside2 ~]$ yum list installed | grep libjpeg-devel > libjpeg-devel.i386 6b-37 > installed > [joey at outside2 ~]$ yum list installed | grep libpng-devel > libpng-devel.i386 2:1.2.10-7.1.el5_0.1 > installed > [joey at outside2 ~]$ yum list installed | grep zlib-devel > zlib-devel.i386 1.2.3-3 > installed > [joey at outside2 ~]$ yum list installed | grep freetype-devel > freetype-devel.i386 2.2.1-19.el5 > installed > [joey at outside2 ~]$ > > > I'm not sure what else could be missing. > > Joey > > > > On Fri, Mar 14, 2008 at 5:21 AM, John Duraisw > wrote: > > > Check whether you have gd-devel and libpng-devel installed. If not > > install it and recompile it. > > > > [root at web sbin]# yum list installed | grep gd-devel > > gd-devel.i386 2.0.33-9.4.el5_1.1 > > installed > > [root at web sbin]# yum list installed | grep libpng-devel > > libpng-devel.i386 2:1.2.10-7.1.el5_0.1 > > installed > > > > Thanks, > > > > -john > > > > > > > > > > On Thu, Mar 13, 2008 at 7:18 PM, Joey K. wrote: > > > > > Hello, > > > > > > I'm attempting to install Nagios 3 on CentOS 5.1 i386. > > > > > > I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib, > > > zlib-devel packages. > > > > > > I'm comping nagios 3 with the following options, > > > > > > ./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios > > > --localstatedir=/var/ > > > nagios --with-command-group=nagcmd --with-nagios-user=nagios > > > --with-nagios-grou > > > p=nagios --enable-event-broker --with-gd-lib=/usr/lib > > > --with-gd-inc=/usr/includ > > > e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes > > > --enable-statuswrl=yes > > > > > > Compile is successful. However there is no statusmap.cgi in sbin/ and > > > I get apache error (file not found) on clicking "Status Map". > > > > > > config.log has, > > > > > > > > > ........ > > > ..... > > > configure:5760: result: no > > > configure:5768: checking for gdImagePng in -lgd (order 1) > > > configure:5796: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > > > conftest.c -lgd -lttf -lpng -ljpeg -lz -lm >&5 > > > /usr/bin/ld: cannot find -lttf > > > collect2: ld returned 1 exit status > > > configure:5802: $? = 1 > > > configure: failed program was: > > > | /* confdefs.h. */ > > > .... > > > ... > > > > > > > > > > > > > > > .... > > > > > > | #define USE_XDDDEFAULT 1 > > > | /* end confdefs.h. */ > > > | /* Override any gcc2 internal prototype to avoid an error. */ > > > | /* We use char because int might match the return type of a gcc2 > > > | builtin and then its argument prototype would still apply. */ > > > | char gdImagePng(); > > > | > > > | int > > > | main () > > > | { > > > | gdImagePng() > > > | ; > > > | return 0; > > > | } > > > configure:5837: result: no > > > configure:5844: checking for gdImagePng in -lgd (order 2) > > > configure:5872: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > > > conftest.c -lgd -lpng -ljpeg -lz -lm >&5 > > > configure:5878: $? = 0 > > > configure:5882: test -z > > > || test ! -s conftest.err > > > configure:5885: $? = 0 > > > configure:5888: test -s conftest > > > configure:5891: $? = 0 > > > configure:5906: result: yes > > > configure:6206: checking ltdl.h usability > > > configure:6218: gcc -c -g -O2 -I/usr/include conftest.c >&5 > > > conftest.c:114:18: error: ltdl.h: No such file or directory > > > configure:6224: $? = 1 > > > configure: failed program was: > > > | /* confdefs.h. */ > > > .... > > > .... > > > > > > > > > I'm not sure what the problem is. Any ideas? > > > > > > Thanks in advance, > > > Joey > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Mar 14 18:58:20 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 14 Mar 2008 10:58:20 -0700 Subject: Nagios 3 statusmap.cgi on CentOS 5.1 i386 In-Reply-To: <467669b30803131618u7f79f05ey13dfc4486f08f121@mail.gmail.com> References: <467669b30803131618u7f79f05ey13dfc4486f08f121@mail.gmail.com> Message-ID: <20080314175820.GL9098@bakgwai.americas.hpqcorp.net> On Thu, 13 Mar 2008, Joey K. wrote: > I'm attempting to install Nagios 3 on CentOS 5.1 i386. > > I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib, zlib-devel packages. > > configure:5760: result: no > configure:5768: checking for gdImagePng in -lgd (order 1) > configure:5796: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib conftest.c -lgd -lttf -lpng -ljpeg -lz -lm >&5 > /usr/bin/ld: cannot find -lttf > collect2: ld returned 1 exit status > configure:5802: $? = 1 > configure: failed program was: > | /* confdefs.h. */ Looks like you missed freetype-devel. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admitriev at mentora.com Fri Mar 14 18:59:14 2008 From: admitriev at mentora.com (Andrey Dmitriev) Date: Fri, 14 Mar 2008 13:59:14 -0400 Subject: ping monitor additional IPs on the host Message-ID: <"L621FA6F7CD2D4616AD5834F41ECEF5FA.1205517398.mt-adm.mentora.biz*"@MHS> Is there are a way to do this w/o a new host? Thanks, Andrey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fabianomartinsrj at gmail.com Fri Mar 14 19:18:55 2008 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Fri, 14 Mar 2008 15:18:55 -0300 Subject: Reporting Message-ID: <94212b210803141118x2bc71ce5s9b32965146063bee@mail.gmail.com> Hi, I would like to know if anyone know some interesting tool to give nagios availability report to users that have to know about their hosts. I've used a perl script already (nagios-reporter), from nagios exchange that provide these reports trought email but the format is not easy to understand and the presentation is not good for custumers. I'm looking for two ways of giving reporting access to the custumers. One is trought an email with the information, and the other one should be an user interface that the custumers can go there and check for. Any idea will be welcome Regards, Fabiano Martins ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Mar 14 19:42:20 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 14 Mar 2008 11:42:20 -0700 Subject: ping monitor additional IPs on the host In-Reply-To: <"L621FA6F7CD2D4616AD5834F41ECEF5FA.1205517398.mt-adm.mentora.biz*"@MHS> References: <"L621FA6F7CD2D4616AD5834F41ECEF5FA.1205517398.mt-adm.mentora.biz*"@MHS> Message-ID: <20080314184220.GN9098@bakgwai.americas.hpqcorp.net> On Fri, 14 Mar 2008, Andrey Dmitriev wrote: > Is there are a way to do this w/o a new host? Several ways. Set up a check command that pings a hard-coded IP, or use one set up like the check_ping command, but with $HOSTADDRESS$ replaced with $ARG1$ so you can pass it an IP in a service definition. There are probably about a billion other ways you could do it, but those are easy. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cabedogni at gmail.com Fri Mar 14 19:48:21 2008 From: cabedogni at gmail.com (Carlo Alberto Bedogni) Date: Fri, 14 Mar 2008 19:48:21 +0100 Subject: check_ssh plugin setup problem , please help me Message-ID: hi all. i have nagios 2.10 on centos 5 , i'm trying to install check_ssh plugin ( in my system is in /usr/lib64/nagios/plugins ) in /etc/nagios/localhost.cfg i have add this line : define service{ use local-service ; Name of service template to use host_name localhost service_description Check ssh check_command check-ssh } and in /etc/nagios/command.cfg this line : # 'check_ssh' command definition define command{ command_name check_ssh command_line $USER1$/check_ssh -H $HOSTADDRESS$ } but if i try a check with nagios -v nagios.cfg i have this error : # nagios -v nagios.cfg Nagios 2.10 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 10-21-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: Service check command 'check-ssh' specified in service 'Check ssh' for host 'localhost' not defined anywhere! Checked 10 services. Checking hosts... Checked 1 hosts. Checking host groups... Checked 1 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 24 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: 1 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. i'm not an expert of nagios but i have succesfull setup some standard plugin ( like check_http,check_ftp,check_smtp ..etc ) thanks for your help carlo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pguser at gmail.com Fri Mar 14 19:50:09 2008 From: pguser at gmail.com (Joey K.) Date: Fri, 14 Mar 2008 10:50:09 -0800 Subject: Nagios 3 statusmap.cgi on CentOS 5.1 i386 [SOLVED] Message-ID: <467669b30803141150g7137388fldb99c5a77164f6e4@mail.gmail.com> On Fri, Mar 14, 2008 at 9:55 AM, John Duraisw wrote: > Joey, > You want to try the following config. > > /configure --prefix=/opt/nagios --sysconfdir=/etc/nagios > --localstatedir=/var/ > nagios --with-command-group=nagcmd --with-nagios-user=nagios > --with-nagios-grou > p=nagios --enable-event-broker --with-mail=/usr/sbin/sendmail > > or you can try ./configure --with-command-group=nagcmd (this should put > everything under /usr/local/nagios/) > Removing "--with-gd-inc=/usr --with-gd-lib=/usr --enable-statusmap=yes --enable-statuswrl=yes" from the configure options worked! Thanks. It's strange that I had to remove it. BTW, I had freetype-devel already installed. Joey > > > > > > On Fri, Mar 14, 2008 at 1:08 PM, Joey K. wrote: > > > > > John, > > > > Appreciate your response. > > > > [joey at outside2 ~]$ yum list installed | grep gd-devel > > gd-devel.i386 2.0.33-9.4.el5_1.1 > > installed > > [joey at outside2 ~]$ yum list installed | grep libjpeg-devel > > libjpeg-devel.i386 6b-37 > > installed > > [joey at outside2 ~]$ yum list installed | grep libpng-devel > > libpng-devel.i386 2:1.2.10-7.1.el5_0.1 > > installed > > [joey at outside2 ~]$ yum list installed | grep zlib-devel > > zlib-devel.i386 1.2.3-3 > > installed > > [joey at outside2 ~]$ yum list installed | grep freetype-devel > > freetype-devel.i386 2.2.1-19.el5 > > installed > > [joey at outside2 ~]$ > > > > > > I'm not sure what else could be missing. > > > > Joey > > > > > > > > On Fri, Mar 14, 2008 at 5:21 AM, John Duraisw > > wrote: > > > > > Check whether you have gd-devel and libpng-devel installed. If not > > > install it and recompile it. > > > > > > [root at web sbin]# yum list installed | grep gd-devel > > > gd-devel.i386 2.0.33-9.4.el5_1.1 > > > installed > > > [root at web sbin]# yum list installed | grep libpng-devel > > > libpng-devel.i386 2:1.2.10-7.1.el5_0.1 > > > installed > > > > > > Thanks, > > > > > > -john > > > > > > > > > > > > > > > On Thu, Mar 13, 2008 at 7:18 PM, Joey K. wrote: > > > > > > > Hello, > > > > > > > > I'm attempting to install Nagios 3 on CentOS 5.1 i386. > > > > > > > > I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib, > > > > zlib-devel packages. > > > > > > > > I'm comping nagios 3 with the following options, > > > > > > > > ./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios > > > > --localstatedir=/var/ > > > > nagios --with-command-group=nagcmd --with-nagios-user=nagios > > > > --with-nagios-grou > > > > p=nagios --enable-event-broker --with-gd-lib=/usr/lib > > > > --with-gd-inc=/usr/includ > > > > e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes > > > > --enable-statuswrl=yes > > > > > > > > Compile is successful. However there is no statusmap.cgi in sbin/ > > > > and I get apache error (file not found) on clicking "Status Map". > > > > > > > > config.log has, > > > > > > > > > > > > ........ > > > > ..... > > > > configure:5760: result: no > > > > configure:5768: checking for gdImagePng in -lgd (order 1) > > > > configure:5796: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > > > > conftest.c -lgd -lttf -lpng -ljpeg -lz -lm >&5 > > > > /usr/bin/ld: cannot find -lttf > > > > collect2: ld returned 1 exit status > > > > configure:5802: $? = 1 > > > > configure: failed program was: > > > > | /* confdefs.h. */ > > > > .... > > > > ... > > > > > > > > > > > > > > > > > > > > .... > > > > > > > > | #define USE_XDDDEFAULT 1 > > > > | /* end confdefs.h. */ > > > > | /* Override any gcc2 internal prototype to avoid an error. > > > > */ > > > > | /* We use char because int might match the return type of a gcc2 > > > > | builtin and then its argument prototype would still apply. */ > > > > | char gdImagePng(); > > > > | > > > > | int > > > > | main () > > > > | { > > > > | gdImagePng() > > > > | ; > > > > | return 0; > > > > | } > > > > configure:5837: result: no > > > > configure:5844: checking for gdImagePng in -lgd (order 2) > > > > configure:5872: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib > > > > conftest.c -lgd -lpng -ljpeg -lz -lm >&5 > > > > configure:5878: $? = 0 > > > > configure:5882: test -z > > > > || test ! -s conftest.err > > > > configure:5885: $? = 0 > > > > configure:5888: test -s conftest > > > > configure:5891: $? = 0 > > > > configure:5906: result: yes > > > > configure:6206: checking ltdl.h usability > > > > configure:6218: gcc -c -g -O2 -I/usr/include conftest.c >&5 > > > > conftest.c:114:18: error: ltdl.h: No such file or directory > > > > configure:6224: $? = 1 > > > > configure: failed program was: > > > > | /* confdefs.h. */ > > > > .... > > > > .... > > > > > > > > > > > > I'm not sure what the problem is. Any ideas? > > > > > > > > Thanks in advance, > > > > Joey > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Microsoft > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pguser at gmail.com Fri Mar 14 19:52:35 2008 From: pguser at gmail.com (Joey K.) Date: Fri, 14 Mar 2008 10:52:35 -0800 Subject: check_ssh plugin setup problem , please help me In-Reply-To: References: Message-ID: <467669b30803141152x305cb6bep795300727e5128ba@mail.gmail.com> On Fri, Mar 14, 2008 at 10:48 AM, Carlo Alberto Bedogni wrote: > hi all. > > i have nagios 2.10 on centos 5 , i'm trying to install check_ssh plugin ( > in my system is in /usr/lib64/nagios/plugins ) > in /etc/nagios/localhost.cfg i have add this line : > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Check ssh > check_command check-ssh > } > The check_command should have check_ssh and not check-ssh. Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Mar 14 19:57:28 2008 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 14 Mar 2008 11:57:28 -0700 Subject: check_ssh plugin setup problem , please help me In-Reply-To: References: Message-ID: <20080314185728.GO9098@bakgwai.americas.hpqcorp.net> Hi Carlo! On Fri, 14 Mar 2008, Carlo Alberto Bedogni wrote: > i have nagios 2.10 on centos 5 , i'm trying to install check_ssh plugin ( in my system is in /usr/lib64/nagios/plugins ) > in /etc/nagios/localhost.cfg i have add this line : > > define service{ > use > local-service ; Name of service template to use > host_name localhost > service_description Check ssh > check_command check-ssh > } > > > and in /etc/nagios/command.cfg this line : > > # 'check_ssh' command definition > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ > } Your check_command in the service definition and the comamnd_name in the command definition need to match. They don't. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cabedogni at gmail.com Fri Mar 14 20:22:37 2008 From: cabedogni at gmail.com (Carlo Alberto Bedogni) Date: Fri, 14 Mar 2008 20:22:37 +0100 Subject: check_ssh plugin setup problem , please help me In-Reply-To: References: Message-ID: thanks guys now is working !!!! thanks a lot :) On Fri, Mar 14, 2008 at 7:48 PM, Carlo Alberto Bedogni wrote: > hi all. > > i have nagios 2.10 on centos 5 , i'm trying to install check_ssh plugin ( > in my system is in /usr/lib64/nagios/plugins ) > in /etc/nagios/localhost.cfg i have add this line : > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Check ssh > check_command check-ssh > } > > > and in /etc/nagios/command.cfg this line : > > # 'check_ssh' command definition > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ > } > > > > but if i try a check with nagios -v nagios.cfg > > i have this error : > > # nagios -v nagios.cfg > > Nagios 2.10 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 10-21-2007 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Error: Service check command 'check-ssh' specified in service 'Check ssh' > for host 'localhost' not defined anywhere! > Checked 10 services. > Checking hosts... > Checked 1 hosts. > Checking host groups... > Checked 1 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 24 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: 1 > > ***> One or more problems was encountered while running the pre-flight > check... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > > i'm not an expert of nagios but i have succesfull setup some standard > plugin ( like check_http,check_ftp,check_smtp ..etc ) > > thanks for your help > carlo > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Fri Mar 14 20:29:00 2008 From: albrecht.dress at arcor.de (=?UTF-8?B?QWxicmVjaHQgRHJlw58=?=) Date: Fri, 14 Mar 2008 20:29:00 +0100 Subject: Cannot view trends Message-ID: <47DAD1FC.6020200@arcor.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, sorry if this is a dumb question, I just joined here... My problem is that I am not able to view any trend graph in Nagios 3.0. I run a self-compiled package on Ubuntu 7.10/amd64. I configured cgi.cfg as follows: use_authentication=1 authorized_for_system_information=* authorized_for_configuration_information=* authorized_for_system_commands=* authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=* authorized_for_all_host_commands=* Allowed users are authenticated by Apache, so this should be fine for my environment. With this setup, I can view *anything* in the Reporting section, i.e. Availibilities, Alert Histogram, History and Summary, Notifications and Event log, *except* for Trends. The first two steps work, but finally I just get It appears as though you are not authorized to view information for the specified host... The same happens e.g. when viewing the availability report for a single host. The tables are produces, but instead of the graph only "[Broken image icon] Host state trends" is shown. Running trends.cgi in gdb, it apparently fails at this point: ~ printf("\n"); ~ } #ifndef DEBUG ~ /* check authorization... */ ~ if(display_type==DISPLAY_HOST_TRENDS){ ~ temp_host=find_host(host_name); // fail here!!! because the call to find_host() returns NULL. Again, running the other scripts from the command line, with the same host entry, *does* work fine. Any idea what I did wrong here? Thanks in advance, Albrecht. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2tH8n/9unNAn/9ERAuPuAJ9HQzW8Gsl+DFgBglrYVI+3O3LwQACfWB5j ea3o2kbfX3mYBOUtsXVEF+Q= =GqRc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dale at chatham.org Fri Mar 14 21:38:44 2008 From: dale at chatham.org (Dale J. Chatham) Date: Fri, 14 Mar 2008 15:38:44 -0500 Subject: Nagios 2.10 to 3.0 upgrade In-Reply-To: References: Message-ID: <47DAE254.5070804@chatham.org> Thanks for the link! Hart to RTFM if you don't know TFM exists :) Dale Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Dale J. Chatham >> Sent: Friday, March 14, 2008 9:27 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios 2.10 to 3.0 upgrade >> >> Is this painless? >> >> It looks like a few config items have been added, but they don't look >> mandatory. Some have been dropped, but I don't think I was using them >> anyway. >> >> What are the gotchas? >> > > Have you read through the Upgrade document? > > http://nagios.sourceforge.net/docs/3_0/upgrading.html > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kingpin at 4kb.com Fri Mar 14 22:23:53 2008 From: kingpin at 4kb.com (kingpin) Date: Fri, 14 Mar 2008 14:23:53 -0700 (PDT) Subject: Proper Service/Notification Disable Method? Message-ID: Hello, Recently, the admin in charge of our nagios installation left for another company and I have been put in charge of it's maintenance. No problem, everything is set up and working great. However, I have one issue that I can't seem to solve despite pouring over the docs and FAQs. We have a host that has a service check enabled (say ping or ssh) which I want to disable. CGI auth and external commands aren't enabled. I edit both the services.cfg and the servicegroups.cfg and commented out the service in question. After restarting nagios, it no longer appears as a service for that host (great!). But I'm still getting the notification emails about host being down, etc. Is there an alert cache somewhere that I also need to disable to stop the emails from coming? Or did I just go about everything the wrong way? Thanks for any help that you can provide. kp P.S. This is running on gentoo with Apache 2. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 22:41:23 2008 From: marc at ena.com (Marc Powell) Date: Fri, 14 Mar 2008 16:41:23 -0500 Subject: Proper Service/Notification Disable Method? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of kingpin > Sent: Friday, March 14, 2008 4:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Proper Service/Notification Disable Method? > > We have a host that has a service check enabled (say > ping or ssh) which I want to disable. CGI auth and external > commands aren't enabled. I edit both the services.cfg and the > servicegroups.cfg and commented out the service in question. > After restarting nagios, it no longer appears as a service for > that host (great!). > > But I'm still getting the notification emails about > host being down, etc. Is there an alert cache somewhere that > I also need to disable to stop the emails from coming? Or did > I just go about everything the wrong way? There is no alert cache. Host checks/alerts and service checks/alerts are different though. You've commented out a service associated with the host so you won't get any alerts for the service but you don't appear to have done anything about the host. The fact that you're getting alerts about a host might also indicate that there are still service checks associated with that host. You'd need to do the same for the host and services to completely prevent checks and notifications. An alternative explanation is that you have more than one nagios daemon running with the older one still aware of whatever it's notifying about that you've removed. -- Marc p.s. enabling external command would really make things a lot simpler for you I suspect. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Sat Mar 15 10:06:32 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 15 Mar 2008 10:06:32 +0100 Subject: Cannot view trends In-Reply-To: <47DAD1FC.6020200@arcor.de> References: <47DAD1FC.6020200@arcor.de> Message-ID: <47DB9198.1050509@ederdrom.de> Albrecht Dre? schrieb: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > sorry if this is a dumb question, I just joined here... Thats not a dump question! > My problem is that I am not able to view any trend graph in Nagios 3.0. I run a > self-compiled package on Ubuntu 7.10/amd64. > > I configured cgi.cfg as follows: > > > use_authentication=1 > authorized_for_system_information=* > authorized_for_configuration_information=* > authorized_for_system_commands=* > authorized_for_all_services=* > authorized_for_all_hosts=* > authorized_for_all_service_commands=* > authorized_for_all_host_commands=* > > > Allowed users are authenticated by Apache, so this should be fine for my > environment. > > With this setup, I can view *anything* in the Reporting section, i.e. > Availibilities, Alert Histogram, History and Summary, Notifications and Event > log, *except* for Trends. The first two steps work, but finally I just get > > It appears as though you are not authorized to view information for the > specified host... > > The same happens e.g. when viewing the availability report for a single host. > The tables are produces, but instead of the graph only "[Broken image icon] Host > state trends" is shown. > > Running trends.cgi in gdb, it apparently fails at this point: > > > ~ printf("\n"); > ~ } > > #ifndef DEBUG > ~ /* check authorization... */ > ~ if(display_type==DISPLAY_HOST_TRENDS){ > ~ temp_host=find_host(host_name); // fail here!!! > > > because the call to find_host() returns NULL. Again, running the other scripts > from the command line, with the same host entry, *does* work fine. > > Any idea what I did wrong here? I can confirm this. Nagios 3.0rc2 works correct but 3.0rc3++ fails. Can you please post this fine bug report to nagios-devel? Joerg ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Mar 15 10:38:02 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 15 Mar 2008 10:38:02 +0100 Subject: Nagios 3 and performance graphs (using deprecated files) Message-ID: <47DB98FA.9040605@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I noticed that some of the grapher tools for Nagios to make those nice graphs for the performance data are using deprecated config files as listed: # Extended host and extended service definitions have been deprecated. They are still read and processed by Nagios, but it is recommended that you move the directives found in these definitions to your host and service definitions, respectively. How will those tools address this issue? Hugo - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFH25j4BvzDRVjxmYERAnq9AJ0XyYSVGIXgeu3KXH7EVmV8F93QHwCeMHrx /UA/TCvVRD/pZmjd4aBYcJU= =1gSY -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cabedogni at gmail.com Sat Mar 15 10:57:24 2008 From: cabedogni at gmail.com (Carlo Alberto Bedogni) Date: Sat, 15 Mar 2008 10:57:24 +0100 Subject: setup check_apache.pl Message-ID: hi all i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl but give me a error 127 . check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/ in /etc/nagios/localhost.cfg i have add this lines : define service{ use local-service ; Name of service template to use host_name localhost service_description Check apache check_command check_apache.pl } and in /etc/nagios/command.cfg this lines: # 'check_apache.pl' command definition define command{ command_name check_apache.pl command_line $USER1$/check_apache.pl -H $HOSTADDRESS$ } the plugin check-apache come with a standard rpm for centos , and perl language is installed because i use awstats... thanks all :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cabedogni at gmail.com Sat Mar 15 18:35:21 2008 From: cabedogni at gmail.com (Carlo Alberto Bedogni) Date: Sat, 15 Mar 2008 18:35:21 +0100 Subject: setup check_apache.pl In-Reply-To: <877b18bb0803150951j65159a35t1ad09fdf1898fc92@mail.gmail.com> References: <877b18bb0803150624g4ce75e0eqc618d25ea8cfd98c@mail.gmail.com> <877b18bb0803150655i1a481384kd457a3cc5f266c81@mail.gmail.com> <877b18bb0803150951j65159a35t1ad09fdf1898fc92@mail.gmail.com> Message-ID: hi diego, i have try to change the address but is the same [root at server contrib]# ./check_apache.pl -H 80.150.x.x HTTP request failed thanks for your help ciao carlo On Sat, Mar 15, 2008 at 5:51 PM, Diego Giurgola wrote: > You should change $HOSTADDRESS$ with your actual ip address ;) > Diego. > > > 2008/3/15, Carlo Alberto Bedogni : > > > > thanks for your answer but i don't have nagios user on my sistem , i > > have only set the password for nagiosadmin ( with > > > > *htpasswd -c /etc/nagios/htpasswd.users nagiosadmin ) > > > > * > > > > i have try to run the script as root : > > > > [root at server contrib]# ./check_apache.pl -H $HOSTADDRESS$ > > HTTP request failed > > > > > > thanks > > > > On Sat, Mar 15, 2008 at 2:55 PM, Diego Giurgola > > wrote: > > > > > > > > > > > 2008/3/15, Carlo Alberto Bedogni : > > > > > > > sorry but i'm pretty new to nagios , how can run script as nagios > > > > user ? > > > > > > > > ./check_apache.pl ? > > > > > > > > > Yes, and then the arguments. The most important thing to remember is > > > to run the script as the nagios user. > > > > > > thanks a lot > > > > carlo > > > > > > > > > Bye. Diego. > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Sat Mar 15 20:44:28 2008 From: throck at duke.edu (Tom Throckmorton) Date: Sat, 15 Mar 2008 15:44:28 -0400 Subject: setup check_apache.pl In-Reply-To: References: Message-ID: <20080315194428.GA3359@duke.edu> On Mar 15 10:57, Carlo Alberto Bedogni wrote: > hi all > > i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl but > give me a error 127 . > > check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/ > > in /etc/nagios/localhost.cfg i have add this lines : > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Check apache > check_command check_apache.pl > } > > > and in /etc/nagios/command.cfg this lines: > > # 'check_apache.pl' command definition > define command{ > command_name check_apache.pl > command_line $USER1$/check_apache.pl -H $HOSTADDRESS$ > } Carlo, Assuming you have $USER1$ set to /usr/lib64/nagios/plugins/, then you need to change that command_line to: > command_line $USER1$/contrib/check_apache.pl -H $HOSTADDRESS$ Regardless, I think this plugin isn't going to do what you want - it's very old, and doesn't work against Apache 2.x, which is the default on CentOS 5. If you think checking via mod_status is really what you want/need, then someone updated this script a while ago to work with 2.x: http://readlist.com/lists/lists.sourceforge.net/nagios-users/0/320.html ...are you really just looking to make sure your local Apache instance is alive? Have you tried check_http? > the plugin check-apache come with a standard rpm for centos... Out of curiosity - which rpm are you using and from where? Cheers, -tt -- Tom Throckmorton OIT - CSI Duke University ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Mon Mar 17 08:50:36 2008 From: rage_q3 at mail.ru (Meylikhov) Date: Mon, 17 Mar 2008 10:50:36 +0300 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <47DA5594.2060003@pictura-dp.nl> References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl> Message-ID: <00f501c88803$96ed4270$c4c7c750$@ru> Hi! Do you use this one - Siemens TC35i Terminal - http://www.warburtech.com/gsm/tc35i.terminal/ ? -----Original Message----- From: Sander Klein [mailto:sander at pictura-dp.nl] Sent: Friday, March 14, 2008 1:38 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Hi, I use the siemens tc35i gsm modem and think it's great. Just hook it up to your COM port, install smstool (which is in debian) create the configfile, make a script to send sms and go.... It's really easy. Greets, Sander Meylikhov wrote: > > Hello, everybody! > > Can anyone assist me in solving the following task: I need nagios to > send SMS via mobile phone connected to COM port. Are there are such > possibilities in nagios and are there any plugins that support sending > sms via mobile phone? I found only one plugin (NAGIOSMS: > http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_vi ew]=619 > )that is currently supports sending notifications via mobile phone but > I even can't imagine how to connect mobile phone to my Linux Debian > 4.0 server (2.6.18-6-686). Maybe someone already has configured > notifications send via mobile phone and can suggest me what mobile > phone to buy? I also need any help (suggestions,links, documentation, > etc) in connecting mobile phone to my Linux Debian 4.0 server. > > My system: > > Nagios server: Linux Debian 4.0 server 2.6.18-6-686 > > Nagios: nagios-3.0b5 > > Nagios plugins: nagios-plugins-1.4.11 > > NRPE: nrpe-2.10 > > Thank you! > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sander at pictura-dp.nl Mon Mar 17 09:00:18 2008 From: sander at pictura-dp.nl (Sander Klein) Date: Mon, 17 Mar 2008 09:00:18 +0100 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <00f501c88803$96ed4270$c4c7c750$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl> <00f501c88803$96ed4270$c4c7c750$@ru> Message-ID: <47DE2512.4030200@pictura-dp.nl> Hi, Meylikhov wrote: > Hi! > Do you use this one - Siemens TC35i Terminal - > http://www.warburtech.com/gsm/tc35i.terminal/ ? > Indeed, that's the one. I bought it with the starter kit. Which was nice for me because it comes with a reasonable antenna. I don't have very good GSM signal in my server room. Regards, Sander ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Mon Mar 17 09:01:41 2008 From: dennis at huenseler.net (=?ISO-8859-1?Q?Dennis_H=FCnseler?=) Date: Mon, 17 Mar 2008 09:01:41 +0100 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <00f501c88803$96ed4270$c4c7c750$@ru> References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl> <00f501c88803$96ed4270$c4c7c750$@ru> Message-ID: <47DE2565.6020407@huenseler.net> Meylikhov schrieb: > Hi! > Do you use this one - Siemens TC35i Terminal - > http://www.warburtech.com/gsm/tc35i.terminal/ ? > > -----Original Message----- > From: Sander Klein [mailto:sander at pictura-dp.nl] > Sent: Friday, March 14, 2008 1:38 PM > To: Meylikhov > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone > > Hi, > > I use the siemens tc35i gsm modem and think it's great. Just hook it up > to your COM port, install smstool (which is in debian) create the > configfile, make a script to send sms and go.... > > It's really easy. > > Greets, > > Sander > > Meylikhov wrote: > >> Hello, everybody! >> >> Can anyone assist me in solving the following task: I need nagios to >> send SMS via mobile phone connected to COM port. Are there are such >> possibilities in nagios and are there any plugins that support sending >> sms via mobile phone? I found only one plugin (NAGIOSMS: >> >> > http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_vi > ew]=619 > >> )that is currently supports sending notifications via mobile phone but >> I even can't imagine how to connect mobile phone to my Linux Debian >> 4.0 server (2.6.18-6-686). Maybe someone already has configured >> notifications send via mobile phone and can suggest me what mobile >> phone to buy? I also need any help (suggestions,links, documentation, >> etc) in connecting mobile phone to my Linux Debian 4.0 server. >> >> My system: >> >> Nagios server: Linux Debian 4.0 server 2.6.18-6-686 >> >> Nagios: nagios-3.0b5 >> >> Nagios plugins: nagios-plugins-1.4.11 >> >> NRPE: nrpe-2.10 >> >> Thank you! >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Hey, this is the right one. You can also use the Siemens MC35 Works also great with smstool. Used it in several companies... Regards, Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GarethWatson at totemcomms.com Mon Mar 17 10:00:47 2008 From: GarethWatson at totemcomms.com (Gareth Watson) Date: Mon, 17 Mar 2008 09:00:47 -0000 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <47DE2565.6020407@huenseler.net> References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl><00f501c88803$96ed4270$c4c7c750$@ru> <47DE2565.6020407@huenseler.net> Message-ID: We use that terminal at our workplace. I have been using SMSLink very successfully for the past 12 months. I did have to play with the source code to get it working just how we wanted. However, the developer tells me that the changes I have made are now included in the new version. I would take a look at that if you want an easy way to get this working: http://smslink.sourceforge.net/ Once configured and installed all we needed to do was create a notification command like this: define command{ command_name notify-by-sms command_line echo -e "$SERVICEDESC$\r$HOSTNAME$\r$SERVICESTATE$\r$SERVICEOUTPUT$" | /usr/local/bin/sendsms -d $CONTACTPAGER$ -Q -f'-' localhost 2>/dev/null } Works a treat for us. Plus we like the fact that we can also send SMSs to this software. This means that, in theory at least, our engineers could acknowledge a problem or get a status report from Nagios by texting the SMS modem. We have yet to implement this but it was a big selling point for our installation. I hope this helps, Gareth. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dennis H?nseler Sent: 17 March 2008 08:02 To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Meylikhov schrieb: Hi! Do you use this one - Siemens TC35i Terminal - http://www.warburtech.com/gsm/tc35i.terminal/ ? -----Original Message----- From: Sander Klein [mailto:sander at pictura-dp.nl] Sent: Friday, March 14, 2008 1:38 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Hi, I use the siemens tc35i gsm modem and think it's great. Just hook it up to your COM port, install smstool (which is in debian) create the configfile, make a script to send sms and go.... It's really easy. Greets, Sander Meylikhov wrote: Hello, everybody! Can anyone assist me in solving the following task: I need nagios to send SMS via mobile phone connected to COM port. Are there are such possibilities in nagios and are there any plugins that support sending sms via mobile phone? I found only one plugin (NAGIOSMS: http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_vi ew]=619 )that is currently supports sending notifications via mobile phone but I even can't imagine how to connect mobile phone to my Linux Debian 4.0 server (2.6.18-6-686). Maybe someone already has configured notifications send via mobile phone and can suggest me what mobile phone to buy? I also need any help (suggestions,links, documentation, etc) in connecting mobile phone to my Linux Debian 4.0 server. My system: Nagios server: Linux Debian 4.0 server 2.6.18-6-686 Nagios: nagios-3.0b5 Nagios plugins: nagios-plugins-1.4.11 NRPE: nrpe-2.10 Thank you! ------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Hey, this is the right one. You can also use the Siemens MC35 Works also great with smstool. Used it in several companies... Regards, Dennis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GarethWatson at totemcomms.com Mon Mar 17 10:03:28 2008 From: GarethWatson at totemcomms.com (Gareth Watson) Date: Mon, 17 Mar 2008 09:03:28 -0000 Subject: NSCA processes hanging around Message-ID: Hello, Over time I notice a number (a large number, ~500) of nsca processes hanging around. I used netstat to see what they were up to and they where all in the TIME_WAIT status. Reading on the internet I think I understand what this means. Linux is not closing the socket as it is waiting for any delayed traffic on the network to appear. I have no problem with this as my first thought would be that I will see a slow shift in the process numbers as sockets are eventually closed and opened by new requests. This is not, however, the behaviour I observed! The processes would wait indefinitely. Now, clutching at straws I think I have managed to fix the problem. I removed the REUSE flag from the nsca xinetd configuration: # default: on # description: NSCA service nsca { #Commented out the line below in the vain hope it would fix nsca's wagon #FLAGS = REUSE socket_type = stream wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nsca server_args = -c /usr/local/nagios/etc/nsca.cfg --inetd log_on_failure += USERID disable = no } Again some research on the net has told me a little bit about the REUSE flag but I wanted to gather the opinions from those with much more knowledge than I. Therefore, can anyone tell me if this is a reasonable thing to do? Have I made a grievous error without even knowing? Has anyone else experienced this behaviour? I really appreciate anyone who has taken the time to read this and would love some feedback if you get the chance. Many thanks, Gareth Watson ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Mon Mar 17 15:22:07 2008 From: rupertt at gmail.com (Heiko) Date: Mon, 17 Mar 2008 15:22:07 +0100 Subject: upgrade to 3.0, new service stuck at pending In-Reply-To: References: <537dcd6b0803141009g7b627220s6179d7bea68005d4@mail.gmail.com> Message-ID: <537dcd6b0803170722w25dacaf6u9292cce46a037480@mail.gmail.com> Hi Marc, well, youre tip did not work directly, but sometime last weekend it did check, but when I add another service the same happens again. The time passes but the check never did get run. What can can be wrong else? cheers On Fri, Mar 14, 2008 at 6:20 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of rupert > > Sent: Friday, March 14, 2008 12:10 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] upgrade to 3.0, new service stuck at pending > > > > > > define service{ > > host_name backend-A1, backend-B1 > > service_description MYSQL > > check_command check_mysql!monitoring > > max_check_attempts 3 > > normal_check_interval 1 > > retry_check_interval 3 > > check_period 24x7 > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r,f > > contact_groups noc > > } > > > > I checked all the file permissions and it looks fine, there are no > > other entries in the logfiles. > > I don't know off the top of my head what the default is (I assume 0), > but you don't explicitly state 'active_checks_enabled 1'. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cabedogni at gmail.com Mon Mar 17 15:24:25 2008 From: cabedogni at gmail.com (Carlo Alberto Bedogni) Date: Mon, 17 Mar 2008 15:24:25 +0100 Subject: Nagios-users Digest, Vol 22, Issue 28 In-Reply-To: References: Message-ID: Hi Tom, and all i have solved with the check_http plugin , it's work very fine ..:) the plugin check_apache.pl come with the package nagios-plugins.x86_64 1.4.11-1.el5.rf from the rpmforge repository thank all !! On Sun, Mar 16, 2008 at 8:21 PM, 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-owner 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: setup check_apache.pl (Tom Throckmorton) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 15 Mar 2008 15:44:28 -0400 > From: Tom Throckmorton > Subject: Re: [Nagios-users] setup check_apache.pl > To: Carlo Alberto Bedogni > Cc: nagios-users at lists.sourceforge.net > Message-ID: <20080315194428.GA3359 at duke.edu> > Content-Type: text/plain; charset=us-ascii > > On Mar 15 10:57, Carlo Alberto Bedogni wrote: > > hi all > > > > i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl > but > > give me a error 127 . > > > > check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/ > > > > in /etc/nagios/localhost.cfg i have add this lines : > > > > define service{ > > use local-service ; Name of > > service template to use > > host_name localhost > > service_description Check apache > > check_command check_apache.pl > > } > > > > > > and in /etc/nagios/command.cfg this lines: > > > > # 'check_apache.pl' command definition > > define command{ > > command_name check_apache.pl > > command_line $USER1$/check_apache.pl -H $HOSTADDRESS$ > > } > > Carlo, > > Assuming you have $USER1$ set to /usr/lib64/nagios/plugins/, then you need > to > change that command_line to: > > > command_line $USER1$/contrib/check_apache.pl -H $HOSTADDRESS$ > > Regardless, I think this plugin isn't going to do what you want - it's > very > old, and doesn't work against Apache 2.x, which is the default on CentOS > 5. If > you think checking via mod_status is really what you want/need, then > someone > updated this script a while ago to work with 2.x: > > http://readlist.com/lists/lists.sourceforge.net/nagios-users/0/320.html > > ...are you really just looking to make sure your local Apache instance is > alive? Have you tried check_http? > > > the plugin check-apache come with a standard rpm for centos... > > Out of curiosity - which rpm are you using and from where? > > Cheers, > > -tt > > -- > Tom Throckmorton > OIT - CSI > Duke University > > > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 22, Issue 28 > ******************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLaack at alegent.org Mon Mar 17 16:50:44 2008 From: JLaack at alegent.org (Laack,Jacob C) Date: Mon, 17 Mar 2008 10:50:44 -0500 Subject: (no subject) Message-ID: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> All- I've compiled nagios 3.0 on my RHEL 5 64-bit machine. I have the daemon compiled... ./configure \ --prefix=/usr/local/nagios \ --with-cgiurl=/cgi-bin \ --with-htmurl= \ --with-nagios-user=nagios \ --with-nagios-group=nagios \ --with-command-group=nagioscmd \ --enable-embedded-perl \ --with-perlcache ...and running with the sample configs. I have configured my apache Virtual Server myself like so... RewriteEngine off Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all ServerAdmin root at nagios.alegent.org DocumentRoot /usr/local/nagios/share ServerName nagiosnew.alegent.org ErrorLog logs/nagios_log CustomLog logs/nagios_log common ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/" ...I can access the page fine and the CGIs work as well. However, all the pages generated by the CGIs have this in their head... ..which is making them all appear rather ugly. Is there an option to specify the stylesheet URL? Did I do something else wrong? Thanks. Jake Laack Alegent Health, Open Systems Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Mon Mar 17 17:16:26 2008 From: gevery at gmail.com (Gary Every) Date: Mon, 17 Mar 2008 09:16:26 -0700 Subject: (no subject) In-Reply-To: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> References: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> Message-ID: Guess I forgot the link ;-[ http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1%5Bp_view%5D=252 On Mon, Mar 17, 2008 at 8:50 AM, Laack,Jacob C wrote: > All- > > I've compiled nagios 3.0 on my RHEL 5 64-bit machine. I have the daemon > compiled? > > > > ./configure \ > > --prefix=/usr/local/nagios \ > > --with-cgiurl=/cgi-bin \ > > --with-htmurl= \ > > --with-nagios-user=nagios \ > > --with-nagios-group=nagios \ > > --with-command-group=nagioscmd \ > > --enable-embedded-perl \ > > --with-perlcache > > > > ?and running with the sample configs. I have configured my apache Virtual > Server myself like so? > > > > > > RewriteEngine off > > Options Indexes FollowSymLinks > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > > > ServerAdmin root at nagios.alegent.org > > DocumentRoot /usr/local/nagios/share > > ServerName nagiosnew.alegent.org > > ErrorLog logs/nagios_log > > CustomLog logs/nagios_log common > > ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/" > > > > > > ?I can access the page fine and the CGIs work as well. However, all the > pages generated by the CGIs have this in their head? > > > > > > > > > > ..which is making them all appear rather ugly. Is there an option to > specify the stylesheet URL? Did I do something else wrong? Thanks. > > > > Jake Laack > > Alegent Health, Open Systems Engineer > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Mar 17 17:38:01 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 17 Mar 2008 08:38:01 -0800 Subject: Dual-port monitoring Message-ID: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> I have a number of devices on my network that have dual-interfaces such that either one can go down, but the device itself, and all the devices behind it (in the case of a router) is still up and reachable. What is the best way to set up monitoring of such devices, considering that as far as I can tell you can only assign one IP per host? I have looked at check_cluster, but if that is the best method I am unsure of the best way of implementing it. Things I have thought of: 1) Create two "dummy" hosts which are the two ports, and then a third host with a check command of check_cluster that looks at those two dummy hosts. This seems overly complicated, not to mention cluttering up my configs and nagios interface with three hosts where there is really only one. 2) Simply monitor the two ports as two separate hosts. This could work, but again clutters things up with multiple hosts where only one exists, and adds the requirement of multi-parenting any child devices, which can get ugly, especially in a graphical representation of the network. I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but that doesn't seem to apply, at least not directly, in that it refers either to situations where you have redundant services on one or more hosts (perhaps that is sort of what I want?) or to where you have multiple redundant hosts, but not to the situation where you have one host offering one service over two ports. The main problem with that doc, though, is that the cluster is always a service, which wouldn't work in my situation, as the host itself is a cluster. Any thoughts? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLaack at alegent.org Mon Mar 17 18:11:11 2008 From: JLaack at alegent.org (Laack,Jacob C) Date: Mon, 17 Mar 2008 12:11:11 -0500 Subject: Bad Stylesheet Links In-Reply-To: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> References: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> Message-ID: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483D@EXCHMBC1.ad.ah.local> I did the same compile and setup on my Fedora laptop and the stylesheet links on this machine do this... ...How does the configure/make/install/config determine the stylesheet directory (url_stylesheets_path)? How can I get it to work properly/better again? From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Laack,Jacob C Sent: Monday, March 17, 2008 10:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] (no subject) All- I've compiled nagios 3.0 on my RHEL 5 64-bit machine. I have the daemon compiled... ./configure \ --prefix=/usr/local/nagios \ --with-cgiurl=/cgi-bin \ --with-htmurl= \ --with-nagios-user=nagios \ --with-nagios-group=nagios \ --with-command-group=nagioscmd \ --enable-embedded-perl \ --with-perlcache ...and running with the sample configs. I have configured my apache Virtual Server myself like so... RewriteEngine off Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all ServerAdmin root at nagios.alegent.org DocumentRoot /usr/local/nagios/share ServerName nagiosnew.alegent.org ErrorLog logs/nagios_log CustomLog logs/nagios_log common ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/" ...I can access the page fine and the CGIs work as well. However, all the pages generated by the CGIs have this in their head... ..which is making them all appear rather ugly. Is there an option to specify the stylesheet URL? Did I do something else wrong? Thanks. Jake Laack Alegent Health, Open Systems Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fabianomartinsrj at gmail.com Mon Mar 17 18:13:26 2008 From: fabianomartinsrj at gmail.com (Fabiano Martins) Date: Mon, 17 Mar 2008 14:13:26 -0300 Subject: Nagios report Message-ID: <94212b210803171013q73cf72f4sfb15e0f45d6d76ce@mail.gmail.com> Hi, I would like to know if anyone know some interesting tool to give nagios availability report to users that have to know about their hosts. I've used a perl script already (nagios-reporter), from nagios exchange that provide these reports trought email but the format is not easy to understand and the presentation is not good for custumers. I'm looking for two ways of giving reporting access to the custumers. One is trought an email with the information, and the other one should be an user interface that the custumers can go there and check for. Any idea will be welcome Regards, Fabiano Martins ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLaack at alegent.org Mon Mar 17 18:25:24 2008 From: JLaack at alegent.org (Laack,Jacob C) Date: Mon, 17 Mar 2008 12:25:24 -0500 Subject: Bad Stylesheet Links In-Reply-To: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483D@EXCHMBC1.ad.ah.local> References: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483D@EXCHMBC1.ad.ah.local> Message-ID: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483E@EXCHMBC1.ad.ah.local> I've noticed that several other paths are "bad" as well. The img tags on the Service Detail page are written with 'up.gif' rather than '/images/up.gif'. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Laack,Jacob C Sent: Monday, March 17, 2008 12:11 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Bad Stylesheet Links I did the same compile and setup on my Fedora laptop and the stylesheet links on this machine do this... ...How does the configure/make/install/config determine the stylesheet directory (url_stylesheets_path)? How can I get it to work properly/better again? From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Laack,Jacob C Sent: Monday, March 17, 2008 10:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] (no subject) All- I've compiled nagios 3.0 on my RHEL 5 64-bit machine. I have the daemon compiled... ./configure \ --prefix=/usr/local/nagios \ --with-cgiurl=/cgi-bin \ --with-htmurl= \ --with-nagios-user=nagios \ --with-nagios-group=nagios \ --with-command-group=nagioscmd \ --enable-embedded-perl \ --with-perlcache ...and running with the sample configs. I have configured my apache Virtual Server myself like so... RewriteEngine off Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all ServerAdmin root at nagios.alegent.org DocumentRoot /usr/local/nagios/share ServerName nagiosnew.alegent.org ErrorLog logs/nagios_log CustomLog logs/nagios_log common ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/" ...I can access the page fine and the CGIs work as well. However, all the pages generated by the CGIs have this in their head... ..which is making them all appear rather ugly. Is there an option to specify the stylesheet URL? Did I do something else wrong? Thanks. Jake Laack Alegent Health, Open Systems Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLaack at alegent.org Mon Mar 17 18:50:33 2008 From: JLaack at alegent.org (Laack,Jacob C) Date: Mon, 17 Mar 2008 12:50:33 -0500 Subject: Bad Stylesheet Links In-Reply-To: <2b36e660803171043u24ea87abp48a58b1425634a01@mail.gmail.com> References: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483D@EXCHMBC1.ad.ah.local> <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483E@EXCHMBC1.ad.ah.local> <2b36e660803171043u24ea87abp48a58b1425634a01@mail.gmail.com> Message-ID: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F24840@EXCHMBC1.ad.ah.local> If I remove that line from the configure, nagios will expect that the site is nagiosnew.alegent.org/nagios/ when it's really nagiosnew.alegent.org. I've set that option to... --with-htmurl=/ ...and that doesn't work either. -----Original Message----- From: Ben O'Hara [mailto:bohara at gmail.com] Sent: Monday, March 17, 2008 12:43 PM To: Laack,Jacob C Subject: Re: [Nagios-users] Bad Stylesheet Links On Mon, Mar 17, 2008 at 5:25 PM, Laack,Jacob C wrote: > > > > > I've noticed that several other paths are "bad" as well. The img tags on > the Service Detail page are written with 'up.gif' rather than > '/images/up.gif'. > Its compiled with --with-htmurl= ....i'd make clean and configure again without this flag and rebuild Ben -- If voting changed anything, they'd make it illegal ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLaack at alegent.org Mon Mar 17 19:02:34 2008 From: JLaack at alegent.org (Laack,Jacob C) Date: Mon, 17 Mar 2008 13:02:34 -0500 Subject: Bad Stylesheet Links In-Reply-To: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483E@EXCHMBC1.ad.ah.local> References: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483C@EXCHMBC1.ad.ah.local> <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483D@EXCHMBC1.ad.ah.local> <72FEF2F3D02FA14E90F2B128DA8F3682BF42F2483E@EXCHMBC1.ad.ah.local> Message-ID: <72FEF2F3D02FA14E90F2B128DA8F3682BF42F24841@EXCHMBC1.ad.ah.local> I've found what might be the area of intrigue. This code is in the cgi/cgiutils.c file of the 3.0 source: else if(!strcmp(var,"url_html_path")){ strncpy(url_html_path,val,sizeof(url_html_path)); url_html_path[sizeof(url_html_path)-1]='\x0'; strip(url_html_path); if(url_html_path[strlen(url_html_path)-1]!='/' && (strlen(url_html_path) < sizeof(url_html_path)-1)) strcat(url_html_path,"/"); ... snprintf(url_stylesheets_path,sizeof(url_stylesheets_path),"%sstylesheets/",url_html_path); url_stylesheets_path[sizeof(url_stylesheets_path)-1]='\x0'; I believe this is where the path to the stylesheets and images originates. Here's the same area in the 2.9 source: else if(strstr(input,"url_html_path=")==input){ temp_buffer=strtok(input,"="); temp_buffer=strtok(NULL,"\n"); strncpy(url_html_path,(temp_buffer==NULL)?"":temp_buffer,sizeof(url_html_path)); url_html_path[sizeof(url_html_path)-1]='\x0'; strip(url_html_path); if(url_html_path[strlen(url_html_path)-1]!='/' && (strlen(url_html_path) < sizeof(url_html_path)-1)) strcat(url_html_path,"/"); ... snprintf(url_stylesheets_path,sizeof(url_stylesheets_path),"%sstylesheets/",url_html_path); url_stylesheets_path[sizeof(url_stylesheets_path)-1]='\x0'; It would seem the steps to determine the url_html_path have changed. I've found that this post... http://article.gmane.org/gmane.network.nagios.user/48457/ ...which suggests this has been a problem for others (should have looked before I posted...for shame). Any idea why the first doesn't work and the second does? From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Laack,Jacob C Sent: Monday, March 17, 2008 12:25 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Bad Stylesheet Links I've noticed that several other paths are "bad" as well. The img tags on the Service Detail page are written with 'up.gif' rather than '/images/up.gif'. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Laack,Jacob C Sent: Monday, March 17, 2008 12:11 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Bad Stylesheet Links I did the same compile and setup on my Fedora laptop and the stylesheet links on this machine do this... ...How does the configure/make/install/config determine the stylesheet directory (url_stylesheets_path)? How can I get it to work properly/better again? From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Laack,Jacob C Sent: Monday, March 17, 2008 10:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] (no subject) All- I've compiled nagios 3.0 on my RHEL 5 64-bit machine. I have the daemon compiled... ./configure \ --prefix=/usr/local/nagios \ --with-cgiurl=/cgi-bin \ --with-htmurl= \ --with-nagios-user=nagios \ --with-nagios-group=nagios \ --with-command-group=nagioscmd \ --enable-embedded-perl \ --with-perlcache ...and running with the sample configs. I have configured my apache Virtual Server myself like so... RewriteEngine off Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all ServerAdmin root at nagios.alegent.org DocumentRoot /usr/local/nagios/share ServerName nagiosnew.alegent.org ErrorLog logs/nagios_log CustomLog logs/nagios_log common ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/" ...I can access the page fine and the CGIs work as well. However, all the pages generated by the CGIs have this in their head... ..which is making them all appear rather ugly. Is there an option to specify the stylesheet URL? Did I do something else wrong? Thanks. Jake Laack Alegent Health, Open Systems Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Mar 17 19:40:39 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 17 Mar 2008 10:40:39 -0800 Subject: Dual-port monitoring In-Reply-To: References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> Message-ID: <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> On Mar 17, 2008, at 9:03 AM, Gary Every wrote: > In your services file: > > define service { > use generic-service > name Ping > host_name multi_homed_server_name > service_description Ping Second IFace > check_command check_ping2!10.1.1.100!3000,10%!10000,20% > contact_groups Unix > } > > for your checkcommands: > > define command{ > command_name check_ping2 > command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ > -w $ARG2$ -c $ARG3$ -p 5 > } > > > check_ping2 adds the first ARG as the ip address that you want > monitored - This means that the HOSTNAME will remain the same, but a > diff interface will be checked. Thanks for the response. If I understand your reply correctly, though, this just adds a second service for the host, with a separate IP from that specified in the host directive. it does not, however, allow me to monitor the HOST on two separate IP's, taking into account that if either interface is up, the host is up. Perhaps my question wasn't quite clear enough. Take, for example, the following situation: host a has two network interfaces: a primary with an IP of 10.1.1.100 and a secondary with an IP of 10.1.1.101. Host a can be reached through either interface. Host a has its host address defined as the primary of 10.1.1.100, with a check command of check_ping Host a also has a service defined as above, checking the secondary interface (10.1.1.101) If the secondary interface goes down, then everything is fine: nagios notices that the service for the secondary interface is critical, checks the host on the primary, sees that as being fine, and sends an alert about the service (secondary port), while leaving the host in an OK state. This is exactly as it should be. However, now imagine that the primary interface goes down instead. Nagios attempts to check the host on the primary interface, which also fails (sicne the interface is down), and therefore nagios alerts that the host is down, and any devices behind it are unreachable. This, however, is incorrect-since the secondary interface is still connected and fully functional, the host and everything behind it is still up and reachable. What I want is a situation where Nagios will send me an alert if either interface of a host is down, but only consider the host to be down if BOTH interfaces on the host are down. As I explained in my original posting, I have considered a couple of options that may accomplish this, but neither seems as elegant as I would like. Thanks for any thoughts! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > wrote: > I have a number of devices on my network that have dual-interfaces > such that either one can go down, but the device itself, and all the > devices behind it (in the case of a router) is still up and reachable. > What is the best way to set up monitoring of such devices, considering > that as far as I can tell you can only assign one IP per host? I have > looked at check_cluster, but if that is the best method I am unsure of > the best way of implementing it. Things I have thought of: > > 1) Create two "dummy" hosts which are the two ports, and then a third > host with a check command of check_cluster that looks at those two > dummy hosts. This seems overly complicated, not to mention cluttering > up my configs and nagios interface with three hosts where there is > really only one. > > 2) Simply monitor the two ports as two separate hosts. This could > work, but again clutters things up with multiple hosts where only one > exists, and adds the requirement of multi-parenting any child devices, > which can get ugly, especially in a graphical representation of the > network. > > I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but > that doesn't seem to apply, at least not directly, in that it refers > either to situations where you have redundant services on one or more > hosts (perhaps that is sort of what I want?) or to where you have > multiple redundant hosts, but not to the situation where you have one > host offering one service over two ports. The main problem with that > doc, though, is that the cluster is always a service, which wouldn't > work in my situation, as the host itself is a cluster. Any thoughts? > Thanks. > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Gary Every > "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Mon Mar 17 20:03:13 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Mon, 17 Mar 2008 13:03:13 -0600 Subject: Dual-port monitoring In-Reply-To: <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> Message-ID: <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us.com> Do you have the ability to use loopback addresses on these devices? If so, that would be used as the host address, and then you could use other checks for the interfaces. For instance, all of my Cisco routers have a loopback setup. I then use 'check_ifstatus' to check the individual interfaces. Thanks, Garry From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Israel Brewster Sent: Monday, March 17, 2008 12:41 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Dual-port monitoring On Mar 17, 2008, at 9:03 AM, Gary Every wrote: In your services file: define service { use generic-service name Ping host_name multi_homed_server_name service_description Ping Second IFace check_command check_ping2!10.1.1.100!3000,10%!10000,20% contact_groups Unix } for your checkcommands: define command{ command_name check_ping2 command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 } check_ping2 adds the first ARG as the ip address that you want monitored - This means that the HOSTNAME will remain the same, but a diff interface will be checked. Thanks for the response. If I understand your reply correctly, though, this just adds a second service for the host, with a separate IP from that specified in the host directive. it does not, however, allow me to monitor the HOST on two separate IP's, taking into account that if either interface is up, the host is up. Perhaps my question wasn't quite clear enough. Take, for example, the following situation: host a has two network interfaces: a primary with an IP of 10.1.1.100 and a secondary with an IP of 10.1.1.101. Host a can be reached through either interface. Host a has its host address defined as the primary of 10.1.1.100, with a check command of check_ping Host a also has a service defined as above, checking the secondary interface (10.1.1.101) If the secondary interface goes down, then everything is fine: nagios notices that the service for the secondary interface is critical, checks the host on the primary, sees that as being fine, and sends an alert about the service (secondary port), while leaving the host in an OK state. This is exactly as it should be. However, now imagine that the primary interface goes down instead. Nagios attempts to check the host on the primary interface, which also fails (sicne the interface is down), and therefore nagios alerts that the host is down, and any devices behind it are unreachable. This, however, is incorrect-since the secondary interface is still connected and fully functional, the host and everything behind it is still up and reachable. What I want is a situation where Nagios will send me an alert if either interface of a host is down, but only consider the host to be down if BOTH interfaces on the host are down. As I explained in my original posting, I have considered a couple of options that may accomplish this, but neither seems as elegant as I would like. Thanks for any thoughts! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > wrote: I have a number of devices on my network that have dual-interfaces such that either one can go down, but the device itself, and all the devices behind it (in the case of a router) is still up and reachable. What is the best way to set up monitoring of such devices, considering that as far as I can tell you can only assign one IP per host? I have looked at check_cluster, but if that is the best method I am unsure of the best way of implementing it. Things I have thought of: 1) Create two "dummy" hosts which are the two ports, and then a third host with a check command of check_cluster that looks at those two dummy hosts. This seems overly complicated, not to mention cluttering up my configs and nagios interface with three hosts where there is really only one. 2) Simply monitor the two ports as two separate hosts. This could work, but again clutters things up with multiple hosts where only one exists, and adds the requirement of multi-parenting any child devices, which can get ugly, especially in a graphical representation of the network. I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but that doesn't seem to apply, at least not directly, in that it refers either to situations where you have redundant services on one or more hosts (perhaps that is sort of what I want?) or to where you have multiple redundant hosts, but not to the situation where you have one host offering one service over two ports. The main problem with that doc, though, is that the cluster is always a service, which wouldn't work in my situation, as the host itself is a cluster. Any thoughts? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Gary Every "Pay it Forward!" ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Mar 17 20:41:15 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 17 Mar 2008 11:41:15 -0800 Subject: Unwanted re-notifications Message-ID: <25D53C31-3771-4C96-A14A-55FEC9EFA6EE@frontierflying.com> I have a service that keeps sending me notifications of the fact that it is critical every half hour or so, even though the notification interval for the service is set to zero. In this particular case, the port that is being monitored is temporarily disabled, so there is no chance that the service is coming up briefly and then going back down, thus triggering the notification. Looking at the nagios page for the service, I notice, however that it says "Current Notification Number: 7", which would imply (to me at least) that re-notification is enabled. What am I missing here? how can I get it to stop sending me messages? I can, of course, acknowledge the down state, or put it in scheduled downtime, but I don't want it to send more than the initial notification regardless. Thanks! The service definition is as follows: define service{ use generic service host_name ffsbrw-rtr00 service_description WAN 2 notification_interval 0 check_command check_custom_ping!xx.xxx.xxx.xxx! 1200.0,20%!1600.0,50% normal_check_interval 1 max_check_attempts 5 servicegroups Satelite Services notification_options u,c,r } and generic service (which this inherits from) as such (yes, much came from the sample files): 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 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are not 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 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins2 notification_options n notification_interval 0 notification_period 24x7 servicegroups z Ping Services register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Mon Mar 17 20:50:19 2008 From: vmanojv at rediffmail.com (Nair) Date: 17 Mar 2008 19:50:19 -0000 Subject: Nagios Config Script Message-ID: <20080317195019.11345.qmail@f5mail-237-238.rediffmail.com> Sure. I need to monitor CPU/MEM/HDD/Application etc on a Data Center Environment having more than 200 Servers right now and it keeps on adding. I need to automate Nagios *.cfg file creation and updation. Say i will mention all system IPs and services, contact , contact group etc in a tab seperated text file and a script should take care of file creation and updation. Could not find much details NACE and not good at scripting :( Can you give some ideas, how to go ahead on this. Thanks, Nair. On Thu, 13 Mar 2008 Russell Adams wrote : >Care to elaborate on your requirements? I'd be happy to give you some >ideas where NACE might help. > >Thanks. > >On Thu, Mar 13, 2008 at 12:26:15AM -0000, Nair wrote: > > Hi friends, > > > > I got to monitor my data centre with Nagios. > > > > Please share your thoughts on automated *.cfg file creation. > > > > Thank you, > > > > Manu. > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > >PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > >Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Mar 17 20:45:30 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 17 Mar 2008 11:45:30 -0800 Subject: Dual-port monitoring In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us.com> References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us.com> Message-ID: <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote: > Do you have the ability to use loopback addresses on these devices? > If so, that would be used as the host address, and then you could > use other checks for the interfaces. For instance, all of my Cisco > routers have a loopback setup. I then use ?check_ifstatus? to check > the individual interfaces. > > Thanks, > Garry > I assume the check_ifstatus for the interfaces are services associated with the host? If so, then what do you use for your host check? How do you get the host to show as down if all the interfaces are down, but not if one or both (or more, if you have more than two, although that is not the case with any of our devices) are up? ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net > ] On Behalf Of Israel Brewster > Sent: Monday, March 17, 2008 12:41 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Dual-port monitoring > > On Mar 17, 2008, at 9:03 AM, Gary Every wrote: > > > In your services file: > > define service { > use generic-service > name Ping > host_name multi_homed_server_name > service_description Ping Second IFace > check_command check_ping2!10.1.1.100!3000,10%!10000,20% > contact_groups Unix > } > > for your checkcommands: > > define command{ > command_name check_ping2 > command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ > -w $ARG2$ -c $ARG3$ -p 5 > } > > > check_ping2 adds the first ARG as the ip address that you want > monitored - This means that the HOSTNAME will remain the same, but a > diff interface will be checked. > > > Thanks for the response. If I understand your reply correctly, > though, this just adds a second service for the host, with a > separate IP from that specified in the host directive. it does not, > however, allow me to monitor the HOST on two separate IP's, taking > into account that if either interface is up, the host is up. Perhaps > my question wasn't quite clear enough. Take, for example, the > following situation: > > host a has two network interfaces: a primary with an IP of > 10.1.1.100 and a secondary with an IP of 10.1.1.101. > Host a can be reached through either interface. > Host a has its host address defined as the primary of 10.1.1.100, > with a check command of check_ping > Host a also has a service defined as above, checking the secondary > interface (10.1.1.101) > > If the secondary interface goes down, then everything is fine: > nagios notices that the service for the secondary interface is > critical, checks the host on the primary, sees that as being fine, > and sends an alert about the service (secondary port), while leaving > the host in an OK state. This is exactly as it should be. > > However, now imagine that the primary interface goes down instead. > Nagios attempts to check the host on the primary interface, which > also fails (sicne the interface is down), and therefore nagios > alerts that the host is down, and any devices behind it are > unreachable. This, however, is incorrect-since the secondary > interface is still connected and fully functional, the host and > everything behind it is still up and reachable. What I want is a > situation where Nagios will send me an alert if either interface of > a host is down, but only consider the host to be down if BOTH > interfaces on the host are down. As I explained in my original > posting, I have considered a couple of options that may accomplish > this, but neither seems as elegant as I would like. Thanks for any > thoughts! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > wrote: > I have a number of devices on my network that have dual-interfaces > such that either one can go down, but the device itself, and all the > devices behind it (in the case of a router) is still up and reachable. > What is the best way to set up monitoring of such devices, considering > that as far as I can tell you can only assign one IP per host? I have > looked at check_cluster, but if that is the best method I am unsure of > the best way of implementing it. Things I have thought of: > > 1) Create two "dummy" hosts which are the two ports, and then a third > host with a check command of check_cluster that looks at those two > dummy hosts. This seems overly complicated, not to mention cluttering > up my configs and nagios interface with three hosts where there is > really only one. > > 2) Simply monitor the two ports as two separate hosts. This could > work, but again clutters things up with multiple hosts where only one > exists, and adds the requirement of multi-parenting any child devices, > which can get ugly, especially in a graphical representation of the > network. > > I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but > that doesn't seem to apply, at least not directly, in that it refers > either to situations where you have redundant services on one or more > hosts (perhaps that is sort of what I want?) or to where you have > multiple redundant hosts, but not to the situation where you have one > host offering one service over two ports. The main problem with that > doc, though, is that the cluster is always a service, which wouldn't > work in my situation, as the host itself is a cluster. Any thoughts? > Thanks. > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Gary Every > "Pay it Forward!" > > > NOTICE: This e-mail and any files transmitted with it are the > property of ARCADIS U.S., Inc. and its affiliates. All rights, > including without limitation copyright, are reserved. The > proprietary information contained in this e-mail message, and any > files transmitted with it, is intended for the use of the > recipient(s) named above. If the reader of this e-mail is not the > intended recipient, you are hereby notified that you have received > this e-mail in error and that any review, distribution or copying of > this e-mail or any files transmitted with it is strictly prohibited. > If you have received this e-mail in error, please notify the sender > immediately and delete the original message and any files > transmitted. The unauthorized use of this e-mail or any files > transmitted with it is prohibited and disclaimed by ARCADIS U.S., > Inc. and its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Mon Mar 17 21:00:14 2008 From: webknowledge at gmail.com (Marcel) Date: Mon, 17 Mar 2008 17:00:14 -0300 Subject: Dual-port monitoring In-Reply-To: <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us.com> <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> Message-ID: <2dfcbd1b0803171300n70f9d726n6c1f2453c22189c0@mail.gmail.com> If you would have a round-robin dns setup to reach that particular host, you would be fine tweaking a check_host_alive command with high lost percentage, but still reachable. But you will rely on dns name resolution to do that. HTH, Marcel On Mon, Mar 17, 2008 at 4:45 PM, Israel Brewster wrote: > On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote: > > Do you have the ability to use loopback addresses on these devices? If so, > that would be used as the host address, and then you could use other checks > for the interfaces. For instance, all of my Cisco routers have a loopback > setup. I then use 'check_ifstatus' to check the individual interfaces. > > Thanks, > Garry > > > > I assume the check_ifstatus for the interfaces are services associated > with the host? If so, then what do you use for your host check? How do you > get the host to show as down if all the interfaces are down, but not if one > or both (or more, if you have more than two, although that is not the case > with any of our devices) are up? > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > *From:* nagios-users-bounces at lists.sourceforge.net [ > mailto:nagios-users-bounces at lists.sourceforge.net > ] *On Behalf Of *Israel Brewster > *Sent:* Monday, March 17, 2008 12:41 PM > *To:* Nagios Users Mailinglist > *Subject:* Re: [Nagios-users] Dual-port monitoring > > On Mar 17, 2008, at 9:03 AM, Gary Every wrote: > > > In your services file: > > define service { > use generic-service > name Ping > host_name multi_homed_server_name > service_description Ping Second IFace > check_command check_ping2!10.1.1.100!3000,10%!10000,20% > contact_groups Unix > } > > for your checkcommands: > > define command{ > command_name check_ping2 > command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ -w > $ARG2$ -c $ARG3$ -p 5 > } > > > check_ping2 adds the first ARG as the ip address that you want monitored - > This means that the HOSTNAME will remain the same, but a diff interface will > be checked. > > > Thanks for the response. If I understand your reply correctly, though, > this just adds a second service for the host, with a separate IP from that > specified in the host directive. it does not, however, allow me to monitor > the HOST on two separate IP's, taking into account that if either interface > is up, the host is up. Perhaps my question wasn't quite clear enough. Take, > for example, the following situation: > > host a has two network interfaces: a primary with an IP of 10.1.1.100 and > a secondary with an IP of 10.1.1.101. > Host a can be reached through either interface. > Host a has its host address defined as the primary of 10.1.1.100, with a > check command of check_ping > Host a also has a service defined as above, checking the secondary > interface (10.1.1.101) > > If the secondary interface goes down, then everything is fine: nagios > notices that the service for the secondary interface is critical, checks the > host on the primary, sees that as being fine, and sends an alert about the > service (secondary port), while leaving the host in an OK state. This is > exactly as it should be. > > However, now imagine that the primary interface goes down instead. Nagios > attempts to check the host on the primary interface, which also fails (sicne > the interface is down), and therefore nagios alerts that the host is down, > and any devices behind it are unreachable. This, however, is incorrect-since > the secondary interface is still connected and fully functional, the host > and everything behind it is still up and reachable. What I want is a > situation where Nagios will send me an alert if either interface of a host > is down, but only consider the host to be down if BOTH interfaces on the > host are down. As I explained in my original posting, I have considered a > couple of options that may accomplish this, but neither seems as elegant as > I would like. Thanks for any thoughts! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster < > israel at frontierflying.com> wrote: > I have a number of devices on my network that have dual-interfaces > such that either one can go down, but the device itself, and all the > devices behind it (in the case of a router) is still up and reachable. > What is the best way to set up monitoring of such devices, considering > that as far as I can tell you can only assign one IP per host? I have > looked at check_cluster, but if that is the best method I am unsure of > the best way of implementing it. Things I have thought of: > > 1) Create two "dummy" hosts which are the two ports, and then a third > host with a check command of check_cluster that looks at those two > dummy hosts. This seems overly complicated, not to mention cluttering > up my configs and nagios interface with three hosts where there is > really only one. > > 2) Simply monitor the two ports as two separate hosts. This could > work, but again clutters things up with multiple hosts where only one > exists, and adds the requirement of multi-parenting any child devices, > which can get ugly, especially in a graphical representation of the > network. > > I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but > that doesn't seem to apply, at least not directly, in that it refers > either to situations where you have redundant services on one or more > hosts (perhaps that is sort of what I want?) or to where you have > multiple redundant hosts, but not to the situation where you have one > host offering one service over two ports. The main problem with that > doc, though, is that the cluster is always a service, which wouldn't > work in my situation, as the host itself is a cluster. Any thoughts? > Thanks. > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Gary Every > "Pay it Forward!" > > > > ------------------------------ > NOTICE: This e-mail and any files transmitted with it are the property of > ARCADIS U.S., Inc. and its affiliates. All rights, including without > limitation copyright, are reserved. The proprietary information contained in > this e-mail message, and any files transmitted with it, is intended for the > use of the recipient(s) named above. If the reader of this e-mail is not the > intended recipient, you are hereby notified that you have received this > e-mail in error and that any review, distribution or copying of this e-mail > or any files transmitted with it is strictly prohibited. If you have > received this e-mail in error, please notify the sender immediately and > delete the original message and any files transmitted. The unauthorized use > of this e-mail or any files transmitted with it is prohibited and disclaimed > by ARCADIS U.S., Inc. and its affiliates. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Mon Mar 17 21:06:40 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Mon, 17 Mar 2008 14:06:40 -0600 Subject: Dual-port monitoring In-Reply-To: <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> Message-ID: <1689390EF608584D85BA56D958A5D1E45A10A03911@CorpExMBS1.arcadis-us.com> Yes, check_ifstatus is a service associated with the hosts. It checks interfaces only. The host check is a check_icmp against the host address, which is the loopback. If any of the interfaces are down, check_ifstatus will report this, but the host does not show as down as long as the loopback responds to a PING, which it will if any of the interfaces are up. Thanks, Garry From: Israel Brewster [mailto:israel at frontierflying.com] Sent: Monday, March 17, 2008 1:46 PM To: Cook, Garry Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Dual-port monitoring On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote: Do you have the ability to use loopback addresses on these devices? If so, that would be used as the host address, and then you could use other checks for the interfaces. For instance, all of my Cisco routers have a loopback setup. I then use 'check_ifstatus' to check the individual interfaces. Thanks, Garry I assume the check_ifstatus for the interfaces are services associated with the host? If so, then what do you use for your host check? How do you get the host to show as down if all the interfaces are down, but not if one or both (or more, if you have more than two, although that is not the case with any of our devices) are up? ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Israel Brewster Sent: Monday, March 17, 2008 12:41 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Dual-port monitoring On Mar 17, 2008, at 9:03 AM, Gary Every wrote: In your services file: define service { use generic-service name Ping host_name multi_homed_server_name service_description Ping Second IFace check_command check_ping2!10.1.1.100!3000,10%!10000,20% contact_groups Unix } for your checkcommands: define command{ command_name check_ping2 command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 } check_ping2 adds the first ARG as the ip address that you want monitored - This means that the HOSTNAME will remain the same, but a diff interface will be checked. Thanks for the response. If I understand your reply correctly, though, this just adds a second service for the host, with a separate IP from that specified in the host directive. it does not, however, allow me to monitor the HOST on two separate IP's, taking into account that if either interface is up, the host is up. Perhaps my question wasn't quite clear enough. Take, for example, the following situation: host a has two network interfaces: a primary with an IP of 10.1.1.100 and a secondary with an IP of 10.1.1.101. Host a can be reached through either interface. Host a has its host address defined as the primary of 10.1.1.100, with a check command of check_ping Host a also has a service defined as above, checking the secondary interface (10.1.1.101) If the secondary interface goes down, then everything is fine: nagios notices that the service for the secondary interface is critical, checks the host on the primary, sees that as being fine, and sends an alert about the service (secondary port), while leaving the host in an OK state. This is exactly as it should be. However, now imagine that the primary interface goes down instead. Nagios attempts to check the host on the primary interface, which also fails (sicne the interface is down), and therefore nagios alerts that the host is down, and any devices behind it are unreachable. This, however, is incorrect-since the secondary interface is still connected and fully functional, the host and everything behind it is still up and reachable. What I want is a situation where Nagios will send me an alert if either interface of a host is down, but only consider the host to be down if BOTH interfaces on the host are down. As I explained in my original posting, I have considered a couple of options that may accomplish this, but neither seems as elegant as I would like. Thanks for any thoughts! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > wrote: I have a number of devices on my network that have dual-interfaces such that either one can go down, but the device itself, and all the devices behind it (in the case of a router) is still up and reachable. What is the best way to set up monitoring of such devices, considering that as far as I can tell you can only assign one IP per host? I have looked at check_cluster, but if that is the best method I am unsure of the best way of implementing it. Things I have thought of: 1) Create two "dummy" hosts which are the two ports, and then a third host with a check command of check_cluster that looks at those two dummy hosts. This seems overly complicated, not to mention cluttering up my configs and nagios interface with three hosts where there is really only one. 2) Simply monitor the two ports as two separate hosts. This could work, but again clutters things up with multiple hosts where only one exists, and adds the requirement of multi-parenting any child devices, which can get ugly, especially in a graphical representation of the network. I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but that doesn't seem to apply, at least not directly, in that it refers either to situations where you have redundant services on one or more hosts (perhaps that is sort of what I want?) or to where you have multiple redundant hosts, but not to the situation where you have one host offering one service over two ports. The main problem with that doc, though, is that the cluster is always a service, which wouldn't work in my situation, as the host itself is a cluster. Any thoughts? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Gary Every "Pay it Forward!" ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Mar 17 21:40:42 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 17 Mar 2008 12:40:42 -0800 Subject: Dual-port monitoring In-Reply-To: <2dfcbd1b0803171300n70f9d726n6c1f2453c22189c0@mail.gmail.com> References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us.com> <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> <2dfcbd1b0803171300n70f9d726n6c1f2453c22189c0@mail.gmail.com> Message-ID: <7A1C6E82-64EB-40AA-B150-5EA483A2DADD@frontierflying.com> On Mar 17, 2008, at 12:00 PM, Marcel wrote: > If you would have a round-robin dns setup to reach that particular > host, you would be fine tweaking a check_host_alive command with > high lost percentage, but still reachable. But you will rely on dns > name resolution to do that. Right, unfortunately we aren't set up quite that fancy. We simply have two seperate DNS entries for the two ports, and when we can't reach the device on one, we go on the other. The dual connections are more for outgoing traffic than incoming, such that devices behind the device will still have a route to the outside world should one route die (load balancing and failover), but nagios is on the outside looking in. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > HTH, > Marcel > > On Mon, Mar 17, 2008 at 4:45 PM, Israel Brewster > wrote: > On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote: > >> Do you have the ability to use loopback addresses on these devices? >> If so, that would be used as the host address, and then you could >> use other checks for the interfaces. For instance, all of my Cisco >> routers have a loopback setup. I then use 'check_ifstatus' to check >> the individual interfaces. >> >> Thanks, >> Garry >> > > I assume the check_ifstatus for the interfaces are services > associated with the host? If so, then what do you use for your host > check? How do you get the host to show as down if all the interfaces > are down, but not if one or both (or more, if you have more than > two, although that is not the case with any of our devices) are up? > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net >> ] On Behalf Of Israel Brewster >> Sent: Monday, March 17, 2008 12:41 PM >> To: Nagios Users Mailinglist >> Subject: Re: [Nagios-users] Dual-port monitoring >> >> On Mar 17, 2008, at 9:03 AM, Gary Every wrote: >> >> >> In your services file: >> >> define service { >> use generic-service >> name Ping >> host_name multi_homed_server_name >> service_description Ping Second IFace >> check_command check_ping2!10.1.1.100!3000,10%!10000,20% >> contact_groups Unix >> } >> >> for your checkcommands: >> >> define command{ >> command_name check_ping2 >> command_line /usr/lib/nagios/plugins/check_ping -H >> $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 >> } >> >> >> check_ping2 adds the first ARG as the ip address that you want >> monitored - This means that the HOSTNAME will remain the same, but >> a diff interface will be checked. >> >> >> Thanks for the response. If I understand your reply correctly, >> though, this just adds a second service for the host, with a >> separate IP from that specified in the host directive. it does not, >> however, allow me to monitor the HOST on two separate IP's, taking >> into account that if either interface is up, the host is up. >> Perhaps my question wasn't quite clear enough. Take, for example, >> the following situation: >> >> host a has two network interfaces: a primary with an IP of >> 10.1.1.100 and a secondary with an IP of 10.1.1.101. >> Host a can be reached through either interface. >> Host a has its host address defined as the primary of 10.1.1.100, >> with a check command of check_ping >> Host a also has a service defined as above, checking the secondary >> interface (10.1.1.101) >> >> If the secondary interface goes down, then everything is fine: >> nagios notices that the service for the secondary interface is >> critical, checks the host on the primary, sees that as being fine, >> and sends an alert about the service (secondary port), while >> leaving the host in an OK state. This is exactly as it should be. >> >> However, now imagine that the primary interface goes down instead. >> Nagios attempts to check the host on the primary interface, which >> also fails (sicne the interface is down), and therefore nagios >> alerts that the host is down, and any devices behind it are >> unreachable. This, however, is incorrect-since the secondary >> interface is still connected and fully functional, the host and >> everything behind it is still up and reachable. What I want is a >> situation where Nagios will send me an alert if either interface of >> a host is down, but only consider the host to be down if BOTH >> interfaces on the host are down. As I explained in my original >> posting, I have considered a couple of options that may accomplish >> this, but neither seems as elegant as I would like. Thanks for any >> thoughts! >> >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician >> Frontier Flying Service Inc. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> (907) 450-7250 x293 >> ----------------------------------------------- >> >> On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > > wrote: >> I have a number of devices on my network that have dual-interfaces >> such that either one can go down, but the device itself, and all the >> devices behind it (in the case of a router) is still up and >> reachable. >> What is the best way to set up monitoring of such devices, >> considering >> that as far as I can tell you can only assign one IP per host? I have >> looked at check_cluster, but if that is the best method I am unsure >> of >> the best way of implementing it. Things I have thought of: >> >> 1) Create two "dummy" hosts which are the two ports, and then a third >> host with a check command of check_cluster that looks at those two >> dummy hosts. This seems overly complicated, not to mention cluttering >> up my configs and nagios interface with three hosts where there is >> really only one. >> >> 2) Simply monitor the two ports as two separate hosts. This could >> work, but again clutters things up with multiple hosts where only one >> exists, and adds the requirement of multi-parenting any child >> devices, >> which can get ugly, especially in a graphical representation of the >> network. >> >> I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but >> that doesn't seem to apply, at least not directly, in that it refers >> either to situations where you have redundant services on one or more >> hosts (perhaps that is sort of what I want?) or to where you have >> multiple redundant hosts, but not to the situation where you have one >> host offering one service over two ports. The main problem with that >> doc, though, is that the cluster is always a service, which wouldn't >> work in my situation, as the host itself is a cluster. Any thoughts? >> Thanks. >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician >> Frontier Flying Service Inc. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> (907) 450-7250 x293 >> ----------------------------------------------- >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null >> >> >> >> -- >> Gary Every >> "Pay it Forward!" >> >> >> NOTICE: This e-mail and any files transmitted with it are the >> property of ARCADIS U.S., Inc. and its affiliates. All rights, >> including without limitation copyright, are reserved. The >> proprietary information contained in this e-mail message, and any >> files transmitted with it, is intended for the use of the >> recipient(s) named above. If the reader of this e-mail is not the >> intended recipient, you are hereby notified that you have received >> this e-mail in error and that any review, distribution or copying >> of this e-mail or any files transmitted with it is strictly >> prohibited. If you have received this e-mail in error, please >> notify the sender immediately and delete the original message and >> any files transmitted. The unauthorized use of this e-mail or any >> files transmitted with it is prohibited and disclaimed by ARCADIS >> U.S., Inc. and its affiliates. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Mar 17 21:37:16 2008 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 17 Mar 2008 12:37:16 -0800 Subject: Dual-port monitoring In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A10A03911@CorpExMBS1.arcadis-us.com> References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03911@CorpExMBS1.arcadis-us.com> Message-ID: On Mar 17, 2008, at 12:06 PM, Cook, Garry wrote: > Yes, check_ifstatus is a service associated with the hosts. It > checks interfaces only. The host check is a check_icmp against the > host address, which is the loopback. If any of the interfaces are > down, check_ifstatus will report this, but the host does not show as > down as long as the loopback responds to a PING, which it will if > any of the interfaces are up. Ok, I see what you are saying, and it does sound as though it would work as I desire. Unfortunately, for the device in question, it doesn't look as though this will be an option, as I don't think I can use loopback addresses (primarily Linksys RV082 devices). Thanks anyway. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > Thanks, > Garry > > From: Israel Brewster [mailto:israel at frontierflying.com] > Sent: Monday, March 17, 2008 1:46 PM > To: Cook, Garry > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Dual-port monitoring > > On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote: > > > Do you have the ability to use loopback addresses on these devices? > If so, that would be used as the host address, and then you could > use other checks for the interfaces. For instance, all of my Cisco > routers have a loopback setup. I then use ?check_ifstatus? to check > the individual interfaces. > > Thanks, > Garry > > > I assume the check_ifstatus for the interfaces are services > associated with the host? If so, then what do you use for your host > check? How do you get the host to show as down if all the interfaces > are down, but not if one or both (or more, if you have more than > two, although that is not the case with any of our devices) are up? > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net > ] On Behalf Of Israel Brewster > Sent: Monday, March 17, 2008 12:41 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Dual-port monitoring > > On Mar 17, 2008, at 9:03 AM, Gary Every wrote: > > > > In your services file: > > define service { > use generic-service > name Ping > host_name multi_homed_server_name > service_description Ping Second IFace > check_command check_ping2!10.1.1.100!3000,10%!10000,20% > contact_groups Unix > } > > for your checkcommands: > > define command{ > command_name check_ping2 > command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ > -w $ARG2$ -c $ARG3$ -p 5 > } > > > check_ping2 adds the first ARG as the ip address that you want > monitored - This means that the HOSTNAME will remain the same, but a > diff interface will be checked. > > > > Thanks for the response. If I understand your reply correctly, > though, this just adds a second service for the host, with a > separate IP from that specified in the host directive. it does not, > however, allow me to monitor the HOST on two separate IP's, taking > into account that if either interface is up, the host is up. Perhaps > my question wasn't quite clear enough. Take, for example, the > following situation: > > host a has two network interfaces: a primary with an IP of > 10.1.1.100 and a secondary with an IP of 10.1.1.101. > Host a can be reached through either interface. > Host a has its host address defined as the primary of 10.1.1.100, > with a check command of check_ping > Host a also has a service defined as above, checking the secondary > interface (10.1.1.101) > > If the secondary interface goes down, then everything is fine: > nagios notices that the service for the secondary interface is > critical, checks the host on the primary, sees that as being fine, > and sends an alert about the service (secondary port), while leaving > the host in an OK state. This is exactly as it should be. > > However, now imagine that the primary interface goes down instead. > Nagios attempts to check the host on the primary interface, which > also fails (sicne the interface is down), and therefore nagios > alerts that the host is down, and any devices behind it are > unreachable. This, however, is incorrect-since the secondary > interface is still connected and fully functional, the host and > everything behind it is still up and reachable. What I want is a > situation where Nagios will send me an alert if either interface of > a host is down, but only consider the host to be down if BOTH > interfaces on the host are down. As I explained in my original > posting, I have considered a couple of options that may accomplish > this, but neither seems as elegant as I would like. Thanks for any > thoughts! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > wrote: > I have a number of devices on my network that have dual-interfaces > such that either one can go down, but the device itself, and all the > devices behind it (in the case of a router) is still up and reachable. > What is the best way to set up monitoring of such devices, considering > that as far as I can tell you can only assign one IP per host? I have > looked at check_cluster, but if that is the best method I am unsure of > the best way of implementing it. Things I have thought of: > > 1) Create two "dummy" hosts which are the two ports, and then a third > host with a check command of check_cluster that looks at those two > dummy hosts. This seems overly complicated, not to mention cluttering > up my configs and nagios interface with three hosts where there is > really only one. > > 2) Simply monitor the two ports as two separate hosts. This could > work, but again clutters things up with multiple hosts where only one > exists, and adds the requirement of multi-parenting any child devices, > which can get ugly, especially in a graphical representation of the > network. > > I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but > that doesn't seem to apply, at least not directly, in that it refers > either to situations where you have redundant services on one or more > hosts (perhaps that is sort of what I want?) or to where you have > multiple redundant hosts, but not to the situation where you have one > host offering one service over two ports. The main problem with that > doc, though, is that the cluster is always a service, which wouldn't > work in my situation, as the host itself is a cluster. Any thoughts? > Thanks. > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Gary Every > "Pay it Forward!" > > > NOTICE: This e-mail and any files transmitted with it are the > property of ARCADIS U.S., Inc. and its affiliates. All rights, > including without limitation copyright, are reserved. The > proprietary information contained in this e-mail message, and any > files transmitted with it, is intended for the use of the > recipient(s) named above. If the reader of this e-mail is not the > intended recipient, you are hereby notified that you have received > this e-mail in error and that any review, distribution or copying of > this e-mail or any files transmitted with it is strictly prohibited. > If you have received this e-mail in error, please notify the sender > immediately and delete the original message and any files > transmitted. The unauthorized use of this e-mail or any files > transmitted with it is prohibited and disclaimed by ARCADIS U.S., > Inc. and its affiliates. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Mon Mar 17 22:30:11 2008 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Mon, 17 Mar 2008 15:30:11 -0600 Subject: Dual-port monitoring In-Reply-To: References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03911@CorpExMBS1.arcadis-us.com> Message-ID: <1689390EF608584D85BA56D958A5D1E45A10A03A08@CorpExMBS1.arcadis-us.com> Well, maybe you can use check_cluster as the host check? It sounds logical to me, but I've never used that check so I'm not really sure. Also, check_icmp has the ability to PING multiple addresses. Perhaps using this as your host check against both IPs would give you the results you're looking for... Thanks, Garry From: Israel Brewster [mailto:israel at frontierflying.com] Sent: Monday, March 17, 2008 2:37 PM To: Cook, Garry Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Dual-port monitoring On Mar 17, 2008, at 12:06 PM, Cook, Garry wrote: Yes, check_ifstatus is a service associated with the hosts. It checks interfaces only. The host check is a check_icmp against the host address, which is the loopback. If any of the interfaces are down, check_ifstatus will report this, but the host does not show as down as long as the loopback responds to a PING, which it will if any of the interfaces are up. Ok, I see what you are saying, and it does sound as though it would work as I desire. Unfortunately, for the device in question, it doesn't look as though this will be an option, as I don't think I can use loopback addresses (primarily Linksys RV082 devices). Thanks anyway. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- Thanks, Garry From: Israel Brewster [mailto:israel at frontierflying.com] Sent: Monday, March 17, 2008 1:46 PM To: Cook, Garry Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Dual-port monitoring On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote: Do you have the ability to use loopback addresses on these devices? If so, that would be used as the host address, and then you could use other checks for the interfaces. For instance, all of my Cisco routers have a loopback setup. I then use 'check_ifstatus' to check the individual interfaces. Thanks, Garry I assume the check_ifstatus for the interfaces are services associated with the host? If so, then what do you use for your host check? How do you get the host to show as down if all the interfaces are down, but not if one or both (or more, if you have more than two, although that is not the case with any of our devices) are up? ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Israel Brewster Sent: Monday, March 17, 2008 12:41 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Dual-port monitoring On Mar 17, 2008, at 9:03 AM, Gary Every wrote: In your services file: define service { use generic-service name Ping host_name multi_homed_server_name service_description Ping Second IFace check_command check_ping2!10.1.1.100!3000,10%!10000,20% contact_groups Unix } for your checkcommands: define command{ command_name check_ping2 command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 } check_ping2 adds the first ARG as the ip address that you want monitored - This means that the HOSTNAME will remain the same, but a diff interface will be checked. Thanks for the response. If I understand your reply correctly, though, this just adds a second service for the host, with a separate IP from that specified in the host directive. it does not, however, allow me to monitor the HOST on two separate IP's, taking into account that if either interface is up, the host is up. Perhaps my question wasn't quite clear enough. Take, for example, the following situation: host a has two network interfaces: a primary with an IP of 10.1.1.100 and a secondary with an IP of 10.1.1.101. Host a can be reached through either interface. Host a has its host address defined as the primary of 10.1.1.100, with a check command of check_ping Host a also has a service defined as above, checking the secondary interface (10.1.1.101) If the secondary interface goes down, then everything is fine: nagios notices that the service for the secondary interface is critical, checks the host on the primary, sees that as being fine, and sends an alert about the service (secondary port), while leaving the host in an OK state. This is exactly as it should be. However, now imagine that the primary interface goes down instead. Nagios attempts to check the host on the primary interface, which also fails (sicne the interface is down), and therefore nagios alerts that the host is down, and any devices behind it are unreachable. This, however, is incorrect-since the secondary interface is still connected and fully functional, the host and everything behind it is still up and reachable. What I want is a situation where Nagios will send me an alert if either interface of a host is down, but only consider the host to be down if BOTH interfaces on the host are down. As I explained in my original posting, I have considered a couple of options that may accomplish this, but neither seems as elegant as I would like. Thanks for any thoughts! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > wrote: I have a number of devices on my network that have dual-interfaces such that either one can go down, but the device itself, and all the devices behind it (in the case of a router) is still up and reachable. What is the best way to set up monitoring of such devices, considering that as far as I can tell you can only assign one IP per host? I have looked at check_cluster, but if that is the best method I am unsure of the best way of implementing it. Things I have thought of: 1) Create two "dummy" hosts which are the two ports, and then a third host with a check command of check_cluster that looks at those two dummy hosts. This seems overly complicated, not to mention cluttering up my configs and nagios interface with three hosts where there is really only one. 2) Simply monitor the two ports as two separate hosts. This could work, but again clutters things up with multiple hosts where only one exists, and adds the requirement of multi-parenting any child devices, which can get ugly, especially in a graphical representation of the network. I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but that doesn't seem to apply, at least not directly, in that it refers either to situations where you have redundant services on one or more hosts (perhaps that is sort of what I want?) or to where you have multiple redundant hosts, but not to the situation where you have one host offering one service over two ports. The main problem with that doc, though, is that the cluster is always a service, which wouldn't work in my situation, as the host itself is a cluster. Any thoughts? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Gary Every "Pay it Forward!" ________________________________ NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Mon Mar 17 22:50:40 2008 From: llow at telesphere.com (Larry Low) Date: Mon, 17 Mar 2008 14:50:40 -0700 Subject: Notification Macros to Determine How Long Last State Duration Message-ID: Here is what I'm trying to figure out how to do. I'm pretty sure with the current Nagios variables available this is not possible (3.0). I have a perl script that is executed for notifications. On notifications that are triggered from state changes I would like to print out how long the service was in a previous state before this new state occurred. Example: A) State is OK for 10 minutes (10 checks of ok separated by 1 minute) B) State changes to CRITICAL C) Notification triggered LASTSERVICESTATECHANGE will be current time LASTSERVICEOK will be 1 minute ago LASTSERVICESTATE will be OK LASTSERVICESTATECRITICAL will be current time I'm thinking the problem is that LASTSERVICESTATECHANGE should be 10 minutes since LASTSERVICESTATE is OK. Bug or misinterpretation of macro? Thoughts? Suggestions? ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Tue Mar 18 03:26:59 2008 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Tue, 18 Mar 2008 13:26:59 +1100 Subject: oracle 9i tablespace monitoring Message-ID: <33ABD80B75296D43A316BFF5B0B52F5F0EEA1D@SRV-QS-MAIL5.lands.nsw> We are using oracle 9i. Can anyone recommend a process to monitor the tablespace so that it includes the auto extensible space? I'm in charge of monitoring not the Oracle databases so I could get more details if required. *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 18 11:38:30 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 18 Mar 2008 10:38:30 +0000 Subject: cisco errors Message-ID: <4b008f7d0803180338g6c77a8f4p5e0b01250776abdc@mail.gmail.com> Hi Guys, I need some help. I want to monitor errors i.e. CRC errors, packet loss etc on cisco routers. What can I use to do this? Alex -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pgmail.net Tue Mar 18 15:44:04 2008 From: nagios at pgmail.net (Philipp Geschke) Date: Tue, 18 Mar 2008 15:44:04 +0100 Subject: Nuvola Style for Nagios 3.0 Message-ID: <47DFD534.6000006@pgmail.net> Hi folks, I was wondering if anybody had news on the Nuvola Style (http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=252&tx_netnagext_pi1[page]=10%3A10)? Is it going to be ported to Nagios 3.0? If yes, when? I think there's not much work to do, cause it is just a few things that don't work perfectly... I just wanted to make sure, that there's not gonna be a new version next week, before I sit down and do a re-write. I know it's just a petty detail, but I got used to that look over the last year.. :-( Thanks! -Philipp ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue Mar 18 15:50:13 2008 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 18 Mar 2008 15:50:13 +0100 Subject: Nuvola Style for Nagios 3.0 In-Reply-To: <47DFD534.6000006@pgmail.net> References: <47DFD534.6000006@pgmail.net> Message-ID: <20080318145013.GB17514@winnie.telcotec.se> On Tue, Mar 18, 2008 at 03:44:04PM +0100, Philipp Geschke wrote: > Hi folks, > > I was wondering if anybody had news on the Nuvola Style > (http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=252&tx_netnagext_pi1[page]=10%3A10)? > Is it going to be ported to Nagios 3.0? If yes, when? > > I think there's not much work to do, cause it is just a few things that > don't work perfectly... I just wanted to make sure, that there's not > gonna be a new version next week, before I sit down and do a re-write. > > > I know it's just a petty detail, but I got used to that look over the > last year.. :-( We've been using it with all the 3.0rc's, and I can't seem to find any problem. Is there something that is not working? /L ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwong at wong-consulting.com Tue Mar 18 16:07:35 2008 From: gwong at wong-consulting.com (Gregory Wong) Date: Tue, 18 Mar 2008 11:07:35 -0400 Subject: Website Permissions Message-ID: <2907062316847D47937B4F32F9CEF2380C8B2D39@EXVS02.hostedexchange.com> Hi everyone, I am monitoring numerous companies within Nagios. One company wants to be able to login to see the status of their servers. I do not want them to see the status of other client servers. Is there a way to assign a login for them so that why they login they only see their servers? Also, does anyone know of any resources that talk about Nagios and SNMP along with how to implement it. I checked the Nagios website and it's still a bit unclear. I'd like to check Cisco devices using SNMP. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Tue Mar 18 16:12:53 2008 From: wallis at aps.anl.gov (David Wallis) Date: Tue, 18 Mar 2008 10:12:53 -0500 Subject: Website Permissions In-Reply-To: <2907062316847D47937B4F32F9CEF2380C8B2D39@EXVS02.hostedexchange.com> References: <2907062316847D47937B4F32F9CEF2380C8B2D39@EXVS02.hostedexchange.com> Message-ID: <47DFDBF5.9090009@aps.anl.gov> Gregory Wong wrote: > > Hi everyone, > > > > I am monitoring numerous companies within Nagios. One company wants to > be able to login to see the status of their servers. I do not want > them to see the status of other client servers. Is there a way to > assign a login for them so that why they login they only see their > servers? > I believe you'd have to create separate Nagios instances for each client that wants to be able to see their own servers - I don't think Nagios has a way to filter it's displays that way. -- David Wallis Information Technology Advanced Photon Source Argonne National Laboratory 630.252.7375 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pgmail.net Tue Mar 18 16:21:26 2008 From: nagios at pgmail.net (Philipp Geschke) Date: Tue, 18 Mar 2008 16:21:26 +0100 Subject: Nuvola Style for Nagios 3.0 In-Reply-To: <20080318145013.GB17514@winnie.telcotec.se> References: <47DFD534.6000006@pgmail.net> <20080318145013.GB17514@winnie.telcotec.se> Message-ID: <47DFDDF6.20404@pgmail.net> Hi, Lars Stavholm schrieb: > On Tue, Mar 18, 2008 at 03:44:04PM +0100, Philipp Geschke wrote: >> Hi folks, >> >> I was wondering if anybody had news on the Nuvola Style >> (http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1[p_view]=252&tx_netnagext_pi1[page]=10%3A10)? >> Is it going to be ported to Nagios 3.0? If yes, when? >> >> I think there's not much work to do, cause it is just a few things that >> don't work perfectly... I just wanted to make sure, that there's not >> gonna be a new version next week, before I sit down and do a re-write. >> >> >> I know it's just a petty detail, but I got used to that look over the >> last year.. :-( > > We've been using it with all the 3.0rc's, > and I can't seem to find any problem. > Is there something that is not working? > /L I thought it was a couple of small things, but I just proved myself wrong, by noticing that the same things don't work with my 2.10 install. Anyway, what I found so far is, that the menu options "Unhandled" for Host and Service problems do not exist within nuvola (as they didn't in Nagios 2.x). But you can easily add them yourself, by editing share/side/dtree_data.js and replace Line 37 to 40 with this: monitoring.add(11,0,'Problems','','','','side/icons/folder.gif','side/icons/folder_open.gif'); monitoring.add(12,11,'Service',cgipath + 'status.cgi?host=all&servicestatustypes=28','','','side/icons/error.gif','side/icons/error.gif'); monitoring.add(13,12,'Unhandled',cgipath + 'status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=3&serviceprops=42&servicestatustypes=28','','','side/icons/error.gif'); monitoring.add(14,11,'Host',cgipath + 'status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12','','','side/icons/error.gif','side/icons/error.gif'); monitoring.add(15,14,'Unhandled',cgipath + 'status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42','','','side/icons/error.gif'); monitoring.add(16,11,'Network Outages',cgipath + 'outages.cgi','','','side/icons/error.gif'); Anyway, I can't tell anything more that wouldn't be working right now (That worked with 2.x), so: Never mind, I'm stupid. Disregard everything after Good Morning. -Philipp ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 18 16:22:05 2008 From: marc at ena.com (Marc Powell) Date: Tue, 18 Mar 2008 10:22:05 -0500 Subject: Website Permissions In-Reply-To: <2907062316847D47937B4F32F9CEF2380C8B2D39@EXVS02.hostedexchange.com> References: <2907062316847D47937B4F32F9CEF2380C8B2D39@EXVS02.hostedexchange.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gregory Wong > Sent: Tuesday, March 18, 2008 10:08 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Website Permissions > > Hi everyone, > > > > I am monitoring numerous companies within Nagios. One company wants to be able > to login to see the status of their servers. I do not want them to see the > status of other client servers. Is there a way to assign a login for them so > that why they login they only see their servers? Yes, that's standard behavior if you enable authorization. Logged in users can only see hosts and services that they are a contact for. > Also, does anyone know of any resources that talk about Nagios and SNMP along > with how to implement it. I checked the Nagios website and it's still a bit > unclear. I'd like to check Cisco devices using SNMP. check_snmp will allow you to query specific OID's if you have them. Configuration is similar to other standard plugins. There are a number of other SNMP based plugins at http://www.nagiosexchange.org that you'll probably be interested in that already know or can figure out interesting OID's on routers. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PetterborgCa at ldschurch.org Tue Mar 18 16:25:41 2008 From: PetterborgCa at ldschurch.org (Cary Petterborg) Date: Tue, 18 Mar 2008 09:25:41 -0600 Subject: Q: Need to use a default user, but still allow changing to another user Message-ID: <47DF8A9502000048000F5F30@inet-wh2.gmhwh.org> We are trying to make things easy for "managers" who want to look at statuses without logging in (it is a request by the managers, not something WE thought up on our own to help them). This can be done by setting a default user, right? So you set the default user, but then you can't log in as a different user to get different views, etc. Does anyone have a solution that they are using for this type of case? I know I can get around this doing some programming, but if someone already cracked this nut, it would save me a lot of time for other work. Thanks! Cary ---------------------------------------------------------------------- NOTICE: 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. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pgmail.net Tue Mar 18 16:27:35 2008 From: nagios at pgmail.net (Philipp Geschke) Date: Tue, 18 Mar 2008 16:27:35 +0100 Subject: Website Permissions In-Reply-To: <2907062316847D47937B4F32F9CEF2380C8B2D39@EXVS02.hostedexchange.com> References: <2907062316847D47937B4F32F9CEF2380C8B2D39@EXVS02.hostedexchange.com> Message-ID: <47DFDF67.7010908@pgmail.net> Hi, Gregory Wong schrieb: > I am monitoring numerous companies within Nagios. One company wants to > be able to login to see the status of their servers. I do not want them > to see the status of other client servers. Is there a way to assign a > login for them so that why they login they only see their servers? I might be wrong, but I remember Nagios to being able to map HTTP User and Hostgroup. A user (instead of nagiosadmin) should be able to only see a hostgroup with only the same name. eg, Loginname: company1, hostgroup name: company1 I tried it once, it worked, but I don't have a sample at hand. Maybe there is some kind of configuration switch, but it is possible. > Also, does anyone know of any resources that talk about Nagios and SNMP > along with how to implement it. I checked the Nagios website and it?s > still a bit unclear. I?d like to check Cisco devices using SNMP. > There is the generic check_snmp plugin, that can to anything, for switches / routers there's also plugins like check_bandwidth, check_ifstatus, check_bgp, etc. Have a look at http://www.nagiosexchange.org/ and http://nagiosplugins.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rupertt at gmail.com Tue Mar 18 16:28:56 2008 From: rupertt at gmail.com (Heiko) Date: Tue, 18 Mar 2008 16:28:56 +0100 Subject: upgrade to 3.0, new service stuck at pending In-Reply-To: <537dcd6b0803170722w25dacaf6u9292cce46a037480@mail.gmail.com> References: <537dcd6b0803141009g7b627220s6179d7bea68005d4@mail.gmail.com> <537dcd6b0803170722w25dacaf6u9292cce46a037480@mail.gmail.com> Message-ID: <537dcd6b0803180828o70016ad1x5e136462710247db@mail.gmail.com> switched nack to 2.10 and I do not have this problem, seems to be 3.0 related On Mon, Mar 17, 2008 at 3:22 PM, Heiko wrote: > Hi Marc, > > well, youre tip did not work directly, but sometime last weekend it > did check, but when I add another service the same happens again. > The time passes but the check never did get run. > > What can can be wrong else? > > > cheers > > > > On Fri, Mar 14, 2008 at 6:20 PM, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of rupert > > > Sent: Friday, March 14, 2008 12:10 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] upgrade to 3.0, new service stuck at pending > > > > > > > > > > define service{ > > > host_name backend-A1, backend-B1 > > > service_description MYSQL > > > check_command check_mysql!monitoring > > > max_check_attempts 3 > > > normal_check_interval 1 > > > retry_check_interval 3 > > > check_period 24x7 > > > notification_interval 120 > > > notification_period 24x7 > > > notification_options w,u,c,r,f > > > contact_groups noc > > > } > > > > > > I checked all the file permissions and it looks fine, there are no > > > other entries in the logfiles. > > > > I don't know off the top of my head what the default is (I assume 0), > > but you don't explicitly state 'active_checks_enabled 1'. > > > > -- > > Marc > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmw at tiger-computing.co.uk Tue Mar 18 16:31:06 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Tue, 18 Mar 2008 15:31:06 +0000 Subject: Very basic notifications question Message-ID: <20080318153106.5b606cfd@tclmmw.in.tiger-computing.com> Hi all, We've got a NAGIOS 2.x server running really well monitoring our systems. We're now moving on to the point where more than one of us will need to keep an eye on the system and so we're moving away from our single-screen monitoring station in the corner of the office to email alerts. What we want: - Monitoring of the following: * Host Status (Up/Down) * Disk Space on given partitions * Swap Usage * RAID Status - Alerts when the service/host fails and alerts when the service/host starts again. What we don't want: - Alerts for services that are not mission critical (we have a script that monitors the current Debian version for upgrade purposes) - An inbox full of emails telling us that a system/service is down every five minutes. Is it possible to set alerts for individual services and have them send an email when the service changes state but not every time it checks? I've had a read of the docs and I can't see how I'd achieve this, however if anyone knows of a good primer on this kind of thing, I'd be very grateful. Thanks in advance, Matt. -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0845 373 3579 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamon_perez at hotmail.com Tue Mar 18 16:38:15 2008 From: jamon_perez at hotmail.com (jamona perez) Date: Tue, 18 Mar 2008 15:38:15 +0000 (UTC) Subject: Dual-port monitoring References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03911@CorpExMBS1.arcadis-us.com> <1689390EF608584D85BA56D958A5D1E45A10A03A08@CorpExMBS1.arcadis-us.com> Message-ID: Cook, Garry arcadis-us.com> writes: > > > > > > Well, maybe you can use check_cluster as the host check? It > sounds logical to me, but I?ve never used that check so I?m not > really sure. > > Also, check_icmp has the ability to PING multiple addresses. > Perhaps using this as your host check against both IPs would give you the > results you?re looking for? > > ? > > > > Thanks, Garry > I had the exact same problem with an old nagios 1.x, I've solved it by listing both IPs in the address field of the host, and having a wrapper script in all check_commands that can switch interfaces (or not) by options ie. : in hosts.cfg define host{ use generic-host host_name myhost12 alias myhost12 address 10.0.0.12,10.10.10.12 } in service.cfg, I have two services ping_in and ping_out that executes two separate commands check_ping_in and check_ping_out and finally in checkcommands.cfg define command{ command_name check_ping_out command_line $USER1$/parse_addr --net=out --ips=$HOSTADDRESS$ -- $USER1$/check_ping -w $ARG1$ -c $ARG2$ -p 2 -H } # 'check_ping_in' command definition define command{ command_name check_ping_in command_line $USER1$/parse_addr --net=in --ips=$HOSTADDRESS$ -- $USER1$/check_ping -w $ARG1$ -c $ARG2$ -p 2 -H } where parse_addr is my wrapper script that knows wich IP to select with the -- net option and then executes whatever there is after the final -- It is a bit complicated but enables me to have 50 hosts checked on bvoth interface without having 100 distinct services (as I would have if I'd 'hardcoded' the IP in the service's command Hope it helped I'll investigate the check_cluster method as I'm on the way of upgrading this old nagios of ours ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxmail at 4lin.net Tue Mar 18 17:06:57 2008 From: linuxmail at 4lin.net (Denny Schierz) Date: Tue, 18 Mar 2008 17:06:57 +0100 Subject: Using curl for sms notification (opening url with receiver and status as argument in one line) Message-ID: <47DFE8A1.5010302@4lin.net> hi, i want to send sms notification. From the console i can use this line: /usr/local/bin/curl --proxy squid:3128 --insecure "https://gate1.goyyamobile.com/sms/sendsms.asp?receiver=1234567890&sender=nagios&msg=\$HOSTALIAS\$ \$SERVICEDESC\$ \$NOTIFICATIONTYPE\$ \$SERVICEOUTPUT\$ \$SHORTDATETIME\$&id=123456&pw=pass&time=0&msgtype=c" this works (needless to say, macros are not changed, they are here just normal textlines). But i can't get it working as command_line. So i thought, i have to escape the ?$? from the url, with backslashs. [code] define command { command_name notify-service-by-sms command_line /usr/local/bin/curl --proxy squid:3128 --insecure "https://gate1.goyyamobile.com/sms/sendsms.asp?receiver=\$CONTACTPAGER\$&sender=123456&msg=\$HOSTALIAS\$ \$SERVICEDESC\$ \$NOTIFICATIONTYPE\$ \$SERVICEOUTPUT\$ \$SHORTDATETIME\$&id=00000&pw=secret&time=0&msgtype=c" } [/code] Is it possible, to get it running, with just a line? or do i need writing a script? cu denny -- Stoppt den ?berwachungswahn - Stoppt den Sch?uble Katalog: http://www.nopsis.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 18 17:40:28 2008 From: marc at ena.com (Marc Powell) Date: Tue, 18 Mar 2008 11:40:28 -0500 Subject: Website Permissions In-Reply-To: <47DFDF67.7010908@pgmail.net> References: <47DFDF67.7010908@pgmail.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Philipp Geschke > Sent: Tuesday, March 18, 2008 10:28 AM > To: Gregory Wong > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Website Permissions > > Hi, > > Gregory Wong schrieb: > > I am monitoring numerous companies within Nagios. One company wants to > > be able to login to see the status of their servers. I do not want them > > to see the status of other client servers. Is there a way to assign a > > login for them so that why they login they only see their servers? > > I might be wrong, but I remember Nagios to being able to map HTTP User > and Hostgroup. The mapping is by contactgroup. http://nagios.sourceforge.net/docs/2_0/cgiauth.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 18 17:52:24 2008 From: marc at ena.com (Marc Powell) Date: Tue, 18 Mar 2008 11:52:24 -0500 Subject: Very basic notifications question In-Reply-To: <20080318153106.5b606cfd@tclmmw.in.tiger-computing.com> References: <20080318153106.5b606cfd@tclmmw.in.tiger-computing.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Matthew Macdonald-Wallace > Sent: Tuesday, March 18, 2008 10:31 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Very basic notifications question > What we want: > > - Monitoring of the following: > * Host Status (Up/Down) > * Disk Space on given partitions > * Swap Usage > * RAID Status > - Alerts when the service/host fails and alerts when the service/host > starts again. Nothing unusual here... The documention should be sufficient... > What we don't want: > > - Alerts for services that are not mission critical (we have a script > that monitors the current Debian version for upgrade purposes) http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service (and #host) notifications_enabled 0 (or) notification_period none > - An inbox full of emails telling us that a system/service is down > every five minutes. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service (and #host) notification_interval 0 > Is it possible to set alerts for individual services and have them send > an email when the service changes state but not every time it checks? Nagios wouldn't do that unless you specified 'is volatile' so nothing special needs to be done. > I've had a read of the docs and I can't see how I'd achieve this, There's nothing special about what you're looking for. Very typical nagios config... -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmw at tiger-computing.co.uk Tue Mar 18 18:16:43 2008 From: mmw at tiger-computing.co.uk (Matthew Macdonald-Wallace) Date: Tue, 18 Mar 2008 17:16:43 +0000 Subject: Very basic notifications question In-Reply-To: References: <20080318153106.5b606cfd@tclmmw.in.tiger-computing.com> Message-ID: <20080318171643.30a9b583@tclmmw.in.tiger-computing.com> On Tue, 18 Mar 2008 11:52:24 -0500 "Marc Powell" wrote: > There's nothing special about what you're looking for. Very typical > nagios config... Marc, Thanks for the response, at the moment we have .cfg files for all of our hosts in the format .cfg and in these files we have a list of all the services. If I create a file that has the notification settings for each service (they are called the same for each server), will nagios understand that, or do we need to seriously look at how we have implemented nagios and re-write the files so that the hostname.cfg's only contain the hostname/IP and the services are listed elsewhere? Thanks again, Matt. -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |"The Linux Specialists" | |Tel: 0845 373 3579 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 18 18:36:46 2008 From: marc at ena.com (Marc Powell) Date: Tue, 18 Mar 2008 12:36:46 -0500 Subject: Very basic notifications question In-Reply-To: <20080318171643.30a9b583@tclmmw.in.tiger-computing.com> References: <20080318171643.30a9b583@tclmmw.in.tiger-computing.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Matthew Macdonald-Wallace > Sent: Tuesday, March 18, 2008 12:17 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Very basic notifications question > > On Tue, 18 Mar 2008 11:52:24 -0500 > "Marc Powell" wrote: > > > There's nothing special about what you're looking for. Very typical > > nagios config... > Marc, > > Thanks for the response, at the moment we have .cfg files for all of > our hosts in the format .cfg and in these files we have a > list of all the services. hostname.cfg contains service{} definitions? Just modify the parameters in each service definition then. > If I create a file that has the notification settings for each service > (they are called the same for each server), will nagios understand > that, or do we need to seriously look at how we have implemented nagios > and re-write the files so that the hostname.cfg's only contain the > hostname/IP and the services are listed elsewhere? I can't really answer this effectively. There shouldn't be a file just for notification settings for services... I don't really understand how you've got things set up. The end result is that you want to modify the parameters for the service{} definitions (or template they use) for the services you want to change. Maybe if you provided specific details, with examples, that'll help clarify. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 18 18:39:52 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 18 Mar 2008 17:39:52 +0000 Subject: IM notification Message-ID: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> Hi Guys, I will like to implement IM notification. Can I get any detailed help from the house. I will like to use jabber and some script. How can I get this to work? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Tue Mar 18 18:44:54 2008 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 18 Mar 2008 09:44:54 -0800 Subject: Dual-port monitoring In-Reply-To: <1689390EF608584D85BA56D958A5D1E45A10A03A08@CorpExMBS1.arcadis-us.com> References: <4FA36F1C-B410-4F63-90AA-8D748B44FF2C@frontierflying.com> <05F0880A-2CFC-468C-9B7D-0594AACE4729@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03840@CorpExMBS1.arcadis-us <4066527B-6789-4193-A38A-8F58D65BE420@frontierflying.com> <1689390EF608584D85BA56D958A5D1E45A10A03911@CorpExMBS1.arcadis-us.com> <1689390EF608584D85BA56D958A5D1E45A10A03A08@CorpExMBS1.arcadis-us.com> Message-ID: <7C8849FB-707C-4143-8C1F-7D5E0C6CBF43@frontierflying.com> On Mar 17, 2008, at 1:30 PM, Cook, Garry wrote: > Well, maybe you can use check_cluster as the host check? It sounds > logical to me, but I?ve never used that check so I?m not really sure. > Also, check_icmp has the ability to PING multiple addresses. Perhaps > using this as your host check against both IPs would give you the > results you?re looking for? The good: check_icmp appears to give the desired ok/critical behavior when used with multiple hosts. check_cluster also seems to work, and perhaps somewhat more efficiently, since it is just using the results from the service checks, rather than re-checking. Of course, this may not be desired. The bad: check_icmp (with default settings, at least) shows 60% packet loss to the device- even though a concurrently running ping shows no packet loss. Setting the max packet interval setting to something high (at least 3 seconds, although even that isn't high enough some times) seems to help, but slows down the check. Setting a lower number of pings (1 or 2) also works, which may be acceptable for a host check, as the default is just a single ping anyway. The Ugly: Creating a second service for the second WAN port seems to ignore the "no re-notifications" setting, thereby flooding my inbox with critical messages every so often (variable timing, usually about every half hour). I started a separate thread on that issue though. Thanks for the suggestions. It looks like check_icmp as the host check is going to be the best one of the lot. Once I get it working properly :) ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > Thanks, > Garry > > From: Israel Brewster [mailto:israel at frontierflying.com] > Sent: Monday, March 17, 2008 2:37 PM > To: Cook, Garry > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Dual-port monitoring > > On Mar 17, 2008, at 12:06 PM, Cook, Garry wrote: > > > Yes, check_ifstatus is a service associated with the hosts. It > checks interfaces only. The host check is a check_icmp against the > host address, which is the loopback. If any of the interfaces are > down, check_ifstatus will report this, but the host does not show as > down as long as the loopback responds to a PING, which it will if > any of the interfaces are up. > > Ok, I see what you are saying, and it does sound as though it would > work as I desire. Unfortunately, for the device in question, it > doesn't look as though this will be an option, as I don't think I > can use loopback addresses (primarily Linksys RV082 devices). Thanks > anyway. > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > Thanks, > Garry > > From: Israel Brewster [mailto:israel at frontierflying.com] > Sent: Monday, March 17, 2008 1:46 PM > To: Cook, Garry > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Dual-port monitoring > > On Mar 17, 2008, at 11:03 AM, Cook, Garry wrote: > > > > Do you have the ability to use loopback addresses on these devices? > If so, that would be used as the host address, and then you could > use other checks for the interfaces. For instance, all of my Cisco > routers have a loopback setup. I then use ?check_ifstatus? to check > the individual interfaces. > > Thanks, > Garry > > > I assume the check_ifstatus for the interfaces are services > associated with the host? If so, then what do you use for your host > check? How do you get the host to show as down if all the interfaces > are down, but not if one or both (or more, if you have more than > two, although that is not the case with any of our devices) are up? > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net > ] On Behalf Of Israel Brewster > Sent: Monday, March 17, 2008 12:41 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Dual-port monitoring > > On Mar 17, 2008, at 9:03 AM, Gary Every wrote: > > > > > In your services file: > > define service { > use generic-service > name Ping > host_name multi_homed_server_name > service_description Ping Second IFace > check_command check_ping2!10.1.1.100!3000,10%!10000,20% > contact_groups Unix > } > > for your checkcommands: > > define command{ > command_name check_ping2 > command_line /usr/lib/nagios/plugins/check_ping -H $ARG1$ > -w $ARG2$ -c $ARG3$ -p 5 > } > > > check_ping2 adds the first ARG as the ip address that you want > monitored - This means that the HOSTNAME will remain the same, but a > diff interface will be checked. > > > > > Thanks for the response. If I understand your reply correctly, > though, this just adds a second service for the host, with a > separate IP from that specified in the host directive. it does not, > however, allow me to monitor the HOST on two separate IP's, taking > into account that if either interface is up, the host is up. Perhaps > my question wasn't quite clear enough. Take, for example, the > following situation: > > host a has two network interfaces: a primary with an IP of > 10.1.1.100 and a secondary with an IP of 10.1.1.101. > Host a can be reached through either interface. > Host a has its host address defined as the primary of 10.1.1.100, > with a check command of check_ping > Host a also has a service defined as above, checking the secondary > interface (10.1.1.101) > > If the secondary interface goes down, then everything is fine: > nagios notices that the service for the secondary interface is > critical, checks the host on the primary, sees that as being fine, > and sends an alert about the service (secondary port), while leaving > the host in an OK state. This is exactly as it should be. > > However, now imagine that the primary interface goes down instead. > Nagios attempts to check the host on the primary interface, which > also fails (sicne the interface is down), and therefore nagios > alerts that the host is down, and any devices behind it are > unreachable. This, however, is incorrect-since the secondary > interface is still connected and fully functional, the host and > everything behind it is still up and reachable. What I want is a > situation where Nagios will send me an alert if either interface of > a host is down, but only consider the host to be down if BOTH > interfaces on the host are down. As I explained in my original > posting, I have considered a couple of options that may accomplish > this, but neither seems as elegant as I would like. Thanks for any > thoughts! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > On Mon, Mar 17, 2008 at 9:38 AM, Israel Brewster > wrote: > I have a number of devices on my network that have dual-interfaces > such that either one can go down, but the device itself, and all the > devices behind it (in the case of a router) is still up and reachable. > What is the best way to set up monitoring of such devices, considering > that as far as I can tell you can only assign one IP per host? I have > looked at check_cluster, but if that is the best method I am unsure of > the best way of implementing it. Things I have thought of: > > 1) Create two "dummy" hosts which are the two ports, and then a third > host with a check command of check_cluster that looks at those two > dummy hosts. This seems overly complicated, not to mention cluttering > up my configs and nagios interface with three hosts where there is > really only one. > > 2) Simply monitor the two ports as two separate hosts. This could > work, but again clutters things up with multiple hosts where only one > exists, and adds the requirement of multi-parenting any child devices, > which can get ugly, especially in a graphical representation of the > network. > > I have read http://nagios.sourceforge.net/docs/2_0/clusters.html, but > that doesn't seem to apply, at least not directly, in that it refers > either to situations where you have redundant services on one or more > hosts (perhaps that is sort of what I want?) or to where you have > multiple redundant hosts, but not to the situation where you have one > host offering one service over two ports. The main problem with that > doc, though, is that the cluster is always a service, which wouldn't > work in my situation, as the host itself is a cluster. Any thoughts? > Thanks. > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Gary Every > "Pay it Forward!" > > > NOTICE: This e-mail and any files transmitted with it are the > property of ARCADIS U.S., Inc. and its affiliates. All rights, > including without limitation copyright, are reserved. The > proprietary information contained in this e-mail message, and any > files transmitted with it, is intended for the use of the > recipient(s) named above. If the reader of this e-mail is not the > intended recipient, you are hereby notified that you have received > this e-mail in error and that any review, distribution or copying of > this e-mail or any files transmitted with it is strictly prohibited. > If you have received this e-mail in error, please notify the sender > immediately and delete the original message and any files > transmitted. The unauthorized use of this e-mail or any files > transmitted with it is prohibited and disclaimed by ARCADIS U.S., > Inc. and its affiliates. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Tue Mar 18 19:27:33 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 18 Mar 2008 15:27:33 -0300 Subject: Nagios Config Script In-Reply-To: <20080317195019.11345.qmail@f5mail-237-238.rediffmail.com> References: <20080317195019.11345.qmail@f5mail-237-238.rediffmail.com> Message-ID: <2dfcbd1b0803181127q3252c2d5n4dbd682a3fe858b@mail.gmail.com> Learn scripting. Read docs and mailing list archives, ask smart. But, in meanwhile, fruity is getting back on track, and monarch is still a good choice of nagios config tool. I've never used Nace nor NagioSQL, but there are people out there using them. To complete automate monitoring related configuration within nagios, you should know how to script and automate tasks, or you will end with a web based config tool. On 17 Mar 2008 19:50:19 -0000, Nair wrote: > Sure. > > I need to monitor CPU/MEM/HDD/Application etc on a Data Center Environment > having more than 200 Servers right now and it keeps on adding. > > I need to automate Nagios *.cfg file creation and updation. Say i will > mention all system IPs and services, contact , contact group etc in a tab > seperated text file and a script should take care of file creation and > updation. > > Could not find much details NACE and not good at scripting :( > > Can you give some ideas, how to go ahead on this. > > Thanks, > > Nair. > > > > > On Thu, 13 Mar 2008 Russell Adams wrote : > > >Care to elaborate on your requirements? I'd be happy to give you some > >ideas where NACE might help. > > > >Thanks. > > > >On Thu, Mar 13, 2008 at 12:26:15AM -0000, Nair wrote: > > > Hi friends, > > > > > > I got to monitor my data centre with Nagios. > > > > > > Please share your thoughts on automated *.cfg file creation. > > > > > > Thank you, > > > > > > Manu. > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 > > > >PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > >Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > >------------------------------------------------------------------------- > >This SF.net email is sponsored by: Microsoft > >Defy all challenges. Microsoft(R) Visual Studio 2008. > >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > [image: ICL] > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wojciech at kocjan.org Tue Mar 18 19:47:31 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Tue, 18 Mar 2008 19:47:31 +0100 Subject: IM notification In-Reply-To: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> References: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> Message-ID: On Tue, 18 Mar 2008 18:39:52 +0100, Alex Dehaini wrote: > Hi Guys, > I will like to implement IM notification. Can I get any detailed help > from > the house. I will like to use jabber and some script. How can I get this > to > work? Does http://www.gridpp.ac.uk/wiki/Nagios_jabber_notification help? -- Wojciech Kocjan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 19 02:14:54 2008 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Tue, 18 Mar 2008 20:14:54 -0500 Subject: Nagios Config Script In-Reply-To: <20080317195019.11345.qmail@f5mail-237-238.rediffmail.com> References: <20080317195019.11345.qmail@f5mail-237-238.rediffmail.com> Message-ID: <20080319011453.GA7789@odin.demosthenes.org> Nair, I favor using SNMP for monitoring CPU/MEM/HDD/Processes. NACE can help perform SNMP scans to detect disks to monitor, common processes you wish to monitor, etc. You can use a file of IP addresses for input, I like using DNS zone transfers and regexps to sort out hosts by naming convention. NACE is a toolkit for writing scripts to create and update configurations. You'll have to pickup some scripting to perform most types of automation. There are some examples included, though the docs could be better. Let me know if you have some specific questions, we can work through some examples. Thanks. On Mon, Mar 17, 2008 at 07:50:19PM -0000, Nair wrote: > Sure. > > I need to monitor CPU/MEM/HDD/Application etc on a Data Center Environment having more than 200 Servers right now and it keeps on adding. > > I need to automate Nagios *.cfg file creation and updation. Say i will mention all system IPs and services, contact , contact group etc in a tab seperated text file and a script should take care of file creation and updation. > > Could not find much details NACE and not good at scripting :( > > Can you give some ideas, how to go ahead on this. > > Thanks, > > Nair. ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Mar 19 07:29:28 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 19 Mar 2008 07:29:28 +0100 Subject: Q: Need to use a default user, but still allow changing to another user In-Reply-To: <47DF8A9502000048000F5F30@inet-wh2.gmhwh.org> References: <47DF8A9502000048000F5F30@inet-wh2.gmhwh.org> Message-ID: <47E0B2C8.7010401@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Cary Petterborg wrote: | We are trying to make things easy for "managers" who want to look at | statuses without logging in (it is a request by the managers, not | something WE thought up on our own to help them). This can be done by | setting a default user, right? So you set the default user, but then you | can't log in as a different user to get different views, etc. | | Does anyone have a solution that they are using for this type of case? I | know I can get around this doing some programming, but if someone | already cracked this nut, it would save me a lot of time for other work. Educate the managers. Your do this securely by having EVERYONE do authentication. If that is too much of a bother then they shouldn't even be looking at the nagios pages. If you do not dare to tell this to them your self talk to your security officer and let him/her explain this. Or present them with looking glass. I am sure you can find that with your favorite search engine. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFH4LLGBvzDRVjxmYERAj60AJ9ChF+VRwH3xxwhc07jquRkrnt/BwCgl6ec RmeOC0HbWZyg8JDlbaEXbJo= =TGlV -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 19 11:31:28 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 19 Mar 2008 10:31:28 +0000 Subject: IM notification In-Reply-To: References: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> Message-ID: <4b008f7d0803190331p4c1c72d8q2724ae7a809994f9@mail.gmail.com> How can I test it using the commandline and see the debugging output? On Tue, Mar 18, 2008 at 6:47 PM, Wojciech Kocjan wrote: > On Tue, 18 Mar 2008 18:39:52 +0100, Alex Dehaini > wrote: > > > Hi Guys, > > I will like to implement IM notification. Can I get any detailed help > > from > > the house. I will like to use jabber and some script. How can I get this > > to > > work? > > Does > > http://www.gridpp.ac.uk/wiki/Nagios_jabber_notification > > help? > > -- > Wojciech Kocjan > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GarethWatson at totemcomms.com Wed Mar 19 11:51:14 2008 From: GarethWatson at totemcomms.com (Gareth Watson) Date: Wed, 19 Mar 2008 10:51:14 -0000 Subject: NSCA processes hanging around In-Reply-To: References: Message-ID: No one seems to have replied to this post. So I thought I may as well reply to myself :) I think I have some more information about the cause of my issue and maybe someone else can confirm or refute my suggestion. Whilst running the Nagios beta versions we were experiencing memory leaks (as documented in the change logs). Rather than roll back to 2.9 I was happy to script a restart of Nagios daily and wait for the problem to be fixed. Now I have removed the restarting of Nagios I no longer get any nsca processes "hanging around". So can anyone confirm the behaviour of NSCA when nagios is shutting down or has shutdown? As always, any and all help is appreciated. Thanks, Gareth. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gareth Watson Sent: 17 March 2008 09:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA processes hanging around Hello, Over time I notice a number (a large number, ~500) of nsca processes hanging around. I used netstat to see what they were up to and they where all in the TIME_WAIT status. Reading on the internet I think I understand what this means. Linux is not closing the socket as it is waiting for any delayed traffic on the network to appear. I have no problem with this as my first thought would be that I will see a slow shift in the process numbers as sockets are eventually closed and opened by new requests. This is not, however, the behaviour I observed! The processes would wait indefinitely. Now, clutching at straws I think I have managed to fix the problem. I removed the REUSE flag from the nsca xinetd configuration: # default: on # description: NSCA service nsca { #Commented out the line below in the vain hope it would fix nsca's wagon #FLAGS = REUSE socket_type = stream wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nsca server_args = -c /usr/local/nagios/etc/nsca.cfg --inetd log_on_failure += USERID disable = no } Again some research on the net has told me a little bit about the REUSE flag but I wanted to gather the opinions from those with much more knowledge than I. Therefore, can anyone tell me if this is a reasonable thing to do? Have I made a grievous error without even knowing? Has anyone else experienced this behaviour? I really appreciate anyone who has taken the time to read this and would love some feedback if you get the chance. Many thanks, Gareth Watson ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 19 12:18:57 2008 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Wed, 19 Mar 2008 11:18:57 +0000 Subject: nagios3 and embeded perl Message-ID: <4e0e33ee0803190418t7fdedak57e2bd78d4766cd9@mail.gmail.com> Hi list, I've been planning to upgrade to Nagios3 lately and wanted to start using the ePN. Compiling with or without ePN works fine. But if I try to run the perl enabled Nagios version it nicely segfaults at startup. (Of course the non ePN Nagios daemon works fine) nagios at w:/usr/local/nagios-3.0/bin> ../bin/nagios /usr/local/nagios-3.0 /etc/nagios.cfg Nagios 3.0 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 03-13-2008 License: GPL Nagios 3.0 starting... (PID=11943) Local time is Wed Mar 19 11:16:23 GMT 2008 Segmentation fault nagios at w:/usr/local/nagios-3.0/bin> Enabling debugging in the config doesn't bring any details. Doing a strace gives this out (shortened for clarity): ............. _llseek(0, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek) ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 _llseek(1, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek) ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 _llseek(2, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek) open("/usr/local/nagios-3.0/bin/p1.pl", O_RDONLY|O_LARGEFILE) = 4 ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf97ee08) = -1 ENOTTY (Inappropriate ioctl for device) _llseek(4, 0, [0], SEEK_CUR) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 fstat64(4, {st_mode=S_IFREG|0664, st_size=31892, ...}) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 readlink("/proc/self/exe", "/usr/local/nagios-3.0/bin/nagios", 4095) = 32 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 1935 detached I'm wondering if anyone ran into this issue or has an idea on how to fix it? Thanks, Seb. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.wells at lionbank.com Wed Mar 19 14:15:12 2008 From: josh.wells at lionbank.com (Josh Wells) Date: Wed, 19 Mar 2008 09:15:12 -0400 Subject: Sending notifications via SMS+mobile phone In-Reply-To: References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl><00f501c88803$96ed4270$c4c7c750$@ru><47DE2565.6020407@huenseler.net> Message-ID: <9179DC579128514D8035295BE49187E70425F2A5@mail2.fidelitynational.com> This probably seems like a dumb question but does a GSM terminal like this require its own cellular account or is it just a matter of buying it and configuring it on the computer? Josh -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gareth Watson Sent: Monday, March 17, 2008 5:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone We use that terminal at our workplace. I have been using SMSLink very successfully for the past 12 months. I did have to play with the source code to get it working just how we wanted. However, the developer tells me that the changes I have made are now included in the new version. I would take a look at that if you want an easy way to get this working: http://smslink.sourceforge.net/ Once configured and installed all we needed to do was create a notification command like this: define command{ command_name notify-by-sms command_line echo -e "$SERVICEDESC$\r$HOSTNAME$\r$SERVICESTATE$\r$SERVICEOUTPUT$" | /usr/local/bin/sendsms -d $CONTACTPAGER$ -Q -f'-' localhost 2>/dev/null } Works a treat for us. Plus we like the fact that we can also send SMSs to this software. This means that, in theory at least, our engineers could acknowledge a problem or get a status report from Nagios by texting the SMS modem. We have yet to implement this but it was a big selling point for our installation. I hope this helps, Gareth. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dennis H?nseler Sent: 17 March 2008 08:02 To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Meylikhov schrieb: Hi! Do you use this one - Siemens TC35i Terminal - http://www.warburtech.com/gsm/tc35i.terminal/ ? -----Original Message----- From: Sander Klein [mailto:sander at pictura-dp.nl] Sent: Friday, March 14, 2008 1:38 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Hi, I use the siemens tc35i gsm modem and think it's great. Just hook it up to your COM port, install smstool (which is in debian) create the configfile, make a script to send sms and go.... It's really easy. Greets, Sander Meylikhov wrote: Hello, everybody! Can anyone assist me in solving the following task: I need nagios to send SMS via mobile phone connected to COM port. Are there are such possibilities in nagios and are there any plugins that support sending sms via mobile phone? I found only one plugin (NAGIOSMS: http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_vi ew]=619 )that is currently supports sending notifications via mobile phone but I even can't imagine how to connect mobile phone to my Linux Debian 4.0 server (2.6.18-6-686). Maybe someone already has configured notifications send via mobile phone and can suggest me what mobile phone to buy? I also need any help (suggestions,links, documentation, etc) in connecting mobile phone to my Linux Debian 4.0 server. My system: Nagios server: Linux Debian 4.0 server 2.6.18-6-686 Nagios: nagios-3.0b5 Nagios plugins: nagios-plugins-1.4.11 NRPE: nrpe-2.10 Thank you! ------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Hey, this is the right one. You can also use the Siemens MC35 Works also great with smstool. Used it in several companies... Regards, Dennis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wojciech at kocjan.org Wed Mar 19 14:48:25 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Wed, 19 Mar 2008 14:48:25 +0100 Subject: IM notification In-Reply-To: <4b008f7d0803190331p4c1c72d8q2724ae7a809994f9@mail.gmail.com> References: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> <4b008f7d0803190331p4c1c72d8q2724ae7a809994f9@mail.gmail.com> Message-ID: Dnia 19-03-2008 o 11:31:28 Alex Dehaini napisa?(a): > How can I test it using the commandline and see the debugging output? Hi, You need to: 1/ Change username and password in the script (you'll need a separate account for your Nagios notifications) 2/ Make sure you have authorized your normal and nagios notifications account - in other words run 2 copies of your favorite Jabber client, add and authorize yourself both ways and make sure that you can send messages both ways. 2/ Run; ./notify_via_jabber your.id at your.jabberserver.com "I am alive!" This should be a good test. You probably noticed the script doesn't have much debugging options ;) -- Wojciech Kocjan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GarethWatson at totemcomms.com Wed Mar 19 14:53:54 2008 From: GarethWatson at totemcomms.com (Gareth Watson) Date: Wed, 19 Mar 2008 13:53:54 -0000 Subject: Sending notifications via SMS+mobile phone In-Reply-To: <9179DC579128514D8035295BE49187E70425F2A5@mail2.fidelitynational.com> References: <003c01c885be$898a45c0$9c9ed140$@ru> <47DA5594.2060003@pictura-dp.nl><00f501c88803$96ed4270$c4c7c750$@ru><47DE2565.6020407@huenseler.net> <9179DC579128514D8035295BE49187E70425F2A5@mail2.fidelitynational.com> Message-ID: Yes there is a SIM card in the terminal. We have this on a contract that has a load of free sms messages allocated every month. Works out very cheap indeed. Gareth. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Josh Wells Sent: 19 March 2008 13:15 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone This probably seems like a dumb question but does a GSM terminal like this require its own cellular account or is it just a matter of buying it and configuring it on the computer? Josh -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gareth Watson Sent: Monday, March 17, 2008 5:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone We use that terminal at our workplace. I have been using SMSLink very successfully for the past 12 months. I did have to play with the source code to get it working just how we wanted. However, the developer tells me that the changes I have made are now included in the new version. I would take a look at that if you want an easy way to get this working: http://smslink.sourceforge.net/ Once configured and installed all we needed to do was create a notification command like this: define command{ command_name notify-by-sms command_line echo -e "$SERVICEDESC$\r$HOSTNAME$\r$SERVICESTATE$\r$SERVICEOUTPUT$" | /usr/local/bin/sendsms -d $CONTACTPAGER$ -Q -f'-' localhost 2>/dev/null } Works a treat for us. Plus we like the fact that we can also send SMSs to this software. This means that, in theory at least, our engineers could acknowledge a problem or get a status report from Nagios by texting the SMS modem. We have yet to implement this but it was a big selling point for our installation. I hope this helps, Gareth. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dennis H?nseler Sent: 17 March 2008 08:02 To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Meylikhov schrieb: Hi! Do you use this one - Siemens TC35i Terminal - http://www.warburtech.com/gsm/tc35i.terminal/ ? -----Original Message----- From: Sander Klein [mailto:sander at pictura-dp.nl] Sent: Friday, March 14, 2008 1:38 PM To: Meylikhov Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending notifications via SMS+mobile phone Hi, I use the siemens tc35i gsm modem and think it's great. Just hook it up to your COM port, install smstool (which is in debian) create the configfile, make a script to send sms and go.... It's really easy. Greets, Sander Meylikhov wrote: Hello, everybody! Can anyone assist me in solving the following task: I need nagios to send SMS via mobile phone connected to COM port. Are there are such possibilities in nagios and are there any plugins that support sending sms via mobile phone? I found only one plugin (NAGIOSMS: http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_vi ew]=619 )that is currently supports sending notifications via mobile phone but I even can't imagine how to connect mobile phone to my Linux Debian 4.0 server (2.6.18-6-686). Maybe someone already has configured notifications send via mobile phone and can suggest me what mobile phone to buy? I also need any help (suggestions,links, documentation, etc) in connecting mobile phone to my Linux Debian 4.0 server. My system: Nagios server: Linux Debian 4.0 server 2.6.18-6-686 Nagios: nagios-3.0b5 Nagios plugins: nagios-plugins-1.4.11 NRPE: nrpe-2.10 Thank you! ------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Hey, this is the right one. You can also use the Siemens MC35 Works also great with smstool. Used it in several companies... Regards, Dennis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Mar 19 15:00:06 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 19 Mar 2008 14:00:06 +0000 Subject: IM notification In-Reply-To: References: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> <4b008f7d0803190331p4c1c72d8q2724ae7a809994f9@mail.gmail.com> Message-ID: <4b008f7d0803190700l4cd2ffd0w542cd0bb216b5f02@mail.gmail.com> Excellent, it worked. How can I get this to work using googletalk. I passed the same parameters but this is the error I got. /usr/local/bin/notify_via_jabber emailaddress at gmail.com "I am alive" Cannot connect (Invalid argument). These were the settings in my notify_via_jabber file use constant RECIPIENT => $ARGV[0]; use constant SERVER => 'talk.gmail.com'; use constant PORT => 5222; use constant USER => emailaddress'; use constant PASSWORD => 'password'; use constant RESOURCE => 'resource'; use constant MESSAGE => $ARGV[1]; use constant MAXWAIT => 2 ; Am I doing anything wrong? On Wed, Mar 19, 2008 at 1:48 PM, Wojciech Kocjan wrote: > Dnia 19-03-2008 o 11:31:28 Alex Dehaini > napisa?(a): > > How can I test it using the commandline and see the debugging output? > > Hi, > > You need to: > 1/ Change username and password in the script > (you'll need a separate account for your Nagios notifications) > > 2/ Make sure you have authorized your normal and nagios notifications > account - in other words run 2 copies of your favorite Jabber client, add > and authorize yourself both ways and make sure that you can send messages > both ways. > > 2/ Run; > ./notify_via_jabber your.id at your.jabberserver.com "I am alive!" > > This should be a good test. > > You probably noticed the script doesn't have much debugging options ;) > > -- > Wojciech Kocjan > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Wed Mar 19 14:51:25 2008 From: caylan at mac.com (Caylan Van Larson) Date: Wed, 19 Mar 2008 08:51:25 -0500 Subject: Unwanted LEN/BUFNOW Debug Output Message-ID: <443CC91D-D5A8-418C-BE0E-5F70247307A4@mac.com> While testing the nagios 3.0 configuration I'm seeing strange debug output... even though debug is set to zero. # ./bin/nagios -v ./nagios.cfg Nagios 3.0 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 03-13-2008 License: GPL Reading configuration data... LEN: 79, END: 77, BUF = ############################################################################## BUFNOW: ############################################################################## LEN: 2, END: 0, BUF=# BUFNOW: # LEN: 54, END: 52, BUF=# NAGIOS.CFG - Sample Main Config File for Nagios 3.0 BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios 3.0 LEN: 2, END: 0, BUF=# BUFNOW: # .....continued display of configuration lines.... Operating System: RHEL 3 Update 6 Compile Options: ./configure --prefix=/usr/local/nagios-3.0 --with- command-group=nagiocmd --enable-embedded-perl --with-perlcache --with- nagios-user=nagios --with-nagios-group=nagios GCC: 3.2.3 Configuration: debug=0 How do I stop this strange output from appearing? Caylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 19 15:11:24 2008 From: marc at ena.com (Marc Powell) Date: Wed, 19 Mar 2008 09:11:24 -0500 Subject: Q: Need to use a default user, but still allow changing to another user In-Reply-To: <47DF8A9502000048000F5F30@inet-wh2.gmhwh.org> References: <47DF8A9502000048000F5F30@inet-wh2.gmhwh.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cary Petterborg > Sent: Tuesday, March 18, 2008 10:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Q: Need to use a default user,but still allow > changing to another user > > We are trying to make things easy for "managers" who want to look at > statuses without logging in (it is a request by the managers, not > something WE thought up on our own to help them). This can be done by > setting a default user, right? So you set the default user, but then you > can't log in as a different user to get different views, etc. I haven't tested this but I don't see why those would be mutually exclusive... > Does anyone have a solution that they are using for this type of case? I I think a very simple modification to your htaccess is all that's necessary. AllowOverride AuthConfig Options FollowSymLinks ExecCGI Order deny,allow Deny from all Allow from 192.168.1.10 # or Allow from 192.168 # or Allow from 192.168.1.0/24 # or Allow from yourdomain.com Satisfy any AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Options None AllowOverride None Order deny,allow Deny from all Allow from 192.168.1.10 # or Allow from 192.168 # or Allow from 192.168.1.0/24 # or Allow from yourdomain.com Satisfy any AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user The 'Satisy any' directive means that if either a specific Allow matches _or_ the user passed authentication then they are allowed in. In the first case, they wouldn't be prompted to log in, REMOTE_USER would not be set and nagios would fall back to the default username. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 19 15:24:05 2008 From: marc at ena.com (Marc Powell) Date: Wed, 19 Mar 2008 09:24:05 -0500 Subject: Q: Need to use a default user, but still allow changing to another user In-Reply-To: <47E0B2C8.7010401@vanderkooij.org> References: <47E0B2C8.7010401@vanderkooij.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Educate the managers. Your do this securely by having EVERYONE do > authentication. If that is too much of a bother then they shouldn't even > be looking at the nagios pages. His environment is not your environment. His requirements are not your requirements. His goals are not your goals. His job is not your job. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From folkert at vanheusden.com Wed Mar 19 15:36:11 2008 From: folkert at vanheusden.com (Folkert van Heusden) Date: Wed, 19 Mar 2008 15:36:11 +0100 Subject: how to get passive checks to work Message-ID: <20080319143611.GY4188@vanheusden.com> Hi, In my services.cfg I have: define service { use generic-service host_name p630 service_description manual call contact_groups aix-admins active_checks_enabled 0 passive_checks_enabled 1 check_command check_dummy } Now in my php script I send the following string (tried both with and without terminating \n) to the pipe /var/lib/nagios2/rw/nagios.cmd ; [1205935241] PROCESS_SERVICE_CHECK_RESULT;p630;manual call;2;test The problem now is: no action is performed! The event does not show up in the logfile (/var/log/nagios2/nagios.log) and also no e-mail is sent (no sms is send either). Configfile: mmc:/etc/nagios2# grep passive nagios.cfg | grep -v "^#" log_passive_checks=1 accept_passive_service_checks=1 accept_passive_host_checks=1 Folkert van Heusden -- www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of HP/UX en win een vlaai naar keuze ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wojciech at kocjan.org Wed Mar 19 15:41:32 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Wed, 19 Mar 2008 15:41:32 +0100 Subject: how to get passive checks to work In-Reply-To: <20080319143611.GY4188@vanheusden.com> References: <20080319143611.GY4188@vanheusden.com> Message-ID: Dnia 19-03-2008 o 15:36:11 Folkert van Heusden napisa?(a): > Hi, > > In my services.cfg I have: > define service { > use generic-service > host_name p630 > service_description manual call > contact_groups aix-admins > active_checks_enabled 0 > passive_checks_enabled 1 > check_command check_dummy > } > > Now in my php script I send the following string (tried both with and > without terminating \n) to the pipe /var/lib/nagios2/rw/nagios.cmd ; > [1205935241] PROCESS_SERVICE_CHECK_RESULT;p630;manual call;2;test That looks correct. What I'd recommend is to write to /tmp/nagios.cmd, check that file. Then perform this as the same user as your PHP is run (www-data/apache probably): cat /tmp/nagios.cmd >>/var/lib/nagios2/rw/nagios.cmd You should see if it works. Also, are you writing or appending to the nagios.cmd pipe? I think appending is TheRightWay(tm) to do it. -- Wojciech Kocjan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From folkert at vanheusden.com Wed Mar 19 15:42:15 2008 From: folkert at vanheusden.com (Folkert van Heusden) Date: Wed, 19 Mar 2008 15:42:15 +0100 Subject: how to get passive checks to work In-Reply-To: <20080319143611.GY4188@vanheusden.com> References: <20080319143611.GY4188@vanheusden.com> Message-ID: <20080319144215.GZ4188@vanheusden.com> Never mind: found the problem. I had "max_check_attempts" still at 4. Set it to 1 and now it immediately reacts. On Wed, Mar 19, 2008 at 03:36:11PM +0100, Folkert van Heusden wrote: > Hi, > > In my services.cfg I have: > define service { > use generic-service > host_name p630 > service_description manual call > contact_groups aix-admins > active_checks_enabled 0 > passive_checks_enabled 1 > check_command check_dummy > } > > Now in my php script I send the following string (tried both with and > without terminating \n) to the pipe /var/lib/nagios2/rw/nagios.cmd ; > [1205935241] PROCESS_SERVICE_CHECK_RESULT;p630;manual call;2;test > > The problem now is: no action is performed! The event does not show up > in the logfile (/var/log/nagios2/nagios.log) and also no e-mail is sent > (no sms is send either). > > Configfile: > mmc:/etc/nagios2# grep passive nagios.cfg | grep -v "^#" > log_passive_checks=1 > accept_passive_service_checks=1 > accept_passive_host_checks=1 > > > Folkert van Heusden > > -- > www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg > ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of > HP/UX en win een vlaai naar keuze > ---------------------------------------------------------------------- > Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Folkert van Heusden -- MultiTail ist eine flexible Applikation um Logfiles und Kommando Eingaben zu ?berpr?fen. Inkl. Filter, Farben, Zusammenf?hren, Ansichten etc. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Wed Mar 19 15:50:04 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Wed, 19 Mar 2008 17:50:04 +0300 Subject: Nagios plugins 1.4.11 compilation error: Linux Debian 2.6.22-14-sparc64 Message-ID: <009f01c889d0$84f6f880$8ee4e980$@ru> Hello everybody. My system is Linux Debian 2.6.22-14-sparc64. I've downloaded the latest nagios plugins (1.4.11) and got an error on ./configure configure: error: C compiler cannot create executables See `config.log' for more details. Config.log: :. configure:3039: $? = 0 configure:3046: gcc -v >&5 Using built-in specs. Target: sparc-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-cpu=v8 --with-long-double-128 --enable-checking=release sparc-linux-gnu Thread model: posix gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) configure:3049: $? = 0 configure:3056: gcc -V >&5 gcc: '-V' option must have argument configure:3059: $? = 1 configure:3082: checking for C compiler default output file name configure:3109: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:3112: $? = 1 configure:3150: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "nagios-plugins" | #define PACKAGE_TARNAME "nagios-plugins" | #define PACKAGE_VERSION "1.4.11" | #define PACKAGE_STRING "nagios-plugins 1.4.11" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "nagios-plugins" | #define VERSION "1.4.11" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3157: error: C compiler cannot create executables See `config.log' for more details. :: Can anyone please assist me in troubleshooting? Faithfully yours, Ilya. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Wed Mar 19 15:54:47 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 19 Mar 2008 08:54:47 -0600 Subject: Nagios plugins 1.4.11 compilation error: Linux Debian 2.6.22-14-sparc64 In-Reply-To: <009f01c889d0$84f6f880$8ee4e980$@ru> References: <009f01c889d0$84f6f880$8ee4e980$@ru> Message-ID: <1205938487.31912.4.camel@sidhqmis4grdv91> On Wed, 2008-03-19 at 17:50 +0300, Ilya Meylikhov wrote: > Hello everybody. > > My system is Linux Debian 2.6.22-14-sparc64. > > I?ve downloaded the latest nagios plugins (1.4.11) and got an error > on ./configure > > > > configure: error: C compiler cannot create executables > That's more of an OS-level problem than a nagios-related problem. There are tons of google search results that will probably help you solve it, though: http://www.google.com/search?q=C+compiler+cannot+create+executables ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wojciech at kocjan.org Wed Mar 19 16:04:21 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Wed, 19 Mar 2008 16:04:21 +0100 Subject: IM notification In-Reply-To: <4b008f7d0803190700l4cd2ffd0w542cd0bb216b5f02@mail.gmail.com> References: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> <4b008f7d0803190331p4c1c72d8q2724ae7a809994f9@mail.gmail.com> <4b008f7d0803190700l4cd2ffd0w542cd0bb216b5f02@mail.gmail.com> Message-ID: Dnia 19-03-2008 o 15:00:06 Alex Dehaini napisa?(a): > Excellent, it worked. How can I get this to work using googletalk. I > passed > the same parameters but this is the error I got. > /usr/local/bin/notify_via_jabber emailaddress at gmail.com "I am alive" > Cannot connect (Invalid argument). > > These were the settings in my notify_via_jabber file > > use constant RECIPIENT => $ARGV[0]; > use constant SERVER => 'talk.gmail.com'; > use constant PORT => 5222; > use constant USER => emailaddress'; > use constant PASSWORD => 'password'; > use constant RESOURCE => 'resource'; > use constant MESSAGE => $ARGV[1]; > use constant MAXWAIT => 2 ; > > Am I doing anything wrong? my $username = "wojciech.kocjan"; my $password = "xxxxxxxxx"; my $resource = "APUD"; The only thing I got confused is that the script I gave you as a link adds @gmail.com to the address. I modified it to be: # Send messages sleep(2); foreach ( @field ) { $Connection->MessageSend( to => "$_", resource => $resource, subject => "Notification", type => "chat", body => $ARGV[1]); } sleep(2); $Connection->Disconnect(); exit; And run notify_via_jabber mysecondid at gmail.com "Test message" Worked like a charm. -- Wojciech Kocjan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Wed Mar 19 17:03:15 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Wed, 19 Mar 2008 11:03:15 -0500 Subject: how to get passive checks to work In-Reply-To: References: <20080319143611.GY4188@vanheusden.com> Message-ID: <1205942595.6562.109.camel@UNIX-TEAM-LACAYO> HI Every one, I am having a slight problem with the windows NRPE client which checks the memory load. nt_memload, is reporting Mem: 1200 MB (58%) / 2047 MB (41%) However, the server has 4G of RAM. any Ideas why this is? Is there a flag that I need to set or something? Thanks in advance. Luis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ojan at gfi.fr Wed Mar 19 17:15:34 2008 From: ojan at gfi.fr (Olivier JAN) Date: Wed, 19 Mar 2008 17:15:34 +0100 Subject: Nagios 3.0 startup performance Message-ID: <20080319171534.apas5bo80kwkg0kc@intra.expertise-online.net> Hi guys, You'll find enclosed a test i've done on 3 differents Nagios 3 server. Would be nice if anyone can help me explain such big differences between servers in results. All configurations details are in the file atatched. test have be done with command : /usr/local/nagios/bin/nagios -vps /usr/local/nagios/etc/nagios.cfg Thanks Olivier Jan http://nagios-fr.org -------------- next part -------------- A non-text attachment was scrubbed... Name: becnhmarks2.pdf Type: application/pdf Size: 29204 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 19 17:30:43 2008 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 19 Mar 2008 16:30:43 +0000 Subject: Very slow startup of Nagios when using NDO In-Reply-To: <60721B67EAF0994EAFFB561767B700140256567A@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B700140256567A@nets13ha.ww300.siemens.net> Message-ID: <765d77c80803190930p2323b6f4me0e11db72911b7db@mail.gmail.com> On 27/02/2008, Masopust, Christian wrote: > my Nagios server's startup with activated NDO is very slow (appr. 2-3 > minutes)! > > anyone else seeing this behaviour? possibility to speed it up (besides > deactivating NDO :-)) Yes. In earlier versions I think there was a problem with a wrong/missing index on at least one of the tables. When the ndo daemon starts, it attempts to delete old records from the table and this delete takes ages. If you monitor your sql database while Nagios is starting, you can probably see the relevant sql running (I used phpMyAdmin for this). I got around the problem by configuring ndo only to store a tiny amount of information like so (in ndo2db.cfg). # Keep timed events for 24 hours max_timedevents_age=1440 # Keep system commands for 1 week max_systemcommands_age=10080 # Keep service checks for 1 days max_servicechecks_age=1440 # Keep host checks for 1 week max_hostchecks_age=10080 # Keep event handlers for 31 days max_eventhandlers_age=44640 I've also found it doesn't seem to matter (to me, your experience may be different) if I terminate the offending SQL session in MySQL to allow ndo to start more quickly. Typically I only resort to doing this if I've had ndo disabled for a while then start it up - it then has more deletions than usual to wade through. As Patrick said, I think the index is fixed in later versions of ndo. If you're stuck with an earlier version I guess it should be fairly easy to identify where an index would help and add one yourself. I'm sorry I can't remember precisely which the problemmatic table was. hth, Jim -- Web Admin for Corsham Diary http://corshamdiary.org.uk ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Wed Mar 19 17:30:35 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Wed, 19 Mar 2008 11:30:35 -0500 Subject: NRPE Windows Client Question In-Reply-To: <1205942595.6562.109.camel@UNIX-TEAM-LACAYO> References: <20080319143611.GY4188@vanheusden.com> <1205942595.6562.109.camel@UNIX-TEAM-LACAYO> Message-ID: <1205944235.6562.111.camel@UNIX-TEAM-LACAYO> HI Every one, I am having a slight problem with the windows NRPE client which checks the memory load. nt_memload, is reporting Mem: 1200 MB (58%) / 2047 MB (41%) However, the server has 4G of RAM. any Ideas why this is? Is there a flag that I need to set or something? Thanks in advance. Luis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 19 17:46:25 2008 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 19 Mar 2008 16:46:25 +0000 Subject: Announce: NSClient++ 0.3.1 Windows agent In-Reply-To: <47D8137E.8000806@medin.name> References: <47D8137E.8000806@medin.name> Message-ID: <765d77c80803190946v5dede25w4db330a59c8fee99@mail.gmail.com> On 12/03/2008, Michael Medin wrote: > Hello, > > Just realized I haven't posted any release notices to this list in a few > years so I figured it was about time :) Very many thanks for doing so. NSClient++ 0.2.7 has been extremely useful to us. I'll look forward to trying 0.3.1 shortly. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 19 17:58:55 2008 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 19 Mar 2008 16:58:55 +0000 Subject: Unwanted re-notifications In-Reply-To: <25D53C31-3771-4C96-A14A-55FEC9EFA6EE@frontierflying.com> References: <25D53C31-3771-4C96-A14A-55FEC9EFA6EE@frontierflying.com> Message-ID: <765d77c80803190958s4a92f10ctccdb743a97c298c2@mail.gmail.com> On 17/03/2008, Israel Brewster wrote: > I have a service that keeps sending me notifications of the fact that > it is critical every half hour or so, even though the notification > interval for the service is set to zero. That's strange. It could be that the nagios daemon didn't restart properly when you changed the config? It might be worth stopping Nagios, making sure it's really stopped then starting it again. Failing that I'm not sure. You could I guess get that behaviour if you had an escalation defined on that service but I think that's unlikely. Cheers, Jim -- Web Admin for Corsham Diary http://corshamdiary.org.uk ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfaulkne at icontact.com Wed Mar 19 18:02:32 2008 From: jfaulkne at icontact.com (Jason L. Faulkner) Date: Wed, 19 Mar 2008 13:02:32 -0400 (EDT) Subject: Strange error on status map page since 3.0 upgrade Message-ID: <28655466.193391205946152614.JavaMail.root@mail.broadwick.com> Hi all, I'm having an issue that did not occur on Nagios 2.5, but I'm getting on Nagios 3.0rc2 and Nagios 3.0 (final). Basically, the status map page has a HTML error. Here's a screenshot: http://j.oldos.org/nagios.png Any thoughts? Any additional information required? -- Jason Faulkner Lead Systems Engineer iContact Corporation (919) 459-2509 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Mar 19 18:04:01 2008 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 19 Mar 2008 17:04:01 +0000 Subject: oracle 9i tablespace monitoring In-Reply-To: <33ABD80B75296D43A316BFF5B0B52F5F0EEA1D@SRV-QS-MAIL5.lands.nsw> References: <33ABD80B75296D43A316BFF5B0B52F5F0EEA1D@SRV-QS-MAIL5.lands.nsw> Message-ID: <765d77c80803191004j533655dbl60cdd8cc87b05fab@mail.gmail.com> On 18/03/2008, Nicholas Magers wrote: > We are using oracle 9i. Can anyone recommend a process to monitor the > tablespace so that it includes the auto extensible space? I'm in charge of > monitoring not the Oracle databases so I could get more details if required. We have some dirty SQL to check for that sort of thing, but don't use auto-extensible tablespaces so it wouldn't be much use to you. I've just been trawling through the list as I haven't read it for a while and came across an announcement from Blue Gecko about their GPL monitoring tool 'Monocle" http://www.bluegecko.net/oracle_monitoring_monocle . I don't know if it will do what you want but might be worth a look. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcwhinney at visto.com Wed Mar 19 18:28:07 2008 From: mmcwhinney at visto.com (Mark McWhinney) Date: Wed, 19 Mar 2008 10:28:07 -0700 Subject: Sending and monitoring email Message-ID: <696D18D0B707334B8CD24837DE4A9CD3C150D0@ex2k3-rs.vistocorp.com> Pardon the newbie question, but I need to know if Nagios will do what I need before investing time and effort in it. I need to monitor an email sync management system where I send an email to the server and measure the time it takes to get synced to a device. The email send is SMTP. The receive is an HTTP push to the device. Can Nagios be set up to - wake up every five minutes - send an email - start a transaction timer - go into a passive wait for an HTTP message - get and process the HTTP message - stop the timer and report the time difference? If so, would you be kind enough to point me to the features of Nagios that I would need to set up the email send and passive HTTP wait? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Wed Mar 19 19:47:33 2008 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 19 Mar 2008 10:47:33 -0800 Subject: Unwanted re-notifications In-Reply-To: <765d77c80803190958s4a92f10ctccdb743a97c298c2@mail.gmail.com> References: <25D53C31-3771-4C96-A14A-55FEC9EFA6EE@frontierflying.com> <765d77c80803190958s4a92f10ctccdb743a97c298c2@mail.gmail.com> Message-ID: <80324A14-A710-4DDB-8993-0276BFE922C2@frontierflying.com> On Mar 19, 2008, at 8:58 AM, Jim Avery wrote: > On 17/03/2008, Israel Brewster wrote: >> I have a service that keeps sending me notifications of the fact that >> it is critical every half hour or so, even though the notification >> interval for the service is set to zero. > > That's strange. It could be that the nagios daemon didn't restart > properly when you changed the config? It might be worth stopping > Nagios, making sure it's really stopped then starting it again. > Failing that I'm not sure. You could I guess get that behaviour if > you had an escalation defined on that service but I think that's > unlikely. Thanks for the response. After some further digging, I managed to track down the problem, although the why and how to fix are still a mystery. Apparently what's happening is that every so often nagios switches from the expected "CRITICAL" sate to a "warning" state, with a status message similar to "PING WARNING - DUPLICATES FOUND! Packet loss = 6%, RTA = 574.20 ms". Since I had warning messages disabled for this service, I never got that e-mail, but when it switched back to a "critical" state on the next check, I do get the critical message. So I guess Nagios is working as it should, and it's just a mystery of why I am getting that response from the ping when the router port is disabled. Thanks again! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > > Cheers, > > Jim > -- > Web Admin for Corsham Diary http://corshamdiary.org.uk > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfreels at sendmail.com Wed Mar 19 20:11:36 2008 From: kfreels at sendmail.com (Kevin Freels) Date: Wed, 19 Mar 2008 12:11:36 -0700 Subject: Upgrading from 1.2 to 3.0 Message-ID: <6E05344E8A933549A9F022026B22A1F4BAAAB3@platypus.smi.sendmail.com> Greetings! My apologies for this early message without lurking on the list first, but I'm on a deadline and couldn't find any info on this. I need to upgrade our current version from 1.2 to the latest version (3.0). There's info in the 3.0 documentation for going from 2.x to 3.0, but not from 1.x, and the 2.x docs don't even speak of upgrading from 1.x. So I was wondering if anyone else has done this, i.e., gone from 1.x to 3.0 in one fell swoop. It would be a pain to have to upgrade in two steps from 1.x => 2.0 => 3.0, but I'm willing do it if I have to. However, as I said, there's no info for 1.x => 2.0 that I could find, so even that's a questionable proposition. What is involved with going from 1.x to 3.0 directly in one jump? Or is this one of those "better to start off clean" scenarios? Any advice is greatly appreciated! Thanks, as always. ....k -=-=-=- Kevin Freels, Manager of Information Technology, Sendmail, Inc. kfreels at sendmail.com 510/594.5572 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Wed Mar 19 20:35:36 2008 From: caylan at mac.com (Caylan Van Larson) Date: Wed, 19 Mar 2008 14:35:36 -0500 Subject: Nagios 3 RPMs? Message-ID: <45EEAFDE-91CE-4390-853D-8C0EE673A4F8@mac.com> Anyone working on Nagios 3 binaries? --- Caylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Wed Mar 19 20:55:39 2008 From: caylan at mac.com (Caylan Van Larson) Date: Wed, 19 Mar 2008 14:55:39 -0500 Subject: Unwanted LEN/BUFNOW Debug Output In-Reply-To: <443CC91D-D5A8-418C-BE0E-5F70247307A4@mac.com> References: <443CC91D-D5A8-418C-BE0E-5F70247307A4@mac.com> Message-ID: I can only get this to happen on RHEL3 hosts. The binary doesn't spew the BUFNOW/LEN debug messages when compiled on RHEL4. --- Caylan On Mar 19, 2008, at 8:51 AM, Caylan Van Larson wrote: > While testing the nagios 3.0 configuration I'm seeing strange debug > output... even though debug is set to zero. > > # ./bin/nagios -v ./nagios.cfg > > Nagios 3.0 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 03-13-2008 > License: GPL > > Reading configuration data... > > LEN: 79, END: 77, > BUF > = > ############################################################################## > BUFNOW: > ############################################################################## > LEN: 2, END: 0, BUF=# > BUFNOW: # > LEN: 54, END: 52, BUF=# NAGIOS.CFG - Sample Main Config File for > Nagios 3.0 > BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios 3.0 > LEN: 2, END: 0, BUF=# > BUFNOW: # > .....continued display of configuration lines.... > > Operating System: RHEL 3 Update 6 > Compile Options: ./configure --prefix=/usr/local/nagios-3.0 --with- > command-group=nagiocmd --enable-embedded-perl --with-perlcache --with- > nagios-user=nagios --with-nagios-group=nagios > GCC: 3.2.3 > Configuration: debug=0 > > How do I stop this strange output from appearing? > > Caylan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Mar 19 21:03:19 2008 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 19 Mar 2008 16:03:19 -0400 Subject: Nagios 3 RPMs? In-Reply-To: <45EEAFDE-91CE-4390-853D-8C0EE673A4F8@mac.com> References: <45EEAFDE-91CE-4390-853D-8C0EE673A4F8@mac.com> Message-ID: <302ce8b50803191303w2493d29h8a1880d6bc5bc3e0@mail.gmail.com> On Wed, Mar 19, 2008 at 3:35 PM, Caylan Van Larson wrote: > Anyone working on Nagios 3 binaries? There's some discussion going on right now on the rpmforge list with respect to making the 2.x -> 3.x transition reasonably smooth. Are you familiar with building rpms at all? I can send you a spec file based on the packages by dag/rpmforge which will allow you to build nagios 3 binary packages. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Wed Mar 19 21:16:37 2008 From: caylan at mac.com (Caylan Van Larson) Date: Wed, 19 Mar 2008 15:16:37 -0500 Subject: Unwanted LEN/BUFNOW Debug Output In-Reply-To: References: <443CC91D-D5A8-418C-BE0E-5F70247307A4@mac.com> Message-ID: I was able to get rid of debug messages by adding "#undef DEBUG" to include/epn_nagios.h. #include #include #include #undef DEBUG /* this is defined somewhere above on RHEL3 systems - Caylan */ #undef ctime /* don't need perl's threaded version */ #undef printf /* can't use perl's printf until initialized */ --- Caylan On Mar 19, 2008, at 2:55 PM, Caylan Van Larson wrote: > I can only get this to happen on RHEL3 hosts. The binary doesn't spew > the BUFNOW/LEN debug messages when compiled on RHEL4. > > --- > > Caylan > > > On Mar 19, 2008, at 8:51 AM, Caylan Van Larson wrote: > >> While testing the nagios 3.0 configuration I'm seeing strange debug >> output... even though debug is set to zero. >> >> # ./bin/nagios -v ./nagios.cfg >> >> Nagios 3.0 >> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) >> Last Modified: 03-13-2008 >> License: GPL >> >> Reading configuration data... >> >> LEN: 79, END: 77, >> BUF >> = >> ############################################################################## >> BUFNOW: >> ############################################################################## >> LEN: 2, END: 0, BUF=# >> BUFNOW: # >> LEN: 54, END: 52, BUF=# NAGIOS.CFG - Sample Main Config File for >> Nagios 3.0 >> BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios 3.0 >> LEN: 2, END: 0, BUF=# >> BUFNOW: # >> .....continued display of configuration lines.... >> >> Operating System: RHEL 3 Update 6 >> Compile Options: ./configure --prefix=/usr/local/nagios-3.0 --with- >> command-group=nagiocmd --enable-embedded-perl --with-perlcache -- >> with- >> nagios-user=nagios --with-nagios-group=nagios >> GCC: 3.2.3 >> Configuration: debug=0 >> >> How do I stop this strange output from appearing? >> >> Caylan >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 19 21:28:24 2008 From: marc at ena.com (Marc Powell) Date: Wed, 19 Mar 2008 15:28:24 -0500 Subject: Sending and monitoring email In-Reply-To: <696D18D0B707334B8CD24837DE4A9CD3C150D0@ex2k3-rs.vistocorp.com> References: <696D18D0B707334B8CD24837DE4A9CD3C150D0@ex2k3-rs.vistocorp.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mark McWhinney > Sent: Wednesday, March 19, 2008 12:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Sending and monitoring email > > Pardon the newbie question, but I need to know if Nagios will do what I > need before investing time and effort in it. > > I need to monitor an email sync management system where I send an email > to the server and measure the time it takes to get synced to a device. > The email send is SMTP. The receive is an HTTP push to the device. > > Can Nagios be set up to > - wake up every five minutes > - send an email > - start a transaction timer > - go into a passive wait for an HTTP message > - get and process the HTTP message > - stop the timer and report the time difference? Yes, if you can code everything from 'send an email' on as a plugin in your favorite language. Nagios must be able to perform those actions by running an external script/program (i.e. plugin). There's no standard plugin that does anything like that except check_email_loop.pl which sends an e-mail, then on the next run verifies that it was received in a POP account. You could use that as a model. I think your only sticky-wicket is listening on port 80 for the HTTP response but I can't say for sure not being familiar with the system you're working with. I assume that the whole transaction takes less than a minute or so. If it's longer, you might want to have the HTTP listener run separately as a daemon and log to a file on receipt and on your next run of the plugin, verify that the previous transaction was received. > If so, would you be kind enough to point me to the features of Nagios > that I would need to set up the email send and passive HTTP wait? http://nagiosplug.sf.net - Developer Guidelines and examining how the check_email_loop.pl plugin works would probably be a start. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csabo at uolinc.com Wed Mar 19 21:59:27 2008 From: csabo at uolinc.com (Caio Peres Sabo) Date: Wed, 19 Mar 2008 17:59:27 -0300 Subject: Very slow startup of Nagios when using NDO In-Reply-To: <765d77c80803190930p2323b6f4me0e11db72911b7db@mail.gmail.com> References: <60721B67EAF0994EAFFB561767B700140256567A@nets13ha.ww300.siemens.net> <765d77c80803190930p2323b6f4me0e11db72911b7db@mail.gmail.com> Message-ID: I have a Nagios-3.0 server with ndo 1.4b7. My Nagios-3.0 server has 14.300 passive checks. One statistcs for startup: - With NDO (~20 minutes): Begin Start time: Wed Mar 19 17:29:58 BRT 2008 End Start time: Wed Mar 19 17:47:18 BRT 2008 - Without NDO (~10 seconds): Begin Start time: Wed Mar 19 17:52:12 BRT 2008 End Start time: Wed Mar 19 17:52:23 BRT 2008 With configuration equals into Nagios-2.0 with NDO-1.4b4, startup time is ~4 minutes Why doesn't Nagios3 scale with NDOb7? Thanks, Caio Sabo -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Avery Sent: quarta-feira, 19 de mar?o de 2008 13:31 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Very slow startup of Nagios when using NDO On 27/02/2008, Masopust, Christian wrote: > my Nagios server's startup with activated NDO is very slow (appr. 2-3 > minutes)! > > anyone else seeing this behaviour? possibility to speed it up (besides > deactivating NDO :-)) Yes. In earlier versions I think there was a problem with a wrong/missing index on at least one of the tables. When the ndo daemon starts, it attempts to delete old records from the table and this delete takes ages. If you monitor your sql database while Nagios is starting, you can probably see the relevant sql running (I used phpMyAdmin for this). I got around the problem by configuring ndo only to store a tiny amount of information like so (in ndo2db.cfg). # Keep timed events for 24 hours max_timedevents_age=1440 # Keep system commands for 1 week max_systemcommands_age=10080 # Keep service checks for 1 days max_servicechecks_age=1440 # Keep host checks for 1 week max_hostchecks_age=10080 # Keep event handlers for 31 days max_eventhandlers_age=44640 I've also found it doesn't seem to matter (to me, your experience may be different) if I terminate the offending SQL session in MySQL to allow ndo to start more quickly. Typically I only resort to doing this if I've had ndo disabled for a while then start it up - it then has more deletions than usual to wade through. As Patrick said, I think the index is fixed in later versions of ndo. If you're stuck with an earlier version I guess it should be fairly easy to identify where an index would help and add one yourself. I'm sorry I can't remember precisely which the problemmatic table was. hth, Jim -- Web Admin for Corsham Diary http://corshamdiary.org.uk ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Mar 19 22:20:13 2008 From: Roger at NagiosWiki.com (Roger) Date: Wed, 19 Mar 2008 14:20:13 -0700 Subject: Can Cacti poll passively via Nagios client? Message-ID: <2b7af7c40803191420o1218cd27n4dc5eef3c0a70a1d@mail.gmail.com> Is it possible to use Cacti to poll via passive checks on servers? Since Nagios has a problem with a high numbers of active checks, I'm hoping to use Cacti's poller to tell servers buried behind firewalls to check neighboring internal devices and then report back to the centralized Cacti servers in my colo. Any thoughts on this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Mar 19 22:26:28 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 19 Mar 2008 17:26:28 -0400 Subject: Can Cacti poll passively via Nagios client? In-Reply-To: <2b7af7c40803191420o1218cd27n4dc5eef3c0a70a1d@mail.gmail.com> References: <2b7af7c40803191420o1218cd27n4dc5eef3c0a70a1d@mail.gmail.com> Message-ID: On Wed, Mar 19, 2008 at 5:20 PM, Roger wrote: > Is it possible to use Cacti to poll via passive checks on servers? > > Since Nagios has a problem with a high numbers of active checks, I'm hoping > to use Cacti's poller to tell servers buried behind firewalls to check > neighboring internal devices and then report back to the centralized Cacti > servers in my colo. > > Any thoughts on this? You could use Cacti to poll, as a part of each check you do, have it append to a file, a database, some type of persistent storage, and then have a another script that runs, either via cron or as a daemon, that pulls events from the persistent store and submits them to Nagios as passive checks using NSCA ... or have the checks themselves call send_nsca to submit the checks to Nagios over the wire ... I know that doesn't give you an all Cacti solution, but this is a Nagios group :). Have you thought about using distributed Nagios as another solution to this problem? Finally, if you make use of perfdata and use PNP or another graphing framework add-on to Nagios, you can pretty much replace Cacti altogether for graphing and reduce the double polling that happens when Cacti and Nagios are checking the same sets of devices ... - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcavoy at ca.afilias.info Wed Mar 19 22:57:09 2008 From: smcavoy at ca.afilias.info (Sean McAvoy) Date: Wed, 19 Mar 2008 17:57:09 -0400 Subject: Graphing Switch Ports Message-ID: Does anyone know if there is a reasonable way to poll 200+ switch ports (on several switches) and have them graphed individually? We've got nagiosgrapher going and it would seem the only way to accomplish this is to setup a check for each port, which seems like *alot*. Thanks. _sean ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Mar 19 23:20:20 2008 From: Roger at NagiosWiki.com (Roger) Date: Wed, 19 Mar 2008 15:20:20 -0700 Subject: MOM - Nagios connector Message-ID: <2b7af7c40803191520n2b898762ye419f59101dbfee3@mail.gmail.com> Has anyone played with this MOM/Nagios connector? http://tinyurl.com/hjzjw >From the webpage "The MOM to Nagios allows you to send alerts to/from MOM to/from Nagios. This is a bi-directional connector." Here is a page telling how it works http://tinyurl.com/fckdd a snippet from the last URL: Justification: eXc Software knows that using Microsoft Operations Manager as an enterprise management tool is all you really need to operate your data center(s) since eXc Software provides "pure Windows" solutions for managing the non-Windows environment. Combine that with the unparalleled monitoring power for Windows servers and Microsoft Operations Manager becomes the only tool you really need. We realize however that you might have invested time and money into other similar tools. Maybe you are in the process of migrating from a different tool to Microsoft Operations Manager or you want both to be operational simultaneously. This is where the eXc Software connector framework comes into play. By combining several component architectures/tools, eXc Software is able to provide uni-directional and bi-directional connectors at a reasonable price. Benefits: The benefits of using the eXc Software connector solution(s) vs. our competitors are: 1. Cost 2. Our solution is highly customizable (without the need to recompile programs) 3. Our solution is fault tolerant 4. Our solution is always a "pure Windows" solution Don't let other companies convince you that you have to spend a lot of money to get MOM talking to other solutions! Why is it that we can provide the same functionality at a fraction of the cost? Our solution is built on top of existing tools and products that Microsoft provides for free and that we have already built. These tools and products are: 1. The MOM Connector Framework (MCF) provided with MOM 2. The eXc Software non-Windows WMI Event Provider 3. The eXc Software SNMP MOM helper objects If you have a connector requirement that we do not have, please contact us and typically we will build it at no cost to you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 19 23:29:38 2008 From: marc at ena.com (Marc Powell) Date: Wed, 19 Mar 2008 17:29:38 -0500 Subject: Graphing Switch Ports In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sean McAvoy > Sent: Wednesday, March 19, 2008 4:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Graphing Switch Ports > > Does anyone know if there is a reasonable way to poll 200+ switch > ports (on several switches) and have them graphed individually? I'd use a tool specifically designed for that task like Cacti or Cricket. > We've got nagiosgrapher going and it would seem the only way to > accomplish this is to setup a check for each port, which seems like > *alot*. Yup. I believe that's how you'd have to do it if you wanted nagios doing it. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Mar 19 23:35:23 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 19 Mar 2008 18:35:23 -0400 Subject: Graphing Switch Ports In-Reply-To: References: Message-ID: While you would have to grab data from them all, you might be able to find or write a check that checks all ports and returns all as perfdata .. and if nagiosgrapher doesn't work with that well, PNP will let you do a nice template or that probably would work ... You could also divide the check up so that there is a check per switch blade, might be a nice logical division, so instead of 200 checks you have 200/(# ports per blade) ... - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Thu Mar 20 00:07:33 2008 From: CWaters at jeld-wen.com (Chris Waters) Date: Wed, 19 Mar 2008 16:07:33 -0700 Subject: Graphing Switch Ports In-Reply-To: References: Message-ID: <30D62F21FD4BE1448C156D2A3E300397033A1D68@jwmail01.jeld-wen.com> You probably want to use something other than Nagios for this. I use cacti http://www.cacti.net to graph several hundred network devices. You can use the extened info field to link back to cacti for the host you selected in nagios (manual process to set up per host because most of cacti references devices by an ID not the hostname). Or, it's a lot trickier but you could modify extinfo cgi to point to cacti for that host and access the info from the Host Information links (very difficult). Chris Waters Technology Services - Network Group JELD-WEN, Inc. Information Systems cwaters at jeld-wen.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sean McAvoy Sent: Wednesday, March 19, 2008 2:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Graphing Switch Ports Does anyone know if there is a reasonable way to poll 200+ switch ports (on several switches) and have them graphed individually? We've got nagiosgrapher going and it would seem the only way to accomplish this is to setup a check for each port, which seems like *alot*. Thanks. _sean ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Thu Mar 20 00:11:25 2008 From: perldork at webwizarddesign.com (Max) Date: Wed, 19 Mar 2008 19:11:25 -0400 Subject: Graphing Switch Ports In-Reply-To: <30D62F21FD4BE1448C156D2A3E300397033A1D68@jwmail01.jeld-wen.com> References: <30D62F21FD4BE1448C156D2A3E300397033A1D68@jwmail01.jeld-wen.com> Message-ID: On Wed, Mar 19, 2008 at 7:07 PM, Chris Waters wrote: > > You probably want to use something other than Nagios for this. I use > cacti http://www.cacti.net to graph several hundred network devices. > You can use the extened info field to link back to cacti for the host > you selected in nagios (manual process to set up per host because most > of cacti references devices by an ID not the hostname). Or, it's a lot > trickier but you could modify extinfo cgi to point to cacti for that > host and access the info from the Host Information links (very > difficult). Wish I had kept the patch I did to Cacti that let one use a URL with a host=name parameter to easily link to the graph page for a Cacti host .. crud .. not difficult to add this functionality to Cacti though so you can use the action_url or notes_url attributes of the host (or hostextinfo objects if in Nagios 2) to link to Cacti hosts. if you do go the Cacti route, I have an immature but working project that can help integrate information between Cacti and Nagios .. http://cacinda.sf.net/ - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Thu Mar 20 00:21:53 2008 From: llow at telesphere.com (Larry Low) Date: Wed, 19 Mar 2008 16:21:53 -0700 Subject: Can Cacti poll passively via Nagios client? In-Reply-To: References: <2b7af7c40803191420o1218cd27n4dc5eef3c0a70a1d@mail.gmail.com> Message-ID: There are two ways I've used to accomplish this. The first method I used was having Cacti poll data then use a RRD check plugin to get the last data and alert if it triggered an alarm. The latest method I've used which needs some additional work is to use the Cacti plugin Thold to trigger a breach of a threshold. I think use Nagios to access the mySQL database and check the thold table if the alert is triggered or not (check_cacti_thold). Placing your database somewhere both systems can access will get you to where you want. The main reason I do this is because Cacti provides a much more "time" reliable polling mechanism unlike Nagios's scheduling. ---- Larry Low -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Max Sent: Wednesday, March 19, 2008 2:26 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Can Cacti poll passively via Nagios client? On Wed, Mar 19, 2008 at 5:20 PM, Roger wrote: > Is it possible to use Cacti to poll via passive checks on servers? > > Since Nagios has a problem with a high numbers of active checks, I'm hoping > to use Cacti's poller to tell servers buried behind firewalls to check > neighboring internal devices and then report back to the centralized Cacti > servers in my colo. > > Any thoughts on this? You could use Cacti to poll, as a part of each check you do, have it append to a file, a database, some type of persistent storage, and then have a another script that runs, either via cron or as a daemon, that pulls events from the persistent store and submits them to Nagios as passive checks using NSCA ... or have the checks themselves call send_nsca to submit the checks to Nagios over the wire ... I know that doesn't give you an all Cacti solution, but this is a Nagios group :). Have you thought about using distributed Nagios as another solution to this problem? Finally, if you make use of perfdata and use PNP or another graphing framework add-on to Nagios, you can pretty much replace Cacti altogether for graphing and reduce the double polling that happens when Cacti and Nagios are checking the same sets of devices ... - Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Thu Mar 20 00:21:43 2008 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Thu, 20 Mar 2008 10:21:43 +1100 Subject: oracle 9i tablespace monitoring Message-ID: <33ABD80B75296D43A316BFF5B0B52F5F0EEA48@SRV-QS-MAIL5.lands.nsw> Thanks for your response Jim. I'll take a look at what you suggest. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Avery Sent: Thursday, 20 March 2008 4:04 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] oracle 9i tablespace monitoring On 18/03/2008, Nicholas Magers wrote: > We are using oracle 9i. Can anyone recommend a process to monitor the > tablespace so that it includes the auto extensible space? I'm in charge of > monitoring not the Oracle databases so I could get more details if required. We have some dirty SQL to check for that sort of thing, but don't use auto-extensible tablespaces so it wouldn't be much use to you. I've just been trawling through the list as I haven't read it for a while and came across an announcement from Blue Gecko about their GPL monitoring tool 'Monocle" http://www.bluegecko.net/oracle_monitoring_monocle . I don't know if it will do what you want but might be worth a look. Cheers, Jim ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rage_q3 at mail.ru Thu Mar 20 09:03:22 2008 From: rage_q3 at mail.ru (Ilya Meylikhov) Date: Thu, 20 Mar 2008 11:03:22 +0300 Subject: NRPE Windows Client Question In-Reply-To: <1205944235.6562.111.camel@UNIX-TEAM-LACAYO> References: <20080319143611.GY4188@vanheusden.com> <1205942595.6562.109.camel@UNIX-TEAM-LACAYO> <1205944235.6562.111.camel@UNIX-TEAM-LACAYO> Message-ID: <00d701c88a60$de1b3e40$9a51bac0$@ru> Luis, this is a common behavior of windows systems. It's not a nagios or NRPE problem, even it is not a problem. Try to search google "windows 4 gb". This could help also http://msdn2.microsoft.com/en-us/library/bb613473(vs.85).aspx http://search.msdn.microsoft.com/Default.aspx?query=windows+4+gb&brand=msdn& locale=en-us&refinement=00&lang=en-us And remember that "The 32-bit editions of Windows XP and Vista do not show the total amount of memory installed. Instead it reports the total amount of memory installed minus the memory allocated to hardware, such as a graphics card, and other hardware resources. This behavior is normal with the 32-bit editions of Windows XP and Windows Vista, and has no performance impact." Hope this helps. Faithfully yours, Ilya -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Luis Fernando Lacayo Sent: Wednesday, March 19, 2008 7:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE Windows Client Question HI Every one, I am having a slight problem with the windows NRPE client which checks the memory load. nt_memload, is reporting Mem: 1200 MB (58%) / 2047 MB (41%) However, the server has 4G of RAM. any Ideas why this is? Is there a flag that I need to set or something? Thanks in advance. Luis ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Thu Mar 20 09:43:26 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 20 Mar 2008 08:43:26 +0000 Subject: IM notification In-Reply-To: References: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> <4b008f7d0803190331p4c1c72d8q2724ae7a809994f9@mail.gmail.com> <4b008f7d0803190700l4cd2ffd0w542cd0bb216b5f02@mail.gmail.com> <4b008f7d0803190957w447457benfae4dc0c987aa65a@mail.gmail.com> Message-ID: <4b008f7d0803200143o729724dax5a3e9b90c5018778@mail.gmail.com> Please furnish me with your settings in command.cfg for this script. Regards, Alex On Wed, Mar 19, 2008 at 10:18 PM, Wojciech Kocjan wrote: > On Wed, 19 Mar 2008 17:57:36 +0100, Alex Dehaini > wrote: > > > This is what I got > > [root at dev bin]# /usr/local/bin/notify_via_jabber2 email > > address at gmail.com"Host is Down" > > You requested that XML::Stream turn the socket into an SSL socket, but > > you > > don't have the correct version of IO::Socket::SSL v0.81. at > > /usr/lib/perl5/site_perl/5.8.8/XML/Stream/Node.pm line 547 > > > > How can I fix this > > > > Alex > > Hi, > > I guess this requires a Perl expert, which I'm not. > > I simply installed a few packages on my machine and things worked fine. > I'm not sure what's the exact problem here. > > -- > Wojciech Kocjan > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wojciech at kocjan.org Thu Mar 20 10:51:22 2008 From: wojciech at kocjan.org (Wojciech Kocjan) Date: Thu, 20 Mar 2008 10:51:22 +0100 Subject: IM notification In-Reply-To: <4b008f7d0803200143o729724dax5a3e9b90c5018778@mail.gmail.com> References: <4b008f7d0803181039ha626b4bs62793c3bc2e4a7f6@mail.gmail.com> <4b008f7d0803190331p4c1c72d8q2724ae7a809994f9@mail.gmail.com> <4b008f7d0803190700l4cd2ffd0w542cd0bb216b5f02@mail.gmail.com> <4b008f7d0803190957w447457benfae4dc0c987aa65a@mail.gmail.com> <4b008f7d0803200143o729724dax5a3e9b90c5018778@mail.gmail.com> Message-ID: Assuming you'll use pager field in contact: define command{ command_name notify-host-by-jabber command_line $USER1$/notify_via_jabber $CONTACTPAGER$ "Host notification: $NOTIFICATIONTYPE$ Host: $HOSTNAME$ State: $HOSTSTATE$ Address: $HOSTADDRESS$ Info: $HOSTOUTPUT$" } define command{ command_name notify-service-by-jabber command_line $USER1$/notify_via_jabber $CONTACTPAGER$ "Service notification: $NOTIFICATIONTYPE$ Service: $SERVICEDESC$ Host: $HOSTALIAS$ State: $SERVICESTATE$" } On Thu, 20 Mar 2008 09:43:26 +0100, Alex Dehaini wrote: > Please furnish me with your settings in command.cfg for this script. > Regards, > Alex > > > On Wed, Mar 19, 2008 at 10:18 PM, Wojciech Kocjan > wrote: > >> On Wed, 19 Mar 2008 17:57:36 +0100, Alex Dehaini >> wrote: >> >> > This is what I got >> > [root at dev bin]# /usr/local/bin/notify_via_jabber2 email >> > address at gmail.com"Host is Down" >> > You requested that XML::Stream turn the socket into an SSL socket, but >> > you >> > don't have the correct version of IO::Socket::SSL v0.81. at >> > /usr/lib/perl5/site_perl/5.8.8/XML/Stream/Node.pm line 547 >> > >> > How can I fix this >> > >> > Alex >> >> Hi, >> >> I guess this requires a Perl expert, which I'm not. >> >> I simply installed a few packages on my machine and things worked fine. >> I'm not sure what's the exact problem here. >> >> -- >> Wojciech Kocjan >> > > > -- Wojciech Kocjan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Thu Mar 20 14:19:11 2008 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Thu, 20 Mar 2008 08:19:11 -0500 Subject: Upgrading from 1.2 to 3.0 In-Reply-To: <6E05344E8A933549A9F022026B22A1F4BAAAB3@platypus.smi.sendmail.com> References: <6E05344E8A933549A9F022026B22A1F4BAAAB3@platypus.smi.sendmail.com> Message-ID: <1206019151.6954.16.camel@UNIX-TEAM-LACAYO> Hi, I took over monitoring at my shop with Version 1.3 and upgraded to 2.7, but to be honest, the time I spent trying to upgrade, would have been better spent starting from scratch, as you would have the opportunity to do a better job of cleaning unwanted stuff, and you can think your layout a little better. Luis On Wed, 2008-03-19 at 12:11 -0700, Kevin Freels wrote: > > However, as I said, there's no info for 1.x => 2.0 that I could find, > so -- Luis Fernando Lacayo Chicago Public Schools Senior Unix Administrator ITS/ UNIX Infrastructure Office: 773-553-3835 Cell: 773-203-4493 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adesperateuser at googlemail.com Thu Mar 20 14:53:55 2008 From: adesperateuser at googlemail.com (Marcus) Date: Thu, 20 Mar 2008 14:53:55 +0100 Subject: Upgrading from 1.2 to 3.0 In-Reply-To: <6E05344E8A933549A9F022026B22A1F4BAAAB3@platypus.smi.sendmail.com> References: <6E05344E8A933549A9F022026B22A1F4BAAAB3@platypus.smi.sendmail.com> Message-ID: <47E26C73.6080503@googlemail.com> Kevin Freels schrieb: > I need to upgrade our current version from 1.2 to the latest version > (3.0). There's info in the 3.0 documentation for going from 2.x to 3.0, > but not from 1.x, and the 2.x docs don't even speak of upgrading from > 1.x. > > So I was wondering if anyone else has done this, i.e., gone from 1.x to > 3.0 in one fell swoop. It would be a pain to have to upgrade in two > steps from 1.x => 2.0 => 3.0, but I'm willing do it if I have to. > However, as I said, there's no info for 1.x => 2.0 that I could find, so > even that's a questionable proposition. > > What is involved with going from 1.x to 3.0 directly in one jump? Or is > this one of those "better to start off clean" scenarios? Hi Kevin, I recognized, that migrating from 2.10 to 3.0 ended in 4000 unwanted mails over the weekend ... ;-) (Due to a strange notification configuration.) Well, I inherited the old system, and recognized, that it made more sense for me, to start with monitoring some basic systems in 3.0 and getting used to the new system first (since I am quite new to nagios) and then integrating some of the old config-files (host-cfgs). This scenario worked pretty well for me. I don't know how much the config-format has changed since 1.x, maybe you don't have to write everything anew. (My luck was, that we almost exclusivly monitor the up-down-state of 1100 switches and routers, no fancy checks involved.) In the process of upgrading, I used the preflight-check a lot, and when the check-script didn't complain, I restartet or reloaded nagios. How many hosts or services are you monitoring? Do you just use standard plugins? I wish you the best of luck however. Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Thu Mar 20 16:09:23 2008 From: zkenton at outcome.com (zack kenton) Date: Thu, 20 Mar 2008 16:09:23 +0100 (CET) Subject: check_rdiff/NRPE problems Message-ID: <20080320150923.DE14F580023@desire.netways.de> Hi list So I've built a new backup server, and therefore working on nagios checks for all the backups. Everything is working fine, except check_rdiff (which used to work fine on the previous backup server). Im getting the infamous NRPE:unable to read output from the monitoring server. However, I know how its supposed to work with entries in the sudoers file, /usr/bin/sudo before the command in nrpe.cfg, because I had it working on the old backup server. Also, when I su to the nagios user, I ran the exact same command as is in nrpe.cfg and it returns successfully. Any ideas as to why the remote monitoring host cant receive the output. (Not a firewall issue either because all other check work) Thanks in advance. - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 20 16:55:02 2008 From: marc at ena.com (Marc Powell) Date: Thu, 20 Mar 2008 10:55:02 -0500 Subject: check_rdiff/NRPE problems In-Reply-To: <20080320150923.DE14F580023@desire.netways.de> References: <20080320150923.DE14F580023@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of zack kenton > Sent: Thursday, March 20, 2008 10:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_rdiff/NRPE problems > > returns successfully. Any ideas as to why the remote monitoring host cant > receive the output. (Not a firewall issue either because all other check work) > Thanks in advance. What is the value of requiretty in your sudoers file? requiretty If set, sudo will only run when the user is logged in to a real tty. This will disallow things like "rsh somehost sudo ls" since rsh(1) does not allocate a tty. Because it is not possible to turn off echo when there is no tty present, some sites may with to set this flag to prevent a user from entering a visible password. This flag is off by default. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PetterborgCa at ldschurch.org Thu Mar 20 17:06:18 2008 From: PetterborgCa at ldschurch.org (Cary Petterborg) Date: Thu, 20 Mar 2008 10:06:18 -0600 Subject: bug? - After host Scheduled Downtime, alarming services don't send notifications Message-ID: <47E2371A02000048000F68C6@inet-wh2.gmhwh.org> Nagios 2.5: We've had some cases where a host comes out of scheduled downtime, but a service is still in critical. No notifications are sent out about this service. Is this the proper behavior or a bug? We feel it is a bug. If it is a bug, has it been fixed in later releases (later then 2.5)? Also related - If a host comes out of scheduled downtime, and it's still in an alert state, will the notification number be reset or will it continue with an increasing number? We feel it should reset the number, but if it isn't, is there a reason it is not reset? Thanks! Cary ---------------------------------------------------------------------- NOTICE: 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. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Thu Mar 20 18:33:31 2008 From: zkenton at outcome.com (zack kenton) Date: Thu, 20 Mar 2008 18:33:31 +0100 (CET) Subject: check_rdiff/NRPE problems In-Reply-To: References: Message-ID: <20080320173331.DE0C2580023@desire.netways.de> Hi Marc I'm not sure how or where to view your response. All I saw was a > symbol. Thanks - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=10478 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 20 18:41:27 2008 From: marc at ena.com (Marc Powell) Date: Thu, 20 Mar 2008 12:41:27 -0500 Subject: check_rdiff/NRPE problems In-Reply-To: <20080320173331.DE0C2580023@desire.netways.de> References: <20080320173331.DE0C2580023@desire.netways.de> Message-ID: (scroll down) > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of zack kenton > Sent: Thursday, March 20, 2008 12:34 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_rdiff/NRPE problems > > Hi Marc > > I'm not sure how or where to view your response. All I saw was a > symbol. > Thanks There's always the web archives if the message didn't come through to your for some reason -- http://thread.gmane.org/gmane.network.nagios.user/53331/focus=53332 -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Thu Mar 20 20:22:08 2008 From: zkenton at outcome.com (zack kenton) Date: Thu, 20 Mar 2008 20:22:08 +0100 (CET) Subject: check_rdiff/NRPE problems In-Reply-To: References: Message-ID: <20080320192209.20C5A580023@desire.netways.de> Hi Marc scroll down? to where.sorry for being an idiot - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=10482 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 20 20:42:50 2008 From: marc at ena.com (Marc Powell) Date: Thu, 20 Mar 2008 14:42:50 -0500 Subject: check_rdiff/NRPE problems In-Reply-To: <20080320192209.20C5A580023@desire.netways.de> References: <20080320192209.20C5A580023@desire.netways.de> Message-ID: Zack -- Again, this is an e-mail list. If the way that you are accessing (and posting) to the list continues to not work, when will you actually begin utilizing it as intended, through an e-mail client? It is frustrating trying to help you and that is not in your best interest, as has been said before. 4 _extra_ posts to the list, just so you can read an answer. See this link if you continue to insist on using web-interfaces to view the list. http://thread.gmane.org/gmane.network.nagios.user/53331/focus=53332 -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Thu Mar 20 20:54:22 2008 From: caylan at mac.com (Caylan Van Larson) Date: Thu, 20 Mar 2008 14:54:22 -0500 Subject: Missing Macro: $SERVICECONTACTGROUPS$ Message-ID: <3D971C67-93F8-41B8-A9EB-A27D7D895044@mac.com> Our contact group names are modeled after exchange distribution lists. Sometimes notifications are sent to multiple lists (service desk, dev team, oracle team). I need the notification emails to include the short names of the other contact groups (hence distribution list names) configured for the service. I understand that this is not a guarantee that a notification will be sent to all groups (since they could have different notification options). To my surprise Nagios 3 does not include this macro. $SERVICECONTACTGROUPS$ - "A comma separated list of the short names taken from the contact_groups directive of the service definition." In the meantime I can use this ugly hack inside a script to get the list of contact-groups fit for emailing: grep "$SERVICEDESC" ~nagios/var/objects.cache -B 1 -A 3 | grep $HOSTADDRESS -A 5 | grep contact_groups | awk '{print $2}' Thoughts? --- Caylan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colin.mckinnon at gmail.com Fri Mar 21 14:41:27 2008 From: colin.mckinnon at gmail.com (Colin McKinnon) Date: Fri, 21 Mar 2008 13:41:27 +0000 Subject: host status in nagios/var/status.dat Message-ID: Hi all, Having looked at what was avilable (NLG, centreon...) I decided to write my own front end for Nagios. This proved to be quite straightforward (except for sorting out the locking semantics in PHP - but that's another story). The only problem I'm having is that while the status reported in status.dat for services matches the output from the probe (0=OK,1=warn,2=crit,3=unknown) for hosts it seems to record a status of 0 for OK but 1 for critical (down). Is this the way its supposed to work? Or am I missing something? (Nagios 2.10) TIA C. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM d s+:+ a+ C+++(---)$ UL+++ P+(--) L+++ E--- W+++ N++ w-- PS++(+++()) t+ 5+ X R- tv-- b++ DI++ D e+++ h---- ------END GEEK CODE BLOCK------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri Mar 21 16:38:29 2008 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 21 Mar 2008 15:38:29 +0000 Subject: host status in nagios/var/status.dat In-Reply-To: References: Message-ID: <47E3D675.1030100@aidananderson.co.uk> Colin McKinnon wrote: > Hi all, > > Having looked at what was avilable (NLG, centreon...) I decided to > write my own front end for Nagios. This proved to be quite > straightforward (except for sorting out the locking semantics in PHP - > but that's another story). > > The only problem I'm having is that while the status reported in > status.dat for services matches the output from the probe > (0=OK,1=warn,2=crit,3=unknown) for hosts it seems to record a status > of 0 for OK but 1 for critical (down). > > Is this the way its supposed to work? Or am I missing something? > > (Nagios 2.10) > > TIA > > C. > AFAIK this is correct. With services Nagios needs to know the actual state, e.g. Ok, warn, crit, unknown but with hosts all it needs to know is if the host is UP or DOWN hence 0 or 1. regards, Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listes at sbgodin.fr Fri Mar 21 17:07:56 2008 From: listes at sbgodin.fr (Christophe HENRY) Date: Fri, 21 Mar 2008 17:07:56 +0100 Subject: Nagiosgrapher, unexpected decrease of the rows Message-ID: <20080321170756.0228ae77@che-deb.kirchberg.tudor.lu> Hello all, I set up the step at 60 instead of the default, 300, because I want to get performance data every minute instead of 5. But I realized that the RRD now handle only 120 rows instead of the former and good 600. I want to have both "every minute result" and "600 rows". But I didn't find anything good in /etc/nagiosgrapher/ngraph.ncfg, but the step. Where is that "rows" parameter? How to retain huge amount of data? And how to apply the change without loosing any data? Thanks for answer and have a nice week end :-) -- Christophe HENRY http://www.sbgodin.fr/ - site perso ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Fri Mar 21 18:55:31 2008 From: caylan at mac.com (Caylan Van Larson) Date: Fri, 21 Mar 2008 12:55:31 -0500 Subject: Multiple Inheritance Message-ID: <43A20343-8305-4D7A-B8E6-FD51B6A43766@mac.com> Howdy, I'm trying to design a multiple-inheritance structure for a new Nagios 3 setup. Consider the following: define service{ name oracle use fast,default service_description Oracle Server contact_groups +oracle_dba check_command check_nrpe!check_oracle register 0 } define service{ name fast retry_check_interval 2 normal_check_interval 5 register 0 } define service{ name production use default contact_groups prod_responders register 0 } define service{ name filesystem use slow,default contact_groups +storage_admins register 0 } define service{ name slow normal_check_interval 30 register 0 } In this scenario "default" contains the default definitions, this is sometimes written as "generic-service." Now, for some examples: Production Oracle define service{ use oracle,production host_name lnx50 } I expect by using production that prod_responders replaces the default contact_group. Next, the additive (+) inheritance of oracle_dba should create a union between the two contact_groups. Will this declaration work as expected? Next... an Production Oracle Filesystem define service{ use filesystem,oracle,production service_description Filesystem: /oradata host_name lnx50 check_command check_nrpe!check_oradata } I only partially understand the precedence at work here. I understand that it will operate with a "slow" check interval, but what about the contact_groups? Since "filesystem" brings in the default early (with it's own default contact groups), then does it ever add the contact_group oracle_dba, or does it all get replaced by production_responders? Thoughts? --- Caylan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Fri Mar 21 20:14:59 2008 From: caylan at mac.com (Caylan Van Larson) Date: Fri, 21 Mar 2008 14:14:59 -0500 Subject: Multiple Inheritance In-Reply-To: <43A20343-8305-4D7A-B8E6-FD51B6A43766@mac.com> References: <43A20343-8305-4D7A-B8E6-FD51B6A43766@mac.com> Message-ID: I setup a separate Nagios install for testing and verified (through the object pre-cache) that two "used" objects do not result in a union of the contact_groups, even if they both contain the "+" character. Any chance on having this feature added? It seems I need a way to use an object by itself (such as "use oracle"), or in conjunction with other objects like, "use production,oracle." This would be better than having to create separate objects for each case: [dev/test/qa/production] * [oracle/ websphere/host] * [cpu_load/memory/swap/process/filesystem]. --- Caylan On Mar 21, 2008, at 12:55 PM, Caylan Van Larson wrote: > Howdy, > > I'm trying to design a multiple-inheritance structure for a new > Nagios 3 setup. Consider the following: > > > define service{ > name oracle > use fast,default > service_description Oracle Server > contact_groups +oracle_dba > check_command check_nrpe!check_oracle > register 0 > } > > define service{ > name fast > retry_check_interval 2 > normal_check_interval 5 > register 0 > } > > define service{ > name production > use default > contact_groups prod_responders > register 0 > } > > define service{ > name filesystem > use slow,default > contact_groups +storage_admins > register 0 > } > > define service{ > name slow > normal_check_interval 30 > register 0 > } > > In this scenario "default" contains the default definitions, this is > sometimes written as "generic-service." > > Now, for some examples: Production Oracle > > define service{ > use oracle,production > host_name lnx50 > } > > I expect by using production that prod_responders replaces the > default contact_group. Next, the additive (+) inheritance of > oracle_dba should create a union between the two contact_groups. > Will this declaration work as expected? > > Next... an Production Oracle Filesystem > > define service{ > use filesystem,oracle,production > service_description Filesystem: /oradata > host_name lnx50 > check_command check_nrpe!check_oradata > } > > > I only partially understand the precedence at work here. I > understand that it will operate with a "slow" check interval, but > what about the contact_groups? Since "filesystem" brings in the > default early (with it's own default contact groups), then does it > ever add the contact_group oracle_dba, or does it all get replaced > by production_responders? > > Thoughts? > > --- > > Caylan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Fri Mar 21 21:02:00 2008 From: caylan at mac.com (Caylan Van Larson) Date: Fri, 21 Mar 2008 15:02:00 -0500 Subject: Missing Macro: $SERVICECONTACTGROUPS$ In-Reply-To: <3D971C67-93F8-41B8-A9EB-A27D7D895044@mac.com> References: <3D971C67-93F8-41B8-A9EB-A27D7D895044@mac.com> Message-ID: <7F28A238-73A6-4D75-8817-350D7F3BC77A@mac.com> Here's the full hack if anyone is interested. Service Notification command_line $USER3$/scripts/send-email.sh "$NOTIFICATIONTYPE$" "$SERVICEDESC$" "$HOSTALIAS$" "$HOSTADDRESS$" "$SERVICESTATE$" "$LONGDATETIME$" "$SERVICEOUTPUT$$LONGSERVICEOUTPUT$" "$CONTACTGROUPNAME$" "$CONTACTEMAIL$" Host Notification command_line $USER2$/scripts/send-email.sh "$NOTIFICATIONTYPE$" "" "$HOSTALIAS$" "$HOSTADDRESS$" "$HOSTSTATE$" "$LONGDATETIME$" "$HOSTOUTPUT$$LONGHOSTOUTPUT$" "$CONTACTGROUPNAME$" "$CONTACTEMAIL$" send-email.sh #!/bin/bash # Author: Caylan Larson # Date: 3/20/08 # Note: This script is called by ~nagios/etc/commands.cfg to send out # email notifications for both services and hosts. NOTIFICATIONTYPE=$1 SERVICEDESC=$2 # Empty if host notification HOSTALIAS=$3 HOSTADDRESS=$4 STATE=$5 LONGDATETIME=$6 PLUGINOUTPUT=$7 CONTACTGROUPNAME=$8 CONTACTEMAIL=$9 if [ -z $SERVICEDESC ]; then # Send out host notification EMAIL_SUBJECT="Host $STATE alert for $HOSTADDRESS!" GREP_1=$HOSTADDRESS GREP_2='define host {' else # Send out service notification EMAIL_SUBJECT="$STATE $NOTIFICATIONTYPE alert $HOSTADDRESS/ $SERVICEDESC" SERVICE_LINE="Service: $SERVICEDESC" GREP_1=$SERVICEDESC GREP_2=$HOSTADDRESS fi # To make up for an absent macro (below) I coded this hack. Caylan Larson # $SERVICECONTACTGROUPS$ - "A comma separated list of the short names taken from the contact_groups directive of the service definition." SERVICECONTACTGROUPS=$( grep "$GREP_1" ~nagios/var/objects.cache -B 1 - A 3 \ | grep "$GREP_2" -A 5 \ | grep contact_groups \ | awk '{print $2}' \ | sed -r "s/,*$CONTACTGROUPNAME//" \ | sed -r 's/^,|,$//' ) # The 2nd to the last sed removes the current contact group if [ -z "$SERVICECONTACTGROUPS" ]; then SERVICECONTACTGROUPS="NA (Only $CONTACTGROUPNAME)" fi # Send Email cat < Our contact group names are modeled after exchange distribution > lists. Sometimes notifications are sent to multiple lists (service > desk, dev team, oracle team). I need the notification emails to > include the short names of the other contact groups (hence > distribution list names) configured for the service. I understand > that this is not a guarantee that a notification will be sent to all > groups (since they could have different notification options). > > To my surprise Nagios 3 does not include this macro. > > $SERVICECONTACTGROUPS$ - "A comma separated list of the short names > taken from the contact_groups directive of the service definition." > > In the meantime I can use this ugly hack inside a script to get the > list of contact-groups fit for emailing: > > grep "$SERVICEDESC" ~nagios/var/objects.cache -B 1 -A 3 | grep > $HOSTADDRESS -A 5 | grep contact_groups | awk '{print $2}' > > Thoughts? > > --- > > Caylan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From axfet at yahoo.com Sat Mar 22 10:36:47 2008 From: axfet at yahoo.com (=?koi8-r?B?IuHGyc7Px8XOIOzBxNnWyc7Ty8nKIg==?=) Date: Sat, 22 Mar 2008 11:36:47 +0200 Subject: =?koi8-r?B?8M8g0M/Xz8TVINLFy8zBzdk=?= Message-ID: <339080309.24449961580743@yahoo.com> ?????a???? yc???y ?a?co??? p?cc???? ??c?m ?? ??e??????o? ?o??e. ??3??e ????! ???????e? ???????. K????k???e ?a???e: ???e?o?: (495)542 ?9 87 (?. Mo?k??), (8I2) 93I ?9 77 (?????-???????p?) icq: 374-955-553 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ From jmillay at sover.net Sun Mar 23 04:15:38 2008 From: jmillay at sover.net (Jeremiah Millay) Date: Sat, 22 Mar 2008 23:15:38 -0400 Subject: Status.cgi Question Message-ID: <47E5CB5A.4060705@sover.net> Does anyone know the variables I would need to pass to status.cgi to be able to view all problems in one page (host and service combined)? Right now all service problems can be viewed by sending this to status.cgi: status.cgi?host=all&servicestatustypes=28 All host problems can be viewed with this: status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12 I'm basically just trying to create a link for "All Problems" and "All Unhandled Problems" in the nagios menu. That way someone who is watching nagios doesn't have to click between two pages. If anyone has done this with their setup or knows how to do this the help would be greatly appreciated. Thanks in advance, Jeremiah ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Sun Mar 23 06:01:35 2008 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Sun, 23 Mar 2008 10:46:35 +0545 Subject: Host are up but not notified. In-Reply-To: References: <47D81500.2020004@subisu.net.np> Message-ID: <47E5E42F.106@subisu.net.np> Yes this host has the service definitions attached to it. The configuration were the same and it was working well before the upgrade. I was using 2.0b4, later when I upgraded to 2.10 I started facing this sort of issues. Here is the host and its attached service. Host Definition define host{ use generic-host3 host_name wrk_a alias wrk address 192.168.1.5 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } Service Definition define service{ use generic-service4 host_name wrk_a service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 2 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } I am thinking of reverting back to the older version I had. Regards, Gaurav -- Disclaimer: This Email message along with any attachments is intended only for the addressee and may contain confidential and/or privileged information. If you have received this message in error, please notify sender immediately and delete this message from your system. If the reader is not the intended ecipient then any dissemination, distribution or copy of this communication is strictly prohibited. Reasonable precautions have been taken to ensure that this message is virus-free. However, Subisu Cablenet Pvt. Ltd. does not accept responsibility for any loss or damage arising from the use of this message or attachments. Marc Powell wrote: > On Mar 12, 2008, at 12:38 PM, Gaurav Ghimire wrote: > > >> Dear all, >> >> I have noticed a few times that I get notifications when a host goes >> down, but afterwards though the host comes up. I dont get a >> notification >> and the status in nagios is not updated as well i.e, it shows the host >> is still down. And after I restart nagios it notifes and updates it >> status. >> >> > > Does this host have any services associated with it? What is their > status when this problem occurs? Can you post the host definition and > a service definition for the host? > > -- > Marc > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cstamas at digitus.itk.ppke.hu Sun Mar 23 13:20:43 2008 From: cstamas at digitus.itk.ppke.hu (Csillag Tamas) Date: Sun, 23 Mar 2008 13:20:43 +0100 Subject: cgi error: "Could not read object configuration data!" In-Reply-To: <20071217203303.GB3168@digitus> References: <20071217203303.GB3168@digitus> Message-ID: <20080323122043.GD27170@digitus> On Mon, Dec 17, 2007 at 09:33:03PM +0100, Csillag Tamas wrote: > Hi, > > I am using nagios 2.0b1 since it came out and I plan to upgrade to 3.x. > > I set up a new machine to test out everything. I made a debian package > (on a separate host) version 30b7 and 30rc1 and installed it to the > target machine. I copied there all the configuration files too from my > old install. > > nagios -v nagios.cfg > show no errors and I can start nagios and it seems to run fine. > > However I have issues with the cgi interface. I get > Error: Could not read object configuration data! > > If I remove most part of the services.cfg file (and restart nagios) the > cgis work fine. I could not identify which part causes the problem > (maybe a size issue?). > > As far as I see the cgis have problems with the objects cache nagios > generates. > or Maybe I am wrong and made a mistake. I am not sure. > > Could you help me, how to solve the problem? Hi, Just wanted you to know that the problem has been fixed by the stable 3.0 version. -- Regards, cstamas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Mar 23 14:49:34 2008 From: marc at ena.com (Marc Powell) Date: Sun, 23 Mar 2008 08:49:34 -0500 Subject: Host are up but not notified. In-Reply-To: <47E5E42F.106@subisu.net.np> References: <47D81500.2020004@subisu.net.np> <47E5E42F.106@subisu.net.np> Message-ID: <6257E86A-BEFB-41C5-9CCF-7F9A6AD7D198@ena.com> On Mar 23, 2008, at 12:01 AM, Gaurav Ghimire wrote: > > Marc Powell wrote: >> >> Does this host have any services associated with it? What is their >> status when this problem occurs? Can you post the host definition and >> a service definition for the host? > Yes this host has the service definitions attached to it. The > configuration were the same and it was working well before the > upgrade. I was using 2.0b4, later when I upgraded to 2.10 I started > facing this sort of issues. There are no known issues with any version of nagios like this. > Here is the host and its attached service. > > Host Definition > > define host{ > use generic-host3 > host_name wrk_a > alias wrk > address 192.168.1.5 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } Looks fine. The implication then is that your check-host-alive command doesn't actually do that. The status information at the time this happens would be the confirmation of that. When a service goes down, check-host-alive is run. If it returns a non-OK state (or fails in certain ways), the host status is set to non-OK. When the service recovers, check-host-alive is run again to verify that the host has recovered. If it still returns a non-OK state (or fails in certain ways), the host status will remain non-OK. When you restart nagios, check-host-alive is _not_ run. Instead, nagios assumes the host is OK as long as the service on the host returns OK. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Sun Mar 23 15:18:32 2008 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Sun, 23 Mar 2008 20:03:32 +0545 Subject: Host are up but not notified. In-Reply-To: <6257E86A-BEFB-41C5-9CCF-7F9A6AD7D198@ena.com> References: <47D81500.2020004@subisu.net.np> <47E5E42F.106@subisu.net.np> <6257E86A-BEFB-41C5-9CCF-7F9A6AD7D198@ena.com> Message-ID: <47E666B8.3040605@subisu.net.np> Ok than had it been the issue with the check-host-alive command I am using it should be the same with other versions of nagios as well right?...I reverted back to 2.0b4 and its working fine now..explicitly had some tests. Outputs were as expected! None problems faced then. However I will test 2.10 again and cross check the check-host-alive and other services run. Thanks n Regards, Gaurav -- Disclaimer: This Email message along with any attachments is intended only for the addressee and may contain confidential and/or privileged information. If you have received this message in error, please notify sender immediately and delete this message from your system. If the reader is not the intended ecipient then any dissemination, distribution or copy of this communication is strictly prohibited. Reasonable precautions have been taken to ensure that this message is virus-free. However, Subisu Cablenet Pvt. Ltd. does not accept responsibility for any loss or damage arising from the use of this message or attachments. Marc Powell wrote: > On Mar 23, 2008, at 12:01 AM, Gaurav Ghimire wrote: > > > > >> Marc Powell wrote: >> >>> Does this host have any services associated with it? What is their >>> status when this problem occurs? Can you post the host definition and >>> a service definition for the host? >>> >> Yes this host has the service definitions attached to it. The >> configuration were the same and it was working well before the >> upgrade. I was using 2.0b4, later when I upgraded to 2.10 I started >> facing this sort of issues. >> > > There are no known issues with any version of nagios like this. > > >> Here is the host and its attached service. >> >> Host Definition >> >> define host{ >> use generic-host3 >> host_name wrk_a >> alias wrk >> address 192.168.1.5 >> check_command check-host-alive >> max_check_attempts 10 >> notification_interval 120 >> notification_period 24x7 >> notification_options d,r >> contact_groups admins >> } >> > > Looks fine. The implication then is that your check-host-alive command > doesn't actually do that. The status information at the time this > happens would be the confirmation of that. When a service goes down, > check-host-alive is run. If it returns a non-OK state (or fails in > certain ways), the host status is set to non-OK. When the service > recovers, check-host-alive is run again to verify that the host has > recovered. If it still returns a non-OK state (or fails in certain > ways), the host status will remain non-OK. When you restart nagios, > check-host-alive is _not_ run. Instead, nagios assumes the host is OK > as long as the service on the host returns OK. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Sun Mar 23 19:10:45 2008 From: andurin at process-zero.de (=?UTF-8?B?SGVuZHJpayBCworDpGNrZXI=?=) Date: Sun, 23 Mar 2008 19:10:45 +0100 Subject: Status.cgi Question In-Reply-To: <47E5CB5A.4060705@sover.net> References: <47E5CB5A.4060705@sover.net> Message-ID: <47E69D25.90901@process-zero.de> Jeremiah Millay schrieb: > Does anyone know the variables I would need to pass to status.cgi to be > able to view all problems in one page (host and service combined)? > > Right now all service problems can be viewed by sending this to status.cgi: > > status.cgi?host=all&servicestatustypes=28 > > All host problems can be viewed with this: > > status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12 > > I'm basically just trying to create a link for "All Problems" and "All > Unhandled Problems" in the nagios menu. That way someone who is watching > nagios doesn't have to click between two pages. > > What about: status.cgi?host=all&type=detail&hoststatustypes=12&serviceprops=42&servicestatustypes=28 This should show all hosts in detail, with the following filter: * only hosts that are DOWN/Unreachable or UNKNOWN * only services that are Warning or Unknown or Critical * only services that have: * active checks enabled * unacknowledged * not in downtime If you would set the downtime/acknowledge filter on hosts too it should be able with: hostprops=42 Regards Hendrik ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tkang1 at gmail.com Mon Mar 24 09:34:33 2008 From: tkang1 at gmail.com (Taeho Kang) Date: Mon, 24 Mar 2008 17:34:33 +0900 Subject: Communication protocol/channel for Nagios/NRPE Message-ID: <279a90ff0803240134i51ccd953nd72c2654280896e6@mail.gmail.com> Hello all, I am interested in knowing what protocols are used to facilitate communications in Nagios/NRPE. The documentation mentions about "optional SSL" and SSH, and when I looked at the code for NRPE, it looks like just regular plain sockets are used. Are there any more info? Any tips/advice will be greatly appreciated! Thank you all in advance. Regards, Taeho -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Fay at hansgrohe.com Mon Mar 24 10:01:25 2008 From: Matthias.Fay at hansgrohe.com (Matthias.Fay at hansgrohe.com) Date: Mon, 24 Mar 2008 10:01:25 +0100 Subject: =?iso-8859-1?q?Matthias_Fay_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 23.03.2008 nicht im B?ro sein. Ich kehre zur?ck am 30.03.2008. I will be out of the office starting 23.03.2008 and will not return until 30.03.2008. Bei Fragen und Problemen wenden Sie sich bitte an die Hansgrohe Hotline. Please contact the Hansgrohe Hotline if you have any further questions. Hotline: +49 (0)7836 / 51 1000 -------------------------------------------------------------------- Hansgrohe AG Sitz: Auestr. 5-9 D-77761 Schiltach Tel.: +49 7836 51-0 Fax: +49 7836 51-1300 e-mail: info at hansgrohe.com internet: http://www.hansgrohe.com Handelsregister Amtsgericht Stuttgart HRB 481038 UST.-IDNR.: DE 812782725 Vorstand: Klaus Grohe (Vorsitzender), Siegfried Gaensslen (Stellvertretender Vorsitzender), Richard Grohe, Karl-Heinz Hammann, Otto Schinle, Dr. Nicholas Matten (Stellvertretender Vorstand) Aufsichtsratsvorsitzender: Lau Frandsen -------------------------------------------------------------------- Diese E-Mail enth?lt vertrauliche und / oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. AG ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinm at honeycomb.net Mon Mar 24 19:47:12 2008 From: justinm at honeycomb.net (Justin Maloney) Date: Mon, 24 Mar 2008 13:47:12 -0500 Subject: SMTP check Message-ID: <64975B31C6249247A722D0610F4110F76A8E20@hive.officespace.honeycomb.net> Anyone know of a way to test mail through-put with out sending an actual message? The SMTP plugin doesn't care what it gets for a reply so you don't know if the server would have accepted the message. Basically I want to check every few hours if Hotmail, Yahoo, Google, MSN, etc. will accept messages from my various mail servers with out having to get accounts on each and clean up messages. Since a lot of these companies don't use open DNSBL lists I hopped someone else would have run into it. Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfaulkne at icontact.com Mon Mar 24 19:51:10 2008 From: jfaulkne at icontact.com (Jason L. Faulkner) Date: Mon, 24 Mar 2008 14:51:10 -0400 (EDT) Subject: SMTP check In-Reply-To: <64975B31C6249247A722D0610F4110F76A8E20@hive.officespace.honeycomb.net> References: <64975B31C6249247A722D0610F4110F76A8E20@hive.officespace.honeycomb.net> Message-ID: <17645753.22161206384670088.JavaMail.root@mail.broadwick.com> The way we solve this problem is running cronjobs across the maillogs, looking for the reject messages for the various domains we care about. Usually we make this an email to our abuse team, but I'm sure once you get the "does it work?" result, it could easily be changed into a passive nagios check report. -- Jason Faulkner Lead Systems Engineer iContact Corporation ----- Original Message ----- From: "Justin Maloney" To: nagios-users at lists.sourceforge.net Sent: Monday, March 24, 2008 2:47:12 PM (GMT-0500) America/New_York Subject: [Nagios-users] SMTP check Anyone know of a way to test mail through-put with out sending an actual message? The SMTP plugin doesn?t care what it gets for a reply so you don?t know if the server would have accepted the message. Basically I want to check every few hours if Hotmail, Yahoo, Google, MSN, etc. will accept messages from my various mail servers with out having to get accounts on each and clean up messages. Since a lot of these companies don?t use open DNSBL lists I hopped someone else would have run into it. Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at frozenatom.com Mon Mar 24 21:47:03 2008 From: matt at frozenatom.com (Matt Nelson) Date: Mon, 24 Mar 2008 14:47:03 -0600 Subject: Daily "I'm OK" notification Message-ID: <148f6bb30803241347t6d8b989cu591c0e4cc88e0c3e@mail.gmail.com> I currently have a nagios command check_daily.sh that returns: "Modem OK - Hosts: 74/74 OK - Services: 280/280 OK" and returns a value of 0, STATE_OK. I would like this to run daily and send the string above via sms. The problem that I can't figure out is how do I run this command as a service, let it run ok, but still trigger a notification to be sent. I know I could have it return 1, 2, or 3 but then I have a ugly red, orange, or yellow status in the "Service Status Totals" all the time. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfaulkne at icontact.com Mon Mar 24 21:50:41 2008 From: jfaulkne at icontact.com (Jason L. Faulkner) Date: Mon, 24 Mar 2008 16:50:41 -0400 (EDT) Subject: Daily "I'm OK" notification In-Reply-To: <148f6bb30803241347t6d8b989cu591c0e4cc88e0c3e@mail.gmail.com> References: <148f6bb30803241347t6d8b989cu591c0e4cc88e0c3e@mail.gmail.com> Message-ID: <24094927.28291206391841371.JavaMail.root@mail.broadwick.com> Seems to me that if you want it to send every day no matter what, you might just want to use cron or atd, not nagios. ----- Original Message ----- From: "Matt Nelson" To: nagios-users at lists.sourceforge.net Sent: Monday, March 24, 2008 4:47:03 PM (GMT-0500) America/New_York Subject: [Nagios-users] Daily "I'm OK" notification I currently have a nagios command check_daily.sh that returns: "Modem OK - Hosts: 74/74 OK - Services: 280/280 OK" and returns a value of 0, STATE_OK. I would like this to run daily and send the string above via sms. The problem that I can't figure out is how do I run this command as a service, let it run ok, but still trigger a notification to be sent. I know I could have it return 1, 2, or 3 but then I have a ugly red, orange, or yellow status in the "Service Status Totals" all the time. -- Jason Faulkner Lead Systems Engineer iContact Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at frozenatom.com Mon Mar 24 21:56:36 2008 From: matt at frozenatom.com (Matt Nelson) Date: Mon, 24 Mar 2008 14:56:36 -0600 Subject: Daily "I'm OK" notification In-Reply-To: <24094927.28291206391841371.JavaMail.root@mail.broadwick.com> References: <148f6bb30803241347t6d8b989cu591c0e4cc88e0c3e@mail.gmail.com> <24094927.28291206391841371.JavaMail.root@mail.broadwick.com> Message-ID: <148f6bb30803241356r6015a1e8raeb84125f09ef9e5@mail.gmail.com> On Mon, Mar 24, 2008 at 2:50 PM, Jason L. Faulkner wrote: > Seems to me that if you want it to send every day no matter what, you > might just want to use cron or atd, not nagios. > > > ----- Original Message ----- > From: "Matt Nelson" > To: nagios-users at lists.sourceforge.net > Sent: Monday, March 24, 2008 4:47:03 PM (GMT-0500) America/New_York > Subject: [Nagios-users] Daily "I'm OK" notification > > I currently have a nagios command check_daily.sh that returns: > > "Modem OK - Hosts: 74/74 OK - Services: 280/280 OK" > > and returns a value of 0, STATE_OK. I would like this to run daily and > send the > string above via sms. > > The problem that I can't figure out is how do I run this command as a > service, let it run ok, but still trigger a notification to be sent. I know > I could have it return 1, 2, or 3 but then I have a ugly red, orange, or > yellow status in the "Service Status Totals" all the time. > > > -- > Jason Faulkner > Lead Systems Engineer > iContact Corporation > > I would do this but I would like to send it from the actual nagios daemon. I have been burned in the past with incorrect permissions set on the sms binary, etc to where the notification went out fine as root, but when nagios actually went to try it as the nagios user, it did not have rights. Also we use some groundworks and its tests use the nobody user which adds another user that we had to deal with, etc... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From augusts at gmail.com Mon Mar 24 23:44:47 2008 From: augusts at gmail.com (August Simonelli) Date: Tue, 25 Mar 2008 09:44:47 +1100 Subject: solaris snmp memory check question - plugin Message-ID: <46fa40c10803241544q6efb42fdrf42f0e1d9d9740f@mail.gmail.com> hi all, not sure if there is a plugins list i could send this to so apologies if it's misdirected. i've been using check_snmp_mem.pl from //www.manubulon.com/nagios/ for remote checking of memory. i recently implemented it against solaris 9 and 10 running net-snmp 5.0.9: bash-3.00# /usr/sfw/sbin/snmpd -v NET-SNMP version: 5.0.9 Web: http://www.net-snmp.org/ Email: net-snmp-coders at lists.sourceforge.net unfortunately one of the OIDs doesn't answer: [root at monitor01 libexec]# snmpget -v 1 -c mycommunity 1.2.3.4 " 1.3.6.1.4.1.2021.4.15.0" Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: UCD-SNMP-MIB::memCached.0 Does anyone know another oid i could query to get this value? Or perhaps share a workaround/solution you may have found? I've snmpwalked but don't really understand why this oid fails (something about solaris not using this concept of cached memory?). thanks, august -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Mar 24 23:52:36 2008 From: Roger at NagiosWiki.com (Roger) Date: Mon, 24 Mar 2008 15:52:36 -0700 Subject: using DNX to run 30K service checks? Message-ID: <2b7af7c40803241552y767679b2u8d67c4f77c7af1a4@mail.gmail.com> Someone just showed me a real life scenario with ~30K service checks, and I am wondering if DNX would be the best way to distribute these checks? (I'm guessing that doing this via NSCA would be too cumbersome) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrassic at gmail.com Tue Mar 25 00:52:36 2008 From: agrassic at gmail.com (Antonio Grassi) Date: Mon, 24 Mar 2008 20:52:36 -0300 Subject: Daily "I'm OK" notification In-Reply-To: <148f6bb30803241356r6015a1e8raeb84125f09ef9e5@mail.gmail.com> References: <148f6bb30803241347t6d8b989cu591c0e4cc88e0c3e@mail.gmail.com> <24094927.28291206391841371.JavaMail.root@mail.broadwick.com> <148f6bb30803241356r6015a1e8raeb84125f09ef9e5@mail.gmail.com> Message-ID: <47E83EC4.1080501@gmail.com> Maybe you can send the sms inside the check_daily.sh script. You can't use the notification logic (particularly, you can't use the service contacts configuration), but it's a very simple mechanism, done from inside the Nagios daemon. That's what I'm actually doing for a "I'm OK" notification. There is also the SEND_CUSTOM_SVC_NOTIFICATION external command, which could be useful (if you are using Nagios 3). Regards, Antonio Matt Nelson escribi?: > > > On Mon, Mar 24, 2008 at 2:50 PM, Jason L. Faulkner > > wrote: > > Seems to me that if you want it to send every day no matter what, > you might just want to use cron or atd, not nagios. > > > ----- Original Message ----- > From: "Matt Nelson" > > To: nagios-users at lists.sourceforge.net > > Sent: Monday, March 24, 2008 4:47:03 PM (GMT-0500) America/New_York > Subject: [Nagios-users] Daily "I'm OK" notification > > I currently have a nagios command check_daily.sh that returns: > > "Modem OK - Hosts: 74/74 OK - Services: 280/280 OK" > > and returns a value of 0, STATE_OK. I would like this to run > daily and send the > string above via sms. > > The problem that I can't figure out is how do I run this command > as a service, let it run ok, but still trigger a notification to > be sent. I know I could have it return 1, 2, or 3 but then I have > a ugly red, orange, or yellow status in the "Service Status > Totals" all the time. > > > -- > Jason Faulkner > Lead Systems Engineer > iContact Corporation > > I would do this but I would like to send it from the actual nagios > daemon. I have been burned in the past with incorrect permissions set > on the sms binary, etc to where the notification went out fine as > root, but when nagios actually went to try it as the nagios user, it > did not have rights. Also we use some groundworks and its tests use > the nobody user which adds another user that we had to deal with, etc... > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.hookins at anchor.com.au Tue Mar 25 01:16:58 2008 From: oliver.hookins at anchor.com.au (Oliver Hookins) Date: Tue, 25 Mar 2008 11:16:58 +1100 Subject: host status in nagios/var/status.dat In-Reply-To: <47E3D675.1030100@aidananderson.co.uk> References: <47E3D675.1030100@aidananderson.co.uk> Message-ID: <20080325001658.GA7378@captain.bridge.anchor.net.au> On Fri Mar 21, 2008 at 15:38:29 +0000, Aidan Anderson wrote: >Colin McKinnon wrote: >> Hi all, >> >> Having looked at what was avilable (NLG, centreon...) I decided to >> write my own front end for Nagios. This proved to be quite >> straightforward (except for sorting out the locking semantics in PHP - >> but that's another story). >> >> The only problem I'm having is that while the status reported in >> status.dat for services matches the output from the probe >> (0=OK,1=warn,2=crit,3=unknown) for hosts it seems to record a status >> of 0 for OK but 1 for critical (down). >> >> Is this the way its supposed to work? Or am I missing something? >> >> (Nagios 2.10) >> >> TIA >> >> C. >> >AFAIK this is correct. With services Nagios needs to know the actual >state, e.g. Ok, warn, crit, unknown but with hosts all it needs to know >is if the host is UP or DOWN hence 0 or 1. Kinda... specifically: 0 - OK 1 - DOWN 2 - UNREACHABLE -- Regards, Oliver Hookins Anchor Systems ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 25 11:02:51 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 25 Mar 2008 10:02:51 +0000 Subject: backing up nagios Message-ID: <4b008f7d0803250302s829e165y3813890afce7a63@mail.gmail.com> Hi Guys, I want to migrate nagios to another server and I want to be able to keep all the information i.e. downtimes, log files, trends etc from the backup. What files should I backup in order to achieve this? Regards, -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.sauter at viastore.de Tue Mar 25 12:31:15 2008 From: t.sauter at viastore.de (Sauter, Thorsten) Date: Tue, 25 Mar 2008 12:31:15 +0100 Subject: New Plugins for Windows systems Message-ID: Hello nagios users, I have writte some checkripts to monitor windows systems. I think some of these scripts could be helpful for other Nagios users too. For this readon I have published my scripts on sourceforge.org [http://sourceforge.net/projects/nagiosplugincol/]. All scripts are written in Python 2.5 and using the Python Win32-API or the Microsoft WMI interface. No external commands are required /needs to be parsed at the moment. All scripts are published under the terms of the GPL. The download area contains precompiled binaries for Windows 32 bit systems. These binaries can simply used the NRPE, NC_Net or any other Nagios remote client. At the moment, the following monitoring scripts are available: * check_groupshield Checks the update status of the engine, the dat version and the antispam engine/dat files of the McAfee GroupShield 6.x for Exchange 200x. * check_ipconfig Make sure all required ip addresses and correct subnet masks are configured on the correct interface * check_mscluster This script can check the normal healthy status of a Microsoft(TM) Windows cluster. It can also check the status of several resource or groups. * check_netshares Make sure, the machine offerts all requested NetBios shares. This script does not validate the ACL permissions yet. * check_onlineupdates/inspect_onlineupdates The inspect_onlineupdates script search for new available Windows online updates and store them into a database. (Run this script from task scheduler regularly). The corresponding check script evaluate the database and alert if updates are pending or a reboot is required. * check_perfcounter To monitor performance counters on a machine this script can be used. It query the specified performance counter and alter if a value is too high. * check_printers Check the status of all printers on a Windows printserver. Can alert if a printer has a non-healthy state or if the queue contains too much print jobs. * check_processes Alerts if a process is not running, too much process, too little processes and so on. The syntax of the tests is stolen from the Unix test(1) command. * check_service Make sure all automatic services are running. Or if special services are specified, this script checks if they are running. * check_shadowcopy Count the created snapshots of a volume and alters if not enough snapshots are created; or if the last created snapshot is too old. * check_taskscheduler Reports errors if a scheduled task has not been started yet, or the task returns wich an non-success value. * check_tcp This is a simple clone of the check_tcp script from the Nagios plugin package which runs under windows which a compiler. Not all options are supported yet. * check_uptime Make sure the system is not in safe-mode. Alerts if the uptime is lower then a specified time and if the system was rebooted unexepectedly (system log). * check_virusscan This is the counter part of the check_groupshield script, but I checks the update status of a McAfee AntiVirus 8.5i installation: Engine, Dat. * check_quota (unfinished) Feedback, bugreports or patches are always welcome of course. Regards, Thorsten Sauter Gesch?ftsf?hrer/Managing Directors: Christoph Hahn-Woernle, Peter W. H?lsig, Frank Apel HRB 17335, Amtsgericht Stuttgart (Commercial Register District Court Stuttgart) St.-Nr. 99064/06051, USt-IdNr./VAT-idNo: DE 203036780 -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 25 12:31:43 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 25 Mar 2008 11:31:43 +0000 Subject: backing up nagios In-Reply-To: References: Message-ID: <4b008f7d0803250431i39da4ce3ld2dea6d6ce7f4507@mail.gmail.com> So, I should re-install nagios on new server and override var directory in nagios with the backedup version? On Tue, Mar 25, 2008 at 11:28 AM, Valdinger, Stephen (DOV, MSX) < svalding at doverchem.com> wrote: > Everything in the nagios /var directory should do the trick. > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > 330.365.3622 -O > > 740.491.0958 - C > > svalding at doverchem.com > > > > Ubuntu - African for "I can't configure Debian!" > > > > *From:* Alex Dehaini [mailto:alexdehaini at gmail.com] > *Sent:* Tuesday, March 25, 2008 6:03 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] backing up nagios > > > > Hi Guys, > > > > I want to migrate nagios to another server and I want to be able to keep > all the information i.e. downtimes, log files, trends etc from the backup. > What files should I backup in order to achieve this? > > > > Regards, > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 15054 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Mar 25 12:46:21 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 25 Mar 2008 11:46:21 +0000 Subject: backing up nagios In-Reply-To: References: Message-ID: <4b008f7d0803250446w19cabd9drb233c75c6c33fc1c@mail.gmail.com> Let me do that asap. Thanks On Tue, Mar 25, 2008 at 11:40 AM, Valdinger, Stephen (DOV, MSX) < svalding at doverchem.com> wrote: > Yup, that should do it. If this is an identical install just on new > hardware, you should migrate over your /etc directory so you don't have to > set up definitions again, and that way your retention data and logs will be > accurate. It is pretty easy to migrate from one box to the next. > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > 330.365.3622 -O > > 740.491.0958 - C > > svalding at doverchem.com > > > > Ubuntu - African for "I can't configure Debian!" > > > > *From:* Alex Dehaini [mailto:alexdehaini at gmail.com] > *Sent:* Tuesday, March 25, 2008 7:32 AM > *To:* Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] backing up nagios > > > > So, I should re-install nagios on new server and override var directory in > nagios with the backedup version? > > On Tue, Mar 25, 2008 at 11:28 AM, Valdinger, Stephen (DOV, MSX) < > svalding at doverchem.com> wrote: > > Everything in the nagios /var directory should do the trick. > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > 330.365.3622 -O > > 740.491.0958 - C > > svalding at doverchem.com > > > > Ubuntu - African for "I can't configure Debian!" > > > > *From:* Alex Dehaini [mailto:alexdehaini at gmail.com] > *Sent:* Tuesday, March 25, 2008 6:03 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] backing up nagios > > > > Hi Guys, > > > > I want to migrate nagios to another server and I want to be able to keep > all the information i.e. downtimes, log files, trends etc from the backup. > What files should I backup in order to achieve this? > > > > Regards, > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 15054 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Tue Mar 25 13:38:45 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 25 Mar 2008 12:38:45 +0000 (GMT) Subject: SNMP/Windows disk usage In-Reply-To: References: Message-ID: <916749.43207.qm@web26209.mail.ukl.yahoo.com> Hi again, Do you have an idea why check_snmp_windows_disk displays: Additional Info: D: in its warning message even if the partition that is full is E: for example? thanks --- Marc Powell wrote: > > > > -----Original Message----- > > From: Melanie Pfefer > [mailto:melanie_pfefer at yahoo.co.uk] > > Sent: Thursday, February 28, 2008 11:08 AM > > To: Marc Powell; > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] SNMP/Windows disk > usage > > > > Hello and thanks bunches > > > > When some machines are overloaded, the snmp alert > is > > sent. How to increase the alert period so that I > do > > not receive this alert frequently. > > Clarify your question please. > > "The service isn't down long enough before I receive > a notification" - > Increase max_check_attempts. > > "The service is hard down and I've received a > notification. I want to > increase the time before a re-notification will be > sent" - Increase > notification_interval or look at escalations. > > "Other..." - ? > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________________________________ Sent from Yahoo! Mail. More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmorris at wrightmed.com Tue Mar 25 13:47:24 2008 From: jmorris at wrightmed.com (Morris, Josh) Date: Tue, 25 Mar 2008 07:47:24 -0500 Subject: Tends Report Not Working Message-ID: <4D438C6202ADF041A2FA9A8353544799B64D4A@wmcex.wmcmed.com> I upgraded my 2.11 version to 3.0 stable today. Everything is working great except for the trends reporting. I am getting the following error when I try to run trends report. "It appears as though you are not authorized to view information for the specified host..." I have looked at the other posts but I haven't seen a fix for it yet. Is there a fix for this issue yet? Thanks Josh Morris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adesperateuser at googlemail.com Tue Mar 25 14:18:20 2008 From: adesperateuser at googlemail.com (Marcus) Date: Tue, 25 Mar 2008 14:18:20 +0100 Subject: Tends Report Not Working In-Reply-To: <4D438C6202ADF041A2FA9A8353544799B64D4A@wmcex.wmcmed.com> References: <4D438C6202ADF041A2FA9A8353544799B64D4A@wmcex.wmcmed.com> Message-ID: <47E8FB9C.6090404@googlemail.com> Morris, Josh schrieb: > Is there a fix for this issue yet? I don't think so. Greetz, Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at infotility.com Tue Mar 25 19:26:19 2008 From: robert at infotility.com (Robert Dodier) Date: Tue, 25 Mar 2008 12:26:19 -0600 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg Message-ID: <805675760803251126w57a1158fvdaea8bba4eb23a32@mail.gmail.com> Hello, I have installed Nagios 3.0 by building RPM's from the source code tarballs. The host system is CentOS 4. I am following the steps shown in the Fedora quick start guide. http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html I have run sudo /usr/sbin/nagios -v /etc/nagios/nagios.cfg and fixed some things (updating paths as shown in nagios.cfg to actual paths). However now I am getting this: Error: Unexpected token or statement in file '/etc/nagios/command.cfg' on line 33. The offending line is this. It is the first non-comment line in the file. command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ What's wrong with this? What can I do at this point to make Nagios happy? Thanks in advance for any advice. Robert Dodier ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 25 19:41:00 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Mar 2008 13:41:00 -0500 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: <805675760803251126w57a1158fvdaea8bba4eb23a32@mail.gmail.com> References: <805675760803251126w57a1158fvdaea8bba4eb23a32@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Dodier > Sent: Tuesday, March 25, 2008 1:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios fails pre-launch verification step;"Unexpected > token or statement" in command.cfg > > Hello, > > I have installed Nagios 3.0 by building RPM's from the source code tarballs. > The host system is CentOS 4. > > command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s > '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ > > What's wrong with this? What can I do at this point to make Nagios happy? This is either old Netsaint command syntax or NRPE syntax but definitely not Nagios syntax. Nagios doesn't understand this. See http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command or the sample config files distributed with nagios. Also note that the $OUTPUT$ macro is not valid either. You're probably looking for $HOSTOUTPUT$ or $SERVICEOUTPUT$ (http://nagios.sourceforge.net/docs/3_0/macros.html). -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at infotility.com Tue Mar 25 21:38:35 2008 From: robert at infotility.com (Robert Dodier) Date: Tue, 25 Mar 2008 14:38:35 -0600 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: References: <805675760803251126w57a1158fvdaea8bba4eb23a32@mail.gmail.com> Message-ID: <805675760803251338s1d817f2fm90a63c4c83b2a7d3@mail.gmail.com> On Tue, Mar 25, 2008 at 12:41 PM, Marc Powell wrote: > > command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s > > '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ > > > > What's wrong with this? What can I do at this point to make Nagios > > happy? > > This is either old Netsaint command syntax or NRPE syntax but definitely > not Nagios syntax. Marc, thanks for your reply. It seems that the old format can be converted by the convertcfg program as mentioned in this message. http://osdir.com/ml/network.nagios.plugins/2003-06/msg00003.html After I convert command.cfg, I get some other, different errors, which I'm wading through now. It seems like the packaging is a little out of date; I wouldn't expect the latest & greatest tarball to contain configuration files with the wrong format. Oh well. Robert Dodier ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 25 22:12:05 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Mar 2008 16:12:05 -0500 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: <805675760803251338s1d817f2fm90a63c4c83b2a7d3@mail.gmail.com> References: <805675760803251338s1d817f2fm90a63c4c83b2a7d3@mail.gmail.com> Message-ID: > -----Original Message----- > From: Robert Dodier [mailto:robert at infotility.com] > Sent: Tuesday, March 25, 2008 3:39 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios fails pre-launch verification step; > "Unexpected token or statement" in command.cfg > > On Tue, Mar 25, 2008 at 12:41 PM, Marc Powell wrote: > It seems like the packaging is a little out of date; I wouldn't expect > the latest & greatest tarball to contain configuration files with the > wrong format. Oh well. I checked before responding. The example config files are in the correct format. I'm not sure where you got these but I assure you it wasn't from the distribution nagios tarball. This format hasn't been used or distributed for probably 5 years or more. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Tue Mar 25 22:14:10 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 25 Mar 2008 21:14:10 +0000 (GMT) Subject: SNMP/Windows disk usage In-Reply-To: <916749.43207.qm@web26209.mail.ukl.yahoo.com> References: <916749.43207.qm@web26209.mail.ukl.yahoo.com> Message-ID: <951955.67770.qm@web26202.mail.ukl.yahoo.com> Sorry to keep this thread on. I reproduced the problem: copy a large file to E: nagios did send a warning message but on D: instead of E: in the "additional info" It sent another message when I deleted the file but it indicated D: not E: again Any idea where this "additional info" is defined? thanks bunches --- Melanie Pfefer wrote: > Hi again, > > Do you have an idea why check_snmp_windows_disk > displays: > > Additional Info: > > D: > > in its warning message even if the partition that is > full is E: for example? > > thanks > > --- Marc Powell wrote: > > > > > > > > -----Original Message----- > > > From: Melanie Pfefer > > [mailto:melanie_pfefer at yahoo.co.uk] > > > Sent: Thursday, February 28, 2008 11:08 AM > > > To: Marc Powell; > > nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] SNMP/Windows disk > > usage > > > > > > Hello and thanks bunches > > > > > > When some machines are overloaded, the snmp > alert > > is > > > sent. How to increase the alert period so that I > > do > > > not receive this alert frequently. > > > > Clarify your question please. > > > > "The service isn't down long enough before I > receive > > a notification" - > > Increase max_check_attempts. > > > > "The service is hard down and I've received a > > notification. I want to > > increase the time before a re-notification will be > > sent" - Increase > > notification_interval or look at escalations. > > > > "Other..." - ? > > > > -- > > Marc > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio > > 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > __________________________________________________________ > Sent from Yahoo! Mail. > More Ways to Keep in Touch. > http://uk.docs.yahoo.com/nowyoucan.html > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > __________________________________________________________ Sent from Yahoo! Mail. More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Tue Mar 25 22:29:25 2008 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Tue, 25 Mar 2008 22:29:25 +0100 Subject: negative value appears like possitive Message-ID: <53317ec10803251429w34229092l3e06b48ad0d8b062@mail.gmail.com> hi all, i am trying to get a value og the a signal in dBm, and it is negative, but in the interface it appears like positive. I am running nagios2.11 and i use check_snmp pluggin from nagios pluggins-1.4.11. i haver read the usage help but i didn't find any option to solve... anyone knows if it is possible to solve it? would be posible to add a constant to the read number? thanks again -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Mar 25 22:34:07 2008 From: Roger at NagiosWiki.com (Roger) Date: Tue, 25 Mar 2008 14:34:07 -0700 Subject: tier 3 nagios support needed Message-ID: <2b7af7c40803251434q547d85edh5eae903701597ce7@mail.gmail.com> If anyone is in (or is looking to move to) Southern CA (in Newport Beach) and does tier 3 level Nagios work, please email me I can refer you to an integrator that is hiring full time people in that area. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at infotility.com Tue Mar 25 22:39:49 2008 From: robert at infotility.com (Robert Dodier) Date: Tue, 25 Mar 2008 15:39:49 -0600 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: References: <805675760803251338s1d817f2fm90a63c4c83b2a7d3@mail.gmail.com> Message-ID: <805675760803251439m36dc9fb6q73cb06a5300f65fe@mail.gmail.com> On Tue, Mar 25, 2008 at 3:12 PM, Marc Powell wrote: > > It seems like the packaging is a little out of date; I wouldn't expect > > the latest & greatest tarball to contain configuration files with the > > wrong format. Oh well. > > I checked before responding. The example config files are in the correct > format. I'm not sure where you got these but I assure you it wasn't from > the distribution nagios tarball. I assure that it was indeed. I went to http://www.nagios.org/download/ and clicked the button to download "Nagios 3.0 (stable)" which redirected me to SF from which I obtained nagios-3.0.tar.gz. Then I went back to http://www.nagios.org/download for "Nagios Plugins (stable releases)" which sent me to SF, from which I downloaded the most recent release, nagios-plugins-1.4.11.tar.gz dated 2007-12-13. >From those I built rpms via rpmbuild -tb . Then I installed those rpms. The obsolete command.cfg was in one of those rpms. Maybe building rpms is a stupid idea. If so, would someone please remove the rpm spec files from the tarballs. > This format hasn't been used or distributed for probably 5 years or more. Maybe the files were in a state of suspended animation in the Bermuda Triangle or Knotts Berry Farm or something. FWIW Robert Dodier ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maco at maco.sk Tue Mar 25 22:50:09 2008 From: maco at maco.sk (Marcel Hecko) Date: Tue, 25 Mar 2008 21:50:09 +0000 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: <805675760803251439m36dc9fb6q73cb06a5300f65fe@mail.gmail.com> References: <805675760803251338s1d817f2fm90a63c4c83b2a7d3@mail.gmail.com> <805675760803251439m36dc9fb6q73cb06a5300f65fe@mail.gmail.com> Message-ID: <47E97391.6080803@maco.sk> This should probably go to plugins maintainers since command.cfg which is distributed with plugins actually contains that line: root at fipad:~/dl/nagios-plugins-1.4.11# grep notify-by-email * -R command.cfg.in:command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ command.cfg.in:command[host-notify-by-email]=/bin/echo -e "***** Nagios *****\n\nHost "$HOSTALIAS$" is $HOSTSTATE$!\n\nDate/Time: $DATETIME$\n" | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTEMAIL$ ========== Marcel Hecko NAGIOS Consultancy, Slovakia Robert Dodier wrote: > On Tue, Mar 25, 2008 at 3:12 PM, Marc Powell wrote: > > >>> It seems like the packaging is a little out of date; I wouldn't expect >>> >> > the latest & greatest tarball to contain configuration files with the >> > wrong format. Oh well. >> >> I checked before responding. The example config files are in the correct >> format. I'm not sure where you got these but I assure you it wasn't from >> the distribution nagios tarball. >> > > I assure that it was indeed. > > I went to http://www.nagios.org/download/ and clicked the button > to download "Nagios 3.0 (stable)" which redirected me to SF from > which I obtained nagios-3.0.tar.gz. Then I went back to > http://www.nagios.org/download for "Nagios Plugins (stable releases)" > which sent me to SF, from which I downloaded the most recent > release, nagios-plugins-1.4.11.tar.gz dated 2007-12-13. > >From those I built rpms via rpmbuild -tb . > Then I installed those rpms. The obsolete command.cfg was in > one of those rpms. > > Maybe building rpms is a stupid idea. If so, would someone please > remove the rpm spec files from the tarballs. > > >> This format hasn't been used or distributed for probably 5 years or more. >> > > Maybe the files were in a state of suspended animation in the > Bermuda Triangle or Knotts Berry Farm or something. > > FWIW > Robert Dodier > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin at openfusion.com.au Tue Mar 25 23:00:44 2008 From: gavin at openfusion.com.au (Gavin Carr) Date: Wed, 26 Mar 2008 09:00:44 +1100 Subject: ANNOUNCE: Blosxom4Nagios Message-ID: <20080325220044.GC22568@openfusion.com.au> Hi Nagios Users, I've packaged up a special-purpose instance of the 'blosxom' blogging engine as another way of getting nagios notifications via RSS or atom. Announcement post is here, with mentions of existing solutions, some examples of it's slice and dice functionality, and a few screenshots: http://www.openfusion.net/blosxom/blosxom4nagios Cheers, Gavin ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Tue Mar 25 20:02:03 2008 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs?=) Date: Tue, 25 Mar 2008 20:02:03 +0100 Subject: Multiple nagios processes Message-ID: <1206471723.10398.3.camel@kloaca> Hi! i'm having some problems with my rrd graphs in nagios and after some investigating i i've found that i've got multiple nagios processes running in my server. (/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg) After restarting nagios a couple of times, i saw that nagios starts with one process and when checks start, several new nagios processes have been launched. Is it normal? Thanks in advance! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 25 23:18:38 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Mar 2008 17:18:38 -0500 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: <805675760803251439m36dc9fb6q73cb06a5300f65fe@mail.gmail.com> References: <805675760803251439m36dc9fb6q73cb06a5300f65fe@mail.gmail.com> Message-ID: > -----Original Message----- > From: Robert Dodier [mailto:robert at infotility.com] > Sent: Tuesday, March 25, 2008 4:40 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios fails pre-launch verification step; > "Unexpected token or statement" in command.cfg > > On Tue, Mar 25, 2008 at 3:12 PM, Marc Powell wrote: > > > > It seems like the packaging is a little out of date; I wouldn't expect > > > the latest & greatest tarball to contain configuration files with the > > > wrong format. Oh well. > > > > I checked before responding. The example config files are in the correct > > format. I'm not sure where you got these but I assure you it wasn't from > > the distribution nagios tarball. > > I assure that it was indeed. > > I went to http://www.nagios.org/download/ and clicked the button > to download "Nagios 3.0 (stable)" which redirected me to SF from > which I obtained nagios-3.0.tar.gz. Then I went back to Not in nagios-3.0.tar.gz (small vindication there)-- ~/Desktop/nagios-3.0$ grep -r notify-by-email * html/docs/objectdefinitions.html: service_notification_commands notify-by-email html/docs/objectdefinitions.html: host_notification_commands host-notify-by-email > http://www.nagios.org/download for "Nagios Plugins (stable releases)" > which sent me to SF, from which I downloaded the most recent > release, nagios-plugins-1.4.11.tar.gz dated 2007-12-13. Does appear here. > From those I built rpms via rpmbuild -tb . > Then I installed those rpms. The obsolete command.cfg was in > one of those rpms. Curious as to why this hasn't come up before, I built the RPM from the tarball and see that this command.cfg isn't installed in the nagios configuration file directory but rather in /usr/share/doc/nagios-plugins-1.4.11/command.cfg. I suspect that is because it's been deprecated in favor of the sample commands file distributed with nagios since pre-2.0. I've reviewed the Fedora Quickstart and it doesn't mention this file at all so it should have remained there. Was it installed to ~nagios/etc/ automatically for you? > Maybe building rpms is a stupid idea. If so, would someone please > remove the rpm spec files from the tarballs. That's silly of course but I think the plugin maintainers could add a header to that file that it's deprecated or only useful as a reference for nrpe.cfg. > > This format hasn't been used or distributed for probably 5 years or more. > > Maybe the files were in a state of suspended animation in the > Bermuda Triangle or Knotts Berry Farm or something. Docco Triangle looks like. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 25 23:34:19 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Mar 2008 17:34:19 -0500 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Tuesday, March 25, 2008 5:19 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios fails pre-launch verification > step;"Unexpected token or statement" in command.cfg > > > > Curious as to why this hasn't come up before, I built the RPM from the > tarball and see that this command.cfg isn't installed in the nagios > configuration file directory but rather in > /usr/share/doc/nagios-plugins-1.4.11/command.cfg. I suspect that is > because it's been deprecated in favor of the sample commands file > distributed with nagios since pre-2.0. I've reviewed the Fedora > Quickstart and it doesn't mention this file at all so it should have > remained there. Was it installed to ~nagios/etc/ automatically for you? I missed that it was installed in both places -- $rpm -qlp /usr/src/redhat/RPMS/i386/nagios-plugins-1.4.11-1.i386.rpm | grep command /etc/nagios/command.cfg /usr/share/doc/nagios-plugins-1.4.11/command.cfg Do you remember the order of installation (plugins then nagios perhaps)? -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at infotility.com Tue Mar 25 23:34:38 2008 From: robert at infotility.com (Robert Dodier) Date: Tue, 25 Mar 2008 16:34:38 -0600 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: References: <805675760803251439m36dc9fb6q73cb06a5300f65fe@mail.gmail.com> Message-ID: <805675760803251534w633d4f01o5a4111dd8a38b8fb@mail.gmail.com> On Tue, Mar 25, 2008 at 4:18 PM, Marc Powell wrote: > Curious as to why this hasn't come up before, I built the RPM from the > tarball and see that this command.cfg isn't installed in the nagios > configuration file directory but rather in > /usr/share/doc/nagios-plugins-1.4.11/command.cfg. I suspect that is > because it's been deprecated in favor of the sample commands file > distributed with nagios since pre-2.0. I've reviewed the Fedora > Quickstart and it doesn't mention this file at all so it should have > remained there. Was it installed to ~nagios/etc/ automatically for you? nagios-plugins rpm installed /etc/nagios/command.cfg. nagios rpm installed some other .cfg files in /etc/nagios. There aren't any .cfg files outside of /etc/nagios (except for an identical copy of command.cfg in /usr/share/doc/nagios-plugins-1.4.11). I don't see any files named *example* or *sample* or the like in either nagios rpm or nagios-plugins rpm. I see there is a directory nagios-3.0/sample-config in the tarball but that directory doesn't appear in the nagios rpm. > > Maybe building rpms is a stupid idea. If so, would someone please > > remove the rpm spec files from the tarballs. > > That's silly of course but I think the plugin maintainers could add a > header to that file that it's deprecated or only useful as a reference > for nrpe.cfg. Well, better still, just erase any outdated files, and make sure the up-to-date ones are installed. FWIW Robert Dodier ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uwe at datek.no Tue Mar 25 23:34:34 2008 From: uwe at datek.no (Uwe Kubosch) Date: Tue, 25 Mar 2008 23:34:34 +0100 Subject: Availability report for the last 12 months Message-ID: <1206484474.7186.15.camel@localhost> Hi all! Is there a way to get an availability report for the last 12 months from Nagios 2.1? I can only find gliding windows for the last 24 hours, last 7 days, and last 31 days. Any tips are appreciated. Uwe ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert at infotility.com Tue Mar 25 23:37:17 2008 From: robert at infotility.com (Robert Dodier) Date: Tue, 25 Mar 2008 16:37:17 -0600 Subject: Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg In-Reply-To: References: Message-ID: <805675760803251537y510b31beva0a6d9ba2903ae1a@mail.gmail.com> On Tue, Mar 25, 2008 at 4:34 PM, Marc Powell wrote: > Do you remember the order of installation (plugins then nagios perhaps)? I installed nagios, nagios-plugins, and nagios-www rpms all at the same time (i.e. with a single rpm -ih command). Robert Dodier ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 25 23:45:02 2008 From: marc at ena.com (Marc Powell) Date: Tue, 25 Mar 2008 17:45:02 -0500 Subject: Availability report for the last 12 months In-Reply-To: <1206484474.7186.15.camel@localhost> References: <1206484474.7186.15.camel@localhost> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Uwe Kubosch > Sent: Tuesday, March 25, 2008 5:35 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Availability report for the last 12 months > > Hi all! > > Is there a way to get an availability report for the last 12 months from > Nagios 2.1? I can only find gliding windows for the last 24 hours, last > 7 days, and last 31 days. You can obtain reports all the way through the previous calendar year if you have the archive log files. Standard report periods are -- Report Period: