Alarm severity for rule of NmsAlarm-NMSHostExtension

Hello community

We have integrated Foglight NMS in vFoglight and it works very well.  However, we want to customize this a little more, that's why we are looking to add an EmailAction to send us an e-mail whenever an alarm is triggered.  I have the EmailAction set, but to keep our email standards raised by vFoglight, I would add the severity of the alarm in the subject of the e-mail so that we have something like:

WARNING: Error device NMS

or

Criticism: Error device NMS

or (surprise!)

Fatal error: error device NMS

Similarly, it would be good if I could get the real error message so that I can fill the body of the e-mail with the error message.

I did a similar thing for the LogFilter rule (see http://en.community.dell.com/techcenter/performance-monitoring/foglight-administrators/f/4788/t/19559961.aspx#81016), but it does not work here, I think, the fact that checkObservationAlarms is not a property of the Type topology NMSHostExtension.

Is it possible that the severity of the alarm can be obtained as a variable to include in the subject line?

For your information, the Condition of the East of the rule:

def alarm = #alarms #.

If (alarm == null) {}

Returns false;

}

gravity = 0

message = «»

If (!) Alarm.isReset)

{

gravity = alarm.foglightSeverity

message = alarm.alarmName + "." + alarm.conditionMetState "

System.Err.println ("NmsAlarm-NMSHostExtension: alarm: gravity =" + gravity + "message =" + message)

}

on the other

{

message = alarm.conditionMetState

System.Err.println ("NmsAlarm-NMSHostExtension: alarm reset: message =" + message)

}

def topSvc = server.get ("TopologyService");

def alarmSvc = server.get ("AlarmService");

alarmSvc.reportAlarm (alarm.guid, gravity, scope.host.uniqueId, message, "NMSAgent", @foglight_rule_id);

Returns true;

Thank you

Brian

Hi Brian...

You could use groovy to actually send the email and other things that you want in the e-mail subject and body and even include an attachment - there is a discussion here:

http://communities.quest.com/message/66922#66922

I hope this helps.

Robert

Tags: Dell Tech

Similar Questions

  • Looking for a method to search for rules that use a particular registry variable

    Hello

    I have a series of registry variables that hold email lists effectively different specific alarms.  Is there a way to query to use what are the rules that save variables?  His most difficult when several people create rules and lists.

    THX

    "mark".

    Mark,

    One method would be to export the foglight configuration to a file using the fglcmd program. You can find the file in the registry variable that interests you. You will see references to registry variables in the section rules.

    Example of export of the foglight management server bin directory:

    C:\Quest_Software\Foglight\bin>fglcmd.bat - usr - pwd foglight cmd - foglight util:configexport f filexxx

    David Mendoza

    Foglight Consultant

  • Adjust the threshold for rule interrupts

    Hello

    Can someone help me change the thresholds for the interruptions of rule? It seems to make use of an internal function called thresholdState(#interrupts#) to determine criticality. This user is editable to change the thresholds, or at least to understand the condition behind it?

    Hello

    If I understand this rule is using the Intelliprofile feature. If you search for "thresholdState" on this page of the documentation , you can find the article that explains it. I say think because I watched this metric in the documentation and it does not say that there was a defined threshold IntelliProfile, as for other measures. Maybe it was an oversight of the documentation. He certainly looks like he got IntelliProfile thresholds in the topology for this measurement model, see example on our Linux servers, showing a Normal state:

    If the answer to your question, yes the thresholds are user editable but maybe not in your way of thinking. As there is a threshold of IntelliProfile it is based on the deviation from the baseline, whereas you would have to change the threshold of IntelliProfile beaches. I don't think that's what you want with your question.

    Hope that helps.

    Kris

  • CBAC with several inspection rules

    Hello

    My customer places an ASA/Pix IPsec hub and network spoke to a DMVPN network with 2921/881.

    All the security(ACL/CBAC) will be run on the Cisco 2921 Hub site. I have attached a drawing simplified topology of HUB interfaces:

    As you can see in the picture there are 5 active interfaces on the Cisco 2921:

    LAN INT

    DMZ INT

    VIRTUAL INT

    INT TUNNEL

    RE INT

    All interfaces have incoming ACL applied to them in the inbound direction. So, I have the following ACL:

    INSIDE_OUT for LAN internal (management traffic from the LAN to DMZ DMVPN, Internet and VPN clients remote)

    DMVPN_INSIDE_OUT for TUNNEL INT (managing the movement of DMVPN LAN and WAN)

    VIRTUAL_INSIDE_OUT for VIRTUAL INT (manage traffic for remote users VPN DMVPN, LAN and WAN)

    DMZ_INSIDE_OUT for DMZ (open for ICMP to internet and a server on the LAN)

    INSIDE_IN for INT WAN (deny all apart form ICMP; ESP, ISAKMP, etc.)

    Currently, I have the 2 following the rules of CBAC:

    Property intellectual CHECK NAME IN_OUT applied on departing on INT WAN

    IP INSPECT NAME applied to inbound on INT WAN OUT_IN_DMZ (to allow traffic initiated Internet DMZ return form)

    But now, I think all the stateful traffic interface, as in an ASA I have to configure a rule to inspect to inbound on each interface or am I completely wrong?

    For example if I want a LAN Server to communicate with a server on the DMZ, I need to inspect the incoming traffic to the right to allow traffic to DMZ from LAN LAN? Which means I need a third inspection rule, no?

    Kind regards

    Laurent

    Laurent,

    Ideally, you'd inspection on all inbound interfaces.

    However, I think that you try to overcomplicate things, (dare I say).

    Your problem would be solved by adding a dynamic firewall on your design and ending for example remote VPN on it.

    This would substantially reduce the burden of DMVPN routers in the case of PPE or future growth and would you allow to dynamically on a device which was supposed to be with State actually lie real packet filtering.

    I will attach a photo in a moment of what I think off the coast.

    Marcin

    Edit: adding hastly does DIA.

  • A doc for rules

    Hi all

    Is there any document better how to create rules in foglight complex?

    Thank you

    Ramanantsoa

    You can start with the help on the sidebar tab right.

    What you'll find is that the docs rules are usually in different modules,

    and they are certainly not complete are not easy to understand.

    The Admin for each module guides have some information,

    There is some information on the community boards,

    some information in Foglight eDocs

    and there is some information that simply seems to be missing.

    Ask questions here is probably your best choice, once you get to the point

    where you can't find something in the existing literature.

  • Used in forms for rule of rounding decimal values

    I am trying to determine what district to separate the rule using forms of round numbers decimal, extracted from the database to display in a shorter length field. Specifically, when a number is equidistant from its neighbours (e.g. 0.5 is equidistant between 0 and 1), which rule is used to determine if she is rounded upwards or downwards (see this for a reference of the standard rounding rules)? The online help documentation addresses rounded, but does not specify what rounding rule is used (for example half away from zero, even half or 'Banker of the borough', etc.).

    I tried to figure this out by trial and error, but make me inconsistent results. Here's my test case...

    In the two test cases:

    Database field is NUMBER (20.4)

    Form field is numeric, length 30

    Form field format mask, programmatically, set is FM999G999G999G999G999G999G999G999G999G999G999G990D90PR (i.e., round to 2 decimal places)

    The form field displays the value of the field database directly

    Test 1:

    Database field value is 1.4445

    Result: The screen displays the value as 1.44

    Test 2:

    Database field value is 1,445

    Result: The field of the screen shows the value of 1.45

    It's completely inconsistent. If 'half away from zero' or 'half of the odd' district were used, then the value 1 of the trial must be displayed as 1.45 (because the last 5 will round the previous 4 to 5 and repeat). On the other hand, if 'half zero' or 'half similarly' district were used, the value of Test 2 should be displayed as 1.44.

    I understand that the values stored in the form are not rounded, and that this will not necessarily errors of calculation. However, it is necessary for purposes of documentation that I determine what the current rule used to display rounded values.

    I use forms GR 11, 2.

    I thought about it (by another user). My hypothesis rounded is not accurate: 1.4445 would like to round up to 1.44 mathematically, not 1.45 because 1.0045 is closer to 1 than 2. Therefore, Forms uses the standard rounded technology Oracle, which is:

    1. If n is 0, then ROUND returns always 0 regardless of the integer .
    2. If n is negative, then ROUND (n, all) returns - ROUND (-n, whole).
    3. If n is positive, then ROUND (n, integer) = FLOOR (n * POWER(10, integer) + 0.5) * POWER (10, - all over)

    Source: incompatible tie rounding rule used in Oracle Forms to the decimal values - Stack Overflow

  • 'Disable the alarm action' for a virtual machine

    Hello

    I want to disable all actions for a virtual machine alarm, while I have to disable FT to clone a virtual machine. My script are ready for cloning but I have a solution to disable the actions of alarm for a virtual machine via PowerCLI to can´t. Someone knows a solution for PowerCLI 5.1R1?

    Thank you

    Michael

    -Entity parameter requires an inventory of PowerCLI as value object and does not have the names. You can try it like this:

    Get-AlarmActionState-entity (Get-VM-name VMTEST1) - Recurse: $false

  • ? play several .flvs rule with single control bar?

    It's bugged the heck out of me.

    What I'm trying to accomplish:

    -load two external .flv files
    -two files begin to play simultaneously
    -control of games bar controls the two videos

    Why do I need to do this:

    I have a Flash environment. Each character in the environment is a .flv file. The characters interact with each other. The way I see it, this can be accomplished one of two ways:

    -two (for the two characters) flv files that run to the same exact duration
    -several flv for each character for always interaction files (I'm a little against that, because I care for the videos to load completely before starting)


    What I tried:

    -The FLV PlayBack component: this does not really work, since reading skin is visually connected to only a single video. In addition, it only controls a single video.

    -Playback FLV Custom AI: I still have to make it work even with a single video. However, I wonder still if it is perhaps the best solution, since I can place the PlayBar anywhere on the screen and should be able to generate scripts for two video playback controls. As I have said, however, I was not able to run at all.

    -J' built an original prototype of this in Captivate. Play several videos to YouTube (simultaneously or not) with a bar reading single skin for the whole project was easy. The problem I ran into was that the components of test in Captivate question did not what I need (aging of and becomes inactive when selected, able to try again)


    Can you help me?
    Thoughts? Suggestions? Anything is appreciated.

    I took end way think this, and it's the simplest of answers...

  • Smart talkband is not an alarm sound for notifications and calls

    Dear friends
    I have talkband2 of sony which I use with huawei mate7 phone. All options are ok but don't have audio for notifications and calls and have only vibrator.so I want to know what is happen when I press the volume keys?

    Yes, I have and never had audio notifications unless you put it to load or you get a prize for having reached the steps or calories (first band should be on the volume).

  • How to display the alarm message for a scheduled task in Task Scheduler

    Original title: title of alarm appears not

    When I create an alarm (in the Task Scheduler) I give this particular alarm a name (example: time to pick up the aunt Martha). How can I make this name display when the alarm goes off?

    Hello

    1. click on start, type Task Scheduler and press enter

    2. in the section actions in the right pane, click create basic task

    3 type the task name , and then click Next

    4. Select when starting the task and click Next

    5. now, select the start and end time and click Next

    6. now, select display a message as the action to perform, and then click Next

    7. now, type a message to display and click Next and click Finish.

  • Alarm for the latency of disk esxi-home

    I would like to set a new alarm to monitor all esx host disk latency in our vCenter.

    We found the settings, to set up this point for a virtual machine.

    [vCenter alarm-> add new detector for a virtual machine-> trigger Type: disc Total VM Max (ms) latency]

    So we need the same alarm, but for the esx host. But I can't find the right trigger type neighter events on the right (for which we can configure an alarm).

    The problem is that sometimes the Raid Controller battery is defective and then we notice everything by checking the performance of the disks-esx table:

    disk_latency_performance.jpg

    We need an alarm for exactly this measure: drive higher (ms) latency.

    I also searched for setting up an alarm in the store of data according to, but without success.

    Maybe someone has an idea how to set up such an alarm.

    Hello!

    There isn't any support in Client vSphere or vCenter. You can use esxtop to know but there is a lot of work to get a sort of wake-up call.

    A VMware product for this is vCenter operations, but it might be too depending on your environment.

    There is many products from 3rd party who will do that for you. vKernel VoP (formerly called vFoglight and I think that Veeam One will do this for you.)

    -Martin

  • Is there an alarm of VM for the capacity of the disk?

    I want to create an alarm for a virtual machine that when he approaches the c: drive 85% of capacity, send an email to the administrator.

    I couldn't see a default alarm for this one, when you create a new trigger.

    Closest is "Disk use KBps.

    Is there a way to set the alarm for the use of the drive (upgrade)?

    Thank you

    I don't know any alarm.  For us, we run a couple PowerCLI scripting on a daily basis. From there we will inform our server problems of possible disk space owners.

    You can also watch RVTools, that can provide this type of reporting, although it has no functionality to send E-mail

    We also use a SCOM agent on all our guests (windows), which will provide reports functionality you are looking for.

  • Exceptions of alarm for guest VM

    Even by being VCP 3.0 and 4.0 and with working experience of 5 years with VMware products, I still a total noob question. Its only one of those things that if you don't use every day forget you, you know? Please minimize the laughter

    Anyway, how can I make an exception in the alarms for a specific VM guest?

    I have all my alarms defined at the level of the VirtualCenter/vSphere server, but I have a special virtual machine that flies from the handle every night through process work extremely badly written.

    I want to put triggers alarm of the guest of this virtual machine to be higher and/or strip completely from the memory usage alarms.

    Please remember: How can I do this again?

    It works as group policy and can just set a new alarm on the guest himself and who wins on alarm of the parent?

    Thanks in advance!

    Hey godbucket,

    If the definition of the alarm on the virtual machine must take precedence over all defined above (cluster, datacenter, etc..)  You can also disable all actions alarm (not the alarm itself) for that person a right click on the virtual computer, then go on alarm > disable the stock alarm.  Hope that helps!

  • Select several CSS classes simultaneously (was: how to select multiple css rules at the same time?)

    Hello!

    I have Dreamweaver 8

    I tried to select several css rules at the same time create a css stylesheet, but I don't know how to do it!

    This man do in this video at 03:00

    http://www.YouTube.com/watch?v=ZbQ3GTFC-O0

    Thank you!

    DW8 does not support the selection of several classes in the properties panel.  I'm sure that this feature appeared in the exit of the CS6.  Unless you upgrade to CC or CS6, you must do this manually in your code.

    Nancy O.

  • Change the maximum results in the Panel of alarms

    Hello

    How can I view more than 5,000 alarms at some point in the Panel of alarms Foglight.

    Thanks and greetings

    Shaji S

    Hi Shaji,

    As Brian wrote: there is a limit of 5000 alarms in this dashboard. That is up to 5000 alarms can be listed in the dashboard of the alarms.

    There is also a limit of 10000 alarms in Foglight.

    The number of alarms in Foglight can affect the load of dashboard of the times (like most display alarm number of dashboard).  We generally recommend to our clients to manage their alarms tighter when you have several alarms, it becomes difficult to see what is happening in your environment.

    I strongly advise you to get our Professional Services organization involved to help control the number of alarms raised.  This is usually obtained by analyzing the alarms and examining their utility (in your environment) and the thresholds used for alarms, as these tend to require development to meet your specific needs.

    Can you tell us why you have so many alarms? (I mean: what kind of alarms are you see?)  They come from the multiple laws of gravity that disengage automatically or several simple rules that do not, such as the database of the journal entries of the database alerts alarms considered that does not auto-clear?)

    The number of alarms increased recently, or were there sustained growth (not driven by an increase in the number of monitored things)?

    David

Maybe you are looking for