LukeMurphey / splunk-website-monitoring

A website for monitoring web applications
MIT License
44 stars 20 forks source link

change isAlive(), which was removed in python 3.9, to is_alive() #59

Closed js-onelogos closed 2 weeks ago

js-onelogos commented 1 month ago

Monitoring was broken after updating splunk. Searching index=_internal (sourcetype=web_availability_modular_input ERROR) revealed error due to isAlive() call, which was removed in Python 3.9 I edited my local copy of $SPLUNK_HOME/etc/apps/website_monitoring/bin/web_ping.py to change isAlive() to is_alive(), deactivated and reactivated the website monitoring app and it was functional again.