Re: [Nagios-users] check_log multiple pattern and filtering
Hi, echo Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] POWER_FAN @MB.P0.F0.RS has FAILED. messages echo Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] CPU_FAN @MB.P0.F0.RS has FAILED. messages echo Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] CPU_FAN @MB.P0.F0.RS has FAILED. messages echo Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] CPU_FAN @MB.P0.F0.RS has FAILED. messages echo Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] DISK_FAN @MB.P0.F0.RS has FAILED. messages $ check_logfiles --tag miscerrors --logfile messages --criticalpattern error|connection timed out|SCSI transport failed --criticalexception CPU_FAN @MB.P0.F0.RS has FAILED --report long CRITICAL - (2 errors in check_logfiles.protocol-2009-12-03-17-34-46) - Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] DISK_FAN @MB.P0.F0.RS has FAILED. ...|miscerrors_lines=5 miscerrors_warnings=0 miscerrors_criticals=2 miscerrors_unknowns=0 tag miscerrors CRITICAL Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] POWER_FAN @MB.P0.F0.RS has FAILED. Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] DISK_FAN @MB.P0.F0.RS has FAILED. with check_logfiles you can define special cases (criticalexceptions) which do not count even if they match in the first place. As you see from the performance data miscerrors_lines=5 5 lines of the messages-file were scanned. The last match is shown in the 1st line of the plugin's output. With the option --report long you get the complete list of all matched lines. (2 errors in check_logfiles.protocol-2009-12-03-17-34-46) means, the matched lines were also written in a protocol file for later analysis. This can be switched off with --noprotocol. You find the plugin at http://labs.consol.de/nagios/check_logfiles Cheers, Gerhard -Ursprüngliche Nachricht- Von: Tobias Exner [mailto:tex...@eoipso.com] Gesendet: Donnerstag, 3. Dezember 2009 09:09 An: Nagios-Users Mailinglist Betreff: [Nagios-users] check_log multiple pattern and filtering Hi list, 1. any suggestions how to check multiple pattern with one command? example: check_log -F /var/adm/messages -O /var/adm/nagios_messages -q error|connection timed out|SCSI transport failed 2. Is there a way to ignore lines from the result? example: check_log -F /var/adm/messages -O /var/adm/nagios_messages -q error This will search for all errors. But what can I do to ignore lines with with spezial errors like Dec 3 07:26:23 SERVER rmclomv: [ID 431010 kern.error] CPU_FAN @ MB.P0.F0.RS has FAILED. regards, Tobias -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ 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 -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ 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] Check_oracle_health plugin error
Hi Marc, if DBD::Oracle has been installed correctly, then maybe your LD_LIBRARY_PATH does not include the directory where Oracle's libclntsh.so resides. In order to run check_oracle_health you must have a working environment with ORACLE_HOME, TNS_ADMIN,... Gerhard -Ursprüngliche Nachricht- Von: Marc Powell [mailto:m...@ena.com] Gesendet: Donnerstag, 10. September 2009 16:03 An: nagios List Betreff: Re: [Nagios-users] Check_oracle_health plugin error On Sep 10, 2009, at 1:01 AM, chethan@wipro.com chethan@wipro.com wrote: Hi Gerhard, Thanks for the suggestion... After compiling the plugin when I try to run on the command line I am getting the error. ./check_oracle_health -connect=nagios/nag...@sisdev -mode=tnsping CRITICAL - cannot connect to nagios/nag...@sisdev. install_driver (Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: . /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi / usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/ site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/ 5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/ lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/ perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/ vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/ 5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386- linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux- thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/ vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/ vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/ i386-linux-thread-multi /usr/lib/perl5/5.8.8) at (eval 13) line 3. Perhaps the DBD::Oracle perl module hasn't been fully installed, or perhaps the capitalisation of 'Oracle' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge. at ./check_oracle_health line 3973 Perl and DBI are compiled. It says you don't have the required perl module DBD::Oracle installed. Do you? If you believe you do, it's appears that it is not installed correctly. -- Marc -- 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] Check_oracle_health plugin error
Hi Chetan, looks like your tar command isn't able to handle filenames longer than 100 characters. (I think SuSE has this problem) So when you unpacked the tar archive, not all of the files inside were extracted. Please download the .shar.gz file and extract it with sh check_oracle_health-1.6.2.shar.gz Gerhard _ Von: chethan@wipro.com [mailto:chethan@wipro.com] Gesendet: Montag, 7. September 2009 12:38 An: Nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Check_oracle_health plugin error Dear All, I m trying to monitor oracle database hosted on solaris machine. when i try to configure/compile check_oracle_health plugin I m getting an error as below... Please let me know any work around for this error. Regards, Chethan M N bash-3.00# ./configure checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... pax checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for a BSD-compatible install... ./install-sh -c checking whether make sets $(MAKE)... (cached) yes variable with_statefiles_dir is /var/tmp/check_oracle_health checking for sh... /usr/bin/sh checking for perl... /usr/bin/perl checking for gzip... /usr/bin/gzip checking for gawk... no checking for nawk... /usr/bin/nawk checking for grep... /usr/bin/grep checking for echo... /usr/bin/echo checking for sed... /usr/bin/sed checking for cat... /usr/bin/cat configure: creating ./config.status config.status: creating Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating t/Makefile --with-perl: /usr/bin/perl --with-statefiles-dir: /var/tmp/check_oracle_health --with-nagios-user: nagios --with-nagios-group: nagios bash-3.00# make Making all in plugins-scripts make: Fatal error: Don't know how to make target `Nagios/DBD/Oracle/Server/Instance/SGA/SharedPool/DictionaryCache.pm' Current working directory /tmp/test/check_oracle_health-1.4.0.1/plugins-scripts *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='plugins-scripts t'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' = -- 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] Monitor MSSQL MySQL on Windows
Hi Chetan, you might try the cousins of check_oracle_health: http://exchange.nagios.org/directory/Plugins/Databases/SQLServer/check_mssql _health/details http://exchange.nagios.org/directory/Plugins/Databases/MySQL/check_mysql_hea lth/details Gerhard -Ursprüngliche Nachricht- Von: chethan@wipro.com [mailto:chethan@wipro.com] Gesendet: Freitag, 4. September 2009 08:10 An: Nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Monitor MSSQL MySQL on Windows Dear All, I am Installed Nagios 3 on Rhel 5. I need to monitor Database(MSSQL MySQL) health which are hosted on Windows Machine. The Windows machines are monitored by nagios via NSClient++. Any Help is highly Appreciated. Regards, Chethan M N -- 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] Tomcat Monitoring?
Hi Daniel, you might have a look at http://www.jmx4perl.org It's a small war-file which handles all the Java stuff and exports everything JMX through a restful HTTP interface. On the Nagios side you have a perl module JMX::Jmx4Perl and the plugin check_jmx4perl. We use it to monitor heapsize, thread created/sec, active threads, filedescriptors, bytesrcvd/sent ... The advantage over check_jmx is, you have 1. no need for Java on the client side, 2. one solution for every type of app server, 3. the possibility to measure increase/sec Gerhard _ Von: D. Emmanuel Feinsmith [mailto:dan...@danielemmanuelfeinsmith.com] Gesendet: Freitag, 31. Juli 2009 15:54 An: nagios-user Mailinglist Betreff: [Nagios-users] Tomcat Monitoring? Greetings, Can anyone tell me if there are any best practices on monitoring Tomcat using Nagios? Specifically, I'm looking for a combination of log parsing, authentication entries and denials, session usage, memory and process utilization, etc. Thanks! Daniel Emmanuel Feinsmith Feinsmith Software, LLC. Check out itms://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=317040435 mt=8s=143441 Brooklyn for Nagios on the iTunes App Store, The Best Selling iPhone app for Nagios! -- 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] pnp4nagios or nagiosgraph?
Hi, i recommend pnp. Integration in Nagios is very simple and you get the graphs immediately. Nevertheless you can design the look of the graphs individually with the template mechanism. Gerhard -Ursprüngliche Nachricht- Von: Sergio Ariel [mailto:sergio.ar...@iris.uh.cu] Gesendet: Freitag, 20. März 2009 21:53 An: nagios-users Betreff: [Nagios-users] pnp4nagios or nagiosgraph? I wanna to graph plugin output. What do I should install? -- Sergio Ariel de la Campa Saiz Administrador Red UH -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ 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 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ 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] Monitoring HP Hardware - NRPE/NSCA on Windows
Hi Curtis, with http://www.consol.com/opensource/nagios/check-hpasm you have two possibilities local (linux): the plugin runs on the HP and parses the output of the hpasmcli command remote (linux,windows): the plugin runs on the Nagios server and uses SNMP In both cases you need to install the hpasm RPM or the Windows Insight Management Agents. Gerhard _ Von: Curtis LaMasters [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 2. Dezember 2008 23:17 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Monitoring HP Hardware - NRPE/NSCA on Windows What is the best method for doing this. I would prefer to have some sort of script that parses information on the remote host on HP hardware. I have found a few that use SNMP but I'm not sure how that works with NRPE/NSCA. For Dell hardware I use check_dell.exe from http://www.itefix.no http://www.itefix.no/ . Anything similar would be great. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] check windows file?
Hi Dave, you might try http://www.consol.com/opensource/nagios/check-logfiles You call it with check_logfiles --logfile path_to_your_file --criticalpatterns whatever_you_consider_an_error_message If the file doesn't exists, you will get at least an UNKNOWN, although you can add program the plugin so it will return a CRITICAL if the file is missing. Gerhard -Ursprüngliche Nachricht- Von: dave stern - e-mail.pluribus.unum [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. November 2008 19:16 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] check windows file? I'm looking for a plugin that I can run from the unix side to connect to a windows host and at least test for the existance of a file, although checking for its contents would be even more ideal. I couldn't find anything at nagiosexchange unless my search string wasn't specific enough. Anyone? Thanks -- --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] How do I monitor a specific log message?
Hi Estevao, on this page http://www.consol.com/opensource/nagios/check-logfiles you will a lot of documentation and a download link for check_logfiles.exe. This plugin was written to search patterns in files. It will run on your Windows server, so you don't have to export a share with the logfile. Gerhard _ Von: Estevao Soares [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. November 2008 18:53 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] How do I monitor a specific log message? Hi there folks, I'm having a hard time trying to figure out how to solve this. I have nagio 3.01 running ok on a debian etch install. I have a Windows Server 2k who runs an important software for my company and it has a routine to run a .bat file an log the progress on a .txt file on my windows machine (Using Nsclient++ and check_nt so far). On this .txt file I need to monitor this message 10/05/2006 02:40:03 Não existe header.000335 [day] [hour] [info] I need nagios to monitor this log file and turns service critical as soon as it finds this specific message. How on earth can I do this? I'm very clueless about this on... Some good soul here could point me the way? Thanks a lot! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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 nagios running on a different server
Hi, did you google for check_nagios? This plugin checks the status of the Nagios process on the local machine The plugin will check to make sure the Nagios status log is no older than the number of minutes specified by the expires option. It also checks the process table for a process matching the command argument. Gerhard _ Von: rmp dmd [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Oktober 2008 17:28 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Monitor nagios running on a different server Hi, We have a nagios monitoring system for Production systems installed on prodservmon1. We want to include monitoring of this in our nagios monitoring for our corporate systems. Simply put, we want to monitor nagios service running on prodservmon1. I've been googling but I haven't find anything. Kindly advise on how to do this. Thanks! Roehl - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] How would you monitor a large list of URLs?
Hi, check_multi @ http://my-plugin.de/wiki/projects/check_multi/start might be an option. It has a configuration file where you can put all the single check_http commands, one line for each of your urls. Gerhard -Ursprüngliche Nachricht- Von: Sean Carolan [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Oktober 2008 21:29 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] How would you monitor a large list of URLs? I'm sure at least one of you may have been down this path before, so here's my question: I have a large list of URLs that I'd like to monitor with Nagios. At some point I may break them into groups but for the time being I'd be happy to have a simple check_url monitor with the same options for all URLs. How would you tackle this problem? -- --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] how can i monitor a application using nagios
The best way to do this is to write a plugin check_application_is_running_well_balanced. Either there is already such a plugin or you have to write it on your own. The code of the plugin depends strongly on your application. It needs to find out wether the application is running well balanced or not. That's all i can offer, because i don't even know the name of this aplication. Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von localyee Gesendet: Dienstag, 9. September 2008 18:37 An: nagios-users Betreff: [Nagios-users] how can i monitor a application using nagios i can monitor the server of a host,as HTTP,FTP... and how can i monitor an application the the host using nagios, what i want is to check if the application is running well-balanced or not 2008-09-10 _ localyee - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] multiple nagios instances on one machine
) BUT it has the ability to update each individual instance of Nagios, Nagios Plugins, and 'configuration changes' If you are a friend of symbolic links, you can do this with my method too: normally, the instances share a common installation of nagios, plugins,... [EMAIL PROTECTED]:~ ls -l instances/instance_os_solaris total 12 lrwxrwxrwx 1 nagios nagios 31 2008-03-06 20:41 bin - /opt/nagios/core/nagios/bin drwxr-xr-x 2 nagios nagios 4096 2008-06-11 21:15 etc lrwxrwxrwx 1 nagios nagios 43 2008-03-06 20:41 libexec - /opt/nagios/core/nagios-plugins/libexec lrwxrwxrwx 1 nagios nagios 47 2008-03-06 20:41 locallibexec - /opt/nagios/core/local-plugins/locallibexec drwxr-xr-x 3 nagios nagios 4096 2008-03-06 20:41 ndoutils lrwxrwxrwx 1 nagios nagios 32 2008-03-06 20:41 sbin - /opt/nagios/core/nagios/sbin lrwxrwxrwx 1 nagios nagios 33 2008-03-06 20:41 share - /opt/nagios/core/nagios/share drwxr-xr-x 4 nagios nagios 4096 2008-03-06 20:41 var [EMAIL PROTECTED]:~ ls -l instances/instance_os_linux total 12 lrwxrwxrwx 1 nagios nagios 31 2008-03-06 20:56 bin - /opt/nagios/core/nagios/bin drwxr-xr-x 2 nagios nagios 4096 2008-08-26 02:38 etc lrwxrwxrwx 1 nagios nagios 43 2008-03-06 20:56 libexec - /opt/nagios/core/nagios-plugins/libexec lrwxrwxrwx 1 nagios nagios 47 2008-03-06 20:56 locallibexec - /opt/nagios/core/local-plugins/locallibexec drwxr-xr-x 3 nagios nagios 4096 2008-03-06 20:56 ndoutils lrwxrwxrwx 1 nagios nagios 32 2008-03-06 20:56 sbin - /opt/nagios/core/nagios/sbin lrwxrwxrwx 1 nagios nagios 33 2008-03-06 20:56 share - /opt/nagios/core/nagios/share drwxr-xr-x 4 nagios nagios 4096 2008-03-06 20:56 var [EMAIL PROTECTED]:~ ls -l core total 36 lrwxrwxrwx 1 nagios nagios 17 2007-07-10 10:30 local-plugins - local-plugins-1.0 drwxr-xr-x 3 nagios nagios 4096 2006-02-28 12:34 local-plugins-1.0 lrwxrwxrwx 1 nagios nagios 11 2008-01-18 21:08 nagios - nagios-3.0.3 drwxrwxr-x 6 nagios nagios 4096 2008-08-23 13:44 nagios-4.0a drwxrwxr-x 7 nagios nagios 4096 2008-01-18 21:08 nagios-3.0.3 lrwxrwxrwx 1 nagios nagios 21 2008-01-21 16:35 nagios-plugins - nagios-plugins-1.4.12 drwxr-xr-x 3 nagios nagios 4096 2008-01-21 16:35 nagios-plugins-1.4.11 drwxr-xr-x 4 nagios nagios 4096 2005-12-28 20:21 nagios-plugins-1.4.12 [EMAIL PROTECTED]:~ As you see, the sbin of the two instances point to ~/core/nagios/sbin which in fact is ~/core/nagios-3.0.3/sbin. The core/nagios always points to the default release. Now if you want to upgrade the instance_os_linux to use the brandnew Nagios-4.0 Alpha, you would directly link from the instance directory to the new release. [EMAIL PROTECTED]:~ ls -l instances/instance_os_linux total 12 . lrwxrwxrwx 1 nagios nagios 32 2008-03-06 20:56 sbin - /opt/nagios/core/nagios-4.0a/sbin lrwxrwxrwx 1 nagios nagios 33 2008-03-06 20:56 share - /opt/nagios/core/nagios-4.0a/share . But if you plan to change releases often and play around a lot, then i would also prefer to compile a nagios installation for each instance. Gerhard - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] multiple nagios instances on one machine
Hi, this might be what you're looking for: http://people.consol.de/~lausser/nagios/more-than-one-nagios.html Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Steven Battaille Gesendet: Montag, 1. September 2008 15:13 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] multiple nagios instances on one machine Hello Is there anyone who can tell me if it is possible to run more than one instance of nagios on the same machine? This could be very handy to have different nagios installations for different customers. Thanks in advance. Steven Battaille Advanced Projects Products President Kennedypark 41 B-8500 Kortrijk Belgium www.ap2.be - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] check_hpasm error
Hi Tom, UNKNOWN - hanging hpasmdcli processes check_hpasm executes the hpasmcli command which connects to the hpasmd daemon. If this daemon becomes unresponsive, hpasmcli just hangs. The next run of check_hpasm detects this hanging process and exits with the above error message. It would not make sense for the plugin to continue, as another hpasmcli would also hang. I don't know the reason why the daemon stops responding. Maybe an update of the system BIOS helps. In case of such an alert the only known workaround is to restart hpasm with /etc/init.d/hpasm restart. Gerhard Does anyone know of a workaround to this apart from perhaps increasing the retry attempts for this service to try and catch it in a good state before the alarm triggers? thanks -- --- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] Plugin to monitor keyword in a logfile on theWindows platform?
Does anyone know if there is a plugin avalaible to monitor for a 'keyword' (such as error) in a log file on the Windows platform? http://www.consol.com/opensource/nagios/check-logfiles Best regards, Gerhard - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] Automatic Report Generation
What I need is a simple availability report, like I can generate in the Web GUI of the Nagios. Create a report manually and when you click on the Generate Availability Report! button keep an eye on the apache logfile. Then take that url from the logfile (something with ./avail.cgi?). In a small script you can get the raw html of the report at any time with wget --output-document=report.html the url Then you can convert the html file with this: http://search.cpan.org/~autrijus/PDF-FromHTML-0.08/script/html2pdf.pl With the mutt mailer you can send a mail with an attachment #! /bin/bash wget --output-document=report.html the url html2pdf.pl report.html report.pdf mutt -s report -a report.pdf [EMAIL PROTECTED] rm report.html report.pdf This is not the exact solution, i just wrote it down without trying it. Gerhard - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] check_logfiles documentation
Hi, CRITICAL -(17 errors, 1 warning) - [4/17/08 13:51:42:420 EDT] 0037 Jay is right, the code is sprintf %s - %s..., so there _must_ be a space after the hyphen. Besides that, the nagios servide definition is a bit special (there is no need for a command check_nrpe_log. call it check_nrpe because you want to use it not only for check_logfiles), but it should work. Login at rflx01app and make touch /tmp/check_logfiles; tail -f /tmp/check_logfiles As long as this file exists, check_logfiles writes debugging information in it. So you can watch, wether check_logfiles is executed at all when running under Nagios control. What we need to find out is, wether check_logfiles runs and produces output which nagios doesn't accept (which would be strange, because it works when you call check_nrpe manually) or if the error happens even before check_nrpe is executed. Can you also have a look at the nagios.log? Gerhard - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] check_logfiles documentation
Hi guys, i just explained it to Victor in private mail, but this seems to be a FAQ. OK - no errors or warning|websphere_lines=0 websphere_warnings=0 ^^ ^^ .._lines=0 means that _no_ lines were scanned for patterns at all. Why? First, because check_logfiles only examines lines which were appended to the logfile since the last run. And second, if you run check_logfiles for the very first time, it does not start searching from the beginning of the file. It only initializes itself by positioning at the end-of-file. This was necessary to avoid alerts caused by very old error messages in the logfile. check_logfiles... and if not, carefully double check that filename argument (and hang a bug against check_logfiles; 'I can't find that log file' probably ought to be an error condition; at least as a different status return (WARNING - logfile not found). This message already exists: $ check_logfiles --logfile=/var/log/schmarrn.log --criticalpattern=kaas UNKNOWN - (1 unknown in check_logfiles.protocol-2008-04-17-19-32-10) - could not find logfile /var/log/schmarrn.log |default_lines=0 default_warnings=0 default_criticals=0 default_unknowns=1 (There is the option nologfilenocry which can be set in a configurationfile. With this option, a missing logfile is silently tolerated). Gerhard - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] Checking contents of a file on MS Windows
Hi Mark, maybe this http://www.consol.com/opensource/nagios/check-logfiles is what you're looking for. You tell the plugin the logfile and the patterns you expect and it raises an alert if one of the patterns was appended to the logfile since the last run. It is also possible to go the other way round. You tell the plugin which pattern you expect to find (e.g. backup succeeded) and it alerts if no such pattern appears. Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2008 17:16 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Checking contents of a file on MS Windows So I have run across one for which I can't figure out a starting point. We are using Tivoli to backup our farm including databases. For the most part this is easy to monitor as we can just monitor Tivoli. However the database backups are not scheduled through Tivoli but rather in their respective DBs as scheduled procedures. (I am not a DBA so forgive me if my language on that piece is off). The only actual method for determining the success or failure of these backups is a log file on the Windows server. We are using SNMP for all our Windows monitoring at the moment but are open to other solutions. I need to be able to access this file, grep out the date and status, and process those results for Nagios. Does anyone know of a simple way to do this and if not then does anyone know of a complicated method? I am not locked into to any solution and would be willing to use active or passive checks, snmp, nc_net, or any other solution. Thanks in advance for any replies or advice. Best Regards, Mark L. Potter Systems Engineer Academy Sports Outdoors 1800 N. Mason Rd Katy, Texas 77449 Office: 281-646-5857 Cell: 281-734-6965 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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] compile nagios-plugins-1.4.11
Hi, --with-ps-command=/usr/bin/ps --with-ps-format=pid,pcpu,vsz,etime --with-ps-cols=4 --with-ps-varlist='%d %d.%d %d %d:%d' i think you mixed up these parameters. Open the file configure.in and search for ac_cv_ps_command. In the following lines you will find some examples. Btw, what happens if you don't use these parameters at all? Gerhard - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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] check_hpasm error Virus checked
So now the sudo /usr/local/nagios/libexec/check_hpasm -v command runs perfectly launched by the nagios user. Please do never again run /usr/local/nagios/libexec/check_hpasm -v with sudo. The only thing that you need sudo privileges for is the /sbin/hpasmcli command. I thought this already worked? Running sudo /sbin/hpasmcli -s help as nagios provides the exepected output. You need to make two things clear. 1. sudo /sbin/hpasmcli -s help must not ask you (logged in as the nagios user. on the host miysis) for a password. If it asks for a password, edit your /etc/sudoers. Do not proceed beyond this point until sudo /sbin/hpasmcli -s help stops asking you for a password. 2. /usr/local/nagios/libexec/check_hpasm executed by the nagios user (without sudo. no more sudo) must not ask you for a password. If it does, or if you see the message UNKNOWN - insufficient rights to call sudo sbin/hpasmcli, please goto 1. (if you execute check_hpasm as the nagios user, then sudo /sbin/hpasmcli... will be called from inside the plugin) I have also removed the sudo from the command[check_hpasm]= line in my nrpe.conf file and restarted xinetd and nagios. good. This means, if the nagios server asks the nrpe daemon to execute the check_hpasm, it will call /usr/local/nagios/libexec/check_hpasm as the nagios user. if the nrpe daemon was started as the nagios user. then the daemon will do exactly the same thing you did in step 2. Now you imitate the nagios server. Login at the nagios server. Call check-nrpe -H miysis -c check_hpasm. problem and I can understand the impatience shown by Gerhard I am not really impatient. but Nagios is really not simple to implement even in an This problems have absolutely nothing to do with Nagios. Just make sure you (as the nagios user, not root, without sudo) can execute the commands you want the nrpe daemon to execute. Gerhard - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] check_hpasm error Virus checked
Hi Michel, did you restart NRPE with debug=1 ? Any interesting debug output in /var/log/messages? Please find the pid of the NRPE daemon on host miysis ps -ef | grep nrpe Then, trace the process with strace -f -p the_pid_you_found -etrace=execve On the Nagios server, execute the check_nrpe -t 60 -H miysis -c check_hpasm There should be some output from the strace command like [pid 10853] execve(/bin/sh, [umovestr: Input/output error 0xf7f799c8f7f799d0, /lfs/opt/nagios/nrpe/locallibexe...], [/* 48 vars */]) = 0 [ Process PID=10853 runs in 64 bit mode. ] [pid 10853] execve(/lfs/opt/nagios/nrpe/locallibexec/check_logfiles, [/lfs/opt/nagios/nrpe/locallibexe..., -f], [/* 60 vars */]) = 0 [ Process PID=10853 runs in 32 bit mode. ] Please post your output here. Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von PO Michel Gesendet: Dienstag, 8. Januar 2008 12:18 An: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED] Betreff: Re: [Nagios-users] check_hpasm error Virus checked Hi Marcus Don't worry, I am a very disciplined person even if I'm french ;-) So I have tried to logout and login again (as nagios of course) and the result of the command check_nrpe -t 60 -H miysis -c check_hpasm still is NRPE: Unable to read output. I have tried to run this command as root and the result is the same. I guess there really is a problem with this /etc/sudoers file. Access right is 440 on this file, which seems to be the default. I will try to recreate it from sratch and keep you posted. Many thanks for your kind support. - PO Michel (misterpo) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maill isttofaq_pi1[showUid]=8026 -- --- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n et/marketplace ___ 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] check_hpasm error Virus checked
Running sudo /usr/local/nagios/libexec/check_hpasm -v as nagios prompts Of course it prompts. Running sudo /sbin/hpasmcli -s help as nagios provides the exepected output. Of course it does. Please look into your sudoers file and please read the sudo manpage. The you will know why sudo prompts or not. It is not possible to chmod my /etc/sudoers file to 640 as it This has nothing to do with it. The content of my nrpe.conf is the following : command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm Can you PLEASE remove this sudo from this line? And please can you execute /usr/local/nagios/libexec/check_hpasm WITHOUT sudo. Sorry for being rude, but this takes to long and it seems you didn't read the mails carefully. Gerhard - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] 10g
http://www.gallery10g.com/ There's a contact address on this page. Maybe you should ask him. _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Mad Unix Gesendet: Dienstag, 8. Januar 2008 19:16 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] 10g Does Nagios work with 10g ? -- madunix - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] check_hpasm error Virus checked
Hi, - With solution Nb1 : UNKNOWN - insufficient rights to call sudo /sbin/hpasmcli please login at miysis as the user, who runs the nrpe daemon. call sudo /sbin/hpasmcli -s help Does this work without password? call /usr/local/nagios/libexec/check_hpasm -v What's the output? If it works so far, logout and login at your Nagios server. call check_nrpe -t 60 -H miysis -c check_hpasm What's the output? Gerhard p.s. do you have the line command[check_hpasm]=/usr/local/nagios/libexec/check_hpasm in your nrpe.cfg and was the nrpe daemon recently restarted? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NRPE Plug-in Development
Hi Heiko, In case you want to enable some extended monitoring (performance), you may output the performance data: OK - current bw: 17Mbit/s|in:12 out:22 Are you sure about the performance data format? label:value looks more like Cacti-format. According to the developer guidelines' proposal 'label'=value[UOM];[warn];[crit];[min];[max] it would be in=12 out=22 Greetings from Munich, Gerhard - 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] check_hpasm error Virus checked
Hi, can you please login as the nagios user on host miysis and execute sudo /sbin/hpasmcli -s help If you are asked for a password there, then maybe your sudo-configuration only allows you to call the bare command without any additional command line options. man sudoers says: A simple filename allows the user to run the command with any arguments he/she wishes. However, you may also specify command line argu ments (including wildcards). Alternately, you can specify to indicate that the command may only be run without command line arguments. Maybe something like that is the reason. Does /sbin/hpasmcli exist? Is it a link? What about /opt/compaq/utils/hpasmcli? Does it run if you call sudo /opt/compaq/utils/hpasmcli -s help The NRPE. Unable to read output is typical for such siturations where a plugin's only output is a password:. You need to fix the sudo-problem first. Another thing is the -v option. This is only for debugging if you call the plugin as standalone. With -v it outputs some lines of text and nagios will show the first one (checking hpasmd process) instead of the last one with the summary. Greetings from Munich, Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von PO Michel Gesendet: Freitag, 4. Januar 2008 10:10 An: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED] Betreff: Re: [Nagios-users] check_hpasm error Virus checked Hi Marcus Thanks a lot for your quick and precious help. My purpose is also to make check_hpasm work through NRPE. But I get an NRPE. Unable to read output message. Here is my services.cfg file : define service { host_name miysis use template-services service_description HP Hardware check_command check_nrpe!check_hpasm } nrpe.cfg is : command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm -v - PO Michel (misterpo) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maill isttofaq_pi1[showUid]=7868 -- --- 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] check_hpasm error Virus checked
running NRPE under xinetd could raise problems ? I don't think so. At least i never read about anyone having problems. Gerhard - 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] check_hpasm error Virus checked
Yes, the sudo /sbin/hpasmcli -s help works run as nagios. I get the following output : CLEAR DISABLE ENABLE EXIT HELP QUIT SET SHOW That's perfect so far. I think you even don't need the sudoers entry for /opt/compaq/utils/hpasmcli any more. What's the output if you call check_hpasm -v as the nagios user on miysis? Do you think Nagios should run on another distro than RedHat 5.0 ? No, the ability to run hpasmcli with sudo should be sufficient. Gerhard - 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] check_hpasm error Virus checked
Hi Michel, Should I uncomment the commad_prefix option in the nrpe.cfg config file ? you would do that, if you want to run _all_ of your commands with sudo, which is a crazy thing to do under normal circumstances. Another usage may be something like command_prefix=PATH=$PATH:/some/special/path/to/nagios For the time being it is not used and my other NRPE checks (Disk, CPU, Swap) work... Then you have absolutely no reason to change that. Adding sudo only to the commands which really need it like command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm and nowhere else is a good solution and doesn't bloat your sudoers file. Gerhard - 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] check_hpasm error Virus checked
Hi Michel, Hi Marcus ;-) now i see what's wrong here: in your sudoers you allow the nagios-user to execute /sbin/hpasmcli with sudo but according to the nrpe.cfg command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm you actually try to execute /usr/local/nagios/libexec/check_hpasm with sudo. Inside the check_hpasm i have some code which decides wether to execute /sbin/hpasmcli or sudo /sbin/hpasmcli. This depends on the uid under which the plugin was started. You have two possibilities: 1. - Stay with the current sudoers configuration which works (Yes, the sudo /sbin/hpasmcli -s help works run as nagios. I get the following output) - Tell NRPE to run check_hpasm as the nagios user: command[check_hpasm]=/usr/local/nagios/libexec/check_hpasm The check_hpasm would detect that it runs under a non-root uid and will call sudo /sbin/hpasmcli ... 2. - Add /usr/local/nagios/libexec/check_hpasm to the list of privileged commands in /etc/sudoers and keep your nrpe.cfg I would recommend Nr.1 little bit afraid of the time you have to spend to configure it :-) If i can help convincing a management to accept Nagios, then it was worth it. Gerhard - 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] Announce: check_mysql_perf
Hi Nagios users, allow me to offer you my plugin check_mysql_perf. It was written to monitor (primarily) performance related characteristics of a MySQL database. The -m option tells the plugin the desired mode. Possible keywords are: threads-connected (Check 'Threads connected') qcache-hitrate(Check 'Query cache hitrate') keycache-hitrate (Check 'Key cache hitrate') connection-time (Check 'Seconds to get a connection') tmp-disk-tables (Check 'Percent of temp tables created on disk') slave-lag (Check 'Seconds behind master') slave-io-running (Check for 'Slave io running: Yes') slave-sql-running (Check for 'Slave sql running: Yes') Example: check_mysql_perf -m qcache-hitrate OK - Query Cache Hitrate at 93.93%|qcache_hitrate=93.93%;90:;80: check_mysql_perf -m qcache-hitrate -w 95: -c 90: WARNING - Query Cache Hitrate at 93.93%|qcache_hitrate=93.93%;95:;90: Please take into account that you need also the nagios-plugins package (i recommend 1.4.11) for a successful build. The steps are: - tar zxvf nagios-plugins-1.4.11.tar.gz - cd nagios-plugins-1.4.11; ./configure; make - cd .. - tar zxvf check_mysql-perf-1.1.tar.gz - cd check_mysql-perf-1.1 - ./configure --with-officialplugins=/absolute/path/to/nagios-plugins-1.4.11 - make Of course a mysql-dev installation has to be found (or provided with --with-mysql) either in step 2 or step 6. You can find more documentation and the download link at http://www.consol.com/opensource/nagios/check-mysql-perf Greetings from Munich, Gerhard - 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] AIX log monitoring with check_log
Hi Roger, you might look at http://www.consol.com/opensource/nagios/check-logfiles/examples Example 15 If you define a search with type='errpr', check_logfiles reads the output of errpt as if it were a real logfile and only cares for messages which appeared since the last run. Additionally, you have a lot more possibilities to weight or manipulate the messages than with check_log. Greetings from Munich, Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Roger Gesendet: Dienstag, 11. Dezember 2007 22:50 An: Nagios Users mailinglist Betreff: [Nagios-users] AIX log monitoring with check_log I'm looking for other AIX log monitoring recipes and am hoping someone here might be able to point me in the right direction. I see (sorta) how AIX creates logs and am wondering if anyone here has specific AIX-ish queries that they run with Nagios' check_log plugin. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ 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] check_log + mysqld.log
Hi Roger, I don't know much about MySQL to know which types of errors that I should be looking for and am hoping others here might have some recipes / hacks that they use that they might share what has worked well for them. if you use check_logfiles instead of check_log, you can squeeze multiple patterns to look for in a service. You call it with a configuration file which for example looks like this: @searches = ( { tag = 'mysqlerr', logfile = '/var/log/mysql/mysql.log', # wherever your logfile is rotation = 'mysql\.log\.old', # must match the rotated logfile(s) criticalpatterns = [ 'Error', 'you hit a bug', 'Disk is full', 'find out where mysqld died', 'Number of processes running now: 0', ], warningpatterns = [ 'should be repaired', 'try to repair it', 'InnoDB: Database was not shut down normally' ], }, { tag = 'mysqlrecover', logfile = '/var/log/mysql/mysql.log', rotation = 'mysql\.log\.old', criticalpatterns = [ 'InnoDB: Starting crash recovery', ], okpatterns = [ 'InnoDB: Apply batch completed' ] } ); And where check_log didn't work (say you needed more intelligent log watching), I don't know if this can already be called intelligence, but in the last lines you can see an example for a so-called okpattern which is able to remedy a criticalpattern found shortly before. Another feature is the possibility to call external scripts or a perl subroutine if specific patterns are found. This could be used to automatically restart mysqld or maybe automatically repair tables. You can find it at http://www.consol.com/opensource/nagios/check-logfiles Greetings from Munich, Gerhard - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] check_x - automatically make check_a, check_b, check_c?
Hi Roger, maybe check_multi http://www.my-plugin.de/wiki/projects/check_multi/start is what you're looking for. Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Roger Gesendet: Donnerstag, 6. Dezember 2007 23:29 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] check_x - automatically make check_a, check_b,check_c? Is there a way to make a check_(whatever) and automatically create other checks? For example, say I want to specify check_cisco_pix, which automatically creates a lot of other check_snmp commands, and when you go to http://IP/nagios, you see like 10 checks that automatically got created on the fly. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ 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] Oracle alert logs
Will the script useful with snmp? I have no nrpe on my oracle server i m collecting information through snmp only... Sorry, the plugin must have local access to the logfile. Without nrpe check_by_ssh is your only chance to run the plugin on the database server. If you're limited to snmp then i see no chance except writing your own extension to snmpd (http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_perl). Gerhard Gerhard Lausser wrote: Hi Sunny, you could use http://www.consol.com/opensource/nagios/check-logfiles for that. However you need to either run the nrpe daemon or to be able to login wit ssh on the oracle server. On the examples page there is a section on Oracle alert logs: @searches = ( { tag = 'oraalerts', logfile = '/alert.log', criticalpatterns = [ 'ORA\-0204',# error in reading control file 'ORA\-0206',# error in writing control file 'ORA\-0210',# cannot open control file 'ORA\-0257',# archiver is stuck 'ORA\-0333',# redo log read error 'ORA\-0345',# redo log write error 'ORA\-04[4-7][0-9]',# ORA-0440 - ORA-0485 background process failure 'ORA\-048[0-5]', 'ORA\-06[0-3][0-9]',# ORA-6000 - ORA-0639 internal errors 'ORA\-1114',# datafile I/O write error 'ORA\-1115',# datafile I/O read error 'ORA\-1116',# cannot open datafile 'ORA\-1118',# cannot add a data file 'ORA\-1578',# data block corruption 'ORA\-1135',# file accessed for query is offline 'ORA\-1547',# tablespace is full 'ORA\-1555',# snapshot too old 'ORA\-1562',# failed to extend rollback segment 'ORA\-162[89]', # ORA-1628 - ORA-1632 maximum extents exceeded 'ORA\-163[0-2]', 'ORA\-165[0-6]',# ORA-1650 - ORA-1656 tablespace is full 'ORA\-4031',# out of shared memory. ], warningpatterns = [ 'ORA\-3113',# end of file on communication channel 'ORA\-6501' # PL/SQL internal error ] }); On the DB-server you need the check_logfiles plugin and the above config file. Then you define a service define service { service_description check_oraalerts host_name dbsrv check_command check_by_ssh!/path/to/check_logfiles -f /path/to/above_configfile is_volatile 1 check_period 7x24 max_check_attempts1 ... } define command { command_namecheck_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '$ARG1$' } and you should get a nagios notification every time new error messages are appended to the alertlog. Greetings from Munich, Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Sunny Bhatheja Gesendet: Donnerstag, 22. November 2007 16:42 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Oracle alert logs Hello, I want to monitor the oracle alert log from my nagios server.My oracle is installed on remote machine (sun 5.8) .It is a production server so i can `t do much on that , Is there way way to monitor those alert logs. -- --- 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] Oracle alert logs
Hi Sunny, you could use http://www.consol.com/opensource/nagios/check-logfiles for that. However you need to either run the nrpe daemon or to be able to login wit ssh on the oracle server. On the examples page there is a section on Oracle alert logs: @searches = ( { tag = 'oraalerts', logfile = '/alert.log', criticalpatterns = [ 'ORA\-0204',# error in reading control file 'ORA\-0206',# error in writing control file 'ORA\-0210',# cannot open control file 'ORA\-0257',# archiver is stuck 'ORA\-0333',# redo log read error 'ORA\-0345',# redo log write error 'ORA\-04[4-7][0-9]',# ORA-0440 - ORA-0485 background process failure 'ORA\-048[0-5]', 'ORA\-06[0-3][0-9]',# ORA-6000 - ORA-0639 internal errors 'ORA\-1114',# datafile I/O write error 'ORA\-1115',# datafile I/O read error 'ORA\-1116',# cannot open datafile 'ORA\-1118',# cannot add a data file 'ORA\-1578',# data block corruption 'ORA\-1135',# file accessed for query is offline 'ORA\-1547',# tablespace is full 'ORA\-1555',# snapshot too old 'ORA\-1562',# failed to extend rollback segment 'ORA\-162[89]', # ORA-1628 - ORA-1632 maximum extents exceeded 'ORA\-163[0-2]', 'ORA\-165[0-6]',# ORA-1650 - ORA-1656 tablespace is full 'ORA\-4031',# out of shared memory. ], warningpatterns = [ 'ORA\-3113',# end of file on communication channel 'ORA\-6501' # PL/SQL internal error ] }); On the DB-server you need the check_logfiles plugin and the above config file. Then you define a service define service { service_description check_oraalerts host_name dbsrv check_command check_by_ssh!/path/to/check_logfiles -f /path/to/above_configfile is_volatile 1 check_period 7x24 max_check_attempts1 ... } define command { command_namecheck_by_ssh command_line$USER1$/check_by_ssh -H $HOSTADDRESS$ -C '$ARG1$' } and you should get a nagios notification every time new error messages are appended to the alertlog. Greetings from Munich, Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Sunny Bhatheja Gesendet: Donnerstag, 22. November 2007 16:42 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Oracle alert logs Hello, I want to monitor the oracle alert log from my nagios server.My oracle is installed on remote machine (sun 5.8) .It is a production server so i can `t do much on that , Is there way way to monitor those alert logs. -- --- 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] ANNOUNCE check_hpasm-1.6.1
Hi, for those of you monitoring HPC Proliant hardware with the check_hpasm plugin. I fixed a bug which could lead to overseen failed fans. Please find the new release under http://www.consol.de/opensource/nagios/check-hpasm/ Greetings from Munich, Gerhard - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] Plugins for health-check of IBM servers
Have a look at the numerous check_ipmi[tool] plugins or google for nagios ipmitool. Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Yogesh Hasabnis Gesendet: Montag, 8. Oktober 2007 14:02 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Plugins for health-check of IBM servers Hi, I have been using check_cciss plugin for monitoring the health of our HP Proliant server. Would like to know about a similar plugin for monitoring IBM X-series servers. Thanks in advance. Yogesh - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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] Monitoring unix (SUN) logfiles...
Hi Fabio, if you mean looking for specific patterns in various logfiles, i can offer you the check_logfiles plugin. You define where to search, what to search for and Nagios will send you a notification if the what appears in the where. Have a look at http://www.consol.com/opensource/nagios/check-logfiles/examples for an example, how you can use Nagios to look for SAN-related error messages in the Solaris /var/adm/messages file. Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Fabio Iovine Gesendet: Montag, 8. Oktober 2007 16:09 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Monitoring unix (SUN) logfiles... hi folks, I read on the website among the features Nagios can monitor log files but I was unable to find more precise informations on how it does the monitoring. can someone please tell me where I can find these informations? more, I'd like to understand whether Nagios can monitor file existence? can someone help on this? thanks in advance, Fabio - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ 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] Syslog Event Log
Hi, Is it possible to use Nagios to capture Switch/Router Syslogs/eventlogs/error logs. If you collect the messages in logfiles, you can use http://www.consol.com/opensource/nagios/check-logfiles to scan these files for critical or warning patterns. It was written to replace the Tivoli logfile adapter. Gerhard - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] ANNOUNCE check_logfiles 2.2.2
Hi list, there is a new version of the check_logfiles plugin. Thank you for your proposals i received since the last version. I hope this one fulfills all of your needs. The major enhancement is the introduction of what i call smart scripts. Every time one of your defined patterns matches a line in the logfile, a script can be executed. Until now, output and exit code of these scripts were simply ignored. Smart scripts have an exit code of 0-3 which is taken into account just as if another pattern has matched. Supersmart scripts have the ability to entirely replace the pattern match by their exitcode and output. This allows you to have a much more detailed look at the matching lines in your logfiles. You find everything at http://www.consol.com/opensource/nagios/check-logfiles or in german at http://www.consol.de/opensource/nagios/check-logfiles If you have no clue of what i wrote here (forgive my english), look at the examples at http://www.consol.com/opensource/nagios/check-logfiles/examples or in german at http://www.consol.de/opensource/nagios/check-logfiles/beispiele Greetings from Munich, Gerhard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] New release of check_logfiles // i forgot something....
Sorry to spam around... if you want to build the native windows version, you need the script winconfig.pl which i forgot to include in the tar.gz. You can download it from here: http://people.consol.de/~lausser/nagios/winconfig.pl The other thing is a bug i introduced in the very last second. Please delete line 1426 in plugins-scripts/Nagios/CheckLogfiles.pm (the $self-SUPER::init). Greetings from Munich, Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Gerhard Lausser Gesendet: Montag, 21. Mai 2007 17:56 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] New release of check_logfiles Hi list, i just released a new version of check_logfiles. The major enhancement is support for native Windows (using ActiveState Perl). Besides that, you can now put all of your searches in one big configfile and use the --selectedsearches= option to run only a subset. This was proposed by Lars Stavholm. You may find it together with documentation and examples at http://www.consol.com/opensource/nagios/check-logfiles or in german at http://www.consol.de/opensource/nagios/check-logfiles Have fun, Gerhard -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] New release of plugin check_logfiles
Hi Lars, Question: by looking at the documentation and examples I get the impression that there has to be one config file for each service check. Is that correct? I was aiming at having one configuration file for all checks. Is there a way to do that, i.e. can I select which part of the configuration to use for a check_logfiles run? No, that's not possible. But the idea is great. An option to select single searches by calling check_logfiles with a list of tags. It will be in a new release soon. Tack, Lars! Gerhard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Plugin for SUN Storagetek Common Array Manager
Hi, i made a plugin which integrates the SUN Storagetek Common Array Manager into Nagios. The CAM is a management software for SUN StorEdge 6130 and SUN StorageTek 6140 and 6540 Storage arrays. So with this plugin you can monitor a bunch of these storage devices. You can download it from http://www.consol.com/opensource/nagios/check-sstcam Greetings from Munich, Gerhard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Plugin for HP Proliant Hardware Health Monitoring
Hi, the official 1.3 is now available at http://www.consol.de/opensource/nagios/check-hpasm There's an option --with-degrees for ./configure which lets you chose between temperatures displayed as celsius or fahrenheit. The second and important new thing is the --blacklist option. And for Sim i added Trustix support. Have fun, Gerhard p.s. there was a question wether something like hpasm exists for Windows. I don't monitor Windows servers, i think there is a snmp-based plugin check_compaq_health. No idea, what has to be installed on the machine. -Ursprüngliche Nachricht- Von: Marcus Fleige [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. April 2007 10:01 An: Gerhard Lausser; nagios-users@lists.sourceforge.net Betreff: Re: AW: AW: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring Hi Gerhard, Gerhard Lausser schrieb am 17.04.2007 16:15 Uhr: Hallo Marcus, ich habe check_hpasm-1.3 angehängt. Könntest du bitte ausprobieren, ob es so passt? Du müsstest mit hpasmcli die Nummer des fehlenden Netzteils rausfinden und dieses dann als blacklisted übergeben. check_hpasm -v -b p:nr. Alternativ kannst du auch in eine Datei dieses p:nr. reinschreiben und dem -b Parameter den Dateinamen mitgeben. I better write in english, as some mailinglist members have their difficulties with german. ;-) Thanks a lot for the new version! The blacklist switch works like a charme, both as an argument and as a file. And even better: in the verbose output the problem persists, with the notice of it being blacklisted. I'll be deploying this version asap. Thanks again, very good work! Regards, Marcus Fleige - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Plugin for HP Proliant Hardware Health Monitoring
Hi Marcus, i can understand, not-so-important servers are not fully equipped. I will introduce an option like -b ps:3,... to blacklist the named components (skip checking power supply #3 in this example). Maybe by the end of the week. Keep an eye on http://www.consol.com/opensource/nagios/check-hpasm (the broken download link has been fixed). Greetings, Gerhard -Ursprüngliche Nachricht- Von: Marcus Fleige [mailto:[EMAIL PROTECTED] Gesendet: Montag, 16. April 2007 10:38 An: Gerhard Lausser Cc: nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring Hi, Gerhard Lausser schrieb am 13.04.2007 19:01 Uhr: Hi, i make a plugin, which checks the state of CPUs, fans, power supplies, fans and memory modules of HP Proliant servers with the hpasm software installed. Maybe it is useful for some of you. http://www.consol.com/opensource/nagios/check-hpasm Great thing! I circumvented writing something like this for quite some time now, thanks for saving me this piece of work! :-) One thing: is it possible to integrate a switch to exclude a specific hardware device? I've got a machine here with a max. of three Power Supplies, but at the moment there are only two in use. This leads to a Critical-Error, because the check misses the non-existent power supply ... Regards, Marcus Fleige -- EOF - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Plugin for HP Proliant Hardware Health Monitoring
Hi Jamie and list, that broken link will be corrected tomorrow (i need the typo3 guy to publish the corrected page). In the meantime please use http://www.consol.de/fileadmin/opensource/Nagios/check_hpasm-1.1.tgz Sorry for the inconvenience, Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von James E. Pratt Gesendet: Samstag, 14. April 2007 13:19 An: [EMAIL PROTECTED] Betreff: Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring Would love to check this out - anyone able to download it? I keep getting Page cannot be displayed on the download link, and can't get email to Gerhard either, as it keeps timing out/deferring on his mail server... :( Regards, jamie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerhard Lausser Sent: Friday, April 13, 2007 1:02 PM To: [EMAIL PROTECTED] Subject: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring Hi, i make a plugin, which checks the state of CPUs, fans, power supplies, fans and memory modules of HP Proliant servers with the hpasm software installed. Maybe it is useful for some of you. http://www.consol.com/opensource/nagios/check-hpasm Greetings from Munich, Gerhard -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforge CID=DEVDEV ___ Nagios-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Plugin for HP Proliant Hardware Health Monitoring
Hi, i make a plugin, which checks the state of CPUs, fans, power supplies, fans and memory modules of HP Proliant servers with the hpasm software installed. Maybe it is useful for some of you. http://www.consol.com/opensource/nagios/check-hpasm Greetings from Munich, Gerhard - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] (no subject)
Our environment, aprox. 3.400 hosts and 7.000 services: pings, disk, process, users; all of them in remote with connections RDSI, PPP, ADSL split it up in separate instances of 500 hosts each and you should have no problems with nagios out of the box on an average server (2 2GHz dualcore, 4g mem, ...) Gerhard - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] Want to run 2 nagios on 1 machine
generated by nagios. These file paths are hard-coded in the cgi binaries, which means that you have to compile (at least the cgis) with a different configuration. You can override the hard-coded paths if you set the environment variable NAGIOS_CGI_CONFIG which points tac.cgi to a private cgi.cfg, where you soft-code a path to your private nagios.cfg, which finally contains all the paths to config/status/cmdpipe/... files. Gerhard - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] Want to run 2 nagios on 1 machine
Hi David, i proposed a method some time ago which was successfully adopted by some people: http://people.consol.de/~lausser/nagios/more-than-one-nagios.html Greetings from Munich, Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von David Schlecht Gesendet: Freitag, 15. September 2006 20:12 An: nagios-users@lists.sourceforge.net Betreff: [Nagios-users] Want to run 2 nagios on 1 machine Hi All I'm trying to run two instances of Nagios on the same machine using virtual hosts, but I'm having trouble. Has anyone succeeded at this? I've checked over some old posts with suggestions but the CGIs just don't seem to work with two instances. The specifics -- We are monitoring a large network and have 24/7 operators watching the console and pager and e-mail. Nagios is great for alerting them so they can notify the right department/technician. The operators are not allowed to change the status, such as disabling notifications, acknowledgements... This is strictly a read-only interface. Hence, their web login is via a privledged account which allows them to view all hosts and services, but can't change anything. Their e-mail comes from a different account. Now we have developers who want to monitor their test/development machines and I don't want these failures to reach the operators' web interface. Since the operators are viewing a privledged screen, there's no way to prevent them from seeing the test boxes. My current attempt uses a single Nagios install with separate test directories, many linked back to the installed ones. Running the CGI in the test directory shows all the hosts from the production instance. If two instances isn't the best way to solve this, are there any other suggestions? Thanks, - David Schlecht (dschl) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057; dat=121642 ___ 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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] using 'check_log ' to find and not find
Hi Ryan and all others, i have been looking around a bit, but haven't found anything. anyone know if there is a version of check_log floating around that will allow me to do a find and a not find? i just released check_logfiles 1.3.2 which is capable of what you're looking for. http://sourceforge.net/projects/check-logfiles grep \[\s*ERROR\s*\]\s | grep -v test foo.log where i use check_log to find log entries with [ERROR] but ignore log entries that have [ERROR] and test together in the same log entry. you would express it in the configuration file like this: ... criticalpatterns = '\[ERROR\]', criticalexceptions = ['\[ERROR\].*test.*', '\[ERROR\].*joke.*'], ... let's assume your logfile looks like this: Jul 26 23:27:25 localhost -- MARK -- Jul 26 23:51:01 localhost something: [ERROR] somethings wrong #1 Jul 27 01:51:01 localhost some other blabla blabla Jul 27 01:51:02 localhost something: [ERROR] no no just a test Jul 27 01:51:04 localhost something: [ERROR] somethings wrong #2 Jul 27 01:51:07 localhost something: [ERROR] somethings wrong #3 haha just a joke then the plugin would produce an output like: CRITICAL - (2 errors in check_somelogfiles.protocol-2006-07-27-20-52-42) - Jul 27 01:51:01 localhost something: [ERROR] somethings wrong #2 ... where you see the last valid match and a reference to a protocol file containing all valid matches: # cat tmp/check_somelogfiles.protocol-2006-07-27-20-52-42 Critical Errors in messages Jul 26 23:51:01 localhost something: [ERROR] somethings wrong #1 Jul 27 01:51:04 localhost something: [ERROR] somethings wrong #2 i hope it is useful for you. Greetings from Munich, Gerhard - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] using 'check_log ' to find and not find
Hi Thomas, i am the author of http://sourceforge.net/projects/check-logfiles The NOT-matching is on the todo list. If you can wait, there will be a new release during the next week. Greetings from melting Munich, Gerhard -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Thomas Slutyer Gesendet: Donnerstag, 20. Juli 2006 19:33 An: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] using 'check_log ' to find and not find On 20 Jul, 2006, at 19:11, Ryan Wilcox wrote: i have been looking around a bit, but haven't found anything. anyone know if there is a version of check_log floating around that will allow me to do a find and a not find? I don't think there is one, no. But it would be trivial to implement... Only a few hours work... Check_log2 and check_log3 took about the same amount of effort... Cheers! Thomas -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforge CID=DEVDEV ___ 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 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] check_log and check_logfiles
Hi Jorge, do you mean _this_ check_logfiles? http://www.nagiosexchange.org/Misc.54.0.html?tx_netnagext_pi1%5Bp_view%5D=5 38 to do is that when the pattern repeats itself 5 times (for example) then give an alert not just with one time, I can't figure out how to do this with nagios plugins. Has anyone done anything like this before with those plugins or should I write my own plugin? you can define an action for the pattern which updates a counter and stores it in a temporary file. unfortunately the script also must do the alarming with send_nsca. I am the author of the above plugin. In the moment i'm a bit busy, but if you can wait some days, i will try to add such functionality. Greetings from munich, Gerhard Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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
AW: [Nagios-users] Solaris (Could not complete SSL handshake)
Hi Bill, getting the Could not complete SSL handshake error. I've tried numerous things and can't get this to work. I've got did you try the allow_weak_random_seed=1 setting in your nrpe.cfg? Greetings from Munich, Gerhard --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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] Multiple Nagios instances on one server
Hi all, i made a small HOWTO for those who want to run more than one Nagios servers on a single host. You can find it here: http://people.consol.de/~lausser/nagios/more-than-one-nagios.html Greetings from Munich, Gerhard --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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
AW: [Nagios-users] Check_Log
Hi Mike, i have no answer to your question why the text is being cut off, maybe the string with the % inside ends up somewhere in a printf command, so the % is treated like part of a format string. Look at the notification command of contact_group Support for that. But what i saw is the is_volatile option in your template. You should set it to 1, because each time you read the logfile, you remove the cause of the alert by not reading the same lines of the logfile again. If you get an alert when you run check_log next time, then another match has been found which must be treated as a separate event. Greetings from munich, Gerhard Here is the service check command: define service { use Sensor-Log hostgroup_name Firewalls service_description Check_Log check_command check_log!/var/log/messages!/usr/local/nagios/var/PIX-Deny.log!Deny register1 } Here is the template that I am using: define service{ nameSensor-Log is_volatile 0 max_check_attempts 1 normal_check_interval 1 retry_check_interval1 passive_checks_enabled 0 active_checks_enabled 1 check_period24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 contact_groups Support notification_interval 0 notification_period 24x7 notification_optionsw,c notifications_enabled 0 register0 } Here is my check command: define command { command_namecheck_log command_line$USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ Thanks! Mike -Original Message- From: James Turnbull [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 6:33 PM To: Mike Koponick Cc: Nagios Users Subject: Re: [Nagios-users] Check_Log Mike Koponick wrote: I wanted to say thanks to all who responded to my question regarding parsing syslog files. Thanks! But, I was wondering about check_log. It seems that it would work for my environment. However I see that I have run into a snag of sorts. Can you post the command/etc you are using check_log in to parse the log? Regards James Turnbull -- James Turnbull [EMAIL PROTECTED] --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/159059/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x0C42DF40) --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd___ 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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