Re: [Nagios-users] live demo
Hi, do you tried http://nagios-demo.netways.de/ ? Login is guest and password guest. Have fun Carsten Hugo van der Kooij wrote: On Tue, 2 Oct 2007, Live Great wrote: Hi, I am looking for a live demo website for the introudction of nagios. Can anyone please point me to an available link? I 've been searched in google, can't find a link for that. The one at Nagios website is broken. nagios is so much more then just a couple of webpages. I suggest you grab one of the Virtual machines with Nagios on it from the catalog on the VmWare site and play a bit with it in a virtual machine. There really is no substitute for getting your feet wet other then taking a dive into this ocean. Enjoy your swim, Hugo. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Integrating nagvis
Hi everyone, has anyone successfully integrated nagios and nagvis together? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
Hi, well I did. But just used the default maps. I don't see any reason to put so much efforts in painting some visio maps to render a better idea of the network and services map. I tried it, then I removed. Painting is way too hard for me :-P Giorgio zarrelli Alex Dehaini ([EMAIL PROTECTED]) scritto: Hi everyone, has anyone successfully integrated nagios and nagvis together? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
What version of nagios and nagvis did you use. I had installation issues. On Nov 26, 2007 10:39 AM, Giorgio Zarrelli [EMAIL PROTECTED] wrote: Hi, well I did. But just used the default maps. I don't see any reason to put so much efforts in painting some visio maps to render a better idea of the network and services map. I tried it, then I removed. Painting is way too hard for me :-P Giorgio zarrelli Alex Dehaini ([EMAIL PROTECTED]) scritto: Hi everyone, has anyone successfully integrated nagios and nagvis together? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
Federick, That is what I need help on. Please point me in the right direction on how to properly configure ndo-backend. Also, when installing nagios, do I have to enable anything to support nagvis? Thanks On Nov 26, 2007 10:51 AM, Frederik Vanhee [EMAIL PROTECTED] wrote: On 11/26/07, Alex Dehaini [EMAIL PROTECTED] wrote: What version of nagios and nagvis did you use. I had installation issues. On Nov 26, 2007 10:39 AM, Giorgio Zarrelli [EMAIL PROTECTED] wrote: Hi, well I did. But just used the default maps. I don't see any reason to put so much efforts in painting some visio maps to render a better idea of the network and services map. I tried it, then I removed. Painting is way too hard for me :-P Giorgio zarrelli Alex Dehaini ( [EMAIL PROTECTED]) scritto: Hi everyone, has anyone successfully integrated nagios and nagvis together? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Nagios version 2.9 Nagvis 1.1 Make sure you ndo-backend is properly configured, that's very important ! -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
Hi, I used: nagios-3.0b6 nagvis-1.2b2 What's the problem with the backend? Which operating system? Giorgio Alex Dehaini ([EMAIL PROTECTED]) scritto: Federick, That is what I need help on. Please point me in the right direction on how to properly configure ndo-backend. Also, when installing nagios, do I have to enable anything to support nagvis? Thanks On Nov 26, 2007 10:51 AM, Frederik Vanhee [EMAIL PROTECTED] wrote: On 11/26/07, Alex Dehaini [EMAIL PROTECTED] wrote: What version of nagios and nagvis did you use. I had installation issues. On Nov 26, 2007 10:39 AM, Giorgio Zarrelli [EMAIL PROTECTED] wrote: Hi, well I did. But just used the default maps. I don't see any reason to put so much efforts in painting some visio maps to render a better idea of the network and services map. I tried it, then I removed. Painting is way too hard for me :-P Giorgio zarrelli Alex Dehaini ( [EMAIL PROTECTED]) scritto: Hi everyone, has anyone successfully integrated nagios and nagvis together? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Nagios version 2.9 Nagvis 1.1 Make sure you ndo-backend is properly configured, that's very important ! -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli Sent: 26 November 2007 11:58 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Integrating nagvis Hi, I used: nagios-3.0b6 nagvis-1.2b2 What's the problem with the backend? Which operating system? I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2 Not any problems, I just followed the README's and posted minor issues with descriptions as to the particular problems on the list to resolve all my problems. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
Here is the error I get from my logs *Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to data sink. 0 items lost, 1655 queued items to flush. *When I browse to the nagvis home page, I get this error. *Warning*: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in * /usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend- ndomy.php* on line *58 nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) NDO reports that Nagios is not running *Any clue what is wrong? On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli Sent: 26 November 2007 11:58 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Integrating nagvis Hi, I used: nagios-3.0b6 nagvis-1.2b2 What's the problem with the backend? Which operating system? I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2 Not any problems, I just followed the README's and posted minor issues with descriptions as to the particular problems on the list to resolve all my problems. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
Hi, check if you can connect to database with the [EMAIL PROTECTED]:password you wrote in the config. It seems to me it cant' retrieve data from MySQL tables. Giorgio Alex Dehaini ([EMAIL PROTECTED]) scritto: Here is the error I get from my logs *Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to data sink. 0 items lost, 1655 queued items to flush. *When I browse to the nagvis home page, I get this error. *Warning*: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in * /usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend- ndomy.php* on line *58 nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) NDO reports that Nagios is not running *Any clue what is wrong? On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli Sent: 26 November 2007 11:58 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Integrating nagvis Hi, I used: nagios-3.0b6 nagvis-1.2b2 What's the problem with the backend? Which operating system? I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2 Not any problems, I just followed the README's and posted minor issues with descriptions as to the particular problems on the list to resolve all my problems. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
If you post in plain text, it's much easier for me not to top post. This is likely something to do with your socket file. Check the socket file in ndo2db configuration file, mine is in: /opt/nagios/var/ndo.sock It is referenced in ndo2db.cfg with this line: socket_name=/opt/nagios/var/ndo.sock if socket exists, it may have been created with insufficient permissions, or the directory mask was bad, remove the file, check permissions and restart ndo. Thanks Giles From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Dehaini Sent: 26 November 2007 12:10 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Integrating nagvis Here is the error I get from my logs Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to data sink. 0 items lost, 1655 queued items to flush. When I browse to the nagvis home page, I get this error. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBacke nd-ndomy.php on line 58 nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) NDO reports that Nagios is not running Any clue what is wrong? On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli Sent: 26 November 2007 11:58 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Integrating nagvis Hi, I used: nagios-3.0b6 nagvis-1.2b2 What's the problem with the backend? Which operating system? I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2 Not any problems, I just followed the README's and posted minor issues with descriptions as to the particular problems on the list to resolve all my problems. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
Let me try the suggestions and get back to you guys. On Nov 26, 2007 11:20 AM, Giles Coochey [EMAIL PROTECTED] wrote: If you post in plain text, it's much easier for me not to top post. This is likely something to do with your socket file. Check the socket file in ndo2db configuration file, mine is in: /opt/nagios/var/ndo.sock It is referenced in ndo2db.cfg with this line: socket_name=/opt/nagios/var/ndo.sock if socket exists, it may have been created with insufficient permissions, or the directory mask was bad, remove the file, check permissions and restart ndo. Thanks Giles -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Alex Dehaini *Sent:* 26 November 2007 12:10 *To:* nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] Integrating nagvis Here is the error I get from my logs *Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to data sink. 0 items lost, 1655 queued items to flush. *When I browse to the nagvis home page, I get this error. *Warning*: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in * /usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend- ndomy.php* on line *58 nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) NDO reports that Nagios is not running *Any clue what is wrong? On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli Sent: 26 November 2007 11:58 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Integrating nagvis Hi, I used: nagios-3.0b6 nagvis-1.2b2 What's the problem with the backend? Which operating system? I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2 Not any problems, I just followed the README's and posted minor issues with descriptions as to the particular problems on the list to resolve all my problems. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] [Nagiosplug-help] jabber notification
Below From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Coochey Sent: 19 November 2007 13:02 To: nagiosplug Subject: [Nagiosplug-help] jabber notification Hi All, I have seen the notify_by_jabber perl script. Because of the number of notifications that I get through some passive volatile service checks I was wondering whether anyone has seen one that was compiled in C rather than perl, as Nagios seems to take quite a while running the notification script when I get a flood of events - I'm thinking that a C program might be faster. Are there any jabber alternatives to the perl script? If there isn't one then I'll look at using sec.pl to handle these passive checks (they're SNMP traps, after all) and only produce a single alert (so far they've been routing topology change notifications from multiple routers switches in our infrastructure). Best Regards, Giles ## I've tried replacing the notify_via_jabber.pl perl script with centerim. It essentially allows to run centerim in the background (as the Nagios) user, and allows me to, as the Nagios user, send jabber alerts via the command line. A small issue is that as soon as I modify my commands.cfg to have a notification I find it does not work, and cannot seem to talk to the centerim process (centerim is running as the Nagios user). This is what works from the command line: echo Host '$HOSTALIAS$' is $HOSTSTATE$ - Info: $HOSTOUTPUT$ - Time: $LONGDATETIME$ | /usr/local/bin/centerim -s msg -p jab -t [EMAIL PROTECTED] This is what doesn't work from the commands.cfg file: # 'notify-by-jabber' command definition define command{ command_namenotify-by-jabber command_line/bin/echo Service: $SERVICEDESC$ - Host: $HOSTNAME$ - Address: $HOSTADDRESS$ - State: $SERVICESTATE$ - Info: $SERVICEOUTPUT$ - Date: $LONGDATETIME$ | /usr/local/bin/centerim -s msg -p jab -t [EMAIL PROTECTED] } From the Nagios log, I see it calling notify-by-jabber but I get no such alert (I was using $CONTACTPAGER$ as the -t parameter, but tried hardcoding it in the command and it still doesn't work). Any ideas as to what might cause this? On an aside, I have implemented sec.pl, but still have Nagios spending too much time processing notifications, so really need to replace the slow notify_by_jabber perl script. Centerim looks ideal, but for some reason isn't working. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Passive service notification after X minutes
Hi All! We have an application that sends SNMP traps to a trap server. Which then uses send_nsca to send status changes. The application may notice a problem and send a trap, thus changing the status of the Nagios service, but the problem is self-correcting and the application may be Ok within just a few seconds. However, the Nagios service has become critical and thus send a notification. Not a happy thing at 2AM when you are sound asleep. Looking through the service definition I do not see anything that applies. If it were an active service, I could use max_check_attempts. However, in this cases, we only get the traps on every status change, so if the service is down, the trap is set and thus the notification is sent. Within the trap receiver, there is no way to wait a specific period of time before sending the messages, only wait for X traps in Y minutes. I am at a loss as to how to get Nagios to wait for a specific length of time before starting the notification other than creating some major kludge like tweaking the notification mechanism somehow. Any help is appreaciated. Regards, Jim Mohr - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RES: Passive service notification after X minutes
James, I would try to use na event correlation mechanism to pre-process the traps before sending it to Nagios. Try SEC (http://kodu.neti.ee/~risto/sec/). It´s an elegant solution for this sort of problem. []s _ Dario B. BestettiOpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)30613588 Mobile 55(51)81518218 Fax 55(51)30613588 Email [EMAIL PROTECTED] In God we trust, the rest we monitor ... _ -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Mohr James Enviada em: segunda-feira, 26 de novembro de 2007 14:03 Para: Nagios-users@lists.sourceforge.net Assunto: [Nagios-users] Passive service notification after X minutes Hi All! We have an application that sends SNMP traps to a trap server. Which then uses send_nsca to send status changes. The application may notice a problem and send a trap, thus changing the status of the Nagios service, but the problem is self-correcting and the application may be Ok within just a few seconds. However, the Nagios service has become critical and thus send a notification. Not a happy thing at 2AM when you are sound asleep. Looking through the service definition I do not see anything that applies. If it were an active service, I could use max_check_attempts. However, in this cases, we only get the traps on every status change, so if the service is down, the trap is set and thus the notification is sent. Within the trap receiver, there is no way to wait a specific period of time before sending the messages, only wait for X traps in Y minutes. I am at a loss as to how to get Nagios to wait for a specific length of time before starting the notification other than creating some major kludge like tweaking the notification mechanism somehow. Any help is appreaciated. Regards, Jim Mohr - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] DBD Sybase perl module hasn't been fully installed
I'm using CentOS 4 x86 with perl-DBD-Sybase-1.07-1 installed. I tested using DBViualiazer to make sure the username and password I was using are correct and they are. *I installed the plugins for NRPE and tried testing the check_sybase plugin but I get the following error message:* [EMAIL PROTECTED] plugins]# ./check_sybase -U user -P password -S my.hostname.com-D dbname perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = en_US, LC_ALL = default, LANG = en_US.UTF-8 are supported and installed on your system. perl: warning: Falling back to the standard locale (C). install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC contains: /usr/lib/nagios/plugins/ /usr/local/nagios/libexec/ /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 1) line 3. Perhaps the DBD::Sybase perl module hasn't been fully installed, or perhaps the capitalisation of 'Sybase' isn't right. Available drivers: ExampleP, Proxy, Sponge. at ./check_sybase line 133 *The line line 133 refers to the connection:* $dbh = DBI-connect(dbi:Sybase:server=$dbsvr;database=$dbname;. How can I make sure the perl DBD Sybase module is correctly and fully installed? Thanks in advanced. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] live demo
You can also try out GroundWork Monitor (without the config tool enabled) at: http://adzuki.groundworkopensource.com login guest, pw guest This package uses Nagios to feed a back-end mysql database that is used for multiple displays and reports. It also integrates Cacti, RRDtool graphing and several other packages. I agree with Hugo - it's much more than the just the web GUI. Thomas Carsten Philipp wrote: Hi, do you tried http://nagios-demo.netways.de/ ? Login is guest and password guest. Have fun Carsten Hugo van der Kooij wrote: On Tue, 2 Oct 2007, Live Great wrote: Hi, I am looking for a live demo website for the introudction of nagios. Can anyone please point me to an available link? I 've been searched in google, can't find a link for that. The one at Nagios website is broken. nagios is so much more then just a couple of webpages. I suggest you grab one of the Virtual machines with Nagios on it from the catalog on the VmWare site and play a bit with it in a virtual machine. There really is no substitute for getting your feet wet other then taking a dive into this ocean. Enjoy your swim, Hugo. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Doesn't Notify for Multiple Services
I have a server that has been crashing in the following order: HTTP 80 fails RDP 3389 fails TCP/IP Stack fails I have set up monitoring and notifications for each one, but I only receive notifications for the first failure, port 80 not responding. Once RDP fails I don't receive alerts and once the TCP/IP stack fails (PING stops responding) I don't receive alerts for that either. It seems like Nagios is seeing one error on the box and repeatedly alerting about that, but ignoring any others until the first is fixed. Has anyone else run into this and found a fix? I read through the documentation for alerts, but don't see anything addressing this particular issue. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Interesting Challenge (Hosts Services Missing... some of the time)
Hugo, Thank you, that solved the problem! --Chris On 11/25/07, Hugo van der Kooij [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Schuld wrote: Hello All: I have a new Nagios setup with everything running nearly perfect... except this. If I click on Service Detail under monitoring -- I only get my full list of services about 60% of the time. The other 40% of the time I only get just the services under localhost. My services and hosts are broke into a two files (one for local host the original default settings for the local host and a second file which holds a list of servers on our network). It is almost as if the nagios daemon does not see my second config file some of the time... this is actually true on any of the links but it appears to happen more on Service Detail. I am using 3.0b7 and curious if this has ever happened to anyone else at all? I searched the mailing list and forums and came up empty handed. This is a common problem if you happen to have two instances of Nagios running. So the obvious plan is to stop Nagios the normal way. Then see if anything is still lingering about and shoot to kill them. Tehn startup Nagios again. If the problem remains also check that you are not mixing startup methods. Hugo. - -- [EMAIL PROTECTED] 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) iD8DBQFHSmTtBvzDRVjxmYERAh8sAJ4vTQZSPLr+lz1tiWFTX0XH84UtEwCgpqPP XxoyclmEhuGviIfkpDCEyBQ= =oFgE -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Aztec Software Custom Software / Online Applications / Hosting Services (480) 373-6581 / (800) 959-0045 - phone (480) 452-1651 / (800) 747-9598 - fax (800) 997-0065 - after hours support - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Master/Slaves Solution...
Hello, Have anyone got any Nagios Master/Slaves solutions that are currently being used in production? The reason that I am asking is because I would like to use Nagios to monitor several hosts/services at multiple locations. I have at least 4 facilities that I would like to assign a Slave per facility while the Master would stay at the office. Each Slave would be monitoring the hosts and services only within the facility that it has been assigned. Firewalls and routings will be in place to prevent the Slaves from interacting with each other. Only the Master will be accessible from each of those Slaves. I have experimented with using NSCA to send passive checks over to the Master from each of the Slaves. It seems to be the solution only if I am not concerned about the Master having a failure or if the route between the slaves to the Master has been interrupted. I have considered giving a Slave the ability to self- promote if this certain Slave detects that Master has became unavailable. That would also include having to make modifications to the send_nsca IP Address on those other Slaves. That includes the firewall and routing adjustments being required. I have looked at DNX but I am thinking that it is really designed to cross check the hosts/services from each of those Nodes to distribute the work loads. I do not want the Slaves to overlap each other's territory unless a certain Slave have been self-promoted. Anyone have suggestions on a working solution or can point me to some reading documentations of how someone have set up a HA Nagios Master/Slaves solution? Chris - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Doesn't Notify for Multiple Services
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joel Roberts wrote: I have a server that has been crashing in the following order: HTTP 80 fails RDP 3389 fails TCP/IP Stack fails I think this is not the way things go down the drain. I have set up monitoring and notifications for each one, but I only receive notifications for the first failure, port 80 not responding. Once RDP fails I don’t receive alerts and once the TCP/IP stack fails (PING stops responding) I don’t receive alerts for that either. After a service check fails the host check kicks in. So if the host check also fails there will be no further service checks. Now assume that the TCP/IP stack fails. Then all services depending on it will be in a heap of trouble. (If you think Mount Everest is a big heap. It is peanuts compared to this one.) Just to see if my theory is right. - Stop HTTP service. Wait for notification. - Stop RDP service. Do you get a notification? If this scenario works then the probem is that your system died not like you expected and indicated above but in a different manner. Also: What does your log tell you about notifications and events? My 0.02 Euro says it is not a Nagios issue but something odd with the host tested. PS: Did you ever provide us with the required details? Like the Nagios version, description of the service and host checks used, . ? Hugo. - -- [EMAIL PROTECTED] 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) iD8DBQFHSxktBvzDRVjxmYERAvp/AKCcZtCMWNV3d5pFObSSBSsxNgrhiACgn/6t 2OxSuzXCpiE1+hkDFzh5NlE= =NA/6 -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Doesn't Notify for Multiple Services
I know this is how the server is failing because of a review of the Windows Event logs. The server is crashing because of a memory leak. First it stops accepting incoming HTTP requests to try and conserve what memory is left, then it stops accepting RDP connections, then the TCP/IP fails completely. And yes, it is a Mount Everest of problems as it's my RES PowerFuse server that provides remote desktop to remote users in a Citrix type environment. Fortunately when the HTTP stops accepting connections, I can usually log in via RDP remotely and reboot the server, but I would like to know if I've missed the window and RDP is no longer up and running and I have to physically drive to the site and reboot from there. Once RDP fails, TCP/IP is usually right behind it. An update on OS and PowerFuse software is scheduled, but until then, I have to keep the remote users up and running. Nagios Version: 3.0b5 Services Checked: HTTP (check_http), PING (check_ping), RDP (check_tcp 3389) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hugo van der Kooij Sent: Monday, November 26, 2007 12:06 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios Doesn't Notify for Multiple Services -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joel Roberts wrote: I have a server that has been crashing in the following order: HTTP 80 fails RDP 3389 fails TCP/IP Stack fails I think this is not the way things go down the drain. I have set up monitoring and notifications for each one, but I only receive notifications for the first failure, port 80 not responding. Once RDP fails I don't receive alerts and once the TCP/IP stack fails (PING stops responding) I don't receive alerts for that either. After a service check fails the host check kicks in. So if the host check also fails there will be no further service checks. Now assume that the TCP/IP stack fails. Then all services depending on it will be in a heap of trouble. (If you think Mount Everest is a big heap. It is peanuts compared to this one.) Just to see if my theory is right. - Stop HTTP service. Wait for notification. - Stop RDP service. Do you get a notification? If this scenario works then the probem is that your system died not like you expected and indicated above but in a different manner. Also: What does your log tell you about notifications and events? My 0.02 Euro says it is not a Nagios issue but something odd with the host tested. PS: Did you ever provide us with the required details? Like the Nagios version, description of the service and host checks used, . ? Hugo. - -- [EMAIL PROTECTED] 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) iD8DBQFHSxktBvzDRVjxmYERAvp/AKCcZtCMWNV3d5pFObSSBSsxNgrhiACgn/6t 2OxSuzXCpiE1+hkDFzh5NlE= =NA/6 -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] RES: Passive service notification after X minutes
Hi Dario! Looks very interesting. I will take a look at it. Thanks! Regards, jimmo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Dario B. Bestetti Gesendet: Montag, 26. November 2007 17:41 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] RES: Passive service notification after X minutes James, I would try to use na event correlation mechanism to pre-process the traps before sending it to Nagios. Try SEC (http://kodu.neti.ee/~risto/sec/). It´s an elegant solution for this sort of problem. []s _ Dario B. BestettiOpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)30613588 Mobile 55(51)81518218 Fax 55(51)30613588 Email [EMAIL PROTECTED] In God we trust, the rest we monitor ... _ -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Mohr James Enviada em: segunda-feira, 26 de novembro de 2007 14:03 Para: Nagios-users@lists.sourceforge.net Assunto: [Nagios-users] Passive service notification after X minutes Hi All! We have an application that sends SNMP traps to a trap server. Which then uses send_nsca to send status changes. The application may notice a problem and send a trap, thus changing the status of the Nagios service, but the problem is self-correcting and the application may be Ok within just a few seconds. However, the Nagios service has become critical and thus send a notification. Not a happy thing at 2AM when you are sound asleep. Looking through the service definition I do not see anything that applies. If it were an active service, I could use max_check_attempts. However, in this cases, we only get the traps on every status change, so if the service is down, the trap is set and thus the notification is sent. Within the trap receiver, there is no way to wait a specific period of time before sending the messages, only wait for X traps in Y minutes. I am at a loss as to how to get Nagios to wait for a specific length of time before starting the notification other than creating some major kludge like tweaking the notification mechanism somehow. Any help is appreaciated. Regards, Jim Mohr -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- --- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios as Solarwinds replacement
So I'm in the process of swapping out our Solarwinds monitoring solution for Nagios. The one thing I have yet to figure out is how I can do reporting on bandwidth and CPU utilization like Solarwinds (Monthly reports) I inherited this Nagios environment from a previouly employee, and I know he installed Cacti for this? My question is, what do your guys use for this type of reporting? Recommendations? Chris Serafin Security Engineer [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios as Solarwinds replacement
NagiosGrapher, see http://nagiosexchange.org. /L On Mon, 26 Nov 2007 14:23:57 -0600, chris serafin [EMAIL PROTECTED] wrote: So I'm in the process of swapping out our Solarwinds monitoring solution for Nagios. The one thing I have yet to figure out is how I can do reporting on bandwidth and CPU utilization like Solarwinds (Monthly reports) I inherited this Nagios environment from a previouly employee, and I know he installed Cacti for this? My question is, what do your guys use for this type of reporting? Recommendations? Chris Serafin Security Engineer [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Lars Stavholm - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios-users Digest, Vol 18, Issue 42
Message: 7 Date: Mon, 26 Nov 2007 13:35:22 -0500 From: Chris Haulmark [EMAIL PROTECTED] Subject: [Nagios-users] Nagios Master/Slaves Solution... To: nagios-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hello, Have anyone got any Nagios Master/Slaves solutions that are currently being used in production? The reason that I am asking is because I would like to use Nagios to monitor several hosts/services at multiple locations. I have at least 4 facilities that I would like to assign a Slave per facility while the Master would stay at the office. Each Slave would be monitoring the hosts and services only within the facility that it has been assigned. Firewalls and routings will be in place to prevent the Slaves from interacting with each other. Only the Master will be accessible from each of those Slaves. I have experimented with using NSCA to send passive checks over to the Master from each of the Slaves. It seems to be the solution only if I am not concerned about the Master having a failure or if the route between the slaves to the Master has been interrupted. I have considered giving a Slave the ability to self- promote if this certain Slave detects that Master has became unavailable. That would also include having to make modifications to the send_nsca IP Address on those other Slaves. That includes the firewall and routing adjustments being required. I have looked at DNX but I am thinking that it is really designed to cross check the hosts/services from each of those Nodes to distribute the work loads. I do not want the Slaves to overlap each other's territory unless a certain Slave have been self-promoted. Anyone have suggestions on a working solution or can point me to some reading documentations of how someone have set up a HA Nagios Master/Slaves solution? I wrote up some internal docs for myself over a year ago now and don't mind sharing them: http://www.nbcs.rutgers.edu/~brylon/nagios2/ Note: I don't know if this is quite what you are looking for, but figured I'd share and let you decide if it helps. I would also be interested in other docs anyone may have with respect to distributed monitoring and failover redundancy. Chris - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Bad group on cmd pipe after restart.
Hi all, I've got nagios 3.0b6 running on Debian/etch with Debian's default Apache. Apache runs as www-data:www-data. Nagios runs as nagios:www-data, set this way via nagios.cfg's nagios_group command. In /etc/passwd, nagios has the default group of nagios. (Confusing, I know, but I'm trying not to stray too far away from the Debian norm.) When I restart nagios, the command pipe ends up with the group nagios, not www-data, as I specified in the config. I'm confident in saying that it's nagios that does this, not the init script. Is this by design or an oversight? If by design, what have I overlooked or not understood? Thanks! Kevin - Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Bad group on cmd pipe after restart.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Scott Sumner Sent: Monday, November 26, 2007 4:36 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Bad group on cmd pipe after restart. Hi all, I've got nagios 3.0b6 running on Debian/etch with Debian's default Apache. Apache runs as www-data:www-data. Nagios runs as nagios:www-data, set this way via nagios.cfg's nagios_group command. In /etc/passwd, nagios has the default group of nagios. (Confusing, I know, but I'm trying not to stray too far away from the Debian norm.) When I restart nagios, the command pipe ends up with the group nagios, not www-data, as I specified in the config. I'm confident in saying that it's nagios that does this, not the init script. Is this by design or an oversight? If by design, what have I overlooked or not understood? Thanks! Kevin - Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill - Kevin, Just out of curiosity, why not run Nagios as nagios:nagios? On my setup, the apache user is a member of the nagios group. Maybe yours is using the nagios user's default group? 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. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Centralizing NRPE Configuration
Does anyone have any suggestions on a way to centralize NRPE configs? I suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server if I need to add any commands. Is there a better way to manage this? I'd like the Nagios server to be a central point of configuration. I am using nrpe's --enable-command-args option and passing parameters via check_nrpe, so once the monitored host has the nrpe.cfg, there wouldn't be much to do there. 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. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Centralizing NRPE Configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cipriani, Robert C wrote: Does anyone have any suggestions on a way to centralize NRPE configs? I suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server if I need to add any commands. Is there a better way to manage this? I'd like the Nagios server to be a central point of configuration. I am using nrpe's --enable-command-args option and passing parameters via check_nrpe, so once the monitored host has the nrpe.cfg, there wouldn't be much to do there. What about through SVN? I've never done it, but I just thought of it when you mentioned centralizing it. I keep track of my Nagios configuration files this way, but it wouldn't be hard to add NRPE into the mix so that you can checkout the latest set of files. Just an idea... Regards, Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHS0YlHoeeepPau2ERAoyyAJ9bzsR9NcXyRd86RgbYV+c3J6Al6wCgwCmy x/MAAWU/CHhPQb0pDwCnMdk= =FW0G -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Centralizing NRPE Configuration
I use cfengine for that purpose. I have it copy the config from the central server then restart the nrpe daemon. Might be a little overkill for just this one thing, but it's useful for all sorts of stuff. http://www.cfengine.org/ On Mon, 2007-11-26 at 17:07 -0500, Cipriani, Robert C wrote: Does anyone have any suggestions on a way to centralize NRPE configs? I suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server if I need to add any commands. Is there a better way to manage this? I'd like the Nagios server to be a central point of configuration. I am using nrpe's --enable-command-args option and passing parameters via check_nrpe, so once the monitored host has the nrpe.cfg, there wouldn't be much to do there. 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. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Bad group on cmd pipe after restart.
Robert, Affecting the apache user will affect *all* instances of apache in our infrastructure (regular website, as well as BackupPC's apache, etc). I know this seems like a broken setup -- it is. :) We're in planning phases for better machine user/group management, but creating a one-off machine in terms of users/groups is difficult at the moment because the flat files are automatically spawned by some, err... feature challenged scripts. I'm pushing hard to get this changed, but for now, I can't change change a user's group membership without it affecting that on every machine. I realize I could remedy this situation by running apache as www-data:nagios on our nagios server, but my question isn't so much about making it work -- it's about whether nagios is broken in the way that it deals with creating its command pipe or whether I've over looked something (a bug vs. my poor brain, if you will). Cheers, Kevin - Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill Kevin, Just out of curiosity, why not run Nagios as nagios:nagios? On my setup, the apache user is a member of the nagios group. Maybe yours is using the nagios user's default group? 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. - - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Centralizing NRPE Configuration
Robert, I second Aaron's CFengine suggestion. Moving an infrastructure towards using something like CFengine or puppet will make you saner in the long run. Much, much saner. Setting it up to push a single config is a little overboard, but it makes syncing and sanitizing all of your machines REALLY easy. We use CFengine here, so feel free to contact me off-list for more specifics about it. Cheers, Kevin - Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill On Mon, 26 Nov 2007, Aaron M. Segura wrote: I use cfengine for that purpose. I have it copy the config from the central server then restart the nrpe daemon. Might be a little overkill for just this one thing, but it's useful for all sorts of stuff. http://www.cfengine.org/ On Mon, 2007-11-26 at 17:07 -0500, Cipriani, Robert C wrote: Does anyone have any suggestions on a way to centralize NRPE configs? I suppose I can push (rsync, scp, whatever) my nrpe.cfg from the Nagios server if I need to add any commands. Is there a better way to manage this? I'd like the Nagios server to be a central point of configuration. I am using nrpe's --enable-command-args option and passing parameters via check_nrpe, so once the monitored host has the nrpe.cfg, there wouldn't be much to do there. 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. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Integrating nagvis
Also be sure to verify that your dbprefix is set correctly in the etc/config.php.ini file for nagvis. This is easily overlooked. Cheers, -Chris Alex Dehaini wrote: Let me try the suggestions and get back to you guys. On Nov 26, 2007 11:20 AM, Giles Coochey [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If you post in plain text, it's much easier for me not to top post. This is likely something to do with your socket file. Check the socket file in ndo2db configuration file, mine is in: /opt/nagios/var/ndo.sock It is referenced in ndo2db.cfg with this line: socket_name=/opt/nagios/var/ndo.sock if socket exists, it may have been created with insufficient permissions, or the directory mask was bad, remove the file, check permissions and restart ndo. Thanks Giles *From:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] *On Behalf Of *Alex Dehaini *Sent:* 26 November 2007 12:10 *To:* nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net *Subject:* Re: [Nagios-users] Integrating nagvis Here is the error I get from my logs *Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to data sink. 0 items lost, 1655 queued items to flush. *When I browse to the nagvis home page, I get this error. *Warning*: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in */usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend-ndomy.php* on line *58 nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) NDO reports that Nagios is not running *Any clue what is wrong? On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto:nagios-users- mailto:nagios-users- [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] On Behalf Of Giorgio Zarrelli Sent: 26 November 2007 11:58 To: nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Integrating nagvis Hi, I used: nagios-3.0b6 nagvis-1.2b2 What's the problem with the backend? Which operating system? I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2 Not any problems, I just followed the README's and posted minor issues with descriptions as to the particular problems on the list to resolve all my problems. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto:Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Alex Dehaini Developer Site - www.alexdehaini.com http://www.alexdehaini.com Email - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Alex Dehaini Developer Site - www.alexdehaini.com http://www.alexdehaini.com Email - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users :::
[Nagios-users] Nagios Looking Glass
http://nagioslookingglass.co.uk/ and other sites related to Andy Shellam (the author) appear to be down since about 2-3 weeks. Does anyone have news on this site OR have a copy of the latest release? TIA, - dhawal - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios with Netapp
Hi, please tell me how to configure nagios to minitoring NetApp. -- Froylan Medina Ingenieria Multimedios TV Tel. (81) 8369 9910 Ext. -- La información contenida en este mensaje se envía únicamente para el destinatario, la cual puede contener Información de carácter CONFIDENCIAL o PRIVILEGIADA y está protegida así contra el acceso indebido. La modificación, retransmisión, difusión, copia u otro uso de la misma, (incluyendo todos los documentos adjuntos) por cualquier medio, por personas distintas al destinatario se prohíbe terminantemente. El contenido de este mensaje es responsabilidad exclusiva del autor y la empresa no necesariamente comparte el sentido del mismo. Si usted ha recibido esta comunicación por error, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios with Netapp
Nagios Version 3.0b6 -- Froylan Medina Ingenieria Multimedios TV Tel. (81) 8369 9910 Ext. -- La información contenida en este mensaje se envía únicamente para el destinatario, la cual puede contener Información de carácter CONFIDENCIAL o PRIVILEGIADA y está protegida así contra el acceso indebido. La modificación, retransmisión, difusión, copia u otro uso de la misma, (incluyendo todos los documentos adjuntos) por cualquier medio, por personas distintas al destinatario se prohíbe terminantemente. El contenido de este mensaje es responsabilidad exclusiva del autor y la empresa no necesariamente comparte el sentido del mismo. Si usted ha recibido esta comunicación por error, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna. _ De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Froylan Medina V. Enviado el: Lunes, 26 de Noviembre de 2007 07:23 p.m. Para: nagios-users@lists.sourceforge.net Asunto: [Nagios-users] Nagios with Netapp Hi, please tell me how to configure nagios to minitoring NetApp. -- Froylan Medina Ingenieria Multimedios TV Tel. (81) 8369 9910 Ext. -- La información contenida en este mensaje se envía únicamente para el destinatario, la cual puede contener Información de carácter CONFIDENCIAL o PRIVILEGIADA y está protegida así contra el acceso indebido. La modificación, retransmisión, difusión, copia u otro uso de la misma, (incluyendo todos los documentos adjuntos) por cualquier medio, por personas distintas al destinatario se prohíbe terminantemente. El contenido de este mensaje es responsabilidad exclusiva del autor y la empresa no necesariamente comparte el sentido del mismo. Si usted ha recibido esta comunicación por error, por favor notifique al remitente respondiendo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Scheduled maintenance
We have several services that alert every night during a scheduled process. (The drive partition drops below the free space limit). We could reschedule maintenance everyday, but it seems there should be a better way. Any thoughts on other approaches? \\Greg - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Scheduled maintenance
We wrote a couple of tools to assist with this scenario. I'm attaching them. They leverage an external tool which we wrote to parse the Nagios configuration and identify/verify hosts, but that dependency can be removed easily. We run them from cron. Examples: 55 03 * * * /etc/nagios/tools/toggle-host-notifications --off server1 05 04 * * * /etc/nagios/tools/toggle-host-notifications --on server1 00 02 * * * /etc/nagios/tools/toggle-service-notifications --off -- service HTTP redirect server3.domain.com 40 02 * * * /etc/nagios/tools/toggle-service-notifications --on -- service HTTP redirect server3.domain.com -John #!/usr/bin/perl -w # Write commands to Nagios indicating that the host is entering or # leaving some sort of downtime. # Author: John R. Daily ([EMAIL PROTECTED]) use strict; use warnings; use Getopt::Long; # Arguments: {--on|--off} hostname ... # Host name search tool my $NH = '/usr/local/bin/nh'; my $CMD_FILE = '/var/log/nagios/rw/nagios.cmd'; my $turn_on = 0; my $turn_off = 0; my $help = 0; sub usage { return END; Usage: toggle-host-notifications {--on|--off} hostname ... END } my $result = GetOptions ( help = \$help, on = \$turn_on, off = \$turn_off ); die usage() unless $result; if ($help) { print usage(); exit; } unless ($turn_on xor $turn_off) { die Must use ONE of --on or --off.\n; } unless (@ARGV = 1) { die Need Nagios hostname (run $NH to find hostname)\n; } foreach my $host (@ARGV) { die Unknown Nagios hostname: $host\n unless system($NH --verify $host) == 0; die Cannot send Nagios the message\n unless write_command($CMD_FILE, $host, $turn_on, $turn_off); } sub write_command { my ($outfile, $host, $on, $off) = @_; my $timestamp = time(); my $prefix = DISABLE; if ($on) { $prefix = ENABLE; } return 0 unless open(OUT, $outfile); print OUT sprintf([%d] %s_HOST_SVC_NOTIFICATIONS;%s\n, $timestamp, $prefix, $host); print OUT sprintf([%d] %s_HOST_NOTIFICATIONS;%s\n, $timestamp, $prefix, $host); return 1; } #!/usr/bin/perl -w # Write commands to Nagios indicating that the service is entering or # leaving some sort of downtime. # Author: John R. Daily ([EMAIL PROTECTED]) use strict; use warnings; use Getopt::Long; # Arguments: {--on|--off} hostname ... # Host name search tool my $NH = '/usr/local/bin/nh'; my $CMD_FILE = '/var/log/nagios/rw/nagios.cmd'; my $turn_on = 0; my $turn_off = 0; my $help = 0; my $service = 0; sub usage { return END; Usage: toggle-service-notifications {--on|--off} --service service hostname ... Any number of hosts may be provided, but only one service. END } my $result = GetOptions ( help = \$help, on = \$turn_on, off = \$turn_off, service=s = \$service ); die usage() unless $result; if ($help || !$service) { print usage(); exit; } unless ($turn_on xor $turn_off) { die Must use ONE of --on or --off.\n; } unless (@ARGV = 1) { die Need Nagios hostname (run $NH to find hostname)\n; } foreach my $host (@ARGV) { die Unknown Nagios hostname: $host\n unless system($NH --verify $host) == 0; die Cannot send Nagios the message\n unless write_command($CMD_FILE, $host, $service, $turn_on, $turn_off); } sub write_command { my ($outfile, $host, $service, $on, $off) = @_; my $timestamp = time(); my $prefix = DISABLE; if ($on) { $prefix = ENABLE; } return 0 unless open(OUT, $outfile); print OUT sprintf([%d] %s_SVC_NOTIFICATIONS;%s;%s\n, $timestamp, $prefix, $host, $service); return 1; } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Regarding Table spce
hello, I want to monitor 400 table space , currently i m using check_oracle_tbs script .whn i run this script this gives me error:-*DBD::Oracle perl module hasn`t been fully installed, or perhaps the capitalisation of 'Oracle, is not right* - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios with Netapp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Froylan Medina V. wrote: Nagios Version 3.0b6 Right. You run a test version and you want to be handheld in monitoring a box? Have you checked out previous posting on the subject? What did you investigate before you posted this question? Hugo. - -- [EMAIL PROTECTED] 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) iD8DBQFHS7l9BvzDRVjxmYERAvm3AJ92TCcYhDVbGKltmJN62YLdJHi8HwCgt1Kp 6kra74uuD+Jr6JQyBy6qpPU= =ENon -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Scheduled maintenance
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Martin wrote: We have several services that alert every night during a scheduled process. (The drive partition drops below the free space limit). We could reschedule maintenance everyday, but it seems there should be a better way. Any thoughts on other approaches? I would choose to use two schedules with different monitoring values. If this is business as usual then your Nagios config should reflect that. Hugo - -- [EMAIL PROTECTED] 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) iD8DBQFHS7o1BvzDRVjxmYERAh7rAJsFqmhiHGFzNuQvR0hnk8B0sSlDTgCgitKB HIL2IipLhhLf+d0esXV6fQk= =Wj0t -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null