Sponsored Content
Operating Systems Linux Red Hat PROC_MEM_RES how to set/unset/change Post 302912066 by MadeInGermany on Tuesday 5th of August 2014 01:19:41 PM
Old 08-05-2014
Where do you get the alerts?
Do you have HP-OVO/OVPA installed?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Is there any way to set env variable in top level Makefile and unset when done

Hello I have compilation directory structure the top level Makefile is the one that contains all the sub directories I want to set in this Makefile env variable say : setenv OPTIMIZATION_LEVEL "1" and when all the sub directories done compiling it will set this variable to different lavel... (0 Replies)
Discussion started by: umen
0 Replies

2. Shell Programming and Scripting

Need to change a set of lines between two given Pattrens

Hi All I have a Small Requiement I wanted to replace all the Follwing lines as follows Input:: file1 EVALUATE WS-TEMP-ATTR(15:1) WHEN 'D' MOVE DFHDARK TO WS-ATTR-COLOR WHEN OTHER MOVE DFHDFT ... (9 Replies)
Discussion started by: pbsrinivas
9 Replies

3. UNIX for Dummies Questions & Answers

Why does set also change setenv variables?

I thought that set and setenv was easy enough to understand until I started experimenting. I noticed the same problem in a previous thread, so I will use it as an example. set command gave the following output: argv () cwd /homes/e/ee325328/assignment.2 home /homes/e/ee325328 path ( a... (2 Replies)
Discussion started by: benwj
2 Replies

4. UNIX for Dummies Questions & Answers

Change permission for a set of files

Hi there, I want to change from this permission -r-xr-xr-x to -r-xr-xr-- for a set of files under unix. Can someone help me to go-about doing this in one shot. Cheers, RN (2 Replies)
Discussion started by: karthickrn
2 Replies

5. Solaris

help me to change the character set

dears i am using solaris 10 i am facing a problem when i make setup for solaris i choose the country egypt and i select the language north america but i forget to do that the i found the date Jun written in arabic i want to change character set to written in english -rw-r--r-- 1 root ... (4 Replies)
Discussion started by: hosney00ux
4 Replies

6. HP-UX

Sudo entry required to set permission similar to ROOT without using password (PASSWD) change optio

Hi All I had installed sudo in HP UX 11.3 and it is working fine but not able to make entry required to set permission similar to ROOT without using password (PASSWD) change option for define user in /etc/sudoers file Please help if some know the syntex? :confused::wall: (2 Replies)
Discussion started by: deviltech
2 Replies

7. UNIX for Advanced & Expert Users

Proc_mem_res

Hi all, I did post this in another forum but I try as well. Does anyone know how to change PROC_MEM_RES? We have a DB server with quite a few oracle instances (RAC) and we are getting critical alerts for PROC_MEM_RES. Anyone know how to increase the current setting or what we should do... (1 Reply)
Discussion started by: jonnyd
1 Replies

8. UNIX for Dummies Questions & Answers

How to change a set of characters between delimiters?

Hi all, I am trying to write a script for renaming some files and I can't understand how to replace a set of characters between delimiters with sed. The current filename is: <ID1>_<ID2>_<DATE>_<ID3>.PDF And I need to get the following: <ID1>_<ID2>_<DATE>_X01<ID2>.PDF I have tried the... (5 Replies)
Discussion started by: bartleby
5 Replies

9. Shell Programming and Scripting

Perl to change value based on set of rules

In the perl there is a default rule that sets f to VUS, and then a seris of rules that will change f based on the result that is obtained from the rule. The code below is a rule that is supposed to be applicable to lines 2-4 because this rule just looks at the digit in f. So in line 2 f is 27... (4 Replies)
Discussion started by: cmccabe
4 Replies

10. Solaris

How to change pset.size value in processor set in Solaris zone?

Hi I have a pool name yuk-pool and its associated pset is yuk-pset. It has a min value is 20 and max value is 56. But size field has 48 value . This same pool is assign to 4 local zones. Whenever Cpu usage is high on one local zone it impact the cpu usage at other local zone as well during high... (1 Reply)
Discussion started by: sb200
1 Replies
HOBBIT-ALERTS.CFG(5)						File Formats Manual					      HOBBIT-ALERTS.CFG(5)

NAME
hobbit-alerts.cfg - Configuration for for hobbitd_alert module SYNOPSIS
~xymon/server/etc/hobbit-alerts.cfg DESCRIPTION
The hobbit-alerts.cfg file controls the sending of alerts by Xymon when monitoring detects a failure. FILE FORMAT
The configuration file consists of rules, that may have one or more recipients associated. A recipient specification may include additional rules that limit the circumstances when this recipient is eligible for receiving an alert. Blank lines and lines starting with a hash mark (#) are treated as comments and ignored. Long lines can be broken up by putting a back- slash at the end of the line and continuing the entry on the next line. RULES
A rule consists of one of more filters using these keywords: PAGE=targetstring Rule matching an alert by the name of the page in BB. This is the path of the page as defined in the bb-hosts file. E.g. if you have this setup: page servers All Servers subpage web Webservers 10.0.0.1 www1.foo.com subpage db Database servers 10.0.0.2 db1.foo.com Then the "All servers" page is found with PAGE=servers, the "Webservers" page is PAGE=servers/web and the "Database servers" page is PAGE=servers/db. Note that you can also use regular expressions to specify the page name, e.g. PAGE=%.*/db would find the "Database servers" page regardless of where this page was placed in the hierarchy. The PAGE name of top-level page is an empty string. To match this, use PAGE=%^$ to match the empty string. EXPAGE=targetstring Rule excluding an alert if the pagename matches. HOST=targetstring Rule matching an alert by the hostname. EXHOST=targetstring Rule excluding an alert by matching the hostname. SERVICE=targetstring Rule matching an alert by the service name. EXSERVICE=targetstring Rule excluding an alert by matching the service name. GROUP=groupname Rule matching an alert by the group name. Groupnames are assigned to a status via the GROUP setting in the hobbit- clients.cfg file. EXGROUP=groupname Rule excluding an alert by the group name. Groupnames are assigned to a status via the GROUP setting in the hobbit- clients.cfg file. COLOR=color[,color] Rule matching an alert by color. Can be "red", "yellow", or "purple". The forms "!red", "!yellow" and "!purple" can also be used to NOT send an alert if the color is the specified one. TIME=timespecification Rule matching an alert by the time-of-day. This is specified as the DOWNTIME timespecification in the bb-hosts file. DURATION>time, DURATION<time Rule matcing an alert if the event has lasted longer/shorter than the given duration. E.g. DURATION>1h (lasted longer than 1 hour) or DURATION<30 (only sends alerts the first 30 minutes). The duration is specified as a number, optionally followed by 'm' (minutes, default), 'h' (hours) or 'd' (days). RECOVERED Rule matches if the alert has recovered from an alert state. 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. The "targetstring" is either a simple pagename, hostname or servicename, OR a '%' followed by a Perl-compatible regular expression. E.g. "HOST=%www(.*)" will match any hostname that begins with "www". The same for the "groupname" setting. RECIPIENTS
The recipients are listed after the initial rule. The following keywords can be used to define recipients: MAIL address[,address] Recipient who receives an e-mail alert. This takes one parameter, the e-mail address. SCRIPT /path/to/script recipientID Recipient that invokes a script. This takes two parameters: The script filename, and the recipient that gets passed to the script. IGNORE This is used to define a recipient that does NOT trigger any alerts, and also terminates the search for more recipients. It is use- ful if you have a rule that handles most alerts, but there is just that one particular server where you dont want cpu alerts on Monday morning. Note that the IGNORE recipient always has the STOP flag defined, so when the IGNORE recipient is matched, no more recipients will be considered. So the location of this recipient in your set of recipients is important. FORMAT=formatstring Format of the text message with the alert. Default is "TEXT" (suitable for e-mail alerts). "PLAIN" is the same as text, but without the URL link to the status webpage. "SMS" is a short message with no subject for SMS alerts. "SCRIPT" is a brief message tem- plate for scripts. REPEAT=time How often an alert gets repeated. As with DURATION, time is a number optionally followed by 'm', 'h' or 'd'. UNMATCHED The alert is sent to this recipient ONLY if no other recipients received an alert for this event. STOP Stop looking for more recipients after this one matches. This is implicit on IGNORE recipients. Rules You can specify rules for a recipient also. This limits the alerts sent to this particular recipient. MACROS
It is possible to use macros in the configuration file. To define a macro: $MYMACRO=text extending to end of line After the definition of a macro, it can be used throughout the file. Wherever the text $MYMACRO appears, it will be substituted with the text of the macro before any processing of rules and recipients. It is possible to nest macros, as long as the macro is defined before it is used. ALERT SCRIPTS
Alerts can go out via custom scripts, by using the SCRIPT keyword for a recipient. Such scritps have access to the following environment variables: BBALPHAMSG The full text of the status log triggering the alert ACKCODE The "cookie" that can be used to acknowledge the alert RCPT The recipientID from the SCRIPT entry BBHOSTNAME The name of the host that the alert is about MACHIP The IP-address of the host that has a problem BBSVCNAME The name of the service that the alert is about BBSVCNUM The numeric code for the service. From the SVCCODES definition. BBHOSTSVC HOSTNAME.SERVICE that the alert is about. BBHOSTSVCCOMMAS As BBHOSTSVC, but dots in the hostname replaced with commas BBNUMERIC A 22-digit number made by BBSVCNUM, MACHIP and ACKCODE. RECOVERED Is "1" if the service has recovered. EVENTSTART Timestamp when the current status (color) began. SECS Number of seconds the service has been down. DOWNSECSMSG When recovered, holds the text "Event duration : N" where N is the DOWNSECS value. CFID Line-number in the hobbit-alerts.cfg file that caused the script to be invoked. Can be useful when troubleshooting alert configura- tion rules. SEE ALSO
hobbitd_alert(8), hobbitd(8), xymon(7), the "Configuring Xymon Alerts" guide in the Online documentation. Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-ALERTS.CFG(5)
All times are GMT -4. The time now is 05:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy