[Nagios-users-br] NSClient++

2008-10-15 Thread Maicon Robison
Caros, instalei NSClient++ no Windows 2003 Stantard Inglês ele está monitorando, a unica coisa que achei estranho é está aparecendo assim no Nagios Memory usage: total:2982,02 Mb - used: 324,69 Mb (11%) - free: 2657,33 Mb (89%) Sendo que este servidor tem apenar 1GB, ele está pegando a cache

Re: [Nagios-users-br] NSClient++

2008-10-15 Thread Augusto Ferronato
Não tá monitorando tua memória virtual tb não? As vezes o plugin faz isto :D Flws On Wed, Oct 15, 2008 at 12:15 PM, Maicon Robison [EMAIL PROTECTED]wrote: Caros, instalei NSClient++ no Windows 2003 Stantard Inglês ele está monitorando, a unica coisa que achei estranho é está aparecendo assim

Re: [Nagios-users-br] NSClient++

2008-10-15 Thread Maicon Robison
Augusto, a onde desativo? pois na conf dele não vi nada. Valeu Date: Wed, 15 Oct 2008 16:48:45 -0300 From: [EMAIL PROTECTED] To: nagios-users-br@lists.sourceforge.net Subject: Re: [Nagios-users-br] NSClient++ Não tá monitorando tua memória virtual tb não? As vezes o plugin faz isto :D Flws

Re: [Nagios-users] No parallel checks with scripts under?

2008-10-15 Thread Max
On Wed, Oct 15, 2008 at 3:31 AM, Andreas Ericsson [EMAIL PROTECTED] wrote: No. Nagios forks after (optionally) caching the plugin in memory, bringing the embedded perl stuff with it. The child runs the cached plugin. The saving is entirely in avoiding to load /usr/bin/perl each and every time

Re: [Nagios-users] service latency troubles

2008-10-15 Thread Andreas Ericsson
Antoine Musso wrote: Andreas Ericsson a écrit : Turn off OCHP and OCSP and then reload Nagios. If that doesn't help, unload NDOUtils and then restart Nagios. If that helps, re-enable the OCSP/OCHP commands again. If it's working then, it was NDOUtils fault. If not, it's the combined load of

Re: [Nagios-users] Event Handlers

2008-10-15 Thread Francis Dube
Gürkan Aslan a écrit : Hi, I'm trying to define an event handler for nagios. Actually it will work same as event handler example (http://nagios.sourceforge.net/docs/3_0/eventhandlers.html#example) but it doesn't work... i'm trying to create a file in /tmp folder to test, but nothing in

Re: [Nagios-users] Event Handlers

2008-10-15 Thread Gürkan Aslan
Hi Francis, Thanks for your answer but i solved the problem. My Mistakes: * I must use full path in my bash script. * Event Handler is triggering the event only for the first state change. Best regards Çrş, 2008-10-15 tarihinde 10:51 -0400 saatinde, Francis Dube yazdı: Gürkan

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

2008-10-15 Thread rmp dmd
Hi, We have a nagios monitoring system for Production systems installed on prodservmon1. We want to include monitoring of this in our nagios monitoring for our corporate systems. Simply put, we want to monitor nagios service running on prodservmon1. I've been googling but I haven't find

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

2008-10-15 Thread Assaf Flatto
what you need to do it treat the prodservmon1 just like any other server and monitor it with NRPE or any other utility you use for linux servers. check if it's up (PING) , http ( Web Access ), do a check_proc to verify that the nagios server is running and so forth. On Wednesday 15

[Nagios-users] Serialize checks for certains hosts

2008-10-15 Thread Alex Torres
Hi There is a way to serialize services check for certains hosts ? If a click on Schedule a check of all services on this host nagios schedule all services checks and send to the host in parellel. The remote host is running nrpe and for every check, nrpe fork a new process. In the same time

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

2008-10-15 Thread Francis Dube
rmp dmd a écrit : Hi, We have a nagios monitoring system for Production systems installed on prodservmon1. We want to include monitoring of this in our nagios monitoring for our corporate systems. Simply put, we want to monitor nagios service running on prodservmon1. I've been

Re: [Nagios-users] No parallel checks with scripts under?

2008-10-15 Thread Andreas Ericsson
Max wrote: On Wed, Oct 15, 2008 at 3:31 AM, Andreas Ericsson [EMAIL PROTECTED] wrote: No. Nagios forks after (optionally) caching the plugin in memory, bringing the embedded perl stuff with it. The child runs the cached plugin. The saving is entirely in avoiding to load /usr/bin/perl each and

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] Monitor nagios running on a different server

2008-10-15 Thread Sean McAfee
rmp dmd wrote: Hi, We have a nagios monitoring system for Production systems installed on prodservmon1. We want to include monitoring of this in our nagios monitoring for our corporate systems. Simply put, we want to monitor nagios service running on prodservmon1. I've been

[Nagios-users] Host-based service check period

