perl monitoring script times out and builds up if run via crontab
Hi there,
I need your help because usual call home monitoring script no longer works, my checks showed that issue loading one of ipmi_si module as I have no ipmi device currently enabled/installed,
sweetalabama:/home/maintenance # ps -ef|egrep perl
root 27614 1 8 12:09 pts/2 00:00:00 /opt/NBUAppliance/bin/perl -I /opt/NBUAppliance/scripts /opt/NBUAppliance/scripts/hwmon/scripts/disk_perf_check.pl
root 27618 1 0 12:09 pts/2 00:00:00 sh -c /opt/VRTSperl/bin/perl /opt/NBUAppliance/scripts/hwmon/monitoring.pl sweetalabama --cron --dontdisplay --outputXml --epoch 1657710577 --item all --object all --xmlFile /tmp/an8eooa28D.xml --skipXhost < /tmp/infile_YJm7DX > /tmp/outfile_qbvwul 2> /tmp/errfile_AoE6CH
root 27620 27618 7 12:09 pts/2 00:00:00 /opt/VRTSperl/bin/perl /opt/NBUAppliance/scripts/hwmon/monitoring.pl sweetalabama --cron --dontdisplay --outputXml --epoch 1657710577 --item all --object all --xmlFile /tmp/an8eooa28D.xml --skipXhost
root 27779 21119 0 12:09 pts/2 00:00:00 /bin/grep -E perl
stuck on:
root 32487 32407 0 12:30 pts/2 00:00:00 sh -c /sbin/modprobe ipmi_si; /sbin/modprobe ipmi_devintf; /sbin
root 32489 32487 0 12:30 pts/2 00:00:00 /sbin/modprobe ipmi_si
then kernel reports the below as it can't find no ipmi device as it simply does not exist:
Jan 12 05:17:10 sweetalabama kernel: ipmi_si: Trying "smic" at I/O port 0xca9
Jan 12 05:17:10 sweetalabama kernel: ipmi_si: Trying "bt" at I/O port 0xe4
Jan 12 05:17:10 sweetalabama kernel: ipmi_si: Unable to find any System Interface(s)
Jan 12 05:17:10 sweetalabama kernel: IPMI System Interface driver.
Jan 12 05:17:10 sweetalabama kernel: ipmi_si: Trying "kcs" at I/O port 0xca2
Any chance if you could guide me so that monitoring.pl or any other script works without checking for ipmi?
I have found something in monitoring.pl script here:
# This needs to be run before initialize as we need to get the config object
checkOptions();
# This is a special option which will not need ipmi to be initialized
# and will not be allowed to pass with any other option