[Nagios-users-br] armazenar log de serviços
PessoALL, o nagios armazena no nagios.log apenas quando há mudança de status, correto ? Teria como armazenar o resultado nos logs toda vez que o nagios realizar um check ? Obrigado, Rudolfo. - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users-br] armazenar log de serviços
Olá Tem uma opção que usamos por aqui, que é o process_service_result Toda vez que o Nagios faz um check ele chama o programa cadastrado para este fim. Aqui desenvolvemos um programa em C que atualiza gráficos de CPU de máquinas, usando o RRDTOOL. Em 01/10/07, Rudolfo Rosa [EMAIL PROTECTED] escreveu: PessoALL, o nagios armazena no nagios.log apenas quando há mudança de status, correto ? Teria como armazenar o resultado nos logs toda vez que o nagios realizar um check ? Obrigado, Rudolfo. - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Abraços JGeraldo - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users-br] armazenar log de serviços
Resolvi da seguinte forma. Habilitei a opção process_performance_data=1 para enviar os dados por syslog. Agora estou trabalhando em um script para parsear os dados. Att, Rudolfo. On 10/1/07, Rudolfo Rosa [EMAIL PROTECTED] wrote: Oie José, é isso mesmo que pretendo fazer. Mas utilizando uma outra ferramenta para gerar os gráficos. Procurei pela string process_service_result e não encontrei nada no google. Poderia enviar mais detalhes de como foi feito, abusando da sua boa vontade um exemplo das configurações do nagios?? Obrigado, Rudolfo. On 10/1/07, Jose Oliveira [EMAIL PROTECTED] wrote: Olá Tem uma opção que usamos por aqui, que é o process_service_result Toda vez que o Nagios faz um check ele chama o programa cadastrado para este fim. Aqui desenvolvemos um programa em C que atualiza gráficos de CPU de máquinas, usando o RRDTOOL. Em 01/10/07, Rudolfo Rosa [EMAIL PROTECTED] escreveu: PessoALL, o nagios armazena no nagios.log apenas quando há mudança de status, correto ? Teria como armazenar o resultado nos logs toda vez que o nagios realizar um check ? Obrigado, Rudolfo. - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Abraços JGeraldo - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users-br] armazenar log de serviços
Bom Devo ter errado o parametro. Voce interceptar a chamada na hora que acontece é mais efetivo que gravar tudo o que acontece e depois processar o log... A primeira opção pegará os eventos, como diria os britânicos, em near real time ou quase tempo real. Mas processar o syslog tambem é uma opção. Amanhã te mando mais detalhes do que fizemos, sem ferir os direitos intelectuais de meu empregador... :-( Abraços JGeraldo Em 01/10/07, Rudolfo Rosa [EMAIL PROTECTED] escreveu: Resolvi da seguinte forma. Habilitei a opção process_performance_data=1 para enviar os dados por syslog. Agora estou trabalhando em um script para parsear os dados. Att, Rudolfo. On 10/1/07, Rudolfo Rosa [EMAIL PROTECTED] wrote: Oie José, é isso mesmo que pretendo fazer. Mas utilizando uma outra ferramenta para gerar os gráficos. Procurei pela string process_service_result e não encontrei nada no google. Poderia enviar mais detalhes de como foi feito, abusando da sua boa vontade um exemplo das configurações do nagios?? Obrigado, Rudolfo. On 10/1/07, Jose Oliveira [EMAIL PROTECTED] wrote: Olá Tem uma opção que usamos por aqui, que é o process_service_result Toda vez que o Nagios faz um check ele chama o programa cadastrado para este fim. Aqui desenvolvemos um programa em C que atualiza gráficos de CPU de máquinas, usando o RRDTOOL. Em 01/10/07, Rudolfo Rosa [EMAIL PROTECTED] escreveu: PessoALL, o nagios armazena no nagios.log apenas quando há mudança de status, correto ? Teria como armazenar o resultado nos logs toda vez que o nagios realizar um check ? Obrigado, Rudolfo. - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Abraços JGeraldo - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Abraços JGeraldo - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
Re: [Nagios-users-br] RES: Nagios-users-br Digest, Vol 16, Issue 1
Olá Os códigos do Nagios são preparados para ambiente POSIX ou XPG4 (unix like). Provavelmente eles não rodarão nativamente no Windows. Voce pode tentar utilizar o cygwin e colocar o Nagios sobre este. É uma boa opção pois os programas que rodam sobre cigwin interagem facilmente com o windows... Se seu problema for hardware sugiro, como melhor opção, que voce crie uma máquina virtual com o vmware server e bote lá o nagios. O VMware server é gratuito. Abraços JGeraldo Em 01/10/07, Nicholas Alexandre [EMAIL PROTECTED] escreveu: Gostaria de saber se tem como fazer a instalação do Nagios em MS Windows, não quero dizer monitorar uma máquina windows e sim ter o Nagios instalado e fazendo todas as suas tarefas direto do Windows - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki -- Abraços JGeraldo - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki
[Nagios-users] check_cluster config
Hi I am trying to setup the check_cluster service I have 2 aix client machines configured for HACMP and I need to measure the filesystem fullness which I already do for filesystems that remain on each host. I also need to measure the filesystems that will move between hosts if the cluster fails over. For each cluster member I have setup a service to monitor the desired filesystem that moves hosts, so nagios shows the filesystem is OK on the active host and a critical alert on the passive host. I want to use check_cluster to monitor alerts if filesystem is not visible on either host. I have setup the servicecluster.cfg file with the 2 hosts and the service descriptions on each. I have defined the command as follows :- # 'check_service_cluster' command definition define command{ command_namecheck_service_cluster command_line/usr/local/nagios/libexec/check_cluster --service /usr/local/nagios/var/status.dat $ARG1$ $ARG2$ $ARG3$ } I have also defined the service against the nagios server as :- define service { host_name aixtest1 service_descriptionhcn cluster status check_command check_service_cluster!1!2!/usr/local/nagios/etc/servicecluster.cfg usegeneric-service max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 notification_interval 60 notification_period24x7 notification_options w,c,r notifications_enabled 1 contact_groups admins } With this setup, nagios gives the error :- Could not parse arguments Has anybody done this sort of thing before and have any ideas why it is not working. Regards Stephen --- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 * This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited.- 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] Nc-Net issue
Hi Tony, I have installed Nc-Net on various Windows systems and have one server that gives the following problem. Everything appears to be monitored fine, except that once in a while check_nt (The Nc-Net version) returns: No data was received from host! This repeats for some time, and eventually fires a Nagios notification. Checking the Windows eventlog I see the following events before the time that the host produces the alert: Timer Elapsed:2878 CCID:2878 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. The number for CCID Timer Elapsed increases with each event in the event log. Any idea what may cause this? The system is an Active Directory Domain Controller. Thanks Giles - 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_cluster config
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/10/07 03:50 AM, stephen wing wrote: Hi I am trying to setup the check_cluster service I have 2 aix client machines configured for HACMP and I need to measure the filesystem fullness which I already do for filesystems that remain on each host. I also need to measure the filesystems that will move between hosts if the cluster fails over. For each cluster member I have setup a service to monitor the desired filesystem that moves hosts, so nagios shows the filesystem is OK on the active host and a critical alert on the passive host. I want to use check_cluster to monitor alerts if filesystem is not visible on either host. I have setup the servicecluster.cfg file with the 2 hosts and the service descriptions on each. I have defined the command as follows :- # 'check_service_cluster' command definition define command{ command_namecheck_service_cluster command_line/usr/local/nagios/libexec/check_cluster --service /usr/local/nagios/var/status.dat $ARG1$ $ARG2$ $ARG3$ I simply can't understand your command line. 1. Make sure you're using a recent enough Nagios-plugins version that ships check_cluster as a core plug-in (everything in /contrib is unsupported). 2. the command line looks like this: check_cluster (-s | -h) -d val1[,val2,...,valn] [-l label] [-w threshold] [-c threshold] So basically you will have to pass the following arguments (assuming $USER1$ is the path to the plugins directory): $USER1$/check_cluster -s -d $ARG1$,$ARG2$ -l $ARG3$ -c 1 Then in your service check (change the _ to spaces if you like, they are there for line-wrapping issues): check_service_cluster!$SERVICESTATEID:server1:Shared_disk$!$SERVICESTATEID:server2:Shared_disk$!Shared_disks Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAO0a6dZ+Kt5BchYRAgPfAKDauX4V4LFrUKcMEl5aVqPFqjM7CACg1n1C mRrgvBf7D53MQGhHODEux5A= =+GpD -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_cluster config
Hi Thomas Thanks for the reply. In the check_service_cluster setup that you have described, what is the variable Shared_disk$ set to because the way that I am doing this is that I have setup a service for both server1 and server2 to search for the following filesystem :- /hcndata To do this I have the nrpe daemon running on both servers and a service running against both these servers as follows :- define service { host_name hcntest service_description/hcndata Free Space check_command check_nrpe!check_hcndata usegeneric-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period24x7 notification_options w,c,r contact_groups admins } The check_hcndata command is defined in the nrpe.cfg file on each server which uses the check_disk command to measure the filesystem fullness. Hope you can understand the setup that I have. Regards Stephen --- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 -Original Message- From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] Sent: 01 October 2007 13:51 To: stephen wing Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_cluster config -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/10/07 03:50 AM, stephen wing wrote: Hi I am trying to setup the check_cluster service I have 2 aix client machines configured for HACMP and I need to measure the filesystem fullness which I already do for filesystems that remain on each host. I also need to measure the filesystems that will move between hosts if the cluster fails over. For each cluster member I have setup a service to monitor the desired filesystem that moves hosts, so nagios shows the filesystem is OK on the active host and a critical alert on the passive host. I want to use check_cluster to monitor alerts if filesystem is not visible on either host. I have setup the servicecluster.cfg file with the 2 hosts and the service descriptions on each. I have defined the command as follows :- # 'check_service_cluster' command definition define command{ command_namecheck_service_cluster command_line/usr/local/nagios/libexec/check_cluster --service /usr/local/nagios/var/status.dat $ARG1$ $ARG2$ $ARG3$ I simply can't understand your command line. 1. Make sure you're using a recent enough Nagios-plugins version that ships check_cluster as a core plug-in (everything in /contrib is unsupported). 2. the command line looks like this: check_cluster (-s | -h) -d val1[,val2,...,valn] [-l label] [-w threshold] [-c threshold] So basically you will have to pass the following arguments (assuming $USER1$ is the path to the plugins directory): $USER1$/check_cluster -s -d $ARG1$,$ARG2$ -l $ARG3$ -c 1 Then in your service check (change the _ to spaces if you like, they are there for line-wrapping issues): check_service_cluster!$SERVICESTATEID:server1:Shared_disk$!$SERVICESTATEID:s erver2:Shared_disk$!Shared_disks Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAO0a6dZ+Kt5BchYRAgPfAKDauX4V4LFrUKcMEl5aVqPFqjM7CACg1n1C mRrgvBf7D53MQGhHODEux5A= =+GpD -END PGP SIGNATURE- * This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited.- 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
[Nagios-users] Make a user see only a subset of a monitored host's service checks
Hi all I'd like to define two Nagios login users/contacts where one user sees only a subset of all service checks that are assigned to a single host. Here is an example: The service checks SC1 and SC2 are running against the monitored host H1. User U1 must be able to monitor and control (e. g. enable/disable notifications etc.) H1 as well as SC1 and SC2 through the Nagios web interface while U2 must monitor and control only H1 and SC1. Is this possible? This seems to be an easy one, but I just don't make any progress configuring it... This is what I experience: - If H1 is assigned a contact group and U2 is part of this contact group then U2 sees both SC1 *and* SC2 even if SC2 is not assigned this contact group in the service definition. Is it possible to configure what I have outlined in the above example with Nagios 2.9? If not, might it be done using Nagios 3.0? Actually I assume I am making a configuration fault... Any hint is welcome! Thanks for your help, David - 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] NetApps Monitoring
Good Morning, I need some beginner help please with monitoring NetApps. I have downloaded the check_netapp2 plugin however, don't see how to fire it off. Nagios is reporting that the two heads are there but no services are associated with it. I guess that I really just need to define a service to fire off the plugin, but I am at a loss. Nagios Version 3.0a4 Thanks for your help Robert Ferguson - 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] Make a user see only a subset of a monitored host's service checks
Hi David. David Knecht wrote: I'd like to define two Nagios login users/contacts where one user sees only a subset of all service checks that are assigned to a single host. Here is an example: The service checks SC1 and SC2 are running against the monitored host H1. User U1 must be able to monitor and control (e. g. enable/disable notifications etc.) H1 as well as SC1 and SC2 through the Nagios web interface while U2 must monitor and control only H1 and SC1. Is this possible? This seems to be an easy one, but I just don't make any progress configuring it... This is what I experience: - If H1 is assigned a contact group and U2 is part of this contact group then U2 sees both SC1 *and* SC2 even if SC2 is not assigned this contact group in the service definition. The ability to limit what services a user sees is included in a patch I wrote last year to give the Nagios web interface more granular permissions. The patch is available at http://www.fragit.net/nagios.html There is a limitation to the patch where a user can execute a command on the host that includes 'all services on this host' even if he/she can't see the other services. I hope to fix this soon. Alex - 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] check_disk command
Hi All I have a query regarding the check_disk command running on an AIX machine via the nrpe daemon. I have defined the following commands on my client in the nrpe.cfg file :- command[check_root]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd4 command[check_usr]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd2 command[check_home]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd1 command[check_var]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd9var command[check_tmp]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd3 command[check_opt]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd10opt command[check_hcndata]=/usr/local/nagios/libexec/check_disk 90 95 /dev/fslv01 These commands work fine and give me the free disk space in the filesystems. My problem is that I unmounted the filesystem /hcndata which has a device name of /dev/fslv01. When this happens I would expect nagios to report that /hcndata filesystem was unavailable. Instead the service reports filesystem OK, but it is giving me the statistics from the / filesystem as checked by the first command, ie check_root. Has anybody else seen this and if so how do I resolve the issue ? I am running nagios 2.9 and nrpe 1.4.9 Regards Stephen --- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 * This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited.- 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_disk command
Hi Stephen, i think yoou should use check_disk 90 95 /hondata/subfolder as check parameter. This returns an error if it doesn't exist. Otherwise the new version of check_disc returns the value of the root partition. Kind regards, Dennis On Mon, 1 Oct 2007 15:46:20 +0100, stephen wing wrote: Hi All I have a query regarding the check_disk command running on an AIX machine via the nrpe daemon. I have defined the following commands on my client in the nrpe.cfg file :- command[check_root]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd4 command[check_usr]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd2 command[check_home]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd1 command[check_var]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd9var command[check_tmp]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd3 command[check_opt]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd10opt command[check_hcndata]=/usr/local/nagios/libexec/check_disk 90 95 /dev/fslv01 These commands work fine and give me the free disk space in the filesystems. My problem is that I unmounted the filesystem /hcndata which has a device name of /dev/fslv01. When this happens I would expect nagios to report that /hcndata filesystem was unavailable. Instead the service reports filesystem OK, but it is giving me the statistics from the / filesystem as checked by the first command, ie check_root. Has anybody else seen this and if so how do I resolve the issue ? I am running nagios 2.9 and nrpe 1.4.9 Regards Stephen --- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 * This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. kind regards, Dennis H?nseler - 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] Nc-Net issue
On 10/1/07, Giles Coochey [EMAIL PROTECTED] wrote: Checking the Windows eventlog I see the following events before the time that the host produces the alert: Timer Elapsed:2878 CCID:2878 Have you been to eventid.net with your error? - 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] $ in my notifications
Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 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] $ in my notifications
Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 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] $ in my notifications
Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 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] Canot read nagios.cfg after the doing precheck help
Hey all just installed nagios 2.9 and upgrade from wat i had 2.4 i dont see a diffrence anyways i am trying to run on command line to check for any errors */usr/local/nagios/bin/nagios -v nagios.cfg* ** this is what i get: * /usr/local/nagios/bin/nagios -v nagios.cfg* Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. *it has to be a permission issue on the nagios.cfg file her are my permission :* * ls -l* total 80 -rw-rw-r-- 1 nagios nagios 9577 Sep 29 19:30 cgi.cfg -rw-rw-r-- 1 nagios nagios 8579 Sep 29 18:46 commands.cfg -rw-r--r-- 1 root root 26 Sep 29 19:28 htpasswd.users -rw-rw-r-- 1 nagios nagios 12469 Sep 29 18:46 localhost.cfg -rw-rw-r-- 1 nagios nagios 31134 Oct 1 13:45 nagios.cfg -rw-rw 1 nagios nagios 1338 Sep 29 18:46 resource.cfg i restarted my apache and because the file cant be ready getting host down on the local host obiusly this has to do with my problem above also i may add i renamed the files from nagios.cfg-sample to nagios.cfg to all .cfg-sample files thanks for help in advance - 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] $ in my notifications
Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 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] Canot read nagios.cfg after the doing precheck help
I use full paths when ever checking this kind of thing. That being said, looking at the output, you have // for your path to nagios.cfg Try using the full paths to your config file. Chris Waters Technology Services - Network Group JELD-WEN, Inc. Information Systems [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Monday, October 01, 2007 11:04 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Canot read nagios.cfg after the doing precheck help Hey all just installed nagios 2.9 and upgrade from wat i had 2.4 i dont see a diffrence anyways i am trying to run on command line to check for any errors /usr/local/nagios/bin/nagios -v nagios.cfg this is what i get: /usr/local/nagios/bin/nagios -v nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. it has to be a permission issue on the nagios.cfg file her are my permission : ls -l total 80 -rw-rw-r-- 1 nagios nagios 9577 Sep 29 19:30 cgi.cfg -rw-rw-r-- 1 nagios nagios 8579 Sep 29 18:46 commands.cfg -rw-r--r-- 1 root root 26 Sep 29 19:28 htpasswd.users -rw-rw-r-- 1 nagios nagios 12469 Sep 29 18:46 localhost.cfg -rw-rw-r-- 1 nagios nagios 31134 Oct 1 13:45 nagios.cfg -rw-rw 1 nagios nagios 1338 Sep 29 18:46 resource.cfg i restarted my apache and because the file cant be ready getting host down on the local host obiusly this has to do with my problem above also i may add i renamed the files from nagios.cfg-sample to nagios.cfg to all .cfg-sample files thanks for help in advance - 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] can not read localhost.cfg file that is crated webgui
Hi all running noagios 2.9 i have a localhost.cfg file that was created during the installtion I started restarted nagios when i go to host check i get this localhosthttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=1host=localhost Current Loadhttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Current+Load CRITICAL 10-01-2007 14:44:56 0d 0h 58m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Current Usershttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Current+Users CRITICAL 10-01-2007 14:45:56 0d 0h 57m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) PINGhttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=PING CRITICAL 10-01-2007 14:41:56 0d 0h 56m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Root Partitionhttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Root+Partition CRITICAL 10-01-2007 14:42:56 0d 0h 55m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Total Processeshttps://10.8.1.100/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=Total+Processes CRITICAL 10-01-2007 14:43:56 0d 0h 54m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) this is what i have in my nagios.cfg file *# Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios/etc/localhost.cfg* as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? thanks for your help in advance - 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] $ in my notifications
Hi, 01.10.2007 20:09,, zack kenton wrote:: Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks Sending the same question so quickly is considered extremely rude by many people and might have the effect that you won't get any useful answer. The reason for your problem is the command definition of your notification commands. Take a close look at the variables you pass. All the information is in the manual. Arno - zack kenton (zkenton) --- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - 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] can not read localhost.cfg file that is crated webgui
On 10/1/07, Nedim Bicic [EMAIL PROTECTED] wrote: this is what i have in my nagios.cfg file # Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios/etc/localhost.cfg as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? No. Running nagios -v /path/to/nagios.cfg will check for errors, but it mostly just checks syntax. Your error would seem to indicate that either you've not installed the plugins, or your $USER1$ value is set improperly in your resource.cfg -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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] sms notification pbm
Hello, I want to configure the notification by SMS, I configure everythings, but when I tried browsed this link : http://localhost/13013/cgi-bin/sendsms?username... I go this error : 3. message is queued for later delivery I'm using the connection to the smsc plate form Someone can tell me what to do for fixing this problem? -- JFK In God we trust, the rest we monitore - 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] $ in my notifications
Hi Arno before you jump at me over some little message board, I dont know why my question keeps reposting...but im not doing it intentionally - zack kenton (zkenton) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=4869 - 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] can not read localhost.cfg file that is crated webgui
Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again basically i am going to be using nagios for just pinging devices and setting up parenting i am not going o be doing anything fancy like checking nrpe not yet that is? thanks On 10/1/07, Jim Perrin [EMAIL PROTECTED] wrote: On 10/1/07, Nedim Bicic [EMAIL PROTECTED] wrote: this is what i have in my nagios.cfg file # Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios/etc/localhost.cfg as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? No. Running nagios -v /path/to/nagios.cfg will check for errors, but it mostly just checks syntax. Your error would seem to indicate that either you've not installed the plugins, or your $USER1$ value is set improperly in your resource.cfg -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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] $ in my notifications
Hi, 01.10.2007 21:10,, zack kenton wrote:: Hi Arno before you jump at me over some little message board, I dont know why my question keeps reposting...but im not doing it intentionally Did I jump over you? I don't think so... but it's good to see that this was not intentional - something nobody here can know unless you tell us. Anyway - what does your notification command look like now? Arno - zack kenton (zkenton) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=4869 - 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - 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] can not read localhost.cfg file that is crated webgui
Hi, 01.10.2007 21:23,, Nedim Bicic wrote:: Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again Every check Nagios does is executed as a plugin. There is no exception to this, i.e. no check is implemented in Bacula itself. basically i am going to be using nagios for just pinging devices and setting up parenting i am not going o be doing anything fancy like checking nrpe not yet that is? But you want to define the check commands... Arno thanks On 10/1/07, *Jim Perrin* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 10/1/07, Nedim Bicic [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: this is what i have in my nagios.cfg file # Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios/etc/localhost.cfg as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? No. Running nagios -v /path/to/nagios.cfg will check for errors, but it mostly just checks syntax. Your error would seem to indicate that either you've not installed the plugins, or your $USER1$ value is set improperly in your resource.cfg -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell - 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - 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] $ in my notifications
Hi Arno well i did a major upgrade from 1.4 to 2.9, but kept the majority of the confiuration files...so the misccommands.cfg and command-plugins where the notification commands seemed to be defined are identical...it could just be some problems with the different versions? - zack kenton (zkenton) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=4874 - 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] $ in my notifications
some of the macro names have changed between 1.4 and 2.9. Make sure the macros you use in your commands are still valid. On Mon, 2007-10-01 at 21:57 +0200, zack kenton wrote: Hi Arno well i did a major upgrade from 1.4 to 2.9, but kept the majority of the confiuration files...so the misccommands.cfg and command-plugins where the notification commands seemed to be defined are identical...it could just be some problems with the different versions? - zack kenton (zkenton) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=4874 - 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] $ in my notifications
Please always reply on-list. http://nagios.sourceforge.net/docs/2_0/macros.html The valid macros for 2.9 are listed on that page. You should just need to update the ones that aren't working with the new one in your command definition. On Mon, 2007-10-01 at 16:03 -0400, Zack Kenton wrote: Is there somewhere they are defined? Unfortunately I overwrote my 2.9 config files with the 1.4 ones. Everytyhing works nicely except the alerting information. I also have an embedded perl problem which may have something to do with macros. -Original Message- From: Aaron M. Segura [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 4:00 PM To: Zack Kenton Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] $ in my notifications some of the macro names have changed between 1.4 and 2.9. Make sure the macros you use in your commands are still valid. On Mon, 2007-10-01 at 21:57 +0200, zack kenton wrote: Hi Arno well i did a major upgrade from 1.4 to 2.9, but kept the majority of the confiuration files...so the misccommands.cfg and command-plugins where the notification commands seemed to be defined are identical...it could just be some problems with the different versions? - zack kenton (zkenton) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_p i1[showUid]=4874 - 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] $ in my notifications
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of zack kenton Sent: Monday, October 01, 2007 2:58 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] $ in my notifications Hi Arno well i did a major upgrade from 1.4 to 2.9, but kept the majority of the confiuration files...so the misccommands.cfg and command-plugins where the notification commands seemed to be defined are identical...it could just be some problems with the different versions? You'll probably want to review the 'What's New' documentation. It talks about the macro changes you're being affected by and other changes that might affect you further. - Marc - 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] can not read localhost.cfg file that is cratedwebgui
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Monday, October 01, 2007 2:24 PM To: Jim Perrin Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] can not read localhost.cfg file that is cratedwebgui Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again I believe you had/have a working nagios that is checking hosts and services already, correct? What did you change? Are the previous checks you had still working? If so, how are the new service checks different than the working ones? Without seeing your service/command definitions in question, it sounds like you've got a check_command or command_line wrong. -- Marc - 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] Nc-Net issue
Thanks for the input, This has not been reported to me before, Feel free to submit it to the Forum on sourceforg: http://sourceforge.net/projects/nc-net On a quick search I would suspect that is correlates to something like this, http://support.microsoft.com/kb/842793 However I did not read the article, but the Title souds like a reasonable place to start researching the issue, Are you using v4.x of NC_NEt, if not please upgrade, also what check could be inducing the error, ie, What commands are you running, COuld it be a script that NC_NEt is hickuping on?? It may be best to move this discussion to NC_Net forum, Unless others have input on this issue. then if/when we resolve it, follow up on this thread. Tony (author of NC_NEt) On 10/1/07, Giles Coochey [EMAIL PROTECTED] wrote: Hi Tony, I have installed Nc-Net on various Windows systems and have one server that gives the following problem. Everything appears to be monitored fine, except that once in a while check_nt (The Nc-Net version) returns: No data was received from host! This repeats for some time, and eventually fires a Nagios notification. Checking the Windows eventlog I see the following events before the time that the host produces the alert: Timer Elapsed:2878 CCID:2878 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. The number for CCID Timer Elapsed increases with each event in the event log. Any idea what may cause this? The system is an Active Directory Domain Controller. Thanks Giles - 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] can not read localhost.cfg file that is cratedwebgui
Here is what i have in the commands.cfg file *# 'check_ping' command definition define command{ command_namecheck_ping command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 }* this should be workign regardless i mean i dont need a plugin this is a standard check that came with the distribution package why do i need to install a plugin i dont understand when i dont need to be running fancy commnads. also some one mentioned the resource.cfg file its pointing to the follwing : *# Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec* ** *should this last line be tweaked to be like this:* *$USER1$=/usr/local/nagios/commands.cfg --- since the commads are defined here how to do the checks??* ** Please help me thanks ** ** ** On 10/1/07, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Monday, October 01, 2007 2:24 PM To: Jim Perrin Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] can not read localhost.cfg file that is cratedwebgui Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again I believe you had/have a working nagios that is checking hosts and services already, correct? What did you change? Are the previous checks you had still working? If so, how are the new service checks different than the working ones? Without seeing your service/command definitions in question, it sounds like you've got a check_command or command_line wrong. -- Marc - 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] can not read localhost.cfg file that is cratedwebgui
Hi, 01.10.2007 23:15,, Nedim Bicic wrote:: Here is what i have in the commands.cfg file *# 'check_ping' command definition define command{ command_namecheck_ping command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 The line above calls the *plugin command* check_ping. }* this should be workign regardless i mean i dont need a plugin this is a standard check that came with the distribution package As far as I know there are no check_* commands included in the Nagios core distribution. All the programs that do the actual checking are defined as plugins. why do i need to install a plugin i dont understand when i dont need to be running fancy commnads. That's got nothing to do with fancy. Nagios itself *does not contain* the check commands, these are by definition plugins to Nagios. The plugins are distributed as separate packages. also some one mentioned the resource.cfg file its pointing to the follwing : *# Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec* ** *should this last line be tweaked to be like this:* **$USER1$=/usr/local/nagios/commands.cfg --- since the commads are defined here how to do the checks??** ** No, this would be wrong. $USER1$ is not supposed to point to a configuration file. You should reread the manual to refresh your knowledge of these variables, and why they are defined in a separate file. Arno Please help me thanks ** ** ** On 10/1/07, *Marc Powell* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto:nagios-users- mailto:nagios-users- [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] On Behalf Of Nedim Bicic Sent: Monday, October 01, 2007 2:24 PM To: Jim Perrin Cc: nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] can not read localhost.cfg file that is cratedwebgui Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again I believe you had/have a working nagios that is checking hosts and services already, correct? What did you change? Are the previous checks you had still working? If so, how are the new service checks different than the working ones? Without seeing your service/command definitions in question, it sounds like you've got a check_command or command_line wrong. -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto:Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - 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_cluster config
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/10/07 09:49 AM, stephen wing wrote: Hi Thomas Thanks for the reply. In the check_service_cluster setup that you have described, what is the variable Shared_disk$ set to because the way that I am doing this is that I have setup a service for both server1 and server2 to search for the following filesystem :- /hcndata To do this I have the nrpe daemon running on both servers and a service running against both these servers as follows :- define service { host_name hcntest service_description/hcndata Free Space check_command check_nrpe!check_hcndata usegeneric-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period24x7 notification_options w,c,r contact_groups admins } Then substitute Shared_disk with /hcndata Free Space If you look the the command definition, what becomes the -l argument is just a label (What will be printed in the service status). In the example I wrote the label is the 3rd argument. The other arguments are macro definitions used to fetch the status of specific services on specific hosts ($SERVICESTATEID:host_name:service_description$). This will return the numerical equivalent of the Nagios status (0=OK, 1=WARNING, 2=CRITICAL, etc.). check_cluster gets the status (passed to -d) and send a critical alert when more than 1 service is non-OK (-c 1). if you want to warn only you can use -w 1 instead of -c 1 you can run check_cluster yourself to see the results: $ ./check_cluster -s -d 0,2 -l Shared disk -c 1 CLUSTER OK: Shared disk: 1 ok, 0 warning, 0 unknown, 1 critical $ ./check_cluster -s -d 1,2 -l Shared disk -c 1 CLUSTER CRITICAL: Shared disk: 0 ok, 1 warning, 0 unknown, 1 critical Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAXVT6dZ+Kt5BchYRAkfBAKDZYQ0ctT3Z2H/yty/O8cdon/2qhgCg2iOD zsLHjgJjtz6xE2lgFcrvG7o= =MhOe -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] (Return code of 9 is out of bounds)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/09/07 03:42 PM, zack kenton wrote: Hi Thomas and all, For those of you eager to help me debug...haha...much appreciated At first glance I'd guess it's caused by the embedded Perl interpretor since this script uses global variables. Is the script working correctly when run from the command line? (Check the return code in $?) You can try changing your check command to include the full path to Perl. i.e. from: check_command $USER1$/check_oracle_instance.pl ARGS... to: check_command /usr/bin/perl USER1$/check_oracle_instance.pl ARGS... Also if all you need is to check if your Oracle database is responding, you could try the attached script that I wrote. Since I haven't tested it for Oracle yet I'd be glad to have some reports. You will have to specify the Oracle driver: ./check_sql -d Oracle -H hostname etc... Thomas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAYK56dZ+Kt5BchYRAtAXAKDNR5CL7ScTnAaoNeShqEL+PjleMACg3VX3 7PtOQqcfJNvGnLT0zXNJ8hg= =N5ZN -END PGP SIGNATURE- #! /usr/bin/perl -w # # check_sql - Run a simple test query against a SQL Server # # For MySQL this script requires DBD::mysql. # # Note: Driver-specific timeouts aren't implemented because # 1. It doesn't work as expected on DBD::mysql # 2. DBD::Sybase defaults to 60 seconds which is enough for most people # # For MSSQL this script requires the FreeTDS library and DBD::Sybase Perl # module. The SYBASE environment variable also needs to be defined. # Make sure FreeTDS is compiled with --with-tdsver=8.0 !!! # # Other drivers are untested. # # It also requires File:::Basename, Nagios::Plugins and Time::HiRes. # # Copyright (c) 2007 Thomas Guyot-Sionnest [EMAIL PROTECTED] # Copyright (c) 2007 Nagios Plugin Development Team # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # use strict; use warnings; use vars qw($PROGNAME $VERSION $QSTRING $QRESULT $LABEL); use File::Basename qw(basename); use Nagios::Plugin; use Nagios::Plugin::Functions qw(max_state); use Time::HiRes qw(gettimeofday tv_interval); use DBI; $PROGNAME = basename($0); $VERSION = '0.9.2'; $QSTRING = 'SELECT 1 AS Response'; $QRESULT = '1'; $LABEL = 'result'; my $driver; my $driverarg = ''; if ($PROGNAME =~ /check_mysql/) { $driver = 'mysql'; } elsif ($PROGNAME =~ /check_mssql/) { $driver = 'Sybase'; } else { $driverarg = ' -d driver'; } my $np = Nagios::Plugin-new( usage = Usage: %s -H hostname$driverarg [ -p port ] [ -t timeout ]\n . -U user -P pass [ -D db ] [ -w warn_range ] [ -c crit_range ]\n . [ -W warn_range ] [ -C crit_range ] [ -q query ] [ -e expect_string ]\n . '[ -r ] [ -s ] [ -l label ]', version = $VERSION, plugin = $PROGNAME, shortname = uc($PROGNAME), blurb = 'Run a simple test query against a SQL Server', extra = \n\nCopyright (c) 2007 Nagios Plugin Development Team, timeout = 30, ); $np-add_arg( spec = 'hostname|H=s', help = -H, --hostname=hostname\n . ' SQL Database hostname', required = 1, ); if ($driverarg) { $np-add_arg( spec = 'driver|d=s', help = -d, --driver=driver\n . ' DBD driver name', required = 1, ); } $np-add_arg( spec = 'port|p=i', help = -p, --port=port\n . ' SQL TCP port (default: driver-dependent).', required = 0, ); $np-add_arg( spec = 'username|U=s', help = -U, --username=username\n . ' Username to connect with.', required = 1, ); $np-add_arg( spec = 'password|P=s', help = -P, --password=password\n . ' Password to use with the username.', required = 1, ); $np-add_arg( spec = 'database|D=s', help = -D, --database=db\n . ' Database to use.', required = 0, ); $np-add_arg( spec = 'warning|w=s', help = -w, --warning=THRESHOLD\n .Warning threshold for the responce time. See\n . http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT\n; . ' for the threshold format.', required = 0, ); $np-add_arg( spec = 'critical|c=s', help = -c, --critical=THRESHOLD\n .Critical threshold for the responce time. See\n . http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT\n; . ' for the
Re: [Nagios-users] looking for help with NSClient
The old NSClient is notorious for not reporting problems correctly. Usually, when this happens, I find the issue is that the TCP port has been stolen by another application. Exchange is frequently guilty of this as it starts getting temporary port numbers from 1024 upwards and quickly takes the NSclient port 1248. Try moving nsclient to a much higher port number, or else get it to start before any other apps on the box. You can test this by using netstat to see if port tcp/1248 is in use, and if so, by what. netstat -a -p TCP -b -n This might take a little time to run though. Look for lines with :1248 in the first column. Steve From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sudhir Damle I have installed NSClient 2.0.1.0 on Windows 2000 server. Client was working Good till I rebooted the server. Now whenever I start ' Nagios Agent' service, it gets started, application event viewer says 'NSClient is now responding to queries' but service simply stops after that. No error in event viewer. - 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] notifications 3.0b3 not working.
Hi, Just wondering if anyone has any idea's on my issue. Regards, - Ken Lee (kenlee) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=4774 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Latency
Hi, I am experiencing problems with Nagios latency that I can't understand. Upon Nagios startup or upon Nagios restart, the latency is bellow 0.1second which is fine. After a couple of days, without any change, and even though the execution time and the Nagios server load remain the same the latency slowly increase. It seems that it is an exponential growth. All the checks kicks in later and later, no exception. Usually after a week the latency is up to 60seconds and after 2 week up to 5 minutes. I have currently set up a Nagios restart every monday, but I would like to find a better solution and understand why does the latency keeps increasing. We monitor over 50 hosts and have over 1400 checks every 5 minutes. The nagios server is quite big and is not really loaded. Any Idea would be appreciated Cheers Ben -- -- Benjamin Cleyet-Marrel Consultant OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-721-869 email: [EMAIL PROTECTED] web: www.oss.co.nz post:P.O. Box 8833, Auckland -- - 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] can not read localhost.cfg file that is cratedwebgui
Nedim Bicic wrote: Here is what i have in the commands.cfg file *# 'check_ping' command definition define command{ command_namecheck_ping command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 }* this should be workign regardless i mean i dont need a plugin this is a standard check that came with the distribution package why do i need to install a plugin i dont understand when i dont need to be running fancy commnads. You need to install the check_ping program. Nagios has *no* builtin checks (although if it ever got any, that would probably be the very first one to become one). also some one mentioned the resource.cfg file its pointing to the follwing : *# Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec* ** *should this last line be tweaked to be like this:* *$USER1$=/usr/local/nagios/commands.cfg --- since the commads are defined here how to do the checks??* No. USER1 should point to wherever you installed your plugins. Think of it as a variable that makes you save a lot of headache in case you should want to move your plugins somewhere else than where you originally installed them. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Latency
Benjamin Cleyet-Marrel wrote: Hi, I am experiencing problems with Nagios latency that I can't understand. Upon Nagios startup or upon Nagios restart, the latency is bellow 0.1second which is fine. After a couple of days, without any change, and even though the execution time and the Nagios server load remain the same the latency slowly increase. It seems that it is an exponential growth. All the checks kicks in later and later, no exception. Usually after a week the latency is up to 60seconds and after 2 week up to 5 minutes. I have currently set up a Nagios restart every monday, but I would like to find a better solution and understand why does the latency keeps increasing. We monitor over 50 hosts and have over 1400 checks every 5 minutes. The nagios server is quite big and is not really loaded. Any Idea would be appreciated Three things to check: service_reaper_frequency check_interleave_factor max_parallell_something_something I haven't done my morning routine yet, so you'll have to figure out the real variable names in case my memory is a bit off (which it no doubt is). Other than that.. What nagios version are you running, and how is your host check command defined? -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 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