Backup Exec 2012

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tribbink
Posts: 32
Joined: Tue Mar 06, 2012 8:53 am

Backup Exec 2012

Post by tribbink »

Hi,

for monitoring symantec backup exec 2010 is use the nagios addon check_be, is there a way to monitor backup exec 2012?
I get No handler for that command? Backup exec adds numbers at the ens of the XML files so i cannot check an unique XML file.

Thanks in advance,
Ton
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Backup Exec 2012

Post by scottwilkerson »

Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tribbink
Posts: 32
Joined: Tue Mar 06, 2012 8:53 am

Re: Backup Exec 2012

Post by tribbink »

Thanks, i do use http://exchange.nagios.org/directory/Pl ... ck/details, and its working fine for backup exec 2010 and below, but not for backup exec 2012.
the logging-structure of backup exec 2012 seems to be different. Any suggestions on how backup exec 2012 can be monitored with NagiosXI?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Backup Exec 2012

Post by scottwilkerson »

You may also be able to monitor these using SNMP with the correct MIBs, you would be best off checking with the vendor for the current MIB file, but I did also find this

http://www.oidview.com/mibs/1302/Backup-Exec-MIB.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tribbink
Posts: 32
Joined: Tue Mar 06, 2012 8:53 am

Re: Backup Exec 2012

Post by tribbink »

Hi,

for a long time i use the plugin check_backupexec_backups.ps1 in Powershell, and it worked well.

cmd /c echo scripts\check_backupexec_backups.ps1 "B2D full-Full" "7" | powershell.exe -command -

On the powershell all seems ok, but nagios claims an error, every check is more than 7 days ago.
Is this error due to a Nagios Update?

Gr.
Ton
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Backup Exec 2012

Post by slansing »

Can you show an example of the above error?
tribbink
Posts: 32
Joined: Tue Mar 06, 2012 8:53 am

Re: Backup Exec 2012

Post by tribbink »

CRITICAL! Last run of job: 'B2D Even Week-Full' more than 7 days ago.
tribbink
Posts: 32
Joined: Tue Mar 06, 2012 8:53 am

Re: Backup Exec 2012

Post by tribbink »

CRITICAL! Last run of job: 'B2D full-Full' more than 7 days ago.
But in powershell all is ok

I received this error after i updated nagios to latest version, and after i changed the Time Periods that were in use by this check on the Check Settings TAB and Alert Settings TAB.
Changing the time period back to 24x7 didn't solve the problem
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Backup Exec 2012

Post by lmiltchev »

Can you post the service definition for the failing check?
Be sure to check out our Knowledgebase for helpful articles and solutions!
tribbink
Posts: 32
Joined: Tue Mar 06, 2012 8:53 am

Re: Backup Exec 2012

Post by tribbink »

In NagiosXI /usr/local/nagios/services

Code: Select all

###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date:	      2013-10-13 21:37:27
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND --- 
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define service {
	host_name			Host1
	service_description		Backup 2012 B2D Even Week
	servicegroups			Backup-exec
	check_command			nrpe_checkbu_2012 EW!!!!!!!!
	initial_state			u
	max_check_attempts		2
	check_interval			240
	retry_interval			5
	active_checks_enabled		1
	check_period			24x7
	flap_detection_enabled		0
	notification_interval		0
	notification_period		24x7
	notification_options		w,c,
	notifications_enabled		1
	contacts			helpdesk
	stalking_options		w,c,
	register			1
	}	

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
$USER1$/check_nrpe -c check_bu2012ew -H $HOSTADDRESS$ -p 5666 -t 180
Locked