2008-10-15 Thread Francis Dube
Hi everyone, I'm using Nagios to monitor many hosts with services running at different time. Each host is connected to a Plasma TV and display publicity on it, but the all are installed in different public area with different working hours. Ex : Host #1 is in a restaurant, so the services are

[Nagios-users] NdoUtils 1.4b7 beta : file_rotation_command not working with Nagios 3.x

2008-10-15 Thread Alex Torres
Hi again Like explain in this post http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg15394.html running ndomod with output_type tcpsocket or unixsocket slow down nagios because until the data from nagios is stored in mysql, nagios no continue working. (sync) We try to work

Re: [Nagios-users] No parallel checks with scripts under?

2008-10-15 Thread Max
On Wed, Oct 15, 2008 at 9:24 AM, Andreas Ericsson [EMAIL PROTECTED] wrote: If average check latency is 0.04 seconds, you may have configured your checks to run with a greater interval than the default 5 minutes. I've seen this happen before. After having it run overnight, average latency is

[Nagios-users] Event Handlers

2008-10-15 Thread Gürkan Aslan
Hi, I'm trying to define an event handler for nagios. Actually it will work same as event handler example (http://nagios.sourceforge.net/docs/3_0/eventhandlers.html#example) but it doesn't work... i'm trying to create a file in /tmp folder to test, but nothing in return. event_handler_enabled = 1

Re: [Nagios-users] Host-based service check period

2008-10-15 Thread Marc Powell
On Oct 15, 2008, at 10:20 AM, Francis Dube wrote: check period. I would like to create a timeperiod for each host and that all the check for this host (service and host-alive) stop/start according to that timeperiod. Anybody knows a way to do this ? Host and services have historically

[Nagios-users] service error?

2008-10-15 Thread jeremiah
Any thoughts on these errors? I'm stumped. Checking services... Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server1' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server2' not defined anywhere! Services page

Re: [Nagios-users] max_check_attempts error

2008-10-15 Thread Marc Powell
On Oct 15, 2008, at 11:48 AM, jeremiah wrote: Great. thanks. that helps. Any idea on this one? Error: Service check command 'check_ssh' specified in service 'SSH' for host 'pse06' not defined anywhere! Please always respond on list so that others, now and in the future, benefit from

Re: [Nagios-users] service error?

2008-10-15 Thread Francis Dube
jeremiah a écrit : Any thoughts on these errors? I'm stumped. Checking services... Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server1' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'server2' not defined

Re: [Nagios-users] Host-based service check period

2008-10-15 Thread Marc Powell
On Oct 15, 2008, at 12:21 PM, Francis Dube wrote: Yeah but if I specify the same check_period name for the service, I have to define a service for every host (ex : a check_service_host1, check_service_host2, and so on..) because the services running on each hosts are running at

Re: [Nagios-users] Host-based service check period

2008-10-15 Thread Francis Dube
Marc Powell a écrit : On Oct 15, 2008, at 10:20 AM, Francis Dube wrote: check period. I would like to create a timeperiod for each host and that all the check for this host (service and host-alive) stop/start according to that timeperiod. Anybody knows a way to do this ? Host

Re: [Nagios-users] No parallel checks with scripts under?

2008-10-15 Thread Max
Deployed an increased config (200+ host with around 2000 checks) to a dual core laptop running CentOS with 1.5 GB RAM and am getting huge performance, 1531 checks in less than 5 minutes, seeing 8-10 nagios processes running at once as checks are parallelized, so I now know that something is messed

[Nagios-users] check_mysql

2008-10-15 Thread jeremiah
I want nagios to automatically check mysql services on my servers. However when i view the web interface i see that staus is UNKNOWN and it displays the usage for check_mysql. In what file am i supposed to put the arguments for this command? Here is what i have so far in commands.cfg define

[Nagios-users] nagios not starting

2008-10-15 Thread jeremiah
Any ideas? ~$ sudo /etc/init.d/nagios2 start [sudo] password for user: * Starting nagios2 monitoring daemon nagios2 kill: 1: No such process [ OK ] Thanks! Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of

Re: [Nagios-users] nagios not starting

2008-10-15 Thread Valdinger, Stephen (DOV, MSX)
Where did you get a nagios2 binary? The Ubuntu repos? I've never seen that before. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C [EMAIL PROTECTED] Never agrue with an idiot. They drag you down to their level and then beat you with their experience. -Original

Re: [Nagios-users] check_mysql

2008-10-15 Thread Ricardo Maraschini
- jeremiah [EMAIL PROTECTED] wrote: I want nagios to automatically check mysql services on my servers. However when i view the web interface i see that staus is UNKNOWN and it displays the usage for check_mysql. In what file am i supposed to put the arguments for this command? define

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

2008-10-15 Thread Sean Carolan
I'm sure at least one of you may have been down this path before, so here's my question: I have a large list of URLs that I'd like to monitor with Nagios. At some point I may break them into groups but for the time being I'd be happy to have a simple check_url monitor with the same options for

Re: [Nagios-users] check_mysql

2008-10-15 Thread Marc Powell
On Oct 15, 2008, at 2:00 PM, jeremiah wrote: I want nagios to automatically check mysql services on my servers. However when i view the web interface i see that staus is UNKNOWN and it displays the usage for check_mysql. In what file am i supposed to put the arguments for this command?

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

2008-10-15 Thread Aaron Segura
Write a simple shell script wrapper for check_http to iterate over a list of URLs and report any errors. -Original Message- From: Sean Carolan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 1:29 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] How would you

Re: [Nagios-users] nagios not starting

2008-10-15 Thread Marc Powell
On Oct 15, 2008, at 12:58 PM, jeremiah wrote: Any ideas? ~$ sudo /etc/init.d/nagios2 start [sudo] password for user: * Starting nagios2 monitoring daemon nagios2 kill: 1: No such process Eliminate sudo as a culprit. Can you run it directly as root -- /etc/init.d/nagios2 start or

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] check_mysql

2008-10-15 Thread Israel Brewster
On Oct 15, 2008, at 11:00 AM, jeremiah wrote: I want nagios to automatically check mysql services on my servers. However when i view the web interface i see that staus is UNKNOWN and it displays the usage for check_mysql. In what file am i supposed to put the arguments for this command?

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

2008-10-15 Thread Jonah Horowitz
On 10/15/08 12:28 PM, Sean Carolan [EMAIL PROTECTED] wrote: I'm sure at least one of you may have been down this path before, so here's my question: I have a large list of URLs that I'd like to monitor with Nagios. At some point I may break them into groups but for the time being I'd be

[Nagios-users] adding legends inside status map links

2008-10-15 Thread kaskada
Hello, is there a way how to add legends into a status map? Especially legends to lines between hosts. Or at least to the hosts - there are their names so far, so it should be possible to add there some more text which would come as a result of a plugin. Am I wright? I`m using Nagios for (not

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

2008-10-15 Thread rmp dmd
Thanks for all the replies I appreciate it. But most of the reply advised to use check_nagios to monitor Nagios process on the local machine. What I need is to monitor whether nagios for our production system (installed on a different server) is running or has stopped. I'm not sure if this can

Re: [Nagios-users] adding legends inside status map links

2008-10-15 Thread Marc Powell
On Oct 15, 2008, at 4:10 PM, [EMAIL PROTECTED] wrote: I think/hope I would be able to write a script/plugin for mining those data and injecting them somewhere. What I`m asking you for is a place in Nagios files, where these mined data from plugin could be placed This functionality

[Nagios-users] mysql connect error

2008-10-15 Thread jeremiah
I'm getting the following check_mysql error through the web interface. +++ Access denied for user 'nagios'@'ipadddress' (using password: NO) Is this trying to logon to the host with a nagios system account? Can someone help me with this in understanding what I'm supposed to do to resolve

[Nagios-users] contacts.cfg error.

2008-10-15 Thread jeremiah
Any thoughts on how to fix this one? Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined anywhere! = Here is

Re: [Nagios-users] contacts.cfg error.

2008-10-15 Thread Sean McAfee
jeremiah wrote: Any thoughts on how to fix this one? Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined

Re: [Nagios-users] contacts.cfg error.

2008-10-15 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jeremiah wrote: Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined anywhere! The answer

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

2008-10-15 Thread Sean McAfee
rmp dmd wrote: Thanks for all the replies I appreciate it. But most of the reply advised to use check_nagios to monitor Nagios process on the local machine. What I need is to monitor whether nagios for our production system (installed on a different server) is running or has stopped.

Re: [Nagios-users] contacts.cfg error.

2008-10-15 Thread jeremiah
Thanks for your response. I'm seeing this line in nagios.cfg. # Command definitions cfg_file=/etc/nagios2/commands.cfg What do you tihnk? JJ On Wed, 2008-10-15 at 16:25 -0700, Sean McAfee wrote: jeremiah wrote: Any thoughts on how to fix this one? Checking contacts... Error:

Re: [Nagios-users] contacts.cfg error.

2008-10-15 Thread jeremiah
It appears to be defined to me. Is this not correct? define contact{ contact_name root alias Jeremiah service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r

Re: [Nagios-users] contacts.cfg error.

2008-10-15 Thread frank
No, you have defined a _contact_. One part of the contact definition is a pointer to the notify-by-email command which is not defined. Here is a sample. It came from the misccommands.cfg file that was part of the RPM I installed from fedora. # 'notify-by-email' command definition define

Re: [Nagios-users] No parallel checks with scripts under?

2008-10-15 Thread Max
This is my official 'stupid guy' post. I finally got permission to use yum live instead of scping rpms around, so I de-installed gcc and it's dependencies (except for libgcc for obvious reasons :p) as well as gd, libjpeg and glibc-headers, and then re-installed them with yum and recompiled nagios