Xymon Mailing List Archive search

snmp

13 messages in this thread

list Lars Ebeling · Fri, 7 Mar 2008 13:25:05 +0100 ·
----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, March 07, 2008 7:34 AM
Subject: Re: [hobbit] snmp

On Fri, Mar 07, 2008 at 06:30:53AM +0100, Lars Ebeling wrote:
I would like to have an examle of the snmp configuration file:
hobbit-snmphosts.cfg-- 
Thanks, now next question, What does hobbit_snmpcollect.cfg look like?

-- 
Regards
Lars Ebeling

http://leopg9.no-ip.org
Hobbithobbyist

"It is better to keep your mouth shut and appear stupid than to open it and 
remove all doubt."
-- Mark Twain
list Henrik Størner · Fri, 7 Mar 2008 22:44:36 +0100 ·
quoted from Lars Ebeling
On Fri, Mar 07, 2008 at 01:25:05PM +0100, Lars Ebeling wrote:
On Fri, Mar 07, 2008 at 06:30:53AM +0100, Lars Ebeling wrote:
I would like to have an examle of the snmp configuration file:
hobbit-snmphosts.cfg-- 
Thanks, now next question, What does hobbit_snmpcollect.cfg look like?
There's no such file. Might have been in some of the early versions,
but not now.


Henrik
list Taylor Lewick · Fri, 7 Mar 2008 16:24:03 -0600 ·
Im installing the hobbit linux client on some Suse 10.1 test machines.
I just tarred up the client directory from hobbit server and installed
it to /home/hobbit/client on the target machines

If I try to start the client using ./runclient.sh start as user hobbit
or root, I get the following error:

./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch: cannot
execute binary file

Permissions on hobbitlaunch are fine, any ideas?

Thanks all,
list Rob MacGregor · Fri, 7 Mar 2008 22:32:01 +0000 ·
On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick
quoted from Taylor Lewick
<user-ccbabb0b3ab0@xymon.invalid> wrote:
Im installing the hobbit linux client on some Suse 10.1 test machines.
 I just tarred up the client directory from hobbit server and installed
 it to /home/hobbit/client on the target machines

 If I try to start the client using ./runclient.sh start as user hobbit
 or root, I get the following error:

 ./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch: cannot
 execute binary file

 Permissions on hobbitlaunch are fine, any ideas?
You've mounted /home with the noexec option.

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Taylor Lewick · Fri, 7 Mar 2008 16:37:35 -0600 ·
Doh!

Thanks

----- Original Message -----
From: Rob MacGregor <user-07c9d92ae079@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Fri Mar 07 16:32:01 2008
Subject: Re: [hobbit] hobbit linux client issue

On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick
<user-ccbabb0b3ab0@xymon.invalid> wrote:
Im installing the hobbit linux client on some Suse 10.1 test machines.
 I just tarred up the client directory from hobbit server and installed
 it to /home/hobbit/client on the target machines

 If I try to start the client using ./runclient.sh start as user hobbit
 or root, I get the following error:

 ./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch: cannot
 execute binary file

 Permissions on hobbitlaunch are fine, any ideas?
You've mounted /home with the noexec option.

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Josh Luthman · Fri, 7 Mar 2008 17:42:59 -0500 ·
Rob, have you come across that one before or was that the most amazing guess
ever?
quoted from Taylor Lewick

On 3/7/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:
 Doh!

Thanks


----- Original Message -----
From: Rob MacGregor <user-07c9d92ae079@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Fri Mar 07 16:32:01 2008
Subject: Re: [hobbit] hobbit linux client issue

On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick
<user-ccbabb0b3ab0@xymon.invalid> wrote:
Im installing the hobbit linux client on some Suse 10.1 test machines.
 I just tarred up the client directory from hobbit server and installed
 it to /home/hobbit/client on the target machines

 If I try to start the client using ./runclient.sh start as user hobbit
 or root, I get the following error:

 ./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch: cannot
 execute binary file

 Permissions on hobbitlaunch are fine, any ideas?
You've mounted /home with the noexec option.

--
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Taylor Lewick · Fri, 7 Mar 2008 16:46:15 -0600 ·
Wait a second then why can I run the runclient script which is in home
quoted from Josh Luthman

----- Original Message -----
From: Josh Luthman <user-4c45a83f15cb@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Fri Mar 07 16:42:59 2008
Subject: Re: [hobbit] hobbit linux client issue

Rob, have you come across that one before or was that the most amazing guess ever?


On 3/7/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:

	Doh!
	
	Thanks

	
	----- Original Message -----
	From: Rob MacGregor <user-07c9d92ae079@xymon.invalid>
	To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
	Sent: Fri Mar 07 16:32:01 2008
	Subject: Re: [hobbit] hobbit linux client issue
	
	On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick
	<user-ccbabb0b3ab0@xymon.invalid> wrote:
Im installing the hobbit linux client on some Suse 10.1 test machines.
 I just tarred up the client directory from hobbit server and installed
 it to /home/hobbit/client on the target machines

 If I try to start the client using ./runclient.sh start as user hobbit
 or root, I get the following error:

 ./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch: cannot
 execute binary file

 Permissions on hobbitlaunch are fine, any ideas?
	
	You've mounted /home with the noexec option.
	
	--
	                 Please keep list traffic on the list.
	
	Rob MacGregor
	      Whoever fights monsters should see to it that in the process he
	        doesn't become a monster.                  Friedrich Nietzsche
	
	
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Taylor Lewick · Fri, 7 Mar 2008 20:26:15 -0600 ·
I found out what the problem was, and it wasn't the home directory being
mounted noexec...

 
When I tarred up the client directory on the server and copied it over
and untarred it, all the file sizes changed.

So then I tried to scp a couple of the files over, i.e. bb, bbcmd, etc,
and the same thing happened.


So now I need to figure out how to copy them from one system to the next
without it messing up the executables.

It didn't affect any of the .sh files, like hobbitclient.sh...

 
Thanks,
Taylor
quoted from Taylor Lewick

 
From: Taylor Lewick [mailto:user-ccbabb0b3ab0@xymon.invalid] 
Sent: Friday, March 07, 2008 4:46 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit linux client issue

 
Wait a second then why can I run the runclient script which is in home

----- Original Message -----
From: Josh Luthman <user-4c45a83f15cb@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Fri Mar 07 16:42:59 2008
Subject: Re: [hobbit] hobbit linux client issue

Rob, have you come across that one before or was that the most amazing
guess ever?


On 3/7/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:

        Doh!
       
        Thanks

       
        ----- Original Message -----
        From: Rob MacGregor <user-07c9d92ae079@xymon.invalid>
        To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
        Sent: Fri Mar 07 16:32:01 2008
        Subject: Re: [hobbit] hobbit linux client issue
       
        On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick
        <user-ccbabb0b3ab0@xymon.invalid> wrote:
Im installing the hobbit linux client on some Suse 10.1 test
machines.
 I just tarred up the client directory from hobbit server and
installed
 it to /home/hobbit/client on the target machines

 If I try to start the client using ./runclient.sh start as
user hobbit
 or root, I get the following error:

 ./runclient.sh: line 83:
/home/hobbit/client/bin/hobbitlaunch: cannot
 execute binary file

 Permissions on hobbitlaunch are fine, any ideas?
       
        You've mounted /home with the noexec option.
       
        --
                         Please keep list traffic on the list.
       
        Rob MacGregor
              Whoever fights monsters should see to it that in the
process he
                doesn't become a monster.                  Friedrich
Nietzsche
       
        
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Josh Luthman · Fri, 7 Mar 2008 21:30:10 -0500 ·
If you do a tar -xf movethesefiles.tar /home/hobbit/client and SCP that tar
file, does the tar remain the same size at least?
quoted from Taylor Lewick

On 3/7/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:
 I found out what the problem was, and it wasn't the home directory being
mounted noexec…


When I tarred up the client directory on the server and copied it over and
untarred it, all the file sizes changed.

So then I tried to scp a couple of the files over, i.e. bb, bbcmd, etc,
and the same thing happened.


So now I need to figure out how to copy them from one system to the next
without it messing up the executables.

It didn't affect any of the .sh files, like hobbitclient.sh…


Thanks,
Taylor


*From:* Taylor Lewick [mailto:user-ccbabb0b3ab0@xymon.invalid]
*Sent:* Friday, March 07, 2008 4:46 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] hobbit linux client issue


Wait a second then why can I run the runclient script which is in home

----- Original Message -----
From: Josh Luthman <user-4c45a83f15cb@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Fri Mar 07 16:42:59 2008
Subject: Re: [hobbit] hobbit linux client issue

Rob, have you come across that one before or was that the most amazing
guess ever?


On 3/7/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:

        Doh!

        Thanks


        ----- Original Message -----
        From: Rob MacGregor <user-07c9d92ae079@xymon.invalid>
        To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
        Sent: Fri Mar 07 16:32:01 2008
        Subject: Re: [hobbit] hobbit linux client issue

        On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick
        <user-ccbabb0b3ab0@xymon.invalid> wrote:
Im installing the hobbit linux client on some Suse 10.1 test
machines.
 I just tarred up the client directory from hobbit server and
installed
 it to /home/hobbit/client on the target machines

 If I try to start the client using ./runclient.sh start as user
hobbit
 or root, I get the following error:

 ./runclient.sh: line 83: /home/hobbit/client/bin/hobbitlaunch:
cannot
 execute binary file

 Permissions on hobbitlaunch are fine, any ideas?
        You've mounted /home with the noexec option.

        --
                         Please keep list traffic on the list.

        Rob MacGregor
              Whoever fights monsters should see to it that in the process
he
                doesn't become a monster.                  Friedrich
Nietzsche

        
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Rich Smrcina · Fri, 07 Mar 2008 20:35:03 -0600 ·
That's strange.  I've done this and haven't had any problems.  I don't recall if I took the whole user's directory (/home/hobbit) or the client directory (/home/hobbit/client) though.   Probably the whole user's directory...
quoted from Taylor Lewick

Taylor Lewick wrote:
I found out what the problem was, and it wasn’t the home directory being mounted noexec…

 
When I tarred up the client directory on the server and copied it over and untarred it, all the file sizes changed.

So then I tried to scp a couple of the files over, i.e. bb, bbcmd, etc, and the same thing happened.


So now I need to figure out how to copy them from one system to the next without it messing up the executables.

It didn’t affect any of the .sh files, like hobbitclient.sh…

 
Thanks,
Taylor
-- 

Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2008 - Chattanooga - April 18-22, 2008
list Taylor Lewick · Fri, 7 Mar 2008 20:38:29 -0600 ·
I should really do my homework a little more before posting.

I compiled hobbit on a 64 bit machine, and I was trying to install the
client on a 32 bit machine...  Weak!

 
I guess I'll have to compile the hobbit source twice, once for 32 bit
and once for 64 bit, or compile it just on 32 bit as that client should
work on 64 bit machines as well...
quoted from Josh Luthman

 
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Friday, March 07, 2008 8:30 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit linux client issue

 
If you do a tar -xf movethesefiles.tar /home/hobbit/client and SCP that
tar file, does the tar remain the same size at least?

On 3/7/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:

I found out what the problem was, and it wasn't the home directory being
mounted noexec...

 
When I tarred up the client directory on the server and copied it over
and untarred it, all the file sizes changed.

So then I tried to scp a couple of the files over, i.e. bb, bbcmd, etc,
and the same thing happened.


So now I need to figure out how to copy them from one system to the next
without it messing up the executables.

It didn't affect any of the .sh files, like hobbitclient.sh...

 
Thanks,
Taylor

 
From: Taylor Lewick [mailto:user-ccbabb0b3ab0@xymon.invalid] 
Sent: Friday, March 07, 2008 4:46 PM
To: user-ae9b8668bcde@xymon.invalid


Subject: Re: [hobbit] hobbit linux client issue

 
Wait a second then why can I run the runclient script which is in home

----- Original Message -----
From: Josh Luthman <user-4c45a83f15cb@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Fri Mar 07 16:42:59 2008
Subject: Re: [hobbit] hobbit linux client issue

Rob, have you come across that one before or was that the most amazing
guess ever?


On 3/7/08, Taylor Lewick <user-ccbabb0b3ab0@xymon.invalid> wrote:

        Doh!
       
        Thanks

       
        ----- Original Message -----
        From: Rob MacGregor <user-07c9d92ae079@xymon.invalid>
        To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
        Sent: Fri Mar 07 16:32:01 2008
        Subject: Re: [hobbit] hobbit linux client issue
       
        On Fri, Mar 7, 2008 at 10:24 PM, Taylor Lewick
        <user-ccbabb0b3ab0@xymon.invalid> wrote:
Im installing the hobbit linux client on some Suse 10.1 test
machines.
 I just tarred up the client directory from hobbit server and
installed
 it to /home/hobbit/client on the target machines

 If I try to start the client using ./runclient.sh start as
user hobbit
 or root, I get the following error:

 ./runclient.sh: line 83:
/home/hobbit/client/bin/hobbitlaunch: cannot
 execute binary file

 Permissions on hobbitlaunch are fine, any ideas?
       
        You've mounted /home with the noexec option.
       
        --
                         Please keep list traffic on the list.
       
        Rob MacGregor
              Whoever fights monsters should see to it that in the
process he
                doesn't become a monster.                  Friedrich
Nietzsche
       
        
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Buchan Milne · Mon, 10 Mar 2008 14:09:28 +0200 ·
quoted from Taylor Lewick
On Saturday 08 March 2008 04:38:29 Taylor Lewick wrote:
I should really do my homework a little more before posting.

I compiled hobbit on a 64 bit machine, and I was trying to install the
client on a 32 bit machine...  Weak!


I guess I'll have to compile the hobbit source twice, once for 32 bit
and once for 64 bit, or compile it just on 32 bit as that client should
work on 64 bit machines as well...
BTW, this is another reason to use OS packages ....

FYI, you could get away compiling just 32bit, and running the 32bit on x86_64, 
but the other way around will not work.

If you are interested, I would be willing to look at ensuring that my Hobbit 
packages (shipped in Mandriva, I rebuild and use them on RHEL and Solaris) 
build fine on SuSE, and could even consider providing binaries ...

Regards,
Buchan
list Taylor Lewick · Mon, 10 Mar 2008 07:16:52 -0500 ·
That would be great. The only issue I can see with binary is in the future I would have to rely on someone else to supply updated binaries
quoted from Buchan Milne

----- Original Message -----
From: Buchan Milne <user-9b139aff4dec@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Cc: Taylor Lewick
Sent: Mon Mar 10 07:09:28 2008
Subject: Re: [hobbit] hobbit linux client issue

On Saturday 08 March 2008 04:38:29 Taylor Lewick wrote:
I should really do my homework a little more before posting.

I compiled hobbit on a 64 bit machine, and I was trying to install the
client on a 32 bit machine...  Weak!


I guess I'll have to compile the hobbit source twice, once for 32 bit
and once for 64 bit, or compile it just on 32 bit as that client should
work on 64 bit machines as well...
BTW, this is another reason to use OS packages ....

FYI, you could get away compiling just 32bit, and running the 32bit on x86_64, 
but the other way around will not work.

If you are interested, I would be willing to look at ensuring that my Hobbit 
packages (shipped in Mandriva, I rebuild and use them on RHEL and Solaris) 
build fine on SuSE, and could even consider providing binaries ...

Regards,
Buchan