Search This Blog

Thursday 21 April 2016

HP Service Manager tools @JIRAServiceDesk @github

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


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

Greg Baker ( 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...


Programs to support HPe Data Protector

Performance tools

  • - This program prints out the throughput rate of the specified sessions, or all current sessions if no sessions are specified.
  • - 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

  • - A script to make a two cell managers have the same pools
  • - Generate a script to export/import every client in a cell
  • - 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).
  • - 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.
  • - 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.
  • - process incoming MCF files
  • - A script to export MCF files after a backup

Software for keeping track of tapes

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

Miscellaneous programs that don't fit elsewhere

  • - This program files media in a tape library into one of two media pools, based on their slot number.
  • - 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.
  • - 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 ( 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, or visit the online store for Data Protector products, licenses and renewals at