Search Exchange
Search All Sites
Login
Networker-savegroup-backup-check-NRPE
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:
| File | Description |
|---|---|
| networker-nrpe.zip | NRPE-networkerscript and example |
| readme.txt | readme |
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
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
Reviews (0)
Be the first to review this listing!


New Listings


