[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] BBALPHAMSG for service 'proc', 'disk', etc no line feeds
- To: "hobbit (at) hswn.dk" <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] BBALPHAMSG for service 'proc', 'disk', etc no line feeds
- From: Galen Johnson <Galen.Johnson (at) sas.com>
- Date: Sun, 30 Mar 2008 18:09:50 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
- References: <47EFBA2C.4090307 (at) revpol.com>
- Thread-index: AciSouqXFZG/im81Qlq2+8yRpJClZwAD9t4V
- Thread-topic: [hobbit] BBALPHAMSG for service 'proc', 'disk', etc no line feeds
I'd be surprised if Hobbit was doing this...if you're using Lookout as your mail reader, see if there is a message about extra line breaks being removed. There should be a link to re-add them (I've never understood why Bill and company felt you would ever want to see your email other than how it eas sent).
=G=
________________________________________
From: Bill Arlofski [waa-hobbit (at) revpol.com]
Sent: Sunday, March 30, 2008 12:05 PM
To: hobbit (at) hswn.dk
Subject: [hobbit] BBALPHAMSG for service 'proc', 'disk', etc no line feeds
Is there a way to get hobbit to send the BBALPHAMSG variable formatted
with line feeds so it appears in an email the way it does on the web page?
I guess what I am trying to say is that would be much easier to read
this in an email report:
--[snip]--
server.domain.tld:procs yellow [584104]
yellow Sun Mar 30 10:53:38 EDT 2008 - Processes NOT ok
green arkeiad (found 1, req. between 1 and 1)
green ntpd (found 1, req. between 1 and 1)
green apache2 (found 8, req. 1 or more)
green cron (found 1, req. 1 or more)
red syslog-ng (found 1, req. 1 or more)
green sshd (found 3, req. 1 or more)
green slapd (found 1, req. 1 or more)
PID TTY STAT TIME COMMAND
1 ? S 0:01 init [3]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [migration/1]
--[snip]--
as opposed to what I am seeing for a proc report in an email:
--[snip]--
server.domain.tld:procs yellow [584104] yellow Sun Mar 30 10:53:38 EDT
2008 - Processes NOT ok &green arkeiad (found 1, req. between 1 and 1)
&yellow ntpd (found 0, req. between 1 and 1) &green apache2 (found 8,
req. 1 or more) &green cron (found 1, req. 1 or more) &green syslog-ng
(found 1, req. 1 or more) &green sshd (found 3, req. 1 or more) &green
slapd (found 1, req. 1 or more) PID PPID USER STARTED S PRI %CPU TIME
%MEM RSZ VSZ CMD 1 0 root Feb 13 S 23 0.0 00:00:01 0.0 552 1600 init [3]
2 1 root Feb 13 S 139 0.0 00:00:00 0.0 0 0 [migration/0] 3 1 root Feb 13
S 5 0.0 00:00:00 0.0 0 0 [ksoftirqd/0] 4 1 root Feb 13 S 139 0.0
00:00:00 0.0 0 0 [migration/1]
--[snip]--
I see similarly unformatted reports for disk partitions.
Since there is nothing really to queue off of in the globbed together
BBALPHAMSG variable, it is also impossible for me to use sed/awk to
manipulate it and format it before emailing..
Any thoughts or comments? Did I miss something obvious?
Thanks!
--
Bill Arlofski
Reverse Polarity, LLC
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk