is the apparent issue - as you say - it runs correctly otherwise.
Jamie
From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 8:43 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
The script
...@norwich.edu]
Sent: Friday, March 30, 2012 12:19 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
Yes I agree with Ed as well on the remote stuff -
And yes, the *nix OS determines what shell/program (eg perl/bash/sh/zsh etc) to
execute the
user - that is all that is
left in your case it seems (?)
From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org]
Sent: Friday, March 30, 2012 3:11 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
If this is
heck commands matches the remote entry
Ed
From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 01:50 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
Actually I verified that this script runs fi
uld I su - nagios
user anyway?
And responding to Edwin's question, it is on local host.
Thanks.
Mikhail.
From: James Pratt [mailto:jpr...@norwich.edu]
Sent: Friday, March 30, 2012 11:33 AM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Na
Is be run on a remote host or local?
From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 12:27 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
Sorry for confusion - I was just trying
March 30, 2012 1:28 PM
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
Sorry for confusion - I was just trying different combinations.
But initially my command definition was following:
define command{
command_namedlg_notificat
Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
Sorry for confusion - I was just trying different combinations.
But initially my command definition was following:
define command{
command_namedlg_notifications
command_
To: Nagios Users List
Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in
Nagios
I'm slightly confused - Do you have "#!/bin/bash" in the top of your shell
script, and is it set to be executable by (at least) the nagios user? (Not
sure why you are calling
Jamie
From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]
Sent: Friday, March 30, 2012 12:43 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios
Hello,
I have the following command:
define command{
Hello,
I have the following command:
define command{
command_namedlg_notifications
command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh
}
And the following service
define service{
use mypc
service_descript
11 matches
Mail list logo