Re: [Nagios-users] addicted from other hosts

2007-01-15 Thread Dmitriy Kirhlarov
On Mon, Jan 15, 2007 at 06:09:13PM +0100, Daniel wrote: >/---node3--node4 > Nagios---Router >\---node1--node2 > > > > So, when nagios see that the touter is offline they dont need to alert > that alle nodes are offline becaus i know that all nodes must be > offli

Re: [Nagios-users] Plugin issue

2007-01-15 Thread Jay Chandler
Dmitriy Kirhlarov wrote: > On Mon, Jan 15, 2007 at 07:56:47AM +0300, [EMAIL PROTECTED] wrote: > > >> Hallo thanks so much for your time.However the command is still timing out >> and giving me the same error.Here is my command definition in the hosts >> > > 1. Try to run command manualy. >

Re: [Nagios-users] Plugin issue

2007-01-15 Thread Dmitriy Kirhlarov
On Mon, Jan 15, 2007 at 07:56:47AM +0300, [EMAIL PROTECTED] wrote: > Hallo thanks so much for your time.However the command is still timing out > and giving me the same error.Here is my command definition in the hosts 1. Try to run command manualy. 2. Check your host with "ping" command. Host ali

Re: [Nagios-users] sending email out

2007-01-15 Thread Jay Chandler
Formoso, Travis wrote: > Ok here are my config files: > > [...snip] > All right... beat this into the command line, all on one line: /usr/bin/printf "%b" "* Nagios 2.6 *\n\nNotification Type: TEST \nHost: PRETENDIEXIST \nState: DENIAL \nAddress: 192.168.1.1\nInfo: Wuznme boss\n\nDate

Re: [Nagios-users] sending email out

2007-01-15 Thread Formoso, Travis
Ok here are my config files: Config: # 'tformoso' contact definition define contact{ contact_name tformoso alias nagios admin service_notification_period24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notif

Re: [Nagios-users] sending email out

2007-01-15 Thread Jay Chandler
Formoso, Travis wrote: > > Hey guys > > > > I had a service go into warning tonight and I did not receive and > email. I have notification interval at 120, period 24x7, options w,u,c,r > > > > I went in and changed commands.cfg to mailq because in my /bin it is > mailq and not mailx.. > > >

Re: [Nagios-users] sending email out

2007-01-15 Thread Jay Chandler
Formoso, Travis wrote: > > Hey guys > > > > I had a service go into warning tonight and I did not receive and > email. I have notification interval at 120, period 24x7, options w,u,c,r > > > > I went in and changed commands.cfg to mailq because in my /bin it is > mailq and not mailx.. > > >

[Nagios-users] sending email out

2007-01-15 Thread Formoso, Travis
Hey guys I had a service go into warning tonight and I did not receive and email. I have notification interval at 120, period 24x7, options w,u,c,r I went in and changed commands.cfg to mailq because in my /bin it is mailq and not mailx.. I configured the other files with my name and em

Re: [Nagios-users] NRPE: Unable to read output

2007-01-15 Thread Dan Langille
On 16 Jan 2007 at 2:06, Arno Lehmann wrote: > Hi, > > On 1/16/2007 1:26 AM, Dan Langille wrote: > > On 16 Jan 2007 at 1:12, Arno Lehmann wrote: > > > > > >>Hi, > >> > >>On 1/16/2007 12:40 AM, Dan Langille wrote: > >> > >>>On 15 Jan 2007 at 18:08, Dan Langille wrote: > >>> > >>> > >>> > Hi f

Re: [Nagios-users] NRPE: Unable to read output

2007-01-15 Thread Arno Lehmann
Hi, On 1/16/2007 1:26 AM, Dan Langille wrote: > On 16 Jan 2007 at 1:12, Arno Lehmann wrote: > > >>Hi, >> >>On 1/16/2007 12:40 AM, Dan Langille wrote: >> >>>On 15 Jan 2007 at 18:08, Dan Langille wrote: >>> >>> >>> Hi folks, I'm using nrpe 1.9 on FreeBSD 6.x and I'm failing to get a r

Re: [Nagios-users] NRPE: Unable to read output

2007-01-15 Thread Dan Langille
On 16 Jan 2007 at 1:12, Arno Lehmann wrote: > Hi, > > On 1/16/2007 12:40 AM, Dan Langille wrote: > > On 15 Jan 2007 at 18:08, Dan Langille wrote: > > > > > >>Hi folks, > >> > >>I'm using nrpe 1.9 on FreeBSD 6.x and I'm failing to get a remote > >>script to work. It seems that no perl script w

Re: [Nagios-users] NRPE: Unable to read output

2007-01-15 Thread Arno Lehmann
Hi, On 1/16/2007 12:40 AM, Dan Langille wrote: > On 15 Jan 2007 at 18:08, Dan Langille wrote: > > >>Hi folks, >> >>I'm using nrpe 1.9 on FreeBSD 6.x and I'm failing to get a remote >>script to work. It seems that no perl script works, but I can get >>compiled plug-ins to work. ... > My thanks

Re: [Nagios-users] Question about hosts when setting up

2007-01-15 Thread Formoso, Travis
> What does the definition starting on line 2 of > /etc/nagios/hostgroups.cfg look like? That's what nagios is complaining > about and it's a unique configuration that you've created. I would guess > that you've included '(username)' on the members line as if it were a > host. You shouldn't. Only h

Re: [Nagios-users] NRPE: Unable to read output

2007-01-15 Thread Dan Langille
On 15 Jan 2007 at 18:08, Dan Langille wrote: > Hi folks, > > I'm using nrpe 1.9 on FreeBSD 6.x and I'm failing to get a remote > script to work. It seems that no perl script works, but I can get > compiled plug-ins to work. > > The result is, which invoked on the nagios server is: > > $ ./ch

Re: [Nagios-users] NRPE: Unable to read output

2007-01-15 Thread Aaron Segura
What does the nrpe.cfg definition for your 'check_raid_dell' command look like? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Langille Sent: Monday, January 15, 2007 4:09 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] NRPE: Unable

Re: [Nagios-users] NsClient 2.0.1

2007-01-15 Thread Steve Shipway
The client is sending None&2&5 which is correct for a 5-min CPU average request with the default password. If you have modified the password on the pnsclient agent then this may be the cause (this is done in the registry). Alternatively check your check_nt program as it may be more recent and no

[Nagios-users] NRPE: Unable to read output

2007-01-15 Thread Dan Langille
Hi folks, I'm using nrpe 1.9 on FreeBSD 6.x and I'm failing to get a remote script to work. It seems that no perl script works, but I can get compiled plug-ins to work. The result is, which invoked on the nagios server is: $ ./check_nrpe -H app09 -c check_raid_dell NRPE: Unable to read output

[Nagios-users] Nagios receiving acknowledgements from behind firewall?

2007-01-15 Thread David Rudder
Hi, I'm building a website which will be hosted on a paid-hosting provider. I'd like to be able to click on a link that will send acknowledgments and comments in to a Nagios server running on a corporate LAN. So, there's a firewall between the hosted website and the Nagios site, with Nagios able t

Re: [Nagios-users] Question about hosts when setting up

2007-01-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Formoso, Travis > Sent: Monday, January 15, 2007 2:04 PM > To: nagios-users > Subject: [Nagios-users] Question about hosts when setting up > > Hello, > > > > I have setup monitoring o

Re: [Nagios-users] Using external commands with web interface

2007-01-15 Thread Stijn Gruwier
Check if you are enabled to do that in cgi.cfg: authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_comm

Re: [Nagios-users] Plugin issue

2007-01-15 Thread tyrus
> [EMAIL PROTECTED] wrote: >>> Don't forget to copy the mailing list in so others can chip in and >>> help. >>> > Read the above line again!! >> HI Andy am kinda confused here: when you say i insert the values >> "2000,25%" to the $ARG1$ and $ARG2$ respectively do you mean that i >> should >> inser

Re: [Nagios-users] Plugin issue

2007-01-15 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: >> Don't forget to copy the mailing list in so others can chip in and help. >> Read the above line again!! > HI Andy am kinda confused here: when you say i insert the values > "2000,25%" to the $ARG1$ and $ARG2$ respectively do you mean that i should > insert them in t

[Nagios-users] Question about hosts when setting up

2007-01-15 Thread Formoso, Travis
Hello, I have setup monitoring on our companies website and when I check to see if it will run correctly I get this message. Error: Could not find any host matching ‘(username)’ Error: Could not expand member hosts specified in hostgroup (config file ‘/etc/nagios/hostgroups.cfg’, starting

Re: [Nagios-users] Email notifications cont.

2007-01-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Nedim Bicic > Sent: Sunday, January 14, 2007 11:04 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Email notifications cont. > > I am using Nagios 2.4 > > I can no

[Nagios-users] Email notifications cont.

2007-01-15 Thread Nedim Bicic
I am using Nagios 2.4 I can not get email notifications when my system is timing out but when i check the event log on nagios i see the log: " [image: Service Warning][01-14-2007 23:47:16] SERVICE ALERT: nedo;PING;WARNING;HARD;4;PING WARNING - Packet loss = 0%, RTA = 135.06 ms [image: Service War

Re: [Nagios-users] Using external commands with web interface

2007-01-15 Thread nagios
Marc, You hit it right on the head. The problem was with the wrong httpd user assigned to the nagcmd group. I followed the instructions in the following link: http://nagios.sourceforge.net/docs/2_0/commandfile.html Did everything correct except for assigning "nobody" to nagcmd instead of 'apac

Re: [Nagios-users] check for terminal servers/rdp?

2007-01-15 Thread Hari Sekhon
if I was going to do that I would just use check_tcp... -h Hari Sekhon Saulo Silva wrote: Hi, Do you try just to create a script with telnet in the rdp port ?? I believe that is the easiest way . Best Regards , Saulo Augusto Silva == RHCE - LPI Professio

Re: [Nagios-users] addicted from other hosts

2007-01-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Daniel > Sent: Monday, January 15, 2007 11:09 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] addicted from other hosts > > Hi all, > > is there any way to make some addicte

[Nagios-users] FW: Patch for NRPE

2007-01-15 Thread Aaron Segura
Attached. -Original Message- From: Antoine Musso [mailto:[EMAIL PROTECTED] Sent: Monday, January 15, 2007 10:33 AM To: Aaron Segura Subject: Re: [Nagios-users] Patch for NRPE Aaron Segura a écrit : > While attempting to compile NRPE (v2.6 / 12/11/2006) with the DEBUG > option today I th

Re: [Nagios-users] addicted from other hosts

2007-01-15 Thread Mills, Charles
If I understand your question correctly you should just have to set the parent/child relationships accordingly. Chuck Charles L. Mills Senior Network Engineer Access Data Corporation 90 Beta Drive Pittsburgh, PA 15238 (412) 968-4024 [EMAIL PROTECTED] Managed Hosting, Colocation and Disaster Recov

Re: [Nagios-users] Upgrading to latest

2007-01-15 Thread nagios
Marc Powell wrote: > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Artyom Khmelnitsky >> Sent: Monday, January 15, 2007 9:52 AM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] Upgrading to latest >> >> Hello,

[Nagios-users] addicted from other hosts

2007-01-15 Thread Daniel
Hi all, is there any way to make some addicted between hosts? Here my solution: /---node3--node4 Nagios---Router \---node1--node2 So, when nagios see that the touter is offline they dont need to alert that alle nodes are offline becaus i know that all nodes mu

[Nagios-users] Patch for NRPE

2007-01-15 Thread Aaron Segura
While attempting to compile NRPE (v2.6 / 12/11/2006) with the DEBUG option today I think I found a small error in the code and have included a patch to fix it. This is for nrpe.c 1053,1056c1053,1056 < fp=fopen("/tmp/packet","w"); < if(fp){ < fwrite(&receive_pack

Re: [Nagios-users] Some spezial nagios 2.6 questions

2007-01-15 Thread Dmitriy Kirhlarov
Hi! On Mon, Jan 15, 2007 at 12:56:01PM +0100, Daniel wrote: > i have some questions about nagios 2.6 and config issue's. > > First, i want to know if it is possible to say: > > "alert me every X minutes" when the down status isn't changed to up. > I makes me nervouse to get every 10 minutes a s

Re: [Nagios-users] Upgrading to latest

2007-01-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Artyom Khmelnitsky > Sent: Monday, January 15, 2007 9:52 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Upgrading to latest > > Hello, > > One other question I ha

[Nagios-users] Upgrading to latest

2007-01-15 Thread Artyom Khmelnitsky
Hello, One other question I have is regarding the whole upgrading process. We currently run 2.0, but want to upgrade to 2.6. We do nightly backups, but does anything get overwritten that we would need to reconfigure again, such as the .cfg files, the web interface, icons, etc..? Or do we just u

Re: [Nagios-users] check for terminal servers/rdp?

2007-01-15 Thread Dan Mahoney, System Admin
On Mon, 15 Jan 2007, Hari Sekhon wrote: The other question being, is there some in-band error sent that's easily parseable when a terminal server has exceeded its number of allowed logins (I'd treat this as a WARN, not a CRIT), without having to parse and screen-scrape the screen image for that

Re: [Nagios-users] Using external commands with web interface

2007-01-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of nagios > Sent: Monday, January 15, 2007 9:07 AM > To: Stijn Gruwier > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Using external commands with web interface > >

Re: [Nagios-users] Using external commands with web interface

2007-01-15 Thread nagios
Stijn and Marc, thanks for your help. I'll check the below ideas but I'm pretty sure it's setup already. I'll also take a look at the links. I checked out the documentation and that did not fix the problem. I added the group, user, setup the permissions. My nagios.cmd file was made by Nagios. I

Re: [Nagios-users] Some spezial nagios 2.6 questions

2007-01-15 Thread Daniel
Guten Tag Marc Powell, am Montag, 15. Januar 2007 um 15:59 schrieben Sie: > Please always respond on list so that others may benefit from your > experience. That's part of the OSS credo ;) Sry, i thought i have doese that hehe... I pushed the wrng button ;) >> > -- >> # 'check_ping' command def

Re: [Nagios-users] Some spezial nagios 2.6 questions

2007-01-15 Thread Marc Powell
Please always respond on list so that others may benefit from your experience. That's part of the OSS credo ;) > -Original Message- > From: Daniel [mailto:[EMAIL PROTECTED] > Sent: Monday, January 15, 2007 8:45 AM > To: Marc Powell > Subject: Re[2]: [Nagios-users] Some spezial nagios 2.6 q

[Nagios-users] NsClient 2.0.1

2007-01-15 Thread Marco Borsani
Hi all . I installed NsClient (2.0.1) on a Windows 2000 server. It is working fine, but if I want to check CPULOAD I will read following error message: NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&5 Nagios server is a 1.4 version Have you got any idea?

Re: [Nagios-users] Some spezial nagios 2.6 questions

2007-01-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Daniel > Sent: Monday, January 15, 2007 5:56 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] Some spezial nagios 2.6 questions > > Hi all, > > i have some questions about na

Re: [Nagios-users] Using external commands with web interface

2007-01-15 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Artyom Khmelnitsky > Sent: Sunday, January 14, 2007 9:19 PM > To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED] > Subject: [Nagios-users] Using external commands with web interfac

[Nagios-users] Some spezial nagios 2.6 questions

2007-01-15 Thread Daniel
Hi all, i have some questions about nagios 2.6 and config issue's. First, i want to know if it is possible to say: "alert me every X minutes" when the down status isn't changed to up. I makes me nervouse to get every 10 minutes a sms where i can see "Host is down"... its enough when i see it eve

Re: [Nagios-users] check for terminal servers/rdp?

2007-01-15 Thread Hari Sekhon
If I wanted to test just the port I'd use check_tcp. I'd like to check that it can properly talk to rdp if I can. For example, I also use vnc, so I wrote a bash script around vncsnapshot to form a valid plugin to send creds and then pull the screen from the machine. Only if it pulled successful