Page 1 of 1

NetBackup latest backup status check by Policy name

Posted: Mon Apr 08, 2013 5:16 am
by gm_rajkumar
Hi,

I'm using this Plugin http://exchange.nagios.org/directory/Pl ... me/details for NetBackup latest backup status check by Policy name..

While running this plugin getting below error message and i enclosed it for your reference.

Let me know what was missing on this, thanks!!

Regards,
Raj...

Re: NetBackup latest backup status check by Policy name

Posted: Mon Apr 08, 2013 2:01 pm
by slansing
I would take a look at the usage text on the exchange listing below the download link:

http://exchange.nagios.org/directory/Pl ... me/details

Here, the writer explains how to configure and integrate the plugin with NSClient++ and Nagios, as well as how to define a command to retrieve information from it, this is not something we can test here however, since we do not have the required software it pulls data from.

Re: NetBackup latest backup status check by Policy name

Posted: Mon Apr 08, 2013 11:51 pm
by gm_rajkumar
I have followed the steps to configure the plugin, however i didnt get the results properly. kindly let me know how to get rid of this issue.. thanks!!

Regards,
Raj.

Re: NetBackup latest backup status check by Policy name

Posted: Tue Apr 09, 2013 11:52 am
by slansing
It does not look like you properly followed the directions as the way you are trying to pass "-a" values to the plugin is invalid, the page outlines in what format to call the plugin properly:
7. Add new Nagios "service" to check status of the backup job.
* The backup policy name that you want to check the latest policy status have to be set to $ARG1$ in the "service" setting. $ARG2$ is number of hours to go back, e.g., daily 24, weekly 168.

Re: NetBackup latest backup status check by Policy name

Posted: Thu Apr 11, 2013 4:35 am
by gm_rajkumar
Hi,

As per your update, i have done the same. Now i can see the results, however i couldnt confirm whether its precise results. Please go through and let me know if im wrong any where... thanks again!!

Regards,
Raj.

Re: NetBackup latest backup status check by Policy name

Posted: Thu Apr 11, 2013 11:15 am
by abrist
The command looks right, and you are getting an "ok" returned. What is the issue with it?

Re: NetBackup latest backup status check by Policy name

Posted: Wed Apr 17, 2013 1:14 am
by gm_rajkumar
I dont know whether its right or wrong, is there any option to see the results in detail. As of now i dont have any failure jobs to confirm this..any clue over this.. thanks!!

Regards,
Raj.

Re: NetBackup latest backup status check by Policy name

Posted: Wed Apr 17, 2013 11:11 am
by abrist
I checked the plugin source at it is not very verbose. You will have to set up a test mock failure to see if he plugin returns the expected exit code.