I am hoping to get pinger up and running within windows.
Can it work through a proxy?
I have created pinger.conf but within pinger overview I am not getting anything in the drop down list site: it only has "all sites"
guessing it will have a list of the sites you add to the pinger.conf site.
I have restarted splunk and modified the inputs.conf so it looks like:
[script://.\bin\heartbeat.py]
interval = 60
index = main
sourcetype = sla_heartbeat
source = sla_heartbeat
disabled = false
What am I missing. Is there a log file I can look into somewhere for more info.
Updated
Ok so with the new version of pinger released hours ago I now get errors in the splunkd.log
05-17-2012 10:30:29.195 +1000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\pinger\bin\heartbeat.py"" Traceback (most recent call last):
05-17-2012 10:30:29.195 +1000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\pinger\bin\heartbeat.py"" File "C:\Program Files\Splunk\etc\apps\pinger\bin\heartbeat.py", line 151, in
05-17-2012 10:30:29.195 +1000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\pinger\bin\heartbeat.py"" print dt.strftime("%Y-%m-%d %H:%M:%S") + " site=" + uselabel + " domain=" + settings["host"] + " resource=" + useresource + " location=" + location + " status=" + code + " connect_time=" + str(cdelta.seconds) + "." + str(cdelta.microseconds) + " request_time=0.0 bytes=0 dns=0.0 prod=" + prod + " ext=" + ext + " message=\"" + msg + "\""
05-17-2012 10:30:29.195 +1000 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\pinger\bin\heartbeat.py"" NameError: name 'dt' is not defined
05-17-2012 10:30:29.195 +1000 INFO ExecProcessor - Ran script: python "C:\Program Files\Splunk\etc\apps\pinger\bin\heartbeat.py", took 10.92 seconds to run, 0 bytes read, exited with code 1
... View more