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 Co