[hobbit] Sample of Hobbit server-side module (was: Who Test)

Morris, Chris (SS-IS) CHRIS.MORRIS at RWEnpower.com
Tue Jan 30 12:03:56 CET 2007


The script works but is generating this message in the log :-

Use of uninitialized value in concatenation (.) at
/usr/local/hobbit/server/ext/rootlogin.pl line 76, <STDIN> line 841341.

Any ideas?

Thanks,
Chris

> -----Original Message-----
> From:	Henrik Stoerner [SMTP:henrik at hswn.dk]
> Sent:	Monday, January 29, 2007 10:17 PM
> To:	hobbit at hswn.dk
> Subject:	Re: [hobbit] Sample of Hobbit server-side module (was: Who
> Test)
> 
> In <001e01c743d6$a5c32340$4902010a at rac.raccorp.corp> "Richard Leon"
> <rleon at racenter.com> writes:
> 
> 
> >Am I missing something?
> >The rootlogin.pl is not working .
> 
> Can you run it by hand ? Do this
> 
>    BB=/bin/echo BBDISP=0.0.0.0 ~hobbit/server/ext/rootlogin.pl
> 
> and feed it this input:
> 
> ---- cut here ----
> @@client#12345/localhost|1169985951.340108|10.0.0.152|localhost|sunos|suno
> s
> [who]
> hstoerne pts/0        Jan 28 00:07 (from somewhere)
> root     ttyS0        Nov  1 11:13
> @@
> ---- end of input ----
> 
> It should yield this output:
> 
> 0.0.0.0 status localhost.login red ROOT login active
> 
> &red ROOT login detected!
> 
> hstoerne pts/0        Jan 28 00:07 (from somewhere)
> root     ttyS0        Nov  1 11:13
> 
> 
> 
> I suspect it's something silly like your perl being in /usr/local/bin 
> instead of /usr/bin (adjust the first line of the script if that is
> the case).
> 
> 
> Henrik
> 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 


****************************************************************************
Make a New Year's resolution to get your heating equipment checked.  If you don't you could be adding as much as 10% to your heating bill without knowing it.
Source: Carbon Trust (2006)

****************************************************************************
This e-mail is provided for general information purposes only and does not constitute investment or transactional advice. For  the avoidance of doubt the contents of this email are subject to contract and will not constitute a legally binding contract.

The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this e-mail in error, please notify postmaster at npower.com (UK 01384 275454) and delete it immediately from your system.
    
Neither Npower nor any of the other companies in the RWE Npower group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.
RWE Npower plc Registered office: Windmill Hill Business Park, Whitehill Way, Swindon SN5 6PB. Registered in England and Wales: number 3892782.  This e-mail may be sent on behalf of a member of the RWE Npower group of companies.
*****************************************************************************




More information about the Xymon mailing list