Page 1 of 3
Backup Exec 2012
Posted: Sun Oct 28, 2012 6:59 am
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
Re: Backup Exec 2012
Posted: Sun Oct 28, 2012 9:06 am
by scottwilkerson
Re: Backup Exec 2012
Posted: Sun Oct 28, 2012 11:46 am
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?
Re: Backup Exec 2012
Posted: Mon Oct 29, 2012 9:17 am
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
Re: Backup Exec 2012
Posted: Fri Oct 11, 2013 4:52 am
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
Re: Backup Exec 2012
Posted: Fri Oct 11, 2013 10:17 am
by slansing
Can you show an example of the above error?
Re: Backup Exec 2012
Posted: Fri Oct 11, 2013 2:44 pm
by tribbink
CRITICAL! Last run of job: 'B2D Even Week-Full' more than 7 days ago.
Re: Backup Exec 2012
Posted: Fri Oct 11, 2013 2:45 pm
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
Re: Backup Exec 2012
Posted: Mon Oct 14, 2013 2:46 am
by lmiltchev
Can you post the service definition for the failing check?
Re: Backup Exec 2012
Posted: Mon Oct 14, 2013 5:08 am
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