http://www.sysadminday.com/
list Lars Ebeling
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
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
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>
▸
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
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 Thomas Leavitt
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
▸
-----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
T.J. Yang
▸
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
▸
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