Xymon Mailing List Archive search

[BULK] RE: [hobbit] Newbie Issues

4 messages in this thread

list David Goodridge · Wed, 1 Apr 2009 17:23:24 -0400 ·
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:user-d970b5e56ec9@xymon.invalid] 
Sent: Wednesday, April 01, 2009 5:02 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-848b00d5cce5@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:31 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-d970b5e56ec9@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-848b00d5cce5@xymon.invalid]
Sent: Wednesday, April 01, 2009 2:37 PM
To: user-ae9b8668bcde@xymon.invalid
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
user-848b00d5cce5@xymon.invalid,user-b38516d3092e@xymon.invalid
$pg-sps-email=MAIL user-0a5f3a8b293f@xymon.invalid

$IGNPAT=%(annex-nw|gozo|mis-server)
$IGNPAT2=%(annex-nw|gozo|mis-server|sps*|finance)
$SCHOOLS=%(sps|finance)

EXPAGE=sps-servers COLOR=red
	MAIL user-848b00d5cce5@xymon.invalid

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 user-d97bd61d0f0f@xymon.invalid
	$pg-city-email

PAGE=sps-servers TIME=0123456:0000:2400
	$pg-sps-email

HOST=%(SIS-WEB-01|SIS-DATA-01)
	MAIL
user-2ddf1df9bec2@xymon.invalid,user-0a5f3a8b293f@xymon.invalid

Thanks,
Dave

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:25 PM
To: user-ae9b8668bcde@xymon.invalid
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 <user-848b00d5cce5@xymon.invalid> 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: 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 Rafal Roginela · Wed, 1 Apr 2009 21:48:32 -0500 ·
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 (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

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.
quoted from David Goodridge

-----Original Message-----
From: Goodridge, David [mailto:user-848b00d5cce5@xymon.invalid] 
Sent: Wednesday, April 01, 2009 4:23 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-d970b5e56ec9@xymon.invalid] 
Sent: Wednesday, April 01, 2009 5:02 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-848b00d5cce5@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:31 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-d970b5e56ec9@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-848b00d5cce5@xymon.invalid]
Sent: Wednesday, April 01, 2009 2:37 PM
To: user-ae9b8668bcde@xymon.invalid
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
user-848b00d5cce5@xymon.invalid,user-b38516d3092e@xymon.invalid
$pg-sps-email=MAIL user-0a5f3a8b293f@xymon.invalid

$IGNPAT=%(annex-nw|gozo|mis-server)
$IGNPAT2=%(annex-nw|gozo|mis-server|sps*|finance)
$SCHOOLS=%(sps|finance)

EXPAGE=sps-servers COLOR=red
	MAIL user-848b00d5cce5@xymon.invalid

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 user-d97bd61d0f0f@xymon.invalid
	$pg-city-email

PAGE=sps-servers TIME=0123456:0000:2400
	$pg-sps-email

HOST=%(SIS-WEB-01|SIS-DATA-01)
	MAIL
user-2ddf1df9bec2@xymon.invalid,user-0a5f3a8b293f@xymon.invalid

Thanks,
Dave

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:25 PM
To: user-ae9b8668bcde@xymon.invalid
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 <user-848b00d5cce5@xymon.invalid> 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: 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 · Wed, 1 Apr 2009 22:59:53 -0400 ·
CentOS' sendmail config works out of the box for each of my Hobbit servers.
quoted from Rafal Roginela
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??
Type chmod o+w /usr/sbin/fping then watch your conn tests work.
quoted from Rafal Roginela

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 Wed, Apr 1, 2009 at 10:48 PM, Rafal Roginela <
quoted from Rafal Roginela
user-744e62462615@xymon.invalid> 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 (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

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:user-848b00d5cce5@xymon.invalid]
Sent: Wednesday, April 01, 2009 4:23 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-d970b5e56ec9@xymon.invalid]
Sent: Wednesday, April 01, 2009 5:02 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-848b00d5cce5@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:31 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-d970b5e56ec9@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-848b00d5cce5@xymon.invalid]
Sent: Wednesday, April 01, 2009 2:37 PM
To: user-ae9b8668bcde@xymon.invalid
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
user-848b00d5cce5@xymon.invalid,user-b38516d3092e@xymon.invalid
$pg-sps-email=MAIL user-0a5f3a8b293f@xymon.invalid

$IGNPAT=%(annex-nw|gozo|mis-server)
$IGNPAT2=%(annex-nw|gozo|mis-server|sps*|finance)
$SCHOOLS=%(sps|finance)

EXPAGE=sps-servers COLOR=red
       MAIL user-848b00d5cce5@xymon.invalid

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 user-d97bd61d0f0f@xymon.invalid
       $pg-city-email

PAGE=sps-servers TIME=0123456:0000:2400
       $pg-sps-email

HOST=%(SIS-WEB-01|SIS-DATA-01)
       MAIL
user-2ddf1df9bec2@xymon.invalid,user-0a5f3a8b293f@xymon.invalid

Thanks,
Dave

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, April 01, 2009 3:25 PM
To: user-ae9b8668bcde@xymon.invalid
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 <user-848b00d5cce5@xymon.invalid> 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: 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 Thomas Krieger · Thu, 2 Apr 2009 07:42:36 +0200 ·
Am Do April 2 2009 schrieb Josh Luthman:
quoted from 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 fping` returns (-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