Skip to content

aledec/nbphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbphp

Netbackup PHP Report Tool

Provides a friendly access to netbackup common backup data, such as:

  • Clients / Policys / Errors Lists
  • Reports Utils
  • Statistics Graphs
  • Export options
  • Backup Search options

Requirements

  • Apache/lighthttpd - can be used in separate server
  • Mysql Server with ftp/scp account to copy files if remotely
  • Netbackup media server running under HP-UX / Linux

Installation

Web

  • Configure according your web server in order to provide the correct url for the site
  • Copy the content of the php directory into your new web server.

Script

  • Check sql-generator/ directory

Configuration

Web

  • Modify your src/config-db.php file with your database files
  • Import the sql/tables.sql into your database

Script

  • Check sql-generator/ directory

Use

Default Search option

  • The system is configure with the following options by default alt tag This options provides the following reports:
  • Client
  • Client List
  • Client List Type
  • Client List Graphics
  • Policy
  • Policy List
  • Policy Type Active/Inactive
  • Policy Hosts
  • Graphic Policy Type
  • Graphic Policy Active/Inactive
  • Reports
  • Backup xx hs
  • Report order by time elapsed
  • Report order by kilobytes
  • Report order by average
  • Historic Consume
  • Errors
  • List Errors
  • List Backups Other less important options are also available

Examples

  • Errors -> List Errors option alt tag
  • Reports -> Historic Consume alt tag
  • Policy -> Graphic Policy Type alt tag
  • Reports -> Backup xx hs alt tag

Default Dashboard option

alt tag If It is require to change dashboards available you can comment/uncomment/change time in the source code

<?php
 $e = new errors_FailedList_ds(); // List of return status not 0 - multiple params possible
  $params=array('name' => 'errors_FailedList_ds_7d', 'policy' => 'unix', 'timeago' => '7 Day', 3);
  $e->errors_FailedList_ds__data($params);
  $e->errors_FailedList_ds__table($params);
?>

Other Dashboard options

There're differents dashboards created for policy filter type, for example unix dashboard, which filter with "unix" string.

<?php
 $e = new errors_StatusLike_ds; // % of return status like code - multiple params possible
  $params=array('name' => 'errors_statuslike_ds_24h', 'policy' => 'unix', 'timeago' => '24 Hour', 3);
  $e->errors_StatusLike_ds__data($params);
  $e->errors_StatusLike_ds__graph($params);
?>

alt tag

About

Netbackup PHP Report Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published