Xymon Mailing List Archive search

Ignoring proc alerts in the default section

6 messages in this thread

list James B Horwath · Wed, 1 Nov 2006 14:15:25 -0500 ·
All:

I have a default section in my /etc/hobbit/hobbit-alerts.cfg with something like this:

         PROC    my_process
        PROC   his_process


I have a couple of servers that do not run the processes my_process or his_process and as a result they are showing errors because of the definitions in my DEFAULT section.  How can I have a server ignore the default section?  If I have 99.9% of the hosts using the 2 process and only 2 or 3 which don't, any suggestions on how to handle it?

Thanks in advance,
Jim


This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.
list Henrik Størner · Wed, 1 Nov 2006 22:36:45 +0100 ·
quoted from James B Horwath
On Wed, Nov 01, 2006 at 02:15:25PM -0500, James B Horwath wrote:
I have a default section in my /etc/hobbit/hobbit-alerts.cfg with something like this:
         PROC    my_process
        PROC   his_process

Putting PROC tests in your default section is generally a bad idea.
I have a couple of servers that do not run the processes my_process or his_process and as a result they are showing errors because of the definitions in my DEFAULT section.  How can I have a server ignore the default section?  If I have 99.9% of the hosts using the 2 process and only 2 or 3 which don't, any suggestions on how to handle it?
HOST=* EXHOST=%host1|host2
         PROC    my_process
         PROC   his_process


Henrik
list Michael A. Price · Thu, 02 Nov 2006 07:53:00 -0500 ·
Hello,

In my alert emails to the admins at the bottom of the email is the URL link to the hobbit server alert page.

http://neuron/hobbit-cgi/bb-hostsvc.sh?HOST=v43mgt&SERVICE=msgs

The problem is that its suppose to be https and not http, so the link doesnt work.

I changed the variable BBWEBHOST in the hobbitserver.cfg file hoping that would fix it. 
BBWEBHOST="https://$BBSERVERWWWNAME";

But it didnt.

how can fix this???

thanx, michael


Michael A. Price
Performance Network Engineering
NASA/GSFC Code 440.8/LMB
Greenbelt, Maryland 20770
            Phone:  XXX-XXX-XXXX
            Cell:   XXX-XXX-XXXX
            e-mail: user-2a9e3c790857@xymon.invalid
quoted from James B Horwath


James B Horwath wrote:

All:

I have a default section in my /etc/hobbit/hobbit-alerts.cfg with something like this:

               PROC    my_process
        PROC   his_process


I have a couple of servers that do not run the processes my_process or his_process and as a result they are showing errors because of the definitions in my DEFAULT section.  How can I have a server ignore the default section?  If I have 99.9% of the hosts using the 2 process and only 2 or 3 which don't, any suggestions on how to handle it?

Thanks in advance,
Jim

• This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited. If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments. Thank you.
*
list Michael A. Price · Thu, 02 Nov 2006 10:44:08 -0500 ·

Hello,

In my alert emails to the admins at the bottom of the email is the URL 
link to the hobbit server alert page.

http://neuron/hobbit-cgi/bb-hostsvc.sh?HOST=v43mgt&SERVICE=msgs

The problem is that its suppose to be https and not http, so the link doesnt work.

I changed the variable BBWEBHOST in the hobbitserver.cfg file hoping that would fix it. 

BBWEBHOST="https://$BBSERVERWWWNAME";

But it didnt.

how can fix this???

thanx, michael
list Larry Barber · Thu, 2 Nov 2006 15:32:05 -0600 ·
You can use mod_rewrite to rewrite all incoming http requests to https. This
all makes like easier on your customers. Details are on the Apache site.

Thanks,
Larry Barber
quoted from Michael A. Price

On 11/2/06, Michael A. Price <user-2a9e3c790857@xymon.invalid> wrote:

Hello,

In my alert emails to the admins at the bottom of the email is the URL
link to the hobbit server alert page.

http://neuron/hobbit-cgi/bb-hostsvc.sh?HOST=v43mgt&SERVICE=msgs

The problem is that its suppose to be https and not http, so the link doesnt work.

I changed the variable BBWEBHOST in the hobbitserver.cfg file hoping that would fix it.

BBWEBHOST="https://$BBSERVERWWWNAME"; <https://$BBSERVERWWWNAME>;

But it didnt.

how can fix this???

thanx, michael

list Michael A. Price · Wed, 08 Nov 2006 13:07:13 -0500 ·
Hello,
In the alert emails to the admins at the bottom of the email is the 
quoted from Larry Barber
URL link to the hobbit server alert page.

http://neuron/hobbit-cgi/bb-hostsvc.sh?HOST=v43mgt&SERVICE=msgs

The problem is that its suppose to be https and not http, so the link doesnt work.

I changed the variable BBWEBHOST in the hobbitserver.cfg file hoping that would fix it. 

BBWEBHOST="https://$BBSERVERWWWNAME";

But it didnt.

how can fix this???

thanx, michael