Search This Blog

Thursday 21 April 2016

HP Service Manager tools @JIRAServiceDesk @github

For customers running HP Service Manager, I have two freebies:



sm-tools

Tools for interacting with HP Service Manager
  • activitywsdl.unl -- enable WSDL access to the Activity table
  • create-or-update-incident.sh -- when NNM detects a node goes down, either update the existing Service Manager incident or create a new one.
  • event-handler.sh -- When NNM generates an event (either up or down), dispatch appropriately to Service Manager
  • email2ticket.py -- a much easier way of having HP SM receive emails that doesn't involve Connect-IT. Edit email2ticket.conf and you're ready to go
  • fastpass-email2ticket.py -- similar to email2ticket but designed to work with FastPass, and report the ticket as closed automatically
  • sm2email.py -- a much easer way for HP SM to send emails that doesn't involve Connect-IT. Edit sm2email.conf and that's about it.
  • sm2sms.py -- if HP SM tries to send a "pager" notification, send an SMS. Doesn't involve Connect-IT.
  • smcli.py -- library and program -- Swiss army knife of interacting with Service Manager on the commandline
  • smprocmail.py -- instead of polling an IMAP or POP server, why not deliver your customer interaction emails via procmail through to smprocmail.py which will turn them into interactions instantly (i.e. no polling delay). Amaze your customers.
  • valuesms.py -- command-line script for sending emails

Greg Baker (gregb@ifost.org.auis a consultant, author, developer and start-up advisor. His recent projects include aplug-in for Jira Service Desk which lets helpdesk staff tell their users how long a task will take and a wet-weather information system for school sports.

Data Protector tools now on github

I've written a number of tools that help when administering Data Protector. I did some spring cleaning (in Autumn), found all of them that I could, and put them into a github repository.

Here's the README from it... https://github.com/solresol/dp-tools



dp-tools

Programs to support HPe Data Protector

Performance tools

  • omniperf.pl - This program prints out the throughput rate of the specified sessions, or all current sessions if no sessions are specified.
  • omniperfreport.pl - This program prints out a report on DataProtector backup throughput performance for a completed session.

Tools for migrating between cell managers and keeping them in sync

  • device-replicator.pl - A script to make a two cell managers have the same pools
  • dp-move-clients.pl - Generate a script to export/import every client in a cell
  • mcf-all-media.pl - This program walks through everything in the media management database and writes MCF files out to the output directory, unless they already exist on the (optionally specified) target server. Then it copies it to target-server-directory (with an extension of .temp, which gets changed to .mcf once it is complete).
  • mega-import.pl - watches for files in the watch-directory that end in .mcf. When it sees one, it checks to see if it is already known about in the DataProtector internal database. If it is not already in the database, it is imported.
  • pool-replicator.pl - A script to make a two cell managers have the same pools

Tools for copying sessions between cell managers

These are mostly obsolete as of DP 9.04 because you would typically create a copy job from one cell manager's storeonce to the another cell manager's storeonce. These are still relevant if you want to keep physical tapes in two locations.
  • mcfreceive.pl - process incoming MCF files
  • mcfsend.pl - A script to export MCF files after a backup

Software for keeping track of tapes

  • tape-zap.py - a command-line program which updates the Data Protector database of tape locations by letting you zap the tapes with a barcode reader device
  • tapescan.py - a CGI version of tape-zap.py

Miscellaneous programs that don't fit elsewhere

  • library-pooling.pl - This program files media in a tape library into one of two media pools, based on their slot number.
  • omnisms.pl - This program sends an SMS through the ValueSMS gateway to report on mount requests. It can be used as a mount script for a device.
  • try-all-devices.pl - Exercises every device (tape, storeonce, etc) by running a tiny backup to it


Greg Baker is an independent consultant who happens to do a lot of work on HP DataProtector. He is the author of the only published books on HP Data Protector (http://www.ifost.org.au/books/#dp). He works with HP and HP partner companies to solve the hardest big-data problems (especially around backup). See more at IFOST's DataProtector pages at http://www.ifost.org.au/dataprotector, or visit the online store for Data Protector products, licenses and renewals athttp://store.data-protector.net/