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 FilesSplunketcappspingerbinheartbeat.py"" Traceback (most recent call last): 05-17-2012 10:30:29.195 +1000 ERROR ExecProcessor - message from "python "C:Program FilesSplunketcappspingerbinheartbeat.py"" File "C:Program FilesSplunketcappspingerbinheartbeat.py", line 151, in <module> 05-17-2012 10:30:29.195 +1000 ERROR ExecProcessor - message from "python "C:Program FilesSplunketcappspingerbinheartbeat.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 FilesSplunketcappspingerbinheartbeat.py"" NameError: name 'dt' is not defined 05-17-2012 10:30:29.195 +1000 INFO ExecProcessor - Ran script: python "C:Program FilesSplunketcappspingerbinheartbeat.py", took 10.92 seconds to run, 0 bytes read, exited with code 1
OK , did you succeeded in running the script manually via the CLI splunk cmd python .bin\heartbeat.py maybe that will give you some errors to follow on ...
answered 15 May '12, 23:20
Hi! I'm Paul and Pinger is my creation.
I included Windows directions in the README.txt in the app root but I'll paste the net here:
Sorry for the confusion! I'll try to find a way to make that more visible.
Also, the list of sites will populate within one hour. You can run the saved search "pinger_populate_sites" manually if you want it to populate before that. It builds a lookup table to populate the dropdown much more quickly.
How do you run saved search "pinger_populate_sites"? I notice with WebMon the saved searches are added as a link in the app portal. I am new to Splunk and exploring some of the features. So I apologize for my ignorance :)
Update: I found it under "Searches and Reports" when clicking "Manager" link at the top right. But it doesn't update the list :P
Survey for messengers – Chance to win iPad mini Are you using a messenger such as Skype, Whatsapp, pinger etc.? One lucky respondent will win an iPad (mini)! This is not spam – you can contact us directly: Gleb Zhukov at email@example.com. Please follow the link for the survey: https://www.surveymonkey.com/s/5KC7T33
answered 14 Dec '12, 05:34