Plugin to simulate a user login?

mshirley at ysi.com mshirley at ysi.com
Sat May 29 23:03:13 CEST 2004


expect expect expect expect.  if you need help writing one just let me know
off list but imho this is the only way to do what you need to do
(properly).

Mark Shirley
IT Helpdesk
YSI Incorporated


|---------+---------------------------------------->
|         |           "Steve Gilbert"              |
|         |           <SGilbert at nvidia.com>        |
|         |           Sent by:                     |
|         |           nagios-users-admin at lists.sour|
|         |           ceforge.net                  |
|         |                                        |
|         |                                        |
|         |           05/28/2004 04:11 PM          |
|         |                                        |
|---------+---------------------------------------->
  >---------------------------------------------------------------------------------------------------------------|
  |                                                                                                               |
  |       To:       <nagios-users at lists.sourceforge.net>                                                          |
  |       cc:                                                                                                     |
  |       Subject:  [Nagios-users] Plugin to simulate a user login?                                               |
  >---------------------------------------------------------------------------------------------------------------|




Sorry if this has been asked before, but my searches didn't turn up
anything.  Just hoping somebody can help me not have to reinvent the
wheel...

I need a plugin that will ssh and/or telnet to a Unix (Linux and
Solaris) host and performn an actual login.  Ie, it needs to log in with
an actual username and password and confirm that everything works okay.
This would confirm that logins, NIS, automounter, etc. are all working.

I'm having issues where machines will freeze up in various funky states,
but still respond to pings just fine.  Big Brother's telnet and ftp
checks detect most of these problems, but I'm trying really hard to
replace that with Nagios.

The only way I can think to do this is with an Expect script of some
sort.  Has anyone already written such a thing, or know of a better way
to solve this problem?  Thanks!

BTW...just using nrpe or check_by_ssh to, say confirm that ypbind is
running, won't please my management...they want something that actually
simulates what the user would do.  I'm not sure if that makes sense or
not, but it's my situation.

Steve Gilbert
Unix Systems Administrator
sgilbert at nvidia.com


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null







-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list