Do you happen to have the errors you are getting when you run:
Code: Select all
cpan -i RRD::Simple
Code: Select all
cpan -i RRD::Simple
You could also address this by reducing the cardinality -- add some filtering to the checkdrivesize module if you don't need size information for 100% of the drives that will ever exist on this system. My mind goes to something like Docker/Kubernetes where you could have literal hundreds of overlayfs volumes spun up and torn down within the span of a day.kgugerty wrote:So it seems like I may need to setup a chron job to run this script on a regular basis.
Code: Select all
cpan -i RRD::Simple
Code: Select all
t/10pod.t .......................... ok
t/11pod_coverage.t ................. ok
t/20compile.t ...................... ok
t/21synopsis.t ..................... ok
t/21synopsis_old.t ................. ok
t/22last_value.t ................... ok
t/23graph.t ........................ 25/226
# Failed test 'graph() return hash (annual)'
# at t/23graph.t line 69.
# Compared $data->[0]
# got : 'bytesIn min -nan'
# expect : 'bytesIn min nan'
# Failed test 'graph() return hash (monthly)'
# at t/23graph.t line 69.
# Compared $data->[0]
# got : 'bytesIn min -nan'
# expect : 'bytesIn min nan'
# Failed test 'graph() return hash (monthly)'
# at t/23graph.t line 69.
# Compared $data->[0]
# got : 'bytesIn min -nan'
# expect : 'bytesIn min nan'
# Failed test 'graph() return hash (annual)'
# at t/23graph.t line 69.
# Compared $data->[0]
# got : 'bytesIn min -nan'
# expect : 'bytesIn min nan'
# Failed test 'graph() return hash (3years)'
# at t/23graph.t line 69.
# Compared $data->[0]
# got : 'bytesIn min -nan'
# expect : 'bytesIn min nan'
# Failed test 'graph() return hash (monthly)'
# at t/23graph.t line 69.
# Compared $data->[0]
# got : 'bytesIn min -nan'
# expect : 'bytesIn min nan'
# Looks like you failed 6 tests of 226.
t/23graph.t ........................ Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/226 subtests
t/24retention_period.t ............. ok
t/25info.t ......................... ok
t/26add_source.t ................... ok
t/27rename_source.t ................ ok
t/28heartbeat.t .................... ok
t/29on_missing_ds.t ................ ok
t/30assume_rrd_filename.t .......... ok
t/31create_assume_rrd_filename.t ... ok
t/32exported_function_interface.t .. 1/12
# Failed test 'info rra'
# at t/32exported_function_interface.t line 60.
# Comparing hash keys of $data->[0]
# Extra: 'cur_row'
# Looks like you failed 1 test of 12.
t/32exported_function_interface.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests
t/33correct_spelling.t ............. ok
t/34populate_test_data.t ........... ok
t/35average_hrule.t ................ ok
t/36no_sources.t ................... ok
Test Summary Report
-------------------
t/23graph.t (Wstat: 1536 Tests: 226 Failed: 6)
Failed tests: 37-38, 121-123, 174
Non-zero exit status: 6
t/32exported_function_interface.t (Wstat: 256 Tests: 12 Failed: 1)
Failed test: 7
Non-zero exit status: 1
Files=20, Tests=6864, 9 wallclock secs ( 0.84 usr 0.10 sys + 7.06 cusr 1.07 csys = 9.07 CPU)
Result: FAIL
Failed 2/20 test programs. 7/6864 subtests failed.
Code: Select all
uname -a
mount -l
cat /usr/local/nagiosxi/var/xiversion|grep full
yum list installed | grep rrd
cpan -l | grep RRD