Home Directory Plugins Backup and Recovery Networker Networker-savegroup-backup-check-NRPE

Networker-savegroup-backup-check-NRPE

Bookmark and Share

Rating
0 votes
Favoured:
1
Current Version
0.1
Last Release Date
2012-08-15
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Owner
E-mail
License
Other
Hits
19961
Files:
FileDescription
networker-nrpe.zipNRPE-networkerscript and example
readme.txtreadme
This plugin use nrpe for monitor windows networker backup server job status using nsradmin command
anyone can modify it and optimize it.
the goal for me was to be abble to monitor networker backup job on a windows installations.
after some research, we can do this with nsradmin if we put the name of the savegroup in a file as parameter

my script is really simple
for each savegroup that i need to monitor i create a txt file with the name of the savegroup and in the same file i put again the name of the savegroup to monitor.

after i use my script "Check_Networker_Job.cmd" to parse the log of the last status for the savegroup, i do a grep of the log file to count the number of error,
if there is 0 error so backup is good in the other case backup is critical.





create the following nrpe command on the server
check_networker_job=c:exploitscriptsstartallnagiosCheck_Networker_Job.cmd $ARG1$


info
$ARG1$ ==>name of the savegroup to monitor
$ARG1$ ==>Create a $ARG1$.txt
put in $ARG1$ the information about the savegroup (better to use same name)
you can look Bureautique.txt as example