OK, so hobbit runs using user 'bb'.
Which fping returns "/usr/local/sbin/fping"
Ls -l which fping returns (-rwsr-xr-x 1 root root 73958 Sep 22 2004
/usr/local/sbin/fping)
Is this what you thought??
Why do you think other ping tests seem to work??
Does hobbit install an smtp server or client *OR* is this something setup separately??
Thanks, Dave
-----Original Message----- From: Hubbard, Greg L [mailto:greg.hubbard at eds.com] Sent: Wednesday, April 01, 2009 5:02 PM To: hobbit at hswn.dk Subject: [BULK] RE: [hobbit] Newbie Issues Importance: Low
I work mostly with Solaris, so I am not sure what really works on your Linux system, but...
A) you can maybe run "top" from a terminal and look for processes with "hobbit" in their name. A similar, more focused method would be to run "ps -ef | grep hobbit" and see what gets listed. My *guess* is that a user called "hobbit" may have created as part of the package installation?
B) Josh probably meant for you to use the "backticks" instead of double quotes on the command. You can do it in two steps by running $ which fping followed by $ ls -l <whatever which returns> -- the point is to see if your fping has been setuid to root, which would allow a non-privileged user to run fping. Normally Hobbit runs as a non-privileged user.
I don't know what to say about the mailer issue, other than if this is a new system someone may have set up a bogus mail forwarder, or it might be using DNS to find a forwarder for a specific domain.
GLH
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 3:31 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Hi Greg,
How do I know if hobbit is using fping?? Root was able to use fping. Hobbit user can not. Actually, how do I know what user is for hobbit??
The 216.20.121.4 is not an smtp server and I received a connection refused.
Ls -l "which fping" <-- says no such file or directory
Thanks, Dave
-----Original Message----- From: Hubbard, Greg L [mailto:greg.hubbard at eds.com] Sent: Wednesday, April 01, 2009 3:47 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Are you using fping? Can the hobbit user run fping? Seems like you have to do some fiddling because fping requires root, and the symptom is red connectivity tests for everything in the bb-hosts file. This is a dim memory from when I first set up Hobbit several years ago...
GLH
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 2:37 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Hi Josh,
Issue 1 - Now, if I look at status page, the status is red, but I can ping the ip from the hobbit server
Bb-hosts for this test is as follows: 216.20.63.145 mec-dns1 # NET:brutus 216.20.63.147 mec-dns2 # NET:brutus
Hobbit-alerts.cfg (omitted comments)
$pg-city-email=MAIL dgoodridge at somervillema.gov,edasilva at somervillema.gov $pg-sps-email=MAIL sharradan at k12.somerville.ma.us
$IGNPAT=%(annex-nw|gozo|mis-server) $IGNPAT2=%(annex-nw|gozo|mis-server|sps*|finance) $SCHOOLS=%(sps|finance)
EXPAGE=sps-servers COLOR=red MAIL dgoodridge at somervillema.gov
EXPAGE=sps-servers,achieve EXHOST=%(svf-nt|svfunix|somerville|spd-mail|spd-main) EXSERVICE=%(if_stat|http) TIME=12345:0800:17 00 COLOR=red SCRIPT /bb/hms/server/ext/page-limit.pl 6175629776 at myairmail.com $pg-city-email
PAGE=sps-servers TIME=0123456:0000:2400 $pg-sps-email
HOST=%(SIS-WEB-01|SIS-DATA-01) MAIL jbreslin at k12.somerville.ma.us,sharradan at k12.somerville.ma.us
Thanks, Dave
-----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Wednesday, April 01, 2009 3:25 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Newbie Issues
Issue 1 - what is your hobbit-alert.conf
Issue 2 - no hobbit uses the mail command. Can you give us more detail as to what the email error is?
On 4/1/09, Goodridge, David <DGoodridge at somervillema.gov> wrote:
Hello,
I'm new to hobbit and linux so please bear with me. I've looked at some of the conf files, but can't seem to resolve a couple of issues.
Issue 1 - keep getting critical messages even when status is green on status screen. Messages come every 5 minutes.
Issue 2 - some messages are not getting thru. has hobbit installed it's own email server? i've run a mailq command and see a bunch of messages saying "connection refused" to a specific server. not sure why it's trying to connect to that server.
Thanks, Dave
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi,
Been where you are at... Hobbit needs a mail server/client and it does get set up separately. Most distros (might be helpful if you share which you are running) install sendmail by default (my centos did) but you do have to configure it; if yours did not it is usually fairly easy to install and then google something like: howto setup sendmail and then kind of piece it together for your environment. Mine was straight forward for sending and it got a little more complicated for receiving when I got to acknowledgments via e-mail.
I cheated and changed the permissions on fping so that everyone had permissions to execute and it fixed all my issues.
I hope it helps and don't give up I love Hobbit and I got to learn a bunch of Linux stuff that has opened a whole new world of possibilities even though I still bleed Microsoft blue :-)
BTW something called webmin is a God send to configure anything in linux for someone who is a newbie like myself.
Thank You,
Rafal Roginela
Office (847) 827-9740 x109 Fax (847) 493-8031
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 4:23 PM To: hobbit at hswn.dk Subject: [hobbit] RE: [BULK] RE: [hobbit] Newbie Issues
OK, so hobbit runs using user 'bb'.
Which fping returns "/usr/local/sbin/fping"
Ls -l which fping returns (-rwsr-xr-x 1 root root 73958 Sep 22 2004
/usr/local/sbin/fping)
Is this what you thought??
Why do you think other ping tests seem to work??
Does hobbit install an smtp server or client *OR* is this something setup separately??
Thanks, Dave
-----Original Message----- From: Hubbard, Greg L [mailto:greg.hubbard at eds.com] Sent: Wednesday, April 01, 2009 5:02 PM To: hobbit at hswn.dk Subject: [BULK] RE: [hobbit] Newbie Issues Importance: Low
I work mostly with Solaris, so I am not sure what really works on your Linux system, but...
A) you can maybe run "top" from a terminal and look for processes with "hobbit" in their name. A similar, more focused method would be to run "ps -ef | grep hobbit" and see what gets listed. My *guess* is that a user called "hobbit" may have created as part of the package installation?
B) Josh probably meant for you to use the "backticks" instead of double quotes on the command. You can do it in two steps by running $ which fping followed by $ ls -l <whatever which returns> -- the point is to see if your fping has been setuid to root, which would allow a non-privileged user to run fping. Normally Hobbit runs as a non-privileged user.
I don't know what to say about the mailer issue, other than if this is a new system someone may have set up a bogus mail forwarder, or it might be using DNS to find a forwarder for a specific domain.
GLH
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 3:31 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Hi Greg,
How do I know if hobbit is using fping?? Root was able to use fping. Hobbit user can not. Actually, how do I know what user is for hobbit??
The 216.20.121.4 is not an smtp server and I received a connection refused.
Ls -l "which fping" <-- says no such file or directory
Thanks, Dave
-----Original Message----- From: Hubbard, Greg L [mailto:greg.hubbard at eds.com] Sent: Wednesday, April 01, 2009 3:47 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Are you using fping? Can the hobbit user run fping? Seems like you have to do some fiddling because fping requires root, and the symptom is red connectivity tests for everything in the bb-hosts file. This is a dim memory from when I first set up Hobbit several years ago...
GLH
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 2:37 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Hi Josh,
Issue 1 - Now, if I look at status page, the status is red, but I can ping the ip from the hobbit server
Bb-hosts for this test is as follows: 216.20.63.145 mec-dns1 # NET:brutus 216.20.63.147 mec-dns2 # NET:brutus
Hobbit-alerts.cfg (omitted comments)
$pg-city-email=MAIL dgoodridge at somervillema.gov,edasilva at somervillema.gov $pg-sps-email=MAIL sharradan at k12.somerville.ma.us
$IGNPAT=%(annex-nw|gozo|mis-server) $IGNPAT2=%(annex-nw|gozo|mis-server|sps*|finance) $SCHOOLS=%(sps|finance)
EXPAGE=sps-servers COLOR=red MAIL dgoodridge at somervillema.gov
EXPAGE=sps-servers,achieve EXHOST=%(svf-nt|svfunix|somerville|spd-mail|spd-main) EXSERVICE=%(if_stat|http) TIME=12345:0800:17 00 COLOR=red SCRIPT /bb/hms/server/ext/page-limit.pl 6175629776 at myairmail.com $pg-city-email
PAGE=sps-servers TIME=0123456:0000:2400 $pg-sps-email
HOST=%(SIS-WEB-01|SIS-DATA-01) MAIL jbreslin at k12.somerville.ma.us,sharradan at k12.somerville.ma.us
Thanks, Dave
-----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Wednesday, April 01, 2009 3:25 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Newbie Issues
Issue 1 - what is your hobbit-alert.conf
Issue 2 - no hobbit uses the mail command. Can you give us more detail as to what the email error is?
On 4/1/09, Goodridge, David <DGoodridge at somervillema.gov> wrote:
Hello,
I'm new to hobbit and linux so please bear with me. I've looked at some of the conf files, but can't seem to resolve a couple of issues.
Issue 1 - keep getting critical messages even when status is green on status screen. Messages come every 5 minutes.
Issue 2 - some messages are not getting thru. has hobbit installed it's own email server? i've run a mailq command and see a bunch of messages saying "connection refused" to a specific server. not sure why it's trying to connect to that server.
Thanks, Dave
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
CentOS' sendmail config works out of the box for each of my Hobbit servers.
Which fping returns "/usr/local/sbin/fping" Ls -l
which fpingreturns (-rwsr-xr-x 1 root root 73958 Sep 22 2004 /usr/local/sbin/fping)
Is this what you thought??
Type chmod o+w /usr/sbin/fping then watch your conn tests work.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Wed, Apr 1, 2009 at 10:48 PM, Rafal Roginela < Rafal.Roginela at americashloans.net> wrote:
Hi,
Been where you are at... Hobbit needs a mail server/client and it does get set up separately. Most distros (might be helpful if you share which you are running) install sendmail by default (my centos did) but you do have to configure it; if yours did not it is usually fairly easy to install and then google something like: howto setup sendmail and then kind of piece it together for your environment. Mine was straight forward for sending and it got a little more complicated for receiving when I got to acknowledgments via e-mail.
I cheated and changed the permissions on fping so that everyone had permissions to execute and it fixed all my issues.
I hope it helps and don't give up I love Hobbit and I got to learn a bunch of Linux stuff that has opened a whole new world of possibilities even though I still bleed Microsoft blue :-)
BTW something called webmin is a God send to configure anything in linux for someone who is a newbie like myself.
Thank You,
Rafal Roginela
Office (847) 827-9740 x109 Fax (847) 493-8031
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 4:23 PM To: hobbit at hswn.dk Subject: [hobbit] RE: [BULK] RE: [hobbit] Newbie Issues
OK, so hobbit runs using user 'bb'.
Which fping returns "/usr/local/sbin/fping" Ls -l
which fpingreturns (-rwsr-xr-x 1 root root 73958 Sep 22 2004 /usr/local/sbin/fping)Is this what you thought??
Why do you think other ping tests seem to work??
Does hobbit install an smtp server or client *OR* is this something setup separately??
Thanks, Dave
-----Original Message----- From: Hubbard, Greg L [mailto:greg.hubbard at eds.com] Sent: Wednesday, April 01, 2009 5:02 PM To: hobbit at hswn.dk Subject: [BULK] RE: [hobbit] Newbie Issues Importance: Low
I work mostly with Solaris, so I am not sure what really works on your Linux system, but...
A) you can maybe run "top" from a terminal and look for processes with "hobbit" in their name. A similar, more focused method would be to run "ps -ef | grep hobbit" and see what gets listed. My *guess* is that a user called "hobbit" may have created as part of the package installation?
B) Josh probably meant for you to use the "backticks" instead of double quotes on the command. You can do it in two steps by running $ which fping followed by $ ls -l <whatever which returns> -- the point is to see if your fping has been setuid to root, which would allow a non-privileged user to run fping. Normally Hobbit runs as a non-privileged user.
I don't know what to say about the mailer issue, other than if this is a new system someone may have set up a bogus mail forwarder, or it might be using DNS to find a forwarder for a specific domain.
GLH
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 3:31 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Hi Greg,
How do I know if hobbit is using fping?? Root was able to use fping. Hobbit user can not. Actually, how do I know what user is for hobbit??
The 216.20.121.4 is not an smtp server and I received a connection refused.
Ls -l "which fping" <-- says no such file or directory
Thanks, Dave
-----Original Message----- From: Hubbard, Greg L [mailto:greg.hubbard at eds.com] Sent: Wednesday, April 01, 2009 3:47 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Are you using fping? Can the hobbit user run fping? Seems like you have to do some fiddling because fping requires root, and the symptom is red connectivity tests for everything in the bb-hosts file. This is a dim memory from when I first set up Hobbit several years ago...
GLH
-----Original Message----- From: Goodridge, David [mailto:DGoodridge at somervillema.gov] Sent: Wednesday, April 01, 2009 2:37 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Newbie Issues
Hi Josh,
Issue 1 - Now, if I look at status page, the status is red, but I can ping the ip from the hobbit server
Bb-hosts for this test is as follows: 216.20.63.145 mec-dns1 # NET:brutus 216.20.63.147 mec-dns2 # NET:brutus
Hobbit-alerts.cfg (omitted comments)
$pg-city-email=MAIL dgoodridge at somervillema.gov,edasilva at somervillema.gov $pg-sps-email=MAIL sharradan at k12.somerville.ma.us
$IGNPAT=%(annex-nw|gozo|mis-server) $IGNPAT2=%(annex-nw|gozo|mis-server|sps*|finance) $SCHOOLS=%(sps|finance)
EXPAGE=sps-servers COLOR=red MAIL dgoodridge at somervillema.gov
EXPAGE=sps-servers,achieve EXHOST=%(svf-nt|svfunix|somerville|spd-mail|spd-main) EXSERVICE=%(if_stat|http) TIME=12345:0800:17 00 COLOR=red SCRIPT /bb/hms/server/ext/page-limit.pl 6175629776 at myairmail.com $pg-city-email
PAGE=sps-servers TIME=0123456:0000:2400 $pg-sps-email
HOST=%(SIS-WEB-01|SIS-DATA-01) MAIL jbreslin at k12.somerville.ma.us,sharradan at k12.somerville.ma.us
Thanks, Dave
-----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Wednesday, April 01, 2009 3:25 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Newbie Issues
Issue 1 - what is your hobbit-alert.conf
Issue 2 - no hobbit uses the mail command. Can you give us more detail as to what the email error is?
On 4/1/09, Goodridge, David <DGoodridge at somervillema.gov> wrote:
Hello,
I'm new to hobbit and linux so please bear with me. I've looked at some of the conf files, but can't seem to resolve a couple of issues.
Issue 1 - keep getting critical messages even when status is green on status screen. Messages come every 5 minutes.
Issue 2 - some messages are not getting thru. has hobbit installed it's own email server? i've run a mailq command and see a bunch of messages saying "connection refused" to a specific server. not sure why it's trying to connect to that server.
Thanks, Dave
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Am Do April 2 2009 schrieb Josh Luthman:
CentOS' sendmail config works out of the box for each of my Hobbit servers.
Which fping returns "/usr/local/sbin/fping" Ls -l
which fpingreturns (-rwsr-xr-x 1 root root 73958 Sep 22 2004 /usr/local/sbin/fping)Is this what you thought??
Type chmod o+w /usr/sbin/fping then watch your conn tests work.
what should this be good for? If the fping binary is world writeable anyone can replace the binary with a different one executed automatically by hobbit. In my opinion a security hole. As you can see above the fping binary has already an execute bit for "other". This should be sufficient to execute the binary by the hobbit user.
Regrads
Thomas
participants (4)
-
DGoodridge@somervillema.gov
-
josh@imaginenetworksllc.com
-
Rafal.Roginela@AmeriCashLoans.net
-
tom@tom-krieger.de