Re: [Nagios-users] switch off send a notification for acknowledgement

2010-03-11 Thread Mark Elsen
> Hiya > > I tried googling. Would anyone know how to switch off send a notification > when there is an acknowledgement. > > - This is an option which you can de-select. Check the NAGIOS menu closely. M. -- Download

[Nagios-users] switch off send a notification for acknowledgement

2010-03-11 Thread Brent Clark
Hiya I tried googling. Would anyone know how to switch off send a notification when there is an acknowledgement. Kind Regards Brent Clark -- Download Intel® Parallel Studio Eval Try the new software tools for yourself.

[Nagios-users] check_mem shows : "NRPE: Unable to read output"

2010-03-11 Thread Jatin Davey
Hi I had downloaded the perl file for check_mem plugin and copied in the libexec folder of the target machine that needs to be monitored. On the localhost it returns correct values but when i shoot the command from the nagios server using NRPE i am getting the following : NRPE: Unable to read

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Richard Gliebe
On 3/11/10 4:19 PM Rick Mangus wrote: Hi Rick, >> This will be great and you will be welcome, if you plan a turn to >> austria ;-) >> > > Careful! I love to travel and I honestly don't know what country I'll > be in tomorrow evening. :) My bag is packed for somewhere tropical, > but I have st

[Nagios-users] illegal_macro_output_chars effect on custom macros.

2010-03-11 Thread Romain Komorn
(Already submitted as http://tracker.nagios.org/view.php?id=131 ). I'm using Nagios 3.2 on Centos 5.4 , RPMs are virtually identical to the ones coming from DAG ( http://dag.wieers.com/apt/ ). I seem to be running into a bug during macro processing. The documentation for the illegal_macro_output_

Re: [Nagios-users] Inverting check_snmp status

2010-03-11 Thread Martin Melin
On Thu, Mar 11, 2010 at 4:07 PM, wrote: > > RHEL AS4 U6 > Nagiosv3.2.0 > check_snmp v1.4.14 > > A small and annoying problem, that I'm hoping will have some whizzy easy > fix. > > I use check_snmp to get the location and contact details of my servers. > Something like this > > ./c

Re: [Nagios-users] Monitor Remote Windows Machine with Nagios Core

2010-03-11 Thread Martin Melin
On Thu, Mar 11, 2010 at 11:58 PM, Jaime Travez wrote: > Hello. > > I apologize if this question has already been asked, but is it possible to > monitor a remote Windows machine with Nagios Core ver. 3.2.1, without it > having a Public IP address? In other words, the remote Windows machine has >

Re: [Nagios-users] Acknowledgement notifications, getting details

2010-03-11 Thread Rob Tanner
Thanks. Very helpful. On 3/11/10 12:07 PM, "Marcel" wrote: > Ops, my USER10 macro is to place a link for the service in question. > > On Thu, Mar 11, 2010 at 5:06 PM, Marcel wrote: >> there is the notify-service-bby-email command, you should try: >> >> # 'notify-service-by-email' command de

[Nagios-users] Monitor Remote Windows Machine with Nagios Core

2010-03-11 Thread Jaime Travez
Hello.   I apologize if this question has already been asked, but is it possible to monitor a remote Windows machine with Nagios Core ver. 3.2.1, without it having a Public IP address?  In other words, the remote Windows machine has no connectivity with the Nagios Core machine, except the Intern

[Nagios-users] Python module for talking to nsca

2010-03-11 Thread Jelle Smet
Hi list, Anyone knows how to connect to nsca from python? I've understood it's not that difficult to do so, but if there's a module made for it, It saves the trouble. If not, where can I find the nsca specifications to write a module myself? Thanks, -- Jelle Smet http://www.smetj.net --

[Nagios-users] Python module for talking to nsca

2010-03-11 Thread Jelle Smet
Hi list, Anyone knows how to connect to nsca from python? I've understood it's not that difficult to do so, but if there's a module made for it, It saves the trouble. If not, where cn -- Jelle Smet http://www.smetj.net --

Re: [Nagios-users] Restrict user only to enable/disable checks

2010-03-11 Thread Jelle Smet
> RewriteEngine on > RewriteCond %{QUERY_STRING} ^(cmd_type=16|cmd_type=4|cmd_type=6) [OR] > RewriteRule ^(.*)$ /not_allowed.html [R,L] Excellent yes that does the trick. Who want to use this solution keep in mind it's cmd_typ without the e Cheers, Jelle

Re: [Nagios-users] Accessing Nagios for the first time

2010-03-11 Thread Tim Tompson
Any other ideas? On Thu, Mar 11, 2010 at 12:44 PM, Tim Tompson wrote: > Apache is working: "Apache is functioning normally" > > Yes, I have a few other sites on this box, all functioning properly. > > When I navigate to myserverip/nagios I get a 404 Not Found. > > :( > > > On Thu, Mar 11, 2010 a

Re: [Nagios-users] Acknowledgement notifications, getting details

2010-03-11 Thread Charles Breite
Heres is the one we use which give all those details. command_line$USER1$/mime_mail "[NG] $HOSTNAME$ $HOSTSTATE$" "Type: $NOTIFICATIONTYPE$\\nHost: $HOSTACKAUTHOR$\\nInfo: $HOSTACKCOMMENT$\\nComment: $SERVICEACKAUTHOR$\\nInfo: $SERVICEACKCOMMENT$\\nComment: $HOSTNAME$\\nState: $HOSTSTATE$\\

Re: [Nagios-users] Acknowledgement notifications, getting details

2010-03-11 Thread Marcel
Ops, my USER10 macro is to place a link for the service in question. On Thu, Mar 11, 2010 at 5:06 PM, Marcel wrote: > there is the notify-service-bby-email command, you should try: > > # 'notify-service-by-email' command definition > define command{ > command_namenotify-service-by-em

Re: [Nagios-users] Acknowledgement notifications, getting details

2010-03-11 Thread Marcel
there is the notify-service-bby-email command, you should try: # 'notify-service-by-email' command definition define command{ command_namenotify-service-by-email command_line/usr/bin/printf "%b" "* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERV

[Nagios-users] Acknowledgement notifications, getting details

2010-03-11 Thread Rob Tanner
Hi, When an acknowledgement notification gets sent, it includes the hostname, the state and the IP address, and that¹s all. I would also like to see the time and date, the name of the tech that acknowledged the problem, and the text of his or her comment. I presume the command I need to modify i

Re: [Nagios-users] Accessing Nagios for the first time

2010-03-11 Thread Tim Tompson
Apache is working: "Apache is functioning normally" Yes, I have a few other sites on this box, all functioning properly. When I navigate to myserverip/nagios I get a 404 Not Found. :( On Thu, Mar 11, 2010 at 4:40 AM, Aidan Anderson wrote: > Tim Tompson wrote: > > My nagios.conf: > > > > ## BEG

Re: [Nagios-users] problem creating hostgroup

2010-03-11 Thread Jim Avery
On 11 March 2010 14:39, Gezina Dekker wrote: > Hi all, > > When I restart after adding this host-group using split.cfg I get the > following. > > Running configuration check. CONFIG ERROR!  Restart aborted.  Check your > Nagios configuration To check your nagios configuration, enter: /usr/local

Re: [Nagios-users] problem creatin hostgroup

2010-03-11 Thread Gezina Dekker
Thanks for all the mails. The command below could not catch this one. You can test it yourself by inserting a wrong name in members, and see if the command pics it up. It does not. The problem was that the names specified in the individual server cfg files (first line, after define host,host_name

Re: [Nagios-users] Plugin to check memory usage on linux boxes

2010-03-11 Thread Mark Elsen
> Should it be placed at both the nagios server and the target box which > is being monitored ?? > No (NAGIOS server only), by definition, because it queries the SNMP daemon on the remote Linux box, for the required memory stats. M. --

Re: [Nagios-users] problem creatin hostgroup

2010-03-11 Thread Pete Dewell
Try running nagios -v /path/to/nagios.cfg from the command line This should give you a few more clues as to where the error is. The hostgroup config looks OK, provided that there is a host definition for svrlinux01 and you have a service defined for it. P Gezina Dekker wrote: > Hi all, > >

Re: [Nagios-users] problem creatin hostgroup

2010-03-11 Thread Marquez, Quentin
/path/to/nagios -v /path/to/nagios.cfg ...will give you more details. Already posted by someone else yesterday or 2 days ago. Cheers, Quentin From: Gezina Dekker [mailto:gezin...@gmail.com] Sent: 11 March 2010 15:41 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] pr

Re: [Nagios-users] hostgroup definition

2010-03-11 Thread Rick Mangus
If the hostgroup.cfg is included by nagios.cfg even indirectly, "nagios -v nagios.cfg" will include it in verification. It's not just verifying syntax or something else that can be done file-by-file, it checks to make sure that all references in the entire config to hosts and groups are defined an

[Nagios-users] Inverting check_snmp status

2010-03-11 Thread nigel . leach
RHEL AS4 U6 Nagios v3.2.0 check_snmp v1.4.14 A small and annoying problem, that I'm hoping will have some whizzy easy fix. I use check_snmp to get the location and contact details of my servers. Something like this ./check_snmp -H localhost -o sysLocation.0 -l "" OK - London

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Rick Mangus
On Thu, Mar 11, 2010 at 8:19 AM, Richard Gliebe wrote: > On 3/11/10 2:27 PM Rick Mangus wrote: > > Hi Rick, > >> The checks are started by your server, nagios is not involved.  See >> above comment re: cron.  Your scripts will need to know the service >> name that they are updating on the nagios s

Re: [Nagios-users] problem creatin hostgroup

2010-03-11 Thread Marc Powell
On Mar 11, 2010, at 8:41 AM, Gezina Dekker wrote: > Hi all, > > When I restart after adding this host-group using split.cfg I get the > following. > Running configuration check. CONFIG ERROR! Restart aborted. Check your > Nagios configuration > > I have server a definition for it. if I com

Re: [Nagios-users] problem creating hostgroup

2010-03-11 Thread Aidan Anderson
Gezina Dekker wrote: > Hi all, > > When I restart after adding this host-group using split.cfg I get the > following. > > Running configuration check. CONFIG ERROR! Restart aborted. Check > your Nagios configuration > > I have server a definition for it. if I comment the lines out, the > res

Re: [Nagios-users] problem creatin hostgroup

2010-03-11 Thread Charles Breite
Check your config. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg From: Gezina Dekker [mailto:gezin...@gmail.com] Sent: Thursday, March 11, 2010 8:41 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] problem creatin hostgroup Hi all, When I restart

Re: [Nagios-users] hostgroup definition

2010-03-11 Thread Charles Breite
When you run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (this is the default path your may be different) It verifies the other configs you have specified in Nagios.cfg. Your errors are coming from nagios.cfg verification. Does that make sense? From: Gezina Dekker [mai

Re: [Nagios-users] Plugin to check memory usage on linux boxes

2010-03-11 Thread Jatin
Mark Elsen wrote: >> Hi Mark >> >> I saw the website : http://nagios.manubulon.com/snmp_mem.html >> >> I have a few questions: >> >> 1. When i click on the download version 1.1 , i get one text file with >> some code in it , What do i need to with this file ?? >> > > Save it as a perl script;

Re: [Nagios-users] hostgroup definition

2010-03-11 Thread Gezina Dekker
Assaf, Thank you fro the reply, but the command does not give me any reply-back. I suppose it is because the problem is not in nagios .cfg, but in hostgroup.cfg. I have tried to nverivy hostgroup.cfg this way, but it days that the name looks suspicious... Regards Gezina > Running configuratio

[Nagios-users] problem creatin hostgroup

2010-03-11 Thread Gezina Dekker
Hi all, When I restart after adding this host-group using split.cfg I get the following. Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration I have server a definition for it. if I comment the lines out, the resatrt is successful. I am just missing somet

[Nagios-users] problem creating hostgroup

2010-03-11 Thread Gezina Dekker
Hi all, When I restart after adding this host-group using split.cfg I get the following. Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration I have server a definition for it. if I comment the lines out, the resatrt is successful. I am just missing somet

Re: [Nagios-users] Plugin to check memory usage on linux boxes

2010-03-11 Thread Mark Elsen
> Hi Mark > > I saw the website : http://nagios.manubulon.com/snmp_mem.html > > I have a few questions: > > 1. When i click on the download version 1.1 , i get one text file with > some code in it , What do i need to with this file ?? Save it as a perl script; in the libexec dir of your NAGIOS dis

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Richard Gliebe
On 3/11/10 2:27 PM Rick Mangus wrote: Hi Rick, > The checks are started by your server, nagios is not involved. See > above comment re: cron. Your scripts will need to know the service > name that they are updating on the nagios server, and almost nothing > else about your nagios config. The m

Re: [Nagios-users] Plugin to check memory usage on linux boxes

2010-03-11 Thread Jatin
Mark Elsen wrote: >> Hi >> >> Is there a plugin bundled with nagios-plugins that helps us in checking >> the memory usage on the linux box. I basically want to know the used >> memory and the total available , Even if it is given in percentage i am >> fine. Please let me know if there are plugins t

Re: [Nagios-users] Plugin to check memory usage on linux boxes

2010-03-11 Thread Rick Mangus
On Thu, Mar 11, 2010 at 7:36 AM, Mark Elsen wrote: >> Hi >> >> Is there a plugin bundled with nagios-plugins that helps us in checking >> the memory usage on the linux box. I basically want to know the used >> memory and the total available , Even if it is given in percentage i am >> fine. Please

Re: [Nagios-users] Plugin to check memory usage on linux boxes

2010-03-11 Thread Mark Elsen
> Hi > > Is there a plugin bundled with nagios-plugins that helps us in checking > the memory usage on the linux box. I basically want to know the used > memory and the total available , Even if it is given in percentage i am > fine. Please let me know if there are plugins to do so. > > I checked t

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Rick Mangus
Reply scattered amidst your mail. :) I hope it is clear. On Thu, Mar 11, 2010 at 5:01 AM, Richard Gliebe wrote: > On 3/11/10 11:07 AM Mark Elsen wrote: >>> how do I have to check the services on the servers which are outside of >>> our network? Do I have to install a hole nagios environment (li

[Nagios-users] Plugin to check memory usage on linux boxes

2010-03-11 Thread Jatin Davey
Hi Is there a plugin bundled with nagios-plugins that helps us in checking the memory usage on the linux box. I basically want to know the used memory and the total available , Even if it is given in percentage i am fine. Please let me know if there are plugins to do so. I checked the plugins

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Richard Gliebe
On 3/11/10 11:07 AM Mark Elsen wrote: >> how do I have to check the services on the servers which are outside of >> our network? Do I have to install a hole nagios environment (like a >> second Nagios server?) or only the nagios-plugins, or something else? >> >> > > If there isn't a permanent conn

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Mark Elsen
>... > > We have some servers, which are located outside from our network and > without a permanent connection to our main nagios server. > >... >... > > how do I have to check the services on the servers which are outside of > our network? Do I have to install a hole nagios environment (like a > s

Re: [Nagios-users] Accessing Nagios for the first time

2010-03-11 Thread Aidan Anderson
Tim Tompson wrote: > My nagios.conf: > > ## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > > > >Options ExecCGI > >AllowOverride None > >Order allow,deny > >Allow from all > >AuthType Digest > >AuthName "Nagios Access"

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Richard Gliebe
On 3/11/10 9:44 AM Mark Elsen wrote: >> Is this the right way to works with passive checks? Hi Marks, thanks for your replay. and sorry, but its my first time to play with passive checks. > > - What is the goal of using passive checks ? We have some servers, which are located outside from o

Re: [Nagios-users] Grafical Interface searchin alternative for groundworks

2010-03-11 Thread Jim Avery
On 11 March 2010 06:35, prengel wrote: > Hallo, > > we are using the free groundworks version for managing nagios. > But know we are on a point to have a loook for alternatives beause > > 1) > the support-forum is spammed > 2) > we don t find answers for our problems > 3) > we ve several problems

Re: [Nagios-users] active checks vs. passive checks

2010-03-11 Thread Mark Elsen
> Hi everyone, > > at the moment I'm playing around with passive checks. > > maybe I'm to stupid, but will I be on the right way? > > I've set up a new Server group called "passive-servers' with only one test > server called "muninbsd" > > this server will be monitored like a active server. I've on

[Nagios-users] active checks vs. passive checks

2010-03-11 Thread Richard Gliebe
Hi everyone, at the moment I'm playing around with passive checks. maybe I'm to stupid, but will I be on the right way? I've set up a new Server group called "passive-servers' with only one test server called "muninbsd" this server will be monitored like a active server. I've only changed t