[hobbit] status file to column issue

Patrick Nixon pnixon at gmail.com
Tue May 11 22:08:24 CEST 2010


Ahh, okay.

the list butchered your Bigbrother.pm file by replace all the at
symbols with ' (at) ' in order to protect email addresses.

I replaced them and got it working.

Thanks!
--Pat

On Tue, May 11, 2010 at 12:36 PM, Patrick Nixon <pnixon at gmail.com> wrote:
> Thanks,
>  I'm getting some errors when I try to use the BigBrother.pm module.
>
>  Any insight?
>
> Bareword found where operator expected at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 205, near ") _"
>        (Missing operator before _?)
> Bareword found where operator expected at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 222, near ") _"
>        (Missing operator before _?)
> Bareword found where operator expected at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 237, near ") _"
>        (Missing operator before _?)
> Bareword found where operator expected at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 254, near ") _"
>        (Missing operator before _?)
> Bareword found where operator expected at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 278, near ") _"
>        (Missing operator before _?)
> Bareword found where operator expected at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 302, near ") _"
>        (Missing operator before _?)
> Bareword found where operator expected at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 323, near ") _"
>        (Missing operator before _?)
> syntax error at /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 205,
> near ") _"
> syntax error at /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 222,
> near ") _"
> syntax error at /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 237,
> near ") _"
> syntax error at /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 254,
> near ") _"
> syntax error at /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 278,
> near ") _"
> syntax error at /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 302,
> near ") _"
> syntax error at /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 323,
> near ") _"
> BEGIN not safe after errors--compilation aborted at
> /usr/lib/perl5/site_perl/5.8.8/BigBrother.pm line 392.
> Compilation failed in require at ./client-check.pl line 30.
> BEGIN failed--compilation aborted at ./client-check.pl line 30.
>
>
> On Mon, May 10, 2010 at 8:01 PM, David Baldwin
> <david.baldwin at ausport.gov.au> wrote:
>> Patrick,
>>> Hey all,
>>>  I have a pull environment setup and I've configured the script to
>>> append to the status file and read into xymon appropriately.
>>>
>>>  However, it's not create the column for the test and displaying the results.
>>>
>>>  Any suggestions on how to proceed with this?
>>>
>>>
>> Take a look at the sample script I posted a while back for parsing
>> various sections of client reports based on Henrik's rootlogin.pl script
>> (which I can't seem to locate).
>>
>> http://www.hswn.dk/hobbiton/2009/07/msg00387.html
>>
>> David.
>>> client cw-moremagic2.linux
>>> [date]
>>> Mon May 10 18:38:00 BST 2010
>>> [uname]
>>> Linux moremagic2 2.6.9-78.0.5.ELsmp i686
>>> [osversion]
>>> Red Hat Enterprise Linux ES release 4 (Nahant Update 7)
>>> [uptime]
>>>  18:38:00 up 564 days, 16:41,  1 user,  load average: 0.02, 0.09, 0.08
>>> ....
>>> [vmstat]
>>> procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
>>>  r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
>>>  0  0 119976  42496  14624 3721812    0    0     2     5    0     0  2  1 97  0
>>>  0  0 119972  56384  15440 3707748    0    0     1    65 1026   186  1  0 99  0
>>> [tablespace]
>>> INDEX1 : 13.2
>>> SYSAUX : 63.9
>>> SYSTEM : 65.4
>>> TABLES1 : 37.5
>>> UNDOTBS1 : .9
>>> USERS : 8.8
>>> [clock]
>>> epoch: 1273513087.077486
>>> local: 2010-05-10 18:38:07 BST
>>> UTC: 2010-05-10 17:38:07 GMT
>>>
>>> To unsubscribe from the hobbit list, send an e-mail to
>>> hobbit-unsubscribe at hswn.dk
>>>
>>>
>>>
>>
>>
>> --
>> David Baldwin - IT Unit
>> Australian Sports Commission          www.ausport.gov.au
>> Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
>> david.baldwin at ausport.gov.au          Leverrier Street Bruce ACT 2617
>>
>>
>> -------------------------------------------------------------------------------------
>> Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
>>
>> This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
>> -------------------------------------------------------------------------------------
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>>
>



More information about the Xymon mailing list