Ignoring proc alerts in the default section
list James B Horwath
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
▸
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
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
▸
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
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
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
▸
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
Hello,
In the 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