Hi Henrik
Is it possible to add a feature to be able to create report in Excel
format? My director was wondering if that is possible.
Looking forward to migrate to hobbit when it releases.
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"...it said: Install Windows XP or better...so I installed Solaris..."
Hi
I had been running bbro for more than 3yrs and I am running hobbit since
the beginning of this year.
I read the Step 4 and 5 on http://hobbitmon.sourceforge.net/docs/bb-to-hobbit.html. However I am
not clear the following.
If I migrate the BBVAR contents to data dir will my current hobbit
data/rrd get overwritten or they can stay side-by-side?
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
the one most responsive to change." - Charles Darwin
I typically get the alert message closely followed by the recovery message
which doesn't make sense since if the poll time is 5 min. I would expect the
alert and recovery to have some seperation in them but they seem to have the
same timestamp....I will verify that.
Yes, I am running RC5 plus the patch for the duplicate recovery messages
I need to qualify this...It seems that this is a problem but I can't say for
certain yet since I haven't tried to manually cause high cpu load for <20
minutes but I will try that. I just wanted to see if anyone else had seen
any similar symptoms
KEvin
-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk]
Sent: Monday, March 14, 2005 5:21 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] DURATION tag
Importance: Low
On Mon, Mar 14, 2005 at 05:06:20PM -0500, Kevin.Hanrahan at novainfo.com wrote:
> I'm not sure the duration tag is working correctly in the
> hobbit-alerts.cfg setup. I have tests like I/O and CPU that will spike
> for a short time and I wanted to eliminate the email notifications for
> those spikes. I set the DURATION tag for 10 or 20 minutes like this:
>
>
> HOST=$SERVER1
> MAIL $SYSADMIN COLOR=red EXSERVICE=msgs,cpu,http,webContent
> REPEAT=30m RECOVERED
> MAIL $SYSADMIN COLOR=red SERVICE=cpu DURATION>20 REPEAT=30m
> RECOVERED
The messages you get - are they alert messages or recovery messages?
I suppose you're running RC5 plus the patch I sent you for the duplicate
recovery messages ?
Regards,
Henrik
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
OK, since it seems like nobody have any ideas about this I cured the symptoms, by disabling and enabling telnet and procs. Then the histfiles were updated.
Regards
Lars
lars ebeling <dhd733 at yahoo.se> wrote:
----------
Från: lars ebeling[SMTP:DHD733 at YAHOO.SE]
Skickat: den 15 mars 2005 10:22:07
Till: hobbit
Ämne: [hobbit] Red History Green Cuurent
Automatiskt vidarebefordrat av en regel
Hi All,
I found this but no solution. I think I have the same problem.
Current status are green for "telnet" and "procs" but when I look at History they are red since 2005-03-03 and 2005-03-04.
All files in data/hist are at least 666
-rw-rw-rw- 1 hobbit users 88 Mar 3 08:22 leopg9.telnet
$ pg leopg9.telnet
Mon Feb 28 09:09:58 2005 green 1109578198 256337
Thu Mar 3 08:22:15 2005 red 1109834535
http://leopg9.no-ip.org/hobbit/
Regards
Lars
Henrik Stoerner <henrik at hswn.dk> wrote:
> ----------
> Från: Henrik Stoerner[SMTP:HENRIK at HSWN.DK]
> Skickat: den 14 mars 2005 23:07:57
> Till: hobbit at hswn.dk
> Ämne: Re: [hobbit] 'conn' history pages all showing red
> Automatiskt vidarebefordrat av en regel
>
On Mon, Mar 14, 2005 at 10:04:26AM -0800, Bruce Lysik wrote:
> The color bars on all my hosts are showing red since February 15th.
> And the history list shows all my hosts going red since that date.
> I wonder if that was the day I installed a new release. But it's
> weird that only the ping check shows this behaviour.
>
> I'll get a screenshot if that's not clear enough.
Please do. And if you could send me one of those history files
(~hobbit/data/hist/HOSTNAME.conn) that would probably also help.
I take it that the current status shows up as green for those hosts ?
Did you check the ownership and permissions on the files in
~hobbit/data/hist/ ?
Regards,
Henrik
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
Hobbithobbyist
I am not young enough to know everything.
-Oscar Wilde
Hobbithobbyist
I am not young enough to know everything.
-Oscar Wilde
Hobbithobbyist
I am not young enough to know everything.
-Oscar Wilde
I have this script which is suppose to create a monthly report as a
cronjob, but it never worked with hobbit. It used to work fine with
bb1.9c with bbgen 3.2
Here is the script
#!/bin/sh
#
[ "$#" -gt 0 -a "$#" -lt 3 ] && echo && echo Usage: $0 [31 Jan 2004] &&
exit 1
[ "$#" -gt 3 ] && echo && echo Usage: $0 [31 Jan 2004] && exit 1
DAY=$1
MONTH=$2
YEAR=$3
DATE=/usr/local/bin/date
MKDIR=/usr/local/bin/mkdir
DAY=${DAY:=`$DATE +%d`}
MONTH=${MONTH:=`$DATE +%b`}
YEAR=${YEAR:=`$DATE +%Y`}
START=`$DATE +%s --date="01 $MONTH $YEAR 00:00:00"`
END=`$DATE +%s --date="$DAY $MONTH $YEAR 23:59:59"`
$MKDIR -p /usr/local/apache/htdocs/reports/monthly/$YEAR/$MONTH
BBHOME=/export/home/hobbit/server
. $BBHOME/etc/hobbitserver.cfg
BBWEB=/reports/monthly/$YEAR/$MONTH \
$BBHOME/bin/bbgen --reportopts=$START:$END:1:crit \
--larrd043 --ignorecolumns=ssh,bbgen,bbtest --subpagecolumns=2 \
/usr/local/apache/htdocs/reports/monthly/$YEAR/$MONTH
When I run it I get this as output
report.monthly.sh: -l: not found
report.monthly.sh: -Pk: not found
report.monthly.sh: -Pk: not found
report.monthly.sh: ax: not found
report.monthly.sh: -n: not found
report.monthly.sh: /dev: cannot execute
report.monthly.sh: WARNING: not found
2005-03-15 13:38:09 xgetenv: Cannot find value for variable BBREPGREEN
2005-03-15 13:38:09 xgetenv: Cannot find value for variable MACHINE
2005-03-15 13:38:09 Environment variable MACHINE not defined
2005-03-15 13:38:09 Aborting
I am running RC5. The report page is empty.
Thanks for any help
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
the one most responsive to change." - Charles Darwin
Hi
I like the notice option which works fine with the following rule
HOST=%(.*)
MAIL notify at here.net NOTICE
However I am also receiving RED alerts to this notify at here.net address.
This email address is not in any where else in my hobbit-alerts.cfg
file.
According to the man page and I excerpt
"NOTICE Rule matches if the message is a "notify" message.
This type of message is sent when a host or test is disabled
or enabled."
I should only get "notify" messages to my notify at here.net address.
Am I misreading the man page?
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
the one most responsive to change." - Charles Darwin
Hello,
I just downloaded dig and added dig in bb-hosts and got this:
Service dig on leopg9 is not OK : Service unavailable
Could someone please advise me. I'm running hobbit and nameserver on same machine: leopg9
Regards
Lars
Hobbithobbyist
I am not young enough to know everything.
-Oscar Wilde
Hello,
1. How do I put multiple my $MRTGCFG = ''cfgfile.cfg' in the bbmrtg-pl
? If I out same My $mrtfcfg field more than 2 times it takes the last
cfg file only....
2. How do I increast the no of network connection for hobbit? I have
some 150 servers to monitor....how to increase the no of pids.
Regards
Soumya
Sorry for sendeing the same problems twice, but since I didn't see the first mail here I thought I had made an error, which I know is hard to believe.
/Lars
Hobbithobbyist
I am not young enough to know everything.
-Oscar Wilde
I'm finally trying to get alerts working with hobbit (RC5, no post
patches, Linux 2.6.8.1-24mdksmp i686). I'm getting paged on yellow.
The man pages don't give many examples, but I think I've got this right.
If I don't, let me know what I need to fix, or where to look. There is
nothing in /var/log/hobbit/page.log
Here are the hobbitlaunch.cfg parameters:
[hobbitd]
ENVFILE /var/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --restart=$BBTMP/hobbitd.chk --checkpoint-file=
$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=
$BBSERVERLOGS/hobbitd.log --alertcolors="red" --okcolors="green,blue"
--admin-senders=127.0.0.1,$BBSERVERIP
#...
[bbpage]
ENVFILE /var/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD hobbitd_channel --channel=page --alertcolors="red"
--okcolors="green,blue" --log=$BBSERVERLOGS/page.log hobbitd_alert
and the paging rules:
HOST=ae-urps.aenetad.net
MAIL=dan.mcdonald at austinenergy.com,barry.allen at austinenergy.com
REPEAT=24h RECOVERED
HOST=%.*ups.*.austin-energy.net
MAIL=dan.mcdonald at austinenergy.com REPEAT=2h DURATION>10m
SERVICE=freq COLOR="red" RECOVERED
MAIL=dan.mcdonald at austinenergy.com REPEAT=2h
SERVICE=upsmin,upssec COLOR="red" RECOVERED
HOST=%.*probe.*.austin-energy.net
MAIL=dan.mcdonald at austinenergy.com REPEAT=24h DURATION>20m
COLOR="red" RECOVERED
HOST=%.
MAIL=dan.mcdonald at austinenergy.com REPEAT=140h DURATION>30m
RECOVERED COLOR="red" UNMATCED