Re: [Nagios-users] Installing Nagios Server on a Virtual Machine
Hi Juki, No problems here, either. OpenSuSe on Vmware ESX. regards from Hamburg cheers Leif -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: Donnerstag, 12. November 2009 13:03 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual Machine Hi, On Thursday November 12 2009 12:42:47 pm Juki wrote: Hello people, I would like to know if it is advisable (or best practice) to install and run a Nagios monitoring server on a virtual machine (in this case, with OpenSuSE as the OS) with the intention of monitoring physical hardware client machines on the same LAN. we have our Nagios testsystem and some distributed Nagios' running in Xen guests. We are seeing no problems with doing that. If so, what known issues should I look out for in this case? Thanks, Juki Greetings, Christian -- Christian Schneemann Operations Services - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 Only Sending out Flapping Alerts
Hi Kevin, May you can attach the contactgroups and contacts config? Maybe you forgot the notification type for warning, critical and so on for the contacts? Regards from Hamburg Leif From: Goutos, Kevin [mailto:kgou...@libertymgt.com] Sent: Dienstag, 20. Oktober 2009 16:42 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Only Sending out Flapping Alerts Hello all, First off, I really appreciate any feedback you can provide. I've just recently started working with Nagios and everything is working great, except for notifications being sent out. I've been searching all over the net, comparing my configurations with others to see if there was anything noticeable I was missing, but I can't seem to find anything. I've included my configuration files below for you to look at. I have been able to send a mail from the server (CentOS 5.3) using sendmail. I can also successfully send Email using the E-mail commands in the commands.cfg file. [code]/usr/bin/mail %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ ** $CONTACTEMAIL$ MY EMAIL ADDRESS[/code] Everything is being monitored correctly, just for some reason the E-mails are not being sent out. I should also note that if I do a Send custom host notification in nagios on a host that has a critical warning, I DO get an E-mail successfully. It's just not automatically sending them out. UPDATE: I do have some good news. I did receive a notification last night for a flapping alert. However, it still is not sending out alerts from being down, returning to up state, etc... [quote] [1255678430] SERVICE FLAPPING ALERT: AUSTIN-LAPTOP;CPU Load;STOPPED; Service appears to have stopped flapping (4.0% change 5.0% threshold) [1255678430] SERVICE NOTIFICATION: libertyadmins;AUSTIN-LAPTOP;CPU Load;FLAPPINGSTOP (CRITICAL);notify-service-by-email;No route to host[/quote] So it appears I'm receiving flapping alerts, but nothing else. In the Nagios web interface, if I go to Configuration -- ContactsI can see that under Service Notification Options and Host Configuration Options I only see Flapping, Downtime enabled. I'm not getting downtime alerts, but shouldn't there be more options there? Uptimeetc. Is there something obvious I am missing in the config files? I really appreciate the help, please let me know what you think. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] monitor windows service with $
\$DB works for me in the shell. When I try to check service$$DB in nagios now, I get: Status Information: service: Not found So he ignores everything after and including the $. Idea? -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Mittwoch, 7. Oktober 2009 17:04 To: Nagios Users Subject: Re: [Nagios-users] monitor windows service with $ On Oct 7, 2009, at 9:47 AM, Spook ZA wrote: nag...@nagios:~ /usr/local/nagios/libexec/check_nt -H 10.2.30.190 -p 12489 -v SERVICESTATE -l service$DB service: Not found I did an dirty hack / wrapper to get round this problem. You didn't need to AFAIK. I called it: /usr/lib64/nagios/plugins/msauxdb.sh and used it to check things like MSSQL$BKUPEXEC Nagios uses $ to interpret arguments to commands. Note that he's running this from the shell directly. Nagios isn't doing anything to it at all; no macro parsing etc... To prevent nagios from trying to parse the $ as the start of a macro from within the command{} definition, use $$ ('service$$DB' or 'MSSQL$$BKUPEXEC' in your case). -- Marc -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] monitor windows service with $
Ok, I got the solution, just the ' was missing. Now it looks like: check_nt!SERVICESTATE! -l 'service$$DB' and works :) Thanks to all. -Original Message- From: DE/HAM Hoppe, Leif [mailto:leif.ho...@hartrodt.com] Sent: Donnerstag, 8. Oktober 2009 10:34 To: Nagios Users Subject: Re: [Nagios-users] monitor windows service with $ \$DB works for me in the shell. When I try to check service$$DB in nagios now, I get: Status Information: service: Not found So he ignores everything after and including the $. Idea? -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Mittwoch, 7. Oktober 2009 17:04 To: Nagios Users Subject: Re: [Nagios-users] monitor windows service with $ On Oct 7, 2009, at 9:47 AM, Spook ZA wrote: nag...@nagios:~ /usr/local/nagios/libexec/check_nt -H 10.2.30.190 -p 12489 -v SERVICESTATE -l service$DB service: Not found I did an dirty hack / wrapper to get round this problem. You didn't need to AFAIK. I called it: /usr/lib64/nagios/plugins/msauxdb.sh and used it to check things like MSSQL$BKUPEXEC Nagios uses $ to interpret arguments to commands. Note that he's running this from the shell directly. Nagios isn't doing anything to it at all; no macro parsing etc... To prevent nagios from trying to parse the $ as the start of a macro from within the command{} definition, use $$ ('service$$DB' or 'MSSQL$$BKUPEXEC' in your case). -- Marc -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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] monitor windows service with $
Hi List, I currently configure the monitoring of some windows services. Just one service is having some problems. I looked in the registry for the real name of the service. It's like service$DB When I now try to check this service, I get the following: nag...@nagios:~ /usr/local/nagios/libexec/check_nt -H 10.2.30.190 -p 12489 -v SERVICESTATE -l service$DB service: Not found It looks like it cuts off everything behind the $. Anybody have an idea? Nagios 3.0.6 Plugins 1.4.14 Client: NSClient++ 0.3.6 Best regards from Hamburg Leif Leif Hoppe IT department System Administrator _ a. hartrodt (GmbH Co) KG Högerdamm 35 20097 Hamburg Tel.: (+49 40) 23 90 - 170 Fax: (+49 40) 23 90 - 394 Mobile: (+49 172) 166 032 6 E-Mail: leif.ho...@hartrodt.com Internet: www.hartrodt.com _ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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