Skip to content

tomaszov/nagios-check_bareos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nagios-check_bareos

Nagios check_bareos

INSTALL

=====================

  1. Add Nagios Console configuration Create file /etc/bacula/nagios-console.conf OR /etc/bareos/nagios-console.conf with content of

    Console { Name = nagios Password = "" } Director { Name = director DIRport = 9101 address = 127.0.0.1 Password = "" }

  2. Add restricted user to bareos/bacula director.conf

    Console { Name = nagios Password = "" CatalogACL = MyCatalog CommandACL = status, .status, list JobACL = all }

  3. Copy this script to '/usr/local/nagios/libexec/check_bareos.pl'

  4. Add 'check_bareos' command to nrep.cfg

echo "command[check_bareos]=/usr/local/nagios/libexec/check_bareos.pl $ARG1$" >> /usr/local/nagios/etc/nrpe.cfg

  1. Now add a nagios nrpe service check with parameter "-j "

About

Nagios check_bareos

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%