This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

APM integration with HPNNM// HPOVO 8.x and scheduling a script in APM for Unix / Windows servers

 Hi, Please answer below questions abot APM:-

1. How can I integrate APM with HPOVO 8.x. Which MIB I need to upload in HPNNM to redirect all alerts to HPOVO for its intergration?

2. How can I schedule a script in APM for unix/ Windows Servers? Can you please share any script which you have tested? Do you have any doc for it?

 

Quick Response will be helpful

 

Warm Regards, 

 

Nitin Saini

  • How can I integrate APM with HPOVO 8.x. Which MIB I need to upload in HPNNM to redirect all alerts to HPOVO for its intergration?

    APM can be integrated with HPOV fairly easily and there's no need to load MIB files. SNMP Traps are the most common method of sending alert notifications based on triggered events in Orion to HPOV. You'll need a copy of the Engineers Toolset to create custom SNMP Trap templates using the SNMP Trap Editor. These custom created traps are defined by you and then utilized as trigger actions within the Advanced Alert Manager. 

    From the APM Administrators Guide

    Click Send an SNMP Trap, and then click OK.

    On the Target Machines tab, enter the hostname or IP address of the destination Orion NPM server for your SNMP traps into the Add Trap Destination field, and then click Add.
     Repeat this step for each additional destination machine.
    If there is a machine in the Send SNMP Traps to the following machines field that you no longer want as an SNMP trap destination, select the machine from the list, and then click Delete to remove it.
    Enter the SNMP Community String for your network in the designated field.
    On the Trap to Send on Trigger tab, select the type of trap to send on alert trigger from the Trap Template list.
    Some trap templates may use an alert message, so a default message that uses variables is provided for the triggered alert message. You may change this text, if you want, but it is important that you understand the use of variables beforehand. For more information about using variables, see “Orion NPM Variables and Examples” .
    If you want to change the default message sent with the SNMP trap when the selected alert is triggered,enter the text of your new SNMP trap message in the Some Trap templates may use an Alert Message text box.
    On the Trap to Send on Reset tab, select the type of trap to send on alert reset from the Trap Template list.
    If you want to send an SNMP trap when an alert is reset, enter the text of your SNMP trap message in theSome Trap templates may use an Alert Message text box.
    If you are finished with the configuration of Orion NPM to send SNMP traps, click OK.

    How can I schedule a script in APM for unix/ Windows Servers? Can you please share any script which you have tested? Do you have any doc for it?

    There are several out of the box application templates in APM that include script examples for both Windows and Unix. A few examples are:

    BlackBerry Delivery Confirmation  - Windows - vbscript
    Apache - *nix - perl
    Windows Event Log Count - Windows - vbscript 

    There are also several examples available on Thwack in the Content Sharing Zone

    Log Parser (Perl)
    Log Parser (PowerShell)
    Updated Linux Templates

    To "Schedule" these scripts you need only apply these templates to a node. You can then configure the polling frequency by either editing the master Application Template or on a node by node basis.

    1. Log on to your Orion Web Console with an Administrator account.
    2. Click the APPLICATIONS tab.
    3. Click APM Settings.
    4. Click Manage Templates.
    5. Check the application template you want to edit, and then click Edit.
    6. If you are creating a new template by modifying an existing template, specify the name for your new template in the Template Name field.
    7. Specify the values for the Polling Frequency and Polling Timeout fields.
    Note: Setting a polling frequency below 30 seconds can result in erratic monitor behavior.
    8. If you want to turn on extended debug information to assist Customer Support, expand Advanced and then set Debug logging On and specify the Number of log files to keep.
    Note: Do not turn on Debug logging unless directed by Customer Support.
    9. Click Add Component Monitor.
    10. Expand the component groups and check all the component monitors you want to add.
    Note: You can select multiple component monitors of the same type to be added by entering a number in the field next to the check box for the component monitor and then checking the check box.
    11. Click Submit.
    12. Remove component monitors if desired by clicking Delete.
    13. Configure the component monitor settings, and then click SUBMIT.