Xymon Mailing List Archive search

How to use xymond_rootlogin.pl (was RE: root login script)

list Massimo Morsiani
Wed, 17 Apr 2013 16:27:08 +0000
Message-Id: <user-6402ea180b32@xymon.invalid>

Hi,

I'm trying to run it on Xymon *itself*, but nothing happens...

Henrik could you please explain me how to use your ext?
Thanks in advance.


Regards.

Massimo Morsiani 
Information Technology Dept. 
Gilbarco S.r.l. 
via de' Cattani, 220/G 
50145 Firenze, Italy 
tel:    +39-055-30941 
fax:    +39-055-318603 
email:  user-32025d8bd22e@xymon.invalid 
web:    http://www.gilbarco.it

 Please consider the environment before printing this e-mail


-----Original Message-----
From: Novosielski, Ryan [mailto:user-ae4522577e16@xymon.invalid] 
Sent: mercoledì 17 aprile 2013 14:05
To: Morsiani, Massimo; 'xymon at xymon.com'
Subject: Re: [Xymon] root login script

What are you trying to do with this test. Wouldn't it normally be run on each client machine you're checking? In any case, my guess is another logfile is logging something about it (maybe xymond.log -- I forget the names off the top of my head). 


----- Original Message -----
From: Morsiani, Massimo [mailto:user-32025d8bd22e@xymon.invalid]
Sent: Wednesday, April 17, 2013 08:00 AM
To: Novosielski, Ryan; 'xymon at xymon.com' <xymon at xymon.com>
Subject: RE: [Xymon]  root login script

Hi,

I have tried to use "xymond_rootlogin.pl" but w/o any result.

I have copied it in .../xymon/server/ext/ and I have added the following to tasks.cfg.

[xymond_rootlogin]
        ENVFILE /usr/lib/xymon/server/etc/xymonserver.cfg
        NEEDS xymond
        CMD $XYMONHOME/ext/xymond_rootlogin.pl
        LOGFILE $XYMONSERVERLOGS/xymond_rootlogin.log
        INTERVAL 1m

After these actions nothing happens that is no result at all (neither new login test, nor xymond_rootlogin.log file).

Where am I wrong?
Thanks in advance.


Regards.

Massimo Morsiani
Information Technology Dept. 
Gilbarco S.r.l. 
via de' Cattani, 220/G
50145 Firenze, Italy
tel:    +39-055-30941
fax:    +39-055-318603
email:  user-32025d8bd22e@xymon.invalid
web:    http://www.gilbarco.it

ü Please consider the environment before printing this e-mail


-----Original Message-----
From: Novosielski, Ryan [mailto:user-ae4522577e16@xymon.invalid]
Sent: mercoledì 17 aprile 2013 13:14
To: Morsiani, Massimo; 'xymon at xymon.com'
Subject: Re: [Xymon] root login script

I can't imagine it would be much different than any other external client script. What is the real question? What have you tried?


----- Original Message -----
From: Morsiani, Massimo [mailto:user-32025d8bd22e@xymon.invalid]
Sent: Wednesday, April 17, 2013 07:09 AM
To: 'xymon at xymon.com' <xymon at xymon.com>
Subject: [Xymon]  root login script

Hi all,

is there anyone that is using one script to check if root user is logged on Unix/Linux machines?
Or is there anyone that is using "xymond_rootlogin.pl" and can explain me how to use it?
Thanks in advance for the support.


Regards.

Massimo Morsiani
Information Technology Dept. 
Gilbarco S.r.l. 
via de' Cattani, 220/G
50145 Firenze, Italy
tel:    +39-055-30941
fax:    +39-055-318603
email:  user-32025d8bd22e@xymon.invalid
web:    http://www.gilbarco.it

ü Please consider the environment before printing this e-mail


Please be advised that this email may contain confidential information.  If you are not the intended recipient, please notify us by email by replying to the sender and delete this message.  The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.


Please be advised that this email may contain confidential information.  If you are not the intended recipient, please notify us by email by replying to the sender and delete this message.  The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.

Please be advised that this email may contain confidential 
information.  If you are not the intended recipient, please notify us 
by email by replying to the sender and delete this message.  The 
sender disclaims that the content of this email constitutes an offer 
to enter into, or the acceptance of, any agreement; provided that the 
foregoing does not invalidate the binding effect of any digital or 
other electronic reproduction of a manual signature that is included 
in any attachment.