;
> *From:* Mario Garcia [mailto:mar...@absi.be]
> *Sent:* Wednesday, July 17, 2013 11:10 AM
> *To:* nagios-users@lists.sourceforge.net
> *Subject:* [Nagios-users] check_by_ssh from nagios user
>
> ** **
>
> Hello
>
> i want to monitor a bluecoat reporter
Can you do an ssh from nagios server as nagios user to the blue host server
without password with -i option
ssh -i .ssh/
On Wed, Jul 17, 2013 at 9:40 PM, Mario Garcia wrote:
> Hello
> i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp
> are not available.
>
> when i logg
er idea to work as a noon-root user
anyway.
From: Mario Garcia [mailto:mar...@absi.be]
Sent: Wednesday, July 17, 2013 11:10 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_by_ssh from nagios user
Hello
i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp ar
Hello
i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp are
not available.
when i loggin from nagios user using simple ssh I can login
when i execute check_by_ssh from root user and execute a command it does
work
when i execute check_by_ssh from the nagios user on the nagios
I am trying to use either command files or perl or c to return a status
and value to check_by_ssh. When I test the command interactively
using:
/usr/lib64/nagios/plugins/check_by_ssh -H -s c1 -C "" -i
-l -S 1 -E
I get
WARNING - check_by_ssh: Remote command returned status 1
Any help woul
Hello
I think that you should use tha path complete, example:
/system/bin/zpool status syspool
Best regards
On 17/02/13 23:58, saimon michelson wrote:
> Hi,
>
> I have a question regarding the check_by_ssh plugin.
>
> I have a Linux server running a Nagios-core server and i am developing a
>
Hi,
I have a question regarding the check_by_ssh plugin.
I have a Linux server running a Nagios-core server and i am developing a
plugin to obtain information from a remote SunOS host over SSH.
I assumed that the way it works is that the nagios establishes a SSH
connection with the remote host,
I have an appliance that I cannot install anything on. However I can connect
via ssh. I can run remote commands with check_by_ssh, eg
check_by_ssh -H hmc -C "lsled -m ratbat -r sa -t phys" -l hscroot -s
/home/nagios/.ssh/id_rsa
This checks my HMC for the status of the attention LED on an AIX bo
Le 27/05/2010 01:46, Mirza Dedic a écrit :
> *command_line $USER1$/check_by_ssh -H someserver -p 22
> -i /home/nagios/.ssh/id_dsa -t 10 -C
> "/home/nagios/plugins/check_logfiles -t 30 -f
> /home/nagios/log_conf/usr1_data450.lg"*
Increase both timeouts for check_ssh and check_logfi
Hi List,
I have Nagios currently using check_by_ssh (check_by_ssh v2002 (nagios-plugins
1.4.13)) to check some of my remote servers, it calls a log script on the
remote server and the log script returns a warning if the log files matches the
criteria.
Every now and then, the check_by_ssh s
Neither of Frank's suggestions solved it, but something strange did happen.
First there was no known_users folder under nagios, only under /root. I copied
this file and tried the check again. Nothing.
I deleted the lines referring to the host both by name and by ip. I logged in
again, and I
O'Donnell, Robert L wrote:
> Date: Tue, 20 Apr 2010 16:18:05 -0700
> From: "O'Donnell, Robert L"
> Reply-To: Nagios Users List
> To: "nagios-users@lists.sourceforge.net"
> Subject: Re: [Nagios-users] check_by_ssh failing - host key verification
>
No joy in Mudville.
I can ssh interactive as user nagios with both the ip address and the name of
the target machine.
Also, my .cfg file does define the host name and address
Define host{
Use linux-server
Host_name (machine_name)
Alias (machin
Hi O'Donnell,!
On Wed, 14 Apr 2010, O'Donnell, Robert L wrote:
> Giorgio,
>
> Yes.
>
> Ssh (remote_machine_ip) -l nagios ?I /etc/nagios/.ssh/id_dsa
>
> logs me in with prompt ?nagios@(remote_machine_name):~>? and
> whoami returns nagios.
I see that you're logging in by IP, but in the config s
Giorgio,
Yes.
Ssh (remote_machine_ip) -l nagios -I /etc/nagios/.ssh/id_dsa
logs me in with prompt "nagios@(remote_machine_name):~>" and
whoami returns nagios.
If u try an ssh login from Nagios box to the remote box, u can login
without been asked for a password?
Ciao,
Giorgio
If u try an ssh login from Nagios box to the remote box, u can login
without been asked for a password?
Ciao,
Giorgio
Il giorno 14/apr/2010, alle ore 23.15, "O'Donnell, Robert L" > ha scritto:
Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE
enterprise machine.
Chk
Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise
machine.
Chk_by_ssh returns UNKNOWN and "Remote command execution failed: Host key
verification failed", check_ping works.
I have played with every combo of options I could think of, but same results.
This is my f
Yes. And you can simplify this by running ssh-copy-id as the Nagios user:
--
nag...@monserv:~$ ssh-copy-id remu...@remhost
remu...@remhost's password:
Now try logging into the machine, with "ssh 'r...@webdb1.int.ia'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys
On Mar 9, 2010, at 12:46 AM, Morris, Patrick wrote:
>> How can I use check_by_ssh to monitor remote servers, when the
>> username on the remote box is different from the Nagios user name?
>
> Install the private keys of the remote users on the Nagios machine under
> the nagios user. You've al
David Mitchell wrote:
> Hello list,
>
> I've got a situation where I can't create 'nagios' users on the
> systems I need to monitor; I'm stuck with using a set of different
> user names to monitor a range of systems.
>
> For the sake of the discussion, assume the account on the Nagios
> server i
Hello list,
I've got a situation where I can't create 'nagios' users on the systems I
need to monitor; I'm stuck with using a set of different user names to
monitor a range of systems.
For the sake of the discussion, assume the account on the Nagios server is
'nagios' and the account I've been gi
On Thursday 17 September 2009 12:42:33 Alex Huth wrote:
> Hi!
>
> Even when it is not directly a nagios topic, i hope someone can help me. I
> have to execute with a eventhandler a command remote with another user as
> the user for nagios.
>
> Let's say the nagios user is aaa, the user to login r
Hi!
Even when it is not directly a nagios topic, i hope someone can help me. I
have to execute with a eventhandler a command remote with another user as the
user
for nagios.
Let's say the nagios user is aaa, the user to login remote by ssh is user bbb
and the user who can execute the init script
On Wed, 2009-09-02 at 14:19 +0300, Juki wrote:
> 2009/9/2 Thomas Guyot-Sionnest
>
>
>
> This had to do with the server's kay that changed and is being
> cached in
>
> the nagios user's ~/.ssh/known_hosts. Find any entry matching
> the target
> ho
2009/9/2 Thomas Guyot-Sionnest
> This had to do with the server's kay that changed and is being cached in
> the nagios user's ~/.ssh/known_hosts. Find any entry matching the target
> host name or IP and delete them, then connect manually to the host as
> the nagios user.
>
Thanks for the reply.
On Wed, 02 Sep 2009 06:25:48 -0400
Thomas Guyot-Sionnest wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 02/09/09 05:26 AM, Juki wrote:
> > Hello people,
> >
> > Remote command execution failed: ## !!!
> > WARNING !!! #
>
> This had
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/09/09 05:26 AM, Juki wrote:
> Hello people,
>
> Remote command execution failed: ## !!! WARNING !!!
> #
This had to do with the server's kay that changed and is being cached in
the nagios user's ~/
I'm trying to set up check_by_ssh to run a php script on a remote machine
that acts as a Nagios plugin. The script runs a few ls commands to figure
out the number of directories in a subdirectories, then gives output and
return codes accordingly (if it's past a certain threshold, I wantit to
error
On May 8, 2009, at 1:13 PM, Anirudh Srinivasan wrote:
> In order to monitor the remote linux server we are using
> check_by_ssh as root. I know it is not advisable to use it as root ,
> but we are in a transition to NRPE slowly which uses nagios.
>
> Here's what i did :
>
> 1) As root copied
In order to monitor the remote linux server we are using check_by_ssh as
root. I know it is not advisable to use it as root , but we are in a
transition to NRPE slowly which uses nagios.
Here's what i did :
1) As root copied the id_rsa.pub to the remote server's root user's .ssh
directory and pa
Chris Pepper wrote:
> I'm not finding much current documentation on check_by_ssh -- does it
> work?
Nevermind! I forgot that I had found a UID conflict on some of the
monitored nodes, so I changed nagios' UID on the monitoring servers.
"service nagios stop; chown -R nagios /usr/lo
I'm not finding much current documentation on check_by_ssh -- does it
work?
I have set up the nagios account with /bin/sh as its shell on 2 Linux
Nagios servers and several clients (RHEL/SuSE/Sol10). I installed
nagios-plugins-1.4.13 on the clients, and set up public key trust f
to monitor the remote linux machine i use check_by_ssh plugins . I loged in
as nagios user and did key-gen and exchanged the plublic key so that nagios
can do a password less login and get the datas like memory, cpu load
etc
But for some reason i dont see anything in the web interface except fo
On Apr 16, 2009, at 8:55 AM, Melanie Pfefer wrote:
>
> Hi
>
> I want to use check_by_ssh with a script that uses an argument
>
> ./check_by_ssh -l myuser -H myhost -t 120 -C myscript
> my_script_argument
>
>
> The script gives an output as if the my_script_argument is empty
>
> any idea?
Quote
Hi
I want to use check_by_ssh with a script that uses an argument
./check_by_ssh -l myuser -H myhost -t 120 -C myscript my_script_argument
The script gives an output as if the my_script_argument is empty
any idea?
thank you
On Tue, Jan 6, 2009 at 7:36 AM, Mirza Dedic wrote:
> Hello,
>
> I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while I
> am able to get Nagios to monitor all the things I need on a Win32 box (using
> NSClient++ & Check_NT); I am having difficulty getting check_by_ssh to work
>
On Tue, 06 Jan 2009, Mirza Dedic wrote:
> Hello,
>
> I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while I am
> able to get Nagios to monitor all the things I need on a Win32 box (using
> NSClient++ & Check_NT); I am having difficulty getting check_by_ssh to work
> for me
Hello,
I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while I am
able to get Nagios to monitor all the things I need on a Win32 box (using
NSClient++ & Check_NT); I am having difficulty getting check_by_ssh to work for
me.
I have previously never used check_by_ssh; I am als
I believe this to be caused by the check itself is timing out. As when
I try to login it will sometimes take up to a minute or two just to
get a prompt.
As for setting the timeouts for that sort of thing, this is what I do.
In my resource.cfg:
--
# check_by_ssh timeout
$USER4$=10
--
.. an
On Oct 6, 2008, at 11:03 AM, James wrote:
> On Mon, October 6, 2008 11:37 am, Charlie Reddington wrote:
>> I should also mention that I also have these timeouts in place...
>>
>>
>> service_check_timeout=90 host_check_timeout=30
>> event_handler_timeout=30
>> notification_timeout=60 ocsp_timeo
, 2008 11:35 AM
> To: Nagios User list
> Subject: [Nagios-users] check_by_ssh timeouts / how to work around?
>
> Hi,
>
> I have a couple machines that spit out a warning similar to this:
>
> WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/
> check_disk
On Mon, October 6, 2008 11:37 am, Charlie Reddington wrote:
> I should also mention that I also have these timeouts in place...
>
>
> service_check_timeout=90 host_check_timeout=30 event_handler_timeout=30
> notification_timeout=60 ocsp_timeout=5 perfdata_timeout=5
>
> Charlie
>
>
> On Oct 6, 2008
Are you using a LDAP server and RSA keys?
-Original Message-
From: Charlie Reddington [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2008 11:35 AM
To: Nagios User list
Subject: [Nagios-users] check_by_ssh timeouts / how to work around?
Hi,
I have a couple machines that spit out a
I should also mention that I also have these timeouts in place...
service_check_timeout=90
host_check_timeout=30
event_handler_timeout=30
notification_timeout=60
ocsp_timeout=5
perfdata_timeout=5
Charlie
On Oct 6, 2008, at 10:35 AM, Charlie Reddington wrote:
> Hi,
>
> I have a couple machines
Hi,
I have a couple machines that spit out a warning similar to this:
WARNING - check_by_ssh: Remote command '/home/nagios/nagios-plugs/
check_disk' returned status 1
I believe this to be caused by the check itself is timing out. As when
I try to login it will sometimes take up to a minute or
Hi all,
I have nagios working pretty good, it's checking all i want over ssh.
But ever since I have set up nagios over ssh, I keep getting the
following in my logs.
authpriv crit sshd[8939]: fatal: Read from socket failed: Connection
reset by peer
I've checked the load / iowait of the
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of News
> Sent: Tuesday, February 12, 2008 10:37 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_by_ssh wont work - help.
>
> Hi all
Hi all. Im trying to get check_by_ssh to work but i keep failing. Its between two linux, Debian (nagiosserver) and redhat (cilent). Im trying something simple at first, just check the disk.I have setup the keys so i can login without password (with user nagios). When i do a test with from terminal
* [EMAIL PROTECTED] [2008-01-03 14:31]:
> > * [EMAIL PROTECTED] [2008-01-02 21:56]:
> >> > On Jan 2, 2008, at 3:34 AM, [EMAIL PROTECTED] wrote:
> >> >> I want to do some checks on a remote host using check_by_ssh.
> >> >> Although user nagios can ssh to that host without being asked
> >> >> for a p
I'm trying to run check_by_ssh against my localhost (for consistency
purposes.) I'm using forced command execution with ssh:
`cat /home/nagios/.ssh/authorized_keys2`
command="/home/nagios/bin/check_by_ssh.sh" ssh-dss B3N
nagios_check_by_ssh
/usr/lib/nagios/plugins/check_by_ssh -i /etc/nagios
> * [EMAIL PROTECTED] [2008-01-02 21:56]:
>> > On Jan 2, 2008, at 3:34 AM, [EMAIL PROTECTED] wrote:
>> >> I want to do some checks on a remote host using check_by_ssh.
>> Although
>> >> user nagios can ssh to that host without being asked for a password
>> >> the webinterface of my nagios is tellin
* [EMAIL PROTECTED] [2008-01-02 21:56]:
> > On Jan 2, 2008, at 3:34 AM, [EMAIL PROTECTED] wrote:
> >> I want to do some checks on a remote host using check_by_ssh. Although
> >> user nagios can ssh to that host without being asked for a password
> >> the webinterface of my nagios is telling me:
> >
>
> On Jan 2, 2008, at 3:34 AM, [EMAIL PROTECTED] wrote:
>
>> I want to do some checks on a remote host using check_by_ssh. Although
>> user nagios can ssh to that host without being asked for a password
>> the
>> webinterface of my nagios is telling me:
>>
>> Unknown
>> Remote command execution fa
On Jan 2, 2008, at 3:34 AM, [EMAIL PROTECTED] wrote:
> I want to do some checks on a remote host using check_by_ssh. Although
> user nagios can ssh to that host without being asked for a password
> the
> webinterface of my nagios is telling me:
>
> Unknown
> Remote command execution failed: Per
I want to do some checks on a remote host using check_by_ssh. Although
user nagios can ssh to that host without being asked for a password the
webinterface of my nagios is telling me:
Unknown
Remote command execution failed: Permission denied
(publickey,keyboard-interactive)
If I run nagios in th
"mark redding" <[EMAIL PROTECTED]> wrote on 12/13/2007 10:36:16 AM:
> Hi,
>
> On 13/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Currently I know of no risk associated with running NRPE however any
service
> > that opens a port on a system can become a risk. After much debate an
> Further, what is the big concern about running nrpe ??? I have a
> number of mission critical systems that all run nrpe. Configured with
> the correct "allowed_hosts" list, with "nrpe_user" & "nrpe_group" set
> to the right type of account, and the "dont_blame_nrpe=0" parameter
> set (in order to
Hi,
On 10/12/2007, Peter Lauda <[EMAIL PROTECTED]> wrote:
> I've set up a test command to run a remote check_load using check_by_ssh and
> when I run it manually it works as expected. When it is run in the nagios
> framework I get the "(No output!)" result.
Are you absolutely sure that the accou
I'm sure this has been addressed but I can't find any resolutions that seem
to work in my environment. My apologies in advance.
I am trying to use check_by_ssh to invoke remote system/service checks
rather than using nrpe. I have had great success with nrpe but I do not have
the authority to imple
>
> Nagios: 2.10
> Plugins: 1.4.9
> OS: SLES 9.3
>
> I am having some trouble figuring out how to make check_by_ssh work
> properly. I think I have done all of the usual troubleshooting and I
> have googled the issue to no avail:
>
> Command as nagios user on the remote server:
>
> /usr/l
Nagios: 2.10
Plugins: 1.4.9
OS: SLES 9.3
I am having some trouble figuring out how to make check_by_ssh work
properly. I think I have done all of the usual troubleshooting and I have
googled the issue to no avail:
Command as nagios user on the remote server:
/usr/local/nagios/libexec/check_loa
>
To: nagios-users@lists.sourceforge.net
Sent: Thursday, October 4, 2007 11:02:17 PM
Subject: Re: [Nagios-users] check_by_ssh - please clarify.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Live Great
> Sent: Wednesday, Octo
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Live Great
> Sent: Wednesday, October 03, 2007 2:02 AM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] check_by_ssh - please clarify.
>
>
If I want to set Nagios distribution architecture, can I still use check_by_ssh
with NSCA server?
eg.
Nagios central server <--> NSCA ---execute ssh--> host 1
in this sense, NSCA will gather information from host 1 using check_by_ssh, and
send back the collected data to the Nagios central server
Hi,
I am aware that NSCA can uses check_by_ssh to check remote host.
I am wondering if this means I don't have to install NSCA or Nagios plugins in
remote host?
Thanks
Sam
-
This SF.net email is sponsored by: Microsoft
Def
Hi,
This is the follow up the previous question.
For example, if I want to check disk info in a remote host,
In the NSCA server, I will define the following config:
define command{
command_namecheck_slash_free
command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H
Hi Robert!
On Fri, 15 Jun 2007, Robert Cole wrote:
> Well as you might notice from my message the keybased authentication is
> working well, no problem but I wasn't using sudo so I tried adding that
> line to my sudo config with no success. It still asks for a passphrase
> or password when I u
Well as you might notice from my message the keybased authentication is
working well, no problem but I wasn't using sudo so I tried adding that
line to my sudo config with no success. It still asks for a passphrase
or password when I use check_by_ssh but if I "ssh remotecomputer" I go
right in
Robert Cole wrote:
> I tried the multiple v's:
>
> [EMAIL PROTECTED] ~ $ /usr/nagios/libexec/check_by_ssh -H remotecomputer -i
> - ~/.ssh/id_dsa -C "/usr/nagios/plugins/check_swap -w 50% -c 10%"
> Enter passphrase for key '/home/nagios/.ssh/id_dsa':
> [EMAIL PROTECTED]'s password:
>
> Didn't g
I tried the multiple v's:
[EMAIL PROTECTED] ~ $ /usr/nagios/libexec/check_by_ssh -H remotecomputer -i
- ~/.ssh/id_dsa -C "/usr/nagios/plugins/check_swap -w 50% -c 10%"
Enter passphrase for key '/home/nagios/.ssh/id_dsa':
[EMAIL PROTECTED]'s password:
Didn't give me anymore output but as I
I noticed this list has a lot more activity on it and the plugin list
next to none so please excuse me.
I'm not sure if I found a bug or what but I can login to the remote
system I'm trying to check with key based authentication I can even do a
"ssh -i ~/.ssh/id_dsa remotecomputer "/usr/nagios
Ahh yes, thankyou both! For reference, the offending host_key was living
in /var/spool/nagios/.ssh/known_hosts (as the nagios user has nologin).
Thanks again!
On Friday 01 June 2007 01:08, Patrick Morris wrote:
> On Fri, 01 Jun 2007, Daniel Tandowski wrote:
> > I appreciate your quick response
On Fri, 01 Jun 2007, Daniel Tandowski wrote:
> I appreciate your quick response, ssh known_hosts / authorized_keys was my
> first culprit also... unfortunately, this doesn't explain why it would work
> correctly when I run the same command nagios is running from the CLI (using
> the same key)!?
I appreciate your quick response, ssh known_hosts / authorized_keys was my
first culprit also... unfortunately, this doesn't explain why it would work
correctly when I run the same command nagios is running from the CLI (using
the same key)!?
#/usr/lib/nagios/plugins/check_by_ssh -t 60 -H -l
Hi all, long time Nagios user, first time poster.
I'm having an issue with one of my check_by_ssh scripts - which basically just
checks the size and modified time of a backup file on each of roughly 70
Linux hosts.
All of the hosts are working correctly, except one, which as far as I can
tell,
2007 12:34 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_by_ssh id key file reject
>
> Hi everyone i have a problem with using the check_by_ssh plugin
>
> for some reason i can run from the command line fine the check_by_ssh
> plugin with my id keyf
: [Nagios-users] check_by_ssh id key file reject
Hi everyone i have a problem with using the check_by_ssh plugin
for some reason i can run from the command line fine the check_by_ssh
plugin with my id keyfile id_rsa
my id_rsa file is chowned by nagios so that shouldn't be a problem. i
had also ch
Hi everyone i have a problem with using the check_by_ssh plugin
for some reason i can run from the command line fine the check_by_ssh
plugin with my id keyfile id_rsa
my id_rsa file is chowned by nagios so that shouldn't be a problem. i
had also chmoded 777 for testing.
/usr/local/nagios/libexe
This is just weird:
ssh -i /usr/local/nagios/etc/.ssh/id_dsa -l nagios
fully.qualified.hostname.com /usr/local/bin/nagcheck
produces output, run as nagios.
Running the check_by_ssh binary, with this command line:
./check_by_ssh -H fully.qualified.hostname.com -l nagios -i
usr/lo
Moayad Mohammad wrote:
> when i use check_by_ssh plugin to check the CPU or hard disk, I got the
> following error
> ( Remote command execution failed: /usr/local/nagios/libexec/check_disk:
> error while loading shared libraries: libssl.so.6: cannot open shared
> object file: No such file or direc
when i use check_by_ssh plugin to check the CPU or hard disk, I got the
following error
( Remote command execution failed: /usr/local/nagios/libexec/check_disk:
error while loading shared libraries: libssl.so.6: cannot open shared
object file: No such file or directory )
And the following command
Robert Fitzpatrick wrote:
> On Thu, 2006-11-09 at 10:51 -0600, Marc Powell wrote:
>> You must be running something different from the command line as the
>> above could never work. Check_by_ssh is expecting -C to be a full path
>> and command to run on a remote host. I'm doing the same kind of thin
On Thu, 2006-11-09 at 10:51 -0600, Marc Powell wrote:
> You must be running something different from the command line as the
> above could never work. Check_by_ssh is expecting -C to be a full path
> and command to run on a remote host. I'm doing the same kind of thing
> with --
Yes, I was running
> # 'check_by_ssh' command definition
> define command{
> command_namecheck_by_ssh
> }
>
This doesn't look right;
> command_line$USER1$/check_by_ssh -H $HOSTADDRESS$ -C "$ARG1$"
This does
--
Cheers,
Gavin
UKS Ltd, Birmingham Road, Studley, Warwickshire,
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Robert Fitzpatrick
> Sent: Thursday, November 09, 2006 10:01 AM
> To: Nagios
> Subject: [Nagios-users] check_by_ssh
>
> Trying to use check_by_ssh and can'
Trying to use check_by_ssh and can't seem to get the -C argument right.
I am getting a WARNING with this:
Bad escape character ' 60 -F /var/spool/nagios/nagios.log -C
/usr/local/bin/nagios'
This is the way I have my checkcommand and service setup, I tried
without the single quotes and it gave me
In message <[EMAIL PROTECTED]>,
"Marc Powell" writes:
>> From: [EMAIL PROTECTED] [mailto:nagios-users-
>> [EMAIL PROTECTED] On Behalf Of John P. Rouillard
>>
>> Also supposedly check_by_ssh can run checks for multiple services at
>> the same time. See the -C, -O and -s arguments. I have never been
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of John P. Rouillard
> Sent: Wednesday, October 11, 2006 7:31 PM
> To: Craig Worthington
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] check
Top posting. Reformatted:
In message <[EMAIL PROTECTED]>, Craig Worthington writes:
>On Thu, 2006-10-12 at 08:43, John P. Rouillard wrote:
>> In message <[EMAIL PROTECTED]>,
>> "Marc Powell" writes:
>> >> On Behalf Of Bret Goodfellow
>> >> The user (nagios) is the id that is executing both ssh an
On the same sort of ssh track...
Is it possible to configure ssh or check_by_ssh to use a ssh tunnel ?
I have a number of heavy loaded computers (executing climate models)
where re-establishing ssh connections every 30 seconds is causing a load
problem.
I guess the goal would be to have a check-
In message <[EMAIL PROTECTED]>,
"Marc Powell" writes:
>> On Behalf Of Bret Goodfellow
>> The user (nagios) is the id that is executing both ssh and check_by_ssh.
>> When these commands are run, the "environments" established for ssh and
>> check_by_ssh are different (why)?
>>
>check_by_ssh does n
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Bret Goodfellow
> Sent: Wednesday, October 11, 2006 4:14 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_by_ssh vs. ssh (when execu
The user (nagios) is the id that is executing both ssh
and check_by_ssh. When these
commands are run, the "environments" established for ssh and check_by_ssh are
different (why)?
Below is the environment established for
ssh:
SHELL=/bin/bash
SSH_CLIENT=10.8.24.170 58641 22
USER=nagios
L
On Thu, 24 Aug 2006, Nelson Serafica wrote:
> Here's the scenario:
>
> user John can connect via ssh to SONICSERVER using oracle user without
> authentication. To verify, i run this command and encountered no problem:
>
> ssh -i /home/John/.ssh/id_rsa [EMAIL PROTECTED] w
>
> and the command
Here's the scenario:user John can connect via ssh to
SONICSERVER using oracle user without authentication. To verify, i run
this command and encountered no problem:ssh -i /home/John/.ssh/id_rsa [EMAIL PROTECTED] wand the commands run properly.But when i tried this command: [EMAIL PROTECTED] ~]$ /u
hi,
i check the most servers (most dyndns.org) via check_by_ssh
and it is working, but sometimes i get messages like this:
CRITICAL - Plugin timed out while executing system call
or:
(No output!)
but, after the next checks, its up again. I think, the problem is, when
the remote host is changin
96 matches
Mail list logo