Xymon Mailing List Archive search

http://www.sysadminday.com/

6 messages in this thread

list Lars Ebeling · Fri, 25 Jul 2008 15:33:03 +0200 ·
Today is the 9:th sysadmin appreciation day

http://www.sysadminday.com/
-- 
Regards
Lars Ebeling

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

"I am not young enough to know everything."
-- Oscar Wilde
list Thomas Leavitt · Mon, 28 Jul 2008 21:11:05 -0700 ·
Do y'all typically run the "stable" version of Hobbit, 4.2.0, downloaded
from SourceForge, or do many of you run a more recent version?

 
I noticed that a permission failure on /var/log/messages doesn't produce
a "yellow" on my version.

 
Anyone have proper SUDO settings that enable the hobbit server to run
fping with no password, and the hobbit clients to read a root only
readable /var/log/messages? Can you just run "fping" without putting
"sudo" in front of the command, if you've got the proper settings  in
/etc/sudoers?

 
Thomas
list Josh Luthman · Tue, 29 Jul 2008 00:15:38 -0400 ·
I am using 4.2.0 stable, no patches for the office network and 4.2.0
all-in-one patch at home.

Here's what other people are using:
http://en.wikibooks.org/wiki/The_hobbit_Users_list

On both my servers I got complaints about /var/log/messages not being
readable (red, IIRC).  Can't explain why it didn't complain for you, sorry.

I don't use sudo but I believe if you simply give the permissions of the
"hobbit user" to read/execute /usr/sbin/fping you shouldn't have to worry
about sudo when executing the command via Hobbitmon.

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

On Tue, Jul 29, 2008 at 12:11 AM, Thomas Leavitt <user-9b8a669cb525@xymon.invalid>
quoted from Thomas Leavitt
wrote:
  Do y'all typically run the "stable" version of Hobbit, 4.2.0, downloaded
from SourceForge, or do many of you run a more recent version?


I noticed that a permission failure on /var/log/messages doesn't produce a
"yellow" on my version.


Anyone have proper SUDO settings that enable the hobbit server to run fping
with no password, and the hobbit clients to read a root only readable
/var/log/messages? Can you just run "fping" without putting "sudo" in front
of the command, if you've got the proper settings  in /etc/sudoers?


Thomas
list Galen Johnson · Tue, 29 Jul 2008 01:13:31 -0400 ·
in sudoers, add a line like:

hobbituser ALL=(root) NOPASSWD: /path/to/fping

or even easier, change fping to setuid root (chown root /path/to/fping; chmod 4755 /path/to/fping)


=G=
quoted from Josh Luthman

From: Josh Luthman [user-4c45a83f15cb@xymon.invalid]
Sent: Tuesday, July 29, 2008 12:15 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Version of Hobbit y'all use?

I am using 4.2.0 stable, no patches for the office network and 4.2.0 all-in-one patch at home.

Here's what other people are using: http://en.wikibooks.org/wiki/The_hobbit_Users_list

On both my servers I got complaints about /var/log/messages not being readable (red, IIRC).  Can't explain why it didn't complain for you, sorry.

I don't use sudo but I believe if you simply give the permissions of the "hobbit user" to read/execute /usr/sbin/fping you shouldn't have to worry about sudo when executing the command via Hobbitmon.

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

On Tue, Jul 29, 2008 at 12:11 AM, Thomas Leavitt <user-9b8a669cb525@xymon.invalid<mailto:user-9b8a669cb525@xymon.invalid>> wrote:

Do y'all typically run the "stable" version of Hobbit, 4.2.0, downloaded from SourceForge, or do many of you run a more recent version?


I noticed that a permission failure on /var/log/messages doesn't produce a "yellow" on my version.


Anyone have proper SUDO settings that enable the hobbit server to run fping with no password, and the hobbit clients to read a root only readable /var/log/messages? Can you just run "fping" without putting "sudo" in front of the command, if you've got the proper settings  in /etc/sudoers?


Thomas
list Thomas Leavitt · Thu, 31 Jul 2008 21:20:28 -0700 ·
I was able to resolve the /var/log/messages issue by following the
instructions (with slight modifications) in the System Monitoring With
Hobbit wikibook. My Hobbit is now happily reporting green (correctly)
and clear (correctly) depending on the file being monitored.

Now I simply have to figure out what I want it to monitor in that file,
and if there are other files I want to monitor as well. :)

Thomas
quoted from Galen Johnson

-----Original Message-----
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid] 
Sent: Monday, July 28, 2008 10:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Version of Hobbit y'all use?

in sudoers, add a line like:

hobbituser ALL=(root) NOPASSWD: /path/to/fping

or even easier, change fping to setuid root (chown root /path/to/fping;
chmod 4755 /path/to/fping)


=G=

From: Josh Luthman [user-4c45a83f15cb@xymon.invalid]
Sent: Tuesday, July 29, 2008 12:15 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Version of Hobbit y'all use?

I am using 4.2.0 stable, no patches for the office network and 4.2.0
all-in-one patch at home.

Here's what other people are using:
http://en.wikibooks.org/wiki/The_hobbit_Users_list

On both my servers I got complaints about /var/log/messages not being
readable (red, IIRC).  Can't explain why it didn't complain for you,
sorry.

I don't use sudo but I believe if you simply give the permissions of the
"hobbit user" to read/execute /usr/sbin/fping you shouldn't have to
worry about sudo when executing the command via Hobbitmon.

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

On Tue, Jul 29, 2008 at 12:11 AM, Thomas Leavitt
<user-9b8a669cb525@xymon.invalid<mailto:user-9b8a669cb525@xymon.invalid>> wrote:

Do y'all typically run the "stable" version of Hobbit, 4.2.0, downloaded
from SourceForge, or do many of you run a more recent version?


I noticed that a permission failure on /var/log/messages doesn't produce
a "yellow" on my version.


Anyone have proper SUDO settings that enable the hobbit server to run
fping with no password, and the hobbit clients to read a root only
readable /var/log/messages? Can you just run "fping" without putting
"sudo" in front of the command, if you've got the proper settings  in
/etc/sudoers?


Thomas
list T.J. Yang · Fri, 1 Aug 2008 08:42:58 -0500 ·

T.J. Yang
quoted from Thomas Leavitt
Date: Thu, 31 Jul 2008 21:20:28 -0700
From: user-9b8a669cb525@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Version of Hobbit y'all use?

I was able to resolve the /var/log/messages issue by following the
instructions (with slight modifications) in the System Monitoring With
Hobbit wikibook. My Hobbit is now happily reporting green (correctly)
and clear (correctly) depending on the file being monitored.

Now I simply have to figure out what I want it to monitor in that file,
and if there are other files I want to monitor as well. :)
Should be a hobbit wiki faq/howto already.
if not, please create the question and I will provide answer/procedure.
(got to drag more people into hobbit wiki edit ;)

tj
quoted from Thomas Leavitt
Thomas

-----Original Message-----
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid] Sent: Monday, July 28, 2008 10:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Version of Hobbit y'all use?

in sudoers, add a line like:

hobbituser ALL=(root) NOPASSWD: /path/to/fping

or even easier, change fping to setuid root (chown root /path/to/fping;
chmod 4755 /path/to/fping)


=G=

From: Josh Luthman [user-4c45a83f15cb@xymon.invalid]
Sent: Tuesday, July 29, 2008 12:15 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Version of Hobbit y'all use?

I am using 4.2.0 stable, no patches for the office network and 4.2.0
all-in-one patch at home.

Here's what other people are using:
http://en.wikibooks.org/wiki/The_hobbit_Users_list

On both my servers I got complaints about /var/log/messages not being
readable (red, IIRC).  Can't explain why it didn't complain for you,
sorry.

I don't use sudo but I believe if you simply give the permissions of the
"hobbit user" to read/execute /usr/sbin/fping you shouldn't have to
worry about sudo when executing the command via Hobbitmon.

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

On Tue, Jul 29, 2008 at 12:11 AM, Thomas Leavitt
<user-9b8a669cb525@xymon.invalid<mailto:user-9b8a669cb525@xymon.invalid>> wrote:

Do y'all typically run the "stable" version of Hobbit, 4.2.0, downloaded
from SourceForge, or do many of you run a more recent version?


I noticed that a permission failure on /var/log/messages doesn't produce
a "yellow" on my version.


Anyone have proper SUDO settings that enable the hobbit server to run
fping with no password, and the hobbit clients to read a root only
readable /var/log/messages? Can you just run "fping" without putting
"sudo" in front of the command, if you've got the proper settings  in
/etc/sudoers?


Thomas

Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008