Here’s an example of a script you can use to monitor NetBackup server daemons in a Linux environment. The main difficulty with keeping track of these services is that there are so many of them. What makes NetBackup reliable and rich in features is the modular nature of its design. For the same reason, a NetBackup server may need to run upwards of two dozen service daemons – often multiple instances of each.

Here’s a list of NetBackup daemons you may expect to run on the master server:

And these are the daemons that may be active on the media server:

Not all of these will be active in your particular configuration. If you know your NetBackup environment is operating correctly, you can use the commands below to determine which daemons should be running on your system and use that list for your monitoring purposes.

On the master server:

On the media servers:

Simply remove any daemon that says “0” from your list of monitored services. And here’s a very simple monitoring script. Just keep in mind that the script needs to be able to figure out if its running on the master server or on a media server. The way I have it configured, the master server has the word “master” in the hostname. And the media servers don’t.