Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

pbrunnen

Reviews(1)
bypbrunnen, April 25, 2018
Really like this for checking the state of rsnapshot. Two quick things that will save you some time getting this working.

1. On debian, make sure to install 'libnagios-plugin-perl' on deb8 and prior or 'libmonitoring-plugin-perl' on deb9 and newer.

2. There is a minor parser bug as it doesn't account for consecutive tabs. This is easily corrected and fixes issue I was having not detecting a value for some parameters. The change is in sub parse_config, line 259 to make the tab split match one or more tabs.

Line 259:
- my @fields = split( /\t/, $_ );
+ my @fields = split( /\t+/, $_ );

Thanks again for a great plugin!
-Cheers, Peter.