Xymon Mailing List Archive search

4.2 - Critical systems ACK?

5 messages in this thread

list John Glowacki · Fri, 07 Apr 2006 09:58:09 -0400 ·
I think I understand mostly how KN Editor is designed to work.

Search button seems to only work for exact hostname matches.
Next button goes to next record.
Host: hostname.  Example web1
Status: conn, disk, etc.
Resolver group: Is which group or person to contact to resolve problem.
Host is MANAGED: days and hours rule applies.
Host becomes MANAGED: Date to start monitoring
Host becomes UN-MANAGED: Date to end monitoring
Instruction: Is a note for any kind of special instructions to follow.
Clones of this host: Add hosts with the same requirements as defined
above. Example web2 could be a clone of web1.

Current Critical Systems page is obvious.


The thing I just noticed. When I ACK a something on the Critical Systems 
page it shows a check mark, but the bb and bb2 pages don't show a check 
mark. Is this by design or a bug?

John
list Henrik Størner · Fri, 7 Apr 2006 16:26:38 +0200 ·
quoted from John Glowacki
On Fri, Apr 07, 2006 at 09:58:09AM -0400, John Glowacki wrote:
I think I understand mostly how KN Editor is designed to work.

Search button seems to only work for exact hostname matches.
Next button goes to next record.
Host: hostname.  Example web1
Status: conn, disk, etc.
Resolver group: Is which group or person to contact to resolve problem.
Host is MANAGED: days and hours rule applies.
Host becomes MANAGED: Date to start monitoring
Host becomes UN-MANAGED: Date to end monitoring
Instruction: Is a note for any kind of special instructions to follow.
Clones of this host: Add hosts with the same requirements as defined
above. Example web2 could be a clone of web1.
Right on the dot. Either you're a genius, or I managed to get that
editor window made almost self-explanatory :-) Or something in between.
quoted from John Glowacki
The thing I just noticed. When I ACK a something on the Critical Systems 
page it shows a check mark, but the bb and bb2 pages don't show a check 
mark. Is this by design or a bug?
Not sure, actually. I would be most inclined to call it a bug. But the
idea is that there may be several people who acknowledge a problem - one
group (the 24x7 monitoring operators) acknowledge it on the Critical
Systems page, but that won't stop the alert pages from being sent. The
techs can acknowledge it once they start working on the problem. Senior
management may acknowledge it to show that they are on top of the
problem. So at what level should it show up as "acknowleged" ?

(Note that this isn't implemented yet, but the ack from the critical
systems page is the beginning of it).

I think I'll just settle for the "any ack counts" philosophy, and then
it is a bug.


Regards,
Henrik
list Thomas Seglard · Fri, 7 Apr 2006 16:49:19 +0200 ·
Hello,

is there a way to send hobbit's alerts to a jabber's client ? I've done a 
script but it doesn't seem to work ("Cannot connect( )") and I don't know 
why ! So, I will try to use rss and forward the threads to jabber via 
rrs2jabber. If someone got a working script or a better idea, you're 
welcome !

Thomas

Here is my perl script alertjabber.pl. You can use it by adding the 
following line to hobbit-alerts.cfg :

SCRIPT /Soft/HOBBIT-4.1.2p1/server/bin/alertjabber.pl 
user-c3c0ff5b653d@xymon.invalid REPEAT=10

#!/usr/bin/perl
#
#######################################################
#
# Author Thomas Seglard
# Created from various code examples found on the web
# Feel free to use or modify as needed to suit your needs
# Description :
# Get hobbit's variables and send them to jabber's server
#
#######################################################

use strict;
use Net::Jabber qw(Client) ;
use Net::Jabber qw(Message) ;
use Net::Jabber qw(Protocol) ;
use Net::Jabber qw(Presence) ;

use constant SERVER    => 'myjabber.server.org';
use constant PORT      => 5222;
use constant USER      => 'hobbit';
use constant PASSWORD  => 'hobbit';
use constant RESOURCE  => 'Psi';
use constant MAXWAIT   => 2 ;
my $MSG  = $ENV{'BBALPHAMSG'};
my $DST  = $ENV{'RCPT'};
my $HST  = $ENV{'BBHOSTSVC'};

my $connection = Net::Jabber::Client->new();
$connection->Connect( "hostname" => SERVER,"port" => PORT )  or die
"Cannot connect ($!)\n";

my @result = $connection->AuthSend( "username" => USER,"password" =>
PASSWORD,"resource" => RESOURCE );
if ($result[0] ne "ok") {
 die "Ident/Auth with server failed: $result[0] - $result[1]\n";
}
my $message = Net::Jabber::Message->new();
 $message->SetMessage( "to"                 => $DST,
                         "subject"      => "Alerte $HST",
                         "type"         => "chat",
                         "body"         => $MSG);

   $connection->Send($message);
   sleep(MAXWAIT);
$connection->Disconnect();
exit;

Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Thomas Pedersen · Sun, 09 Apr 2006 12:50:44 +0200 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Fri, Apr 07, 2006 at 09:58:09AM -0400, John Glowacki wrote:
  
I think I understand mostly how KN Editor is designed to work.

Search button seems to only work for exact hostname matches.
Next button goes to next record.
Host: hostname.  Example web1
Status: conn, disk, etc.
Resolver group: Is which group or person to contact to resolve problem.
Host is MANAGED: days and hours rule applies.
Host becomes MANAGED: Date to start monitoring
Host becomes UN-MANAGED: Date to end monitoring
Instruction: Is a note for any kind of special instructions to follow.
Clones of this host: Add hosts with the same requirements as defined
above. Example web2 could be a clone of web1.
    
Right on the dot. Either you're a genius, or I managed to get that
editor window made almost self-explanatory :-) Or something in between.

  
I would rater vote in the favor of Status being renamed to test as I read the Status as red/yellow... and not on which test the record is for.Could be that I am a first time user of the NK pages. Is it not possible to have all tests for a particular host on the NK page without having to do all tests one by one in the editor ? The obvious answer is yes, but is it to leave it blank or put a * in the field.
/thomas
list Lars Ebeling · Sun, 9 Apr 2006 15:05:43 +0200 ·
quoted from Thomas Pedersen
From: "Thomas" <user-97316fb2dd2a@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Sunday, April 09, 2006 12:50 PM
Subject: Re: [hobbit] 4.2 - Critical systems ACK?

I would rater vote in the favor of Status being renamed to test as I read the Status as red/yellow... and not on which test the record is for.Could be that I am a first time user of the NK pages. Is it not possible to have all tests for a particular host on the NK page without having to do all tests one by one in the editor ? The obvious answer is yes, but is it to leave it blank or put a * in the field.
/thomas
I agree about Status, I have tried to get it to work, and not succeeded, because I all the time thought of Status being red, yellow or blue.
Status is something that changes.

Lars