monitoring backup

Nagios Mail nagiosmail at gmail.com
Mon Jun 6 19:47:11 CEST 2005


BTW, 

If it is Veritas Netbackup you are using, I add this to the
backup_exit_notify.cmd script at the bottom... (located in
root_install_dir\veritas\netbackup\bin\) [another note, I am assuming
you monitor the boxes you back up, if not thats ok, nagios will just
have a one line complaint for every host that it does not know about,
shouldnt harm anything]

-------------------------------------------------------------------------------------------------------------


@setlocal
@set nsca_server=theoracle.starkinvestments.com
@set nsca_port=5667
@set nsca_com=c:\progra~1\veritas\netbackup\bin\send_nsca.exe
@set nsca_conf=c:\progra~1\veritas\netbackup\bin\send_nsca.cfg


@IF %5 == 0 goto :status_ok

@IF %5 == 1 goto :status_partial

@IF %5 == 150 goto :status_canceled

@IF %5 GEQ 3 goto :status_bad

goto :EndMain

:status_ok

@echo %1.Netbackup Job.0.Backup Success | %nsca_com% -H %nsca_server% 
-c %nsca_conf% -p %nsca_port% -d .
@goto :EndMain

:status_partial
@echo %1.Netbackup Job.0.Backup Partial | %nsca_com% -H %nsca_server% 
-c %nsca_conf% -p %nsca_port% -d .
@goto :EndMain

:status_canceled
@echo %1.Netbackup Job.1.Backup Canceled | %nsca_com% -H %nsca_server%
 -c %nsca_conf% -p %nsca_port% -d .
@goto :EndMain

:status_bad
@echo %1.Netbackup Job.2.Backup Failed | %nsca_com% -H %nsca_server% 
-c %nsca_conf% -p %nsca_port% -d .

@goto :EndMain

:EndMain

@endlocal

-------------------------------------------------------------------------------------------------------------------

On 6/6/05, Nagios Mail <nagiosmail at gmail.com> wrote:
> What veritas backup product are you using? netbackup or Backup Exec?
> 
> If you are using Netbackup I have a script that runs after the
> completion of everyjob on the backup server and submit them to the
> nagios server.
> 
> Anyhow let me know.
> 
> 
> 
> 
> On 5/26/05, Richard Overton (OmniBus - Stanford)
> <Richard.Overton at omnibus.co.uk> wrote:
> >
> >
> >
> > Guys
> >
> >
> >
> > How do I go about monitoring Veritas backup on my 2k servers using Nagios? V
> > 1
> >
> >
> >
> >
> > Regards,
> >
> > Rich Overton
> >
> > Network Administrator
> >
> > Omnibus Systems Ltd
> >
> > Loughborough
> >
> > Leicestershire
> >
> > LE12 5PY
> >
> > UK
> >
> > T:  08705 004379
> >
> > M: 07970134379
> >
> > E: richard.overton at omnibus.co.uk
> >
>


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list