Xymon Mailing List Archive search

inactive user accounts

8 messages in this thread

list Ryan Jay B. Lapuz · Fri, 10 Aug 2007 18:26:00 +0800 ·
Hi everyone!

Does Hobbit supports monitoring of behavior of user/email accounts like if the account has been inactive for 30 days?
If not, can someone give me any idea on how to do it?

Thanks in advance

Regards

Ryan
list Thomas Kern · Fri, 10 Aug 2007 09:02:02 -0400 ·
I would suggest a custom script run on your email server once every day
to send a 'status' message to the hobbit server with a yellow status
color and a list of the inactive accounts with their inactive age. Then
each day your email admin can look at that status page and use it as a
guide to delete long term inactive accounts. You might even apply some
logic to the age and size of the email accounts to turn some red. 
/Thomas Kern
/XXX-XXX-XXXX  
quoted from Ryan Jay B. Lapuz
-----Original Message-----
From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] Sent: Friday, August 10, 2007 06:26
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] inactive user accounts

Hi everyone!

Does Hobbit supports monitoring of behavior of user/email accounts like if the account has been inactive for 30 days?
If not, can someone give me any idea on how to do it?

Thanks in advance

Regards

Ryan
list Thorsten Erdmann · Fri, 10 Aug 2007 15:45:18 +0200 ·
Hi,

after migrating from BB to Hobbit I see the msgs dot as gray. I read that the Hobbit client does not support msgs tests now. I have Hobbit 4.1.2p1 installed. Is that test supported by the actual Hobbit?

Why is the msgs column there if there is no support for it. How can I hide it? I read something about an option --no-clear-msgs but I don't know where to put it in.
If there is no internal msgs support yet, is there some nice custom script which examines all or some logs. Maybe I can use the old BB-msgs test, but if there is something more advanced it would be nice.

BTW.: can someone point me to a good overview about all the parts of hobbit and how they work together. I am missing the big picture. So I often where to do what.

Thank you
Thorsten


If you are not the intended addressee, please inform us immediately that you have received this e-mail by mistake and delete it. We thank you for your support.
list Thorsten Erdmann · Fri, 10 Aug 2007 15:53:55 +0200 ·
Hi,

is there any possibility to build a page with some dot's not organized into servers but applications. I think of some hobbit-server-scripts that tests several applications via network onto other hosts.

Something like:

<green>  SAP
<green>  intranet
<yellow> CAD
<red>  FEM
...
Ok, I could make one Host Line for my Hobbitserver which runs the tests and add a column for each application. But I find that very ugly. A linebased layout would be much more readable.
I could build that page by myself, but how do I add a link (with a status marker) to Hobbit's main page as a group link.
quoted from Thorsten Erdmann

Thank you
Thorsten


If you are not the intended addressee, please inform us immediately that you have received this e-mail by mistake and delete it. We thank you for your support.
list Ralph Mitchell · Fri, 10 Aug 2007 09:09:35 -0500 ·
quoted from Thomas Kern
On 8/10/07, Kern, Thomas <user-f1ebafb19faf@xymon.invalid> wrote:
I would suggest a custom script run on your email server once every day
to send a 'status' message to the hobbit server with a yellow status
color and a list of the inactive accounts with their inactive age. Then
each day your email admin can look at that status page and use it as a
guide to delete long term inactive accounts. You might even apply some
logic to the age and size of the email accounts to turn some red.

Don't forget to extend the life of the status message, or you'll get a
purple dot:

     $BB $BBDISP "status+25h mail,server,com.accounts yellow `date`
        xxxxxxx"

Catches me nearly every time I do a non-default timing between tests...  :)

Ralph Mitchell
list Thomas Kern · Fri, 10 Aug 2007 10:26:32 -0400 ·
I generally give myself about 4 extra hours to fix things if something
go wrong so mine is 'status+28h'. Then running the script manually the next day will get me a decent
report and CRON will get things back into normal timing the day after
that.

/Thomas Kern
/XXX-XXX-XXXX  
quoted from Ralph Mitchell
-----Original Message-----

Don't forget to extend the life of the status message, or you'll get a purple dot:

     $BB $BBDISP "status+25h mail,server,com.accounts yellow `date`
        xxxxxxx"

Catches me nearly every time I do a non-default timing between tests...  :) 
Ralph Mitchell
list Dean Casey · Fri, 10 Aug 2007 13:37:44 -0400 ·
You might try:

 
-          using a custom script to run "last" command (or parse
lastlog, depending on your OS)

-          compare output of above to field #1 in the etc/passwd file
(possibly using "diff" or similarr command)

-          alert on those names that show up in the output of the above
step

 
www.deadcat.net <http://www.deadcat.net/>;  has a few scripts that do
almost what you're thinking of, they should be pretty straightforward to
modify.   

 
Dean Casey 
quoted from Ryan Jay B. Lapuz


From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
Sent: Friday, August 10, 2007 6:26 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] inactive user accounts

 
Hi everyone!

 
Does Hobbit supports monitoring of behavior of user/email accounts like
if the account has been inactive for 30 days?

If not, can someone give me any idea on how to do it?

 
Thanks in advance

 
Regards

 
Ryan
list Henrik Størner · Sat, 11 Aug 2007 18:51:14 +0200 ·
quoted from Thorsten Erdmann
On Fri, Aug 10, 2007 at 03:45:18PM +0200, user-06a84d0fcc19@xymon.invalid wrote:
after migrating from BB to Hobbit I see the msgs dot as gray. I read that the Hobbit client does not support msgs tests now. I have Hobbit 4.1.2p1 installed. Is that test supported by the actual Hobbit?
Upgrade to 4.2.0, both server and client(s). 
Also, the "msgs" status will be gray if there are no logfiles monitored (ie you must configure a log-check in the hobbit-clients.cfg file for the msgs status to go green/yellow/red).


Henrik