|
/sbin was not in the path so things like ifconfig used in *nix apps $SPLUNK_HOME/etc/apps/unix/bin/interfaces.sh is not reporting throughpout data. I tried Manager » Server controls Restart Splunk. Will I have to restart the process itself to get it to recognize /sbin is now in the PATH? Also, how can I more easily figure out when some *nix script is not working properly? Thanks |
|
So each script calls common.sh In common.sh we added
##########Add this
##########End Add
which created a debug file (for each script being run)
and within We ultimately stopped/restarted the splunk service and the new PATH got picked up. |