Page 2 of 2

Re: check_wmi_plus.pl -checkdrivesize no historic perf data

Posted: Mon Aug 16, 2021 9:26 am
by gsmith
HI

Do you happen to have the errors you are getting when you run:

Code: Select all

cpan -i RRD::Simple
Thanks

Re: check_wmi_plus.pl -checkdrivesize no historic perf data

Posted: Mon Aug 16, 2021 10:37 am
by mcapra
kgugerty wrote:So it seems like I may need to setup a chron job to run this script on a regular basis.
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.

Re: check_wmi_plus.pl -checkdrivesize no historic perf data

Posted: Tue Aug 17, 2021 9:48 am
by gsmith
HI

Do you happen to have the errors you are getting when you run:

Code: Select all

cpan -i RRD::Simple

Thanks

Re: check_wmi_plus.pl -checkdrivesize no historic perf data

Posted: Wed Aug 18, 2021 2:52 pm
by kgugerty
The results are as follows:

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.

Re: check_wmi_plus.pl -checkdrivesize no historic perf data

Posted: Thu Aug 19, 2021 1:16 pm
by gsmith
Thanks for the info, will start looking at it after our staff meeting.

Thx

Re: check_wmi_plus.pl -checkdrivesize no historic perf data

Posted: Thu Aug 19, 2021 3:21 pm
by gsmith
Hi,

Please provide me with the output of the following (use sudo if required):

Code: Select all

uname -a
mount -l
cat /usr/local/nagiosxi/var/xiversion|grep full
yum list installed | grep rrd
cpan -l | grep RRD
Also send me your System Profile please:

To send us your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.


Thanks