Re: [Nagios-users] check_log multiple pattern and filtering

2009-12-03 Thread Gerhard Lausser
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

Re: [Nagios-users] Check_oracle_health plugin error

2009-09-14 Thread Gerhard Lausser
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

Re: [Nagios-users] Check_oracle_health plugin error

2009-09-09 Thread Gerhard Lausser
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

Re: [Nagios-users] Monitor MSSQL MySQL on Windows

2009-09-09 Thread Gerhard Lausser
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:

Re: [Nagios-users] Tomcat Monitoring?

2009-07-31 Thread Gerhard Lausser
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,

Re: [Nagios-users] pnp4nagios or nagiosgraph?

2009-03-23 Thread Gerhard Lausser
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:

Re: [Nagios-users] Monitoring HP Hardware - NRPE/NSCA on Windows

2008-12-03 Thread Gerhard Lausser
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

Re: [Nagios-users] check windows file?

2008-11-18 Thread Gerhard Lausser
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

Re: [Nagios-users] How do I monitor a specific log message?

2008-11-14 Thread Gerhard Lausser
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

Re: [Nagios-users] Monitor nagios running on a different server

2008-10-15 Thread Gerhard Lausser
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

Re: [Nagios-users] How would you monitor a large list of URLs?

2008-10-15 Thread Gerhard Lausser
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]

Re: [Nagios-users] how can i monitor a application using nagios

2008-09-09 Thread Gerhard Lausser
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

Re: [Nagios-users] multiple nagios instances on one machine

2008-09-03 Thread Gerhard Lausser
) 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

Re: [Nagios-users] multiple nagios instances on one machine

2008-09-01 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error

2008-06-17 Thread Gerhard Lausser
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

Re: [Nagios-users] Plugin to monitor keyword in a logfile on theWindows platform?

2008-05-05 Thread Gerhard Lausser
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

Re: [Nagios-users] Automatic Report Generation

2008-04-25 Thread Gerhard Lausser
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

Re: [Nagios-users] check_logfiles documentation

2008-04-18 Thread Gerhard Lausser
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

Re: [Nagios-users] check_logfiles documentation

2008-04-17 Thread Gerhard Lausser
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

Re: [Nagios-users] Checking contents of a file on MS Windows

2008-03-04 Thread Gerhard Lausser
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

Re: [Nagios-users] compile nagios-plugins-1.4.11

2008-01-18 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-10 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-08 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-08 Thread Gerhard Lausser
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

Re: [Nagios-users] 10g

2008-01-08 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-07 Thread Gerhard Lausser
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

Re: [Nagios-users] NRPE Plug-in Development

2008-01-05 Thread Gerhard Lausser
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'

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-04 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-04 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-04 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-04 Thread Gerhard Lausser
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

Re: [Nagios-users] check_hpasm error Virus checked

2008-01-04 Thread Gerhard Lausser
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

[Nagios-users] Announce: check_mysql_perf

2008-01-03 Thread Gerhard Lausser
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

Re: [Nagios-users] AIX log monitoring with check_log

2007-12-12 Thread Gerhard Lausser
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

Re: [Nagios-users] check_log + mysqld.log

2007-12-10 Thread Gerhard Lausser
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

Re: [Nagios-users] check_x - automatically make check_a, check_b, check_c?

2007-12-07 Thread Gerhard Lausser
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

Re: [Nagios-users] Oracle alert logs

2007-11-23 Thread Gerhard Lausser
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

Re: [Nagios-users] Oracle alert logs

2007-11-23 Thread Gerhard Lausser
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

[Nagios-users] ANNOUNCE check_hpasm-1.6.1

2007-11-08 Thread Gerhard Lausser
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

Re: [Nagios-users] Plugins for health-check of IBM servers

2007-10-08 Thread Gerhard Lausser
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

Re: [Nagios-users] Monitoring unix (SUN) logfiles...

2007-10-08 Thread Gerhard Lausser
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

Re: [Nagios-users] Syslog Event Log

2007-08-21 Thread Gerhard Lausser
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

[Nagios-users] ANNOUNCE check_logfiles 2.2.2

2007-06-04 Thread Gerhard Lausser
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

Re: [Nagios-users] New release of check_logfiles // i forgot something....

2007-05-21 Thread Gerhard Lausser
. 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

Re: [Nagios-users] New release of plugin check_logfiles

2007-05-15 Thread Gerhard Lausser
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

[Nagios-users] Plugin for SUN Storagetek Common Array Manager

2007-04-19 Thread Gerhard Lausser
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

Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring

2007-04-18 Thread Gerhard Lausser
: 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

Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring

2007-04-16 Thread Gerhard Lausser
-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

Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring

2007-04-15 Thread Gerhard Lausser
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

[Nagios-users] Plugin for HP Proliant Hardware Health Monitoring

2007-04-13 Thread Gerhard Lausser
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

Re: [Nagios-users] (no subject)

2006-10-19 Thread Gerhard Lausser
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

Re: [Nagios-users] Want to run 2 nagios on 1 machine

2006-09-19 Thread Gerhard Lausser
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

Re: [Nagios-users] Want to run 2 nagios on 1 machine

2006-09-18 Thread Gerhard Lausser
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

Re: [Nagios-users] using 'check_log ' to find and not find

2006-07-27 Thread Gerhard Lausser
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.

Re: [Nagios-users] using 'check_log ' to find and not find

2006-07-20 Thread Gerhard Lausser
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]

Re: [Nagios-users] check_log and check_logfiles

2006-06-30 Thread Gerhard Lausser
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.

AW: [Nagios-users] Solaris (Could not complete SSL handshake)

2006-04-19 Thread Gerhard Lausser
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

[Nagios-users] Multiple Nagios instances on one server

2006-03-16 Thread Gerhard Lausser
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

AW: [Nagios-users] Check_Log

2006-03-04 Thread Gerhard Lausser
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