Coder Social home page Coder Social logo

go-pingdom's People

Contributors

billtrust-tbartolucci avatar chenrui333 avatar cryptobioz avatar fordodone avatar henrytk avatar jamesonjlee avatar jbrandstetter avatar jeremy-clerc avatar joshsouza avatar justincmoy avatar kamermans avatar keymon avatar partamonov avatar pmoncadaisla avatar radeksimko avatar russellcardullo avatar saliceti avatar shaunthium avatar simonjohansson avatar tbartolucci avatar xh3b4sd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-pingdom's Issues

Tests are broken for TestCheckServiceList

--- FAIL: TestCheckServiceList (0.00s)
	check_test.go:145: ListChecks returned [{ID:85975 Name:My check 1 Resolution:1 SendToAndroid:false SendToEmail:false SendToIPhone:false SendToSms:false SendToTwitter:false SendNotificationWhenDown:0 NotifyAgainEvery:0 NotifyWhenBackup:false Created:0 Hostname:example.com Status:up LastErrorTime:1297446423 LastTestTime:1300977363 LastResponseTime:355 Paused:false ContactIds:[] IntegrationIds:[] Type:{Name:http HTTP:<nil>} Tags:[{Name:apache Type:a Count:2}]} {ID:161748 Name:My check 2 Resolution:5 SendToAndroid:false SendToEmail:false SendToIPhone:false SendToSms:false SendToTwitter:false SendNotificationWhenDown:0 NotifyAgainEvery:0 NotifyWhenBackup:false Created:0 Hostname:mydomain.com Status:up LastErrorTime:1299194968 LastTestTime:1300977268 LastResponseTime:1141 Paused:false ContactIds:[] IntegrationIds:[] Type:{Name:ping HTTP:<nil>} Tags:[{Name:nginx Type:u Count:1}]} {ID:208655 Name:My check 3 Resolution:1 SendToAndroid:false SendToEmail:false SendToIPhone:false SendToSms:false SendToTwitter:false SendNotificationWhenDown:0 NotifyAgainEvery:0 NotifyWhenBackup:false Created:0 Hostname:example.net Status:down LastErrorTime:1300527997 LastTestTime:1300977337 LastResponseTime:800 Paused:false ContactIds:[] IntegrationIds:[] Type:{Name:http HTTP:<nil>} Tags:[{Name:apache Type:a Count:2}]}], want [{ID:85975 Name:My check 1 Resolution:1 SendToAndroid:false SendToEmail:false SendToIPhone:false SendToSms:false SendToTwitter:false SendNotificationWhenDown:0 NotifyAgainEvery:0 NotifyWhenBackup:false Created:0 Hostname:example.com Status:up LastErrorTime:1297446423 LastTestTime:1300977363 LastResponseTime:355 Paused:false ContactIds:[] IntegrationIds:[] Type:{Name:http HTTP:<nil>} Tags:[{Name:apache Type:a Count:2}]} {ID:161748 Name:My check 2 Resolution:5 SendToAndroid:false SendToEmail:false SendToIPhone:false SendToSms:false SendToTwitter:false SendNotificationWhenDown:0 NotifyAgainEvery:0 NotifyWhenBackup:false Created:0 Hostname:mydomain.com Status:up LastErrorTime:1299194968 LastTestTime:1300977268 LastResponseTime:1141 Paused:false ContactIds:[] IntegrationIds:[] Type:{Name:ping HTTP:<nil>} Tags:[{Name:nginx Type:u Count:1}]} {ID:208655 Name:My check 3 Resolution:1 SendToAndroid:false SendToEmail:false SendToIPhone:false SendToSms:false SendToTwitter:false SendNotificationWhenDown:0 NotifyAgainEvery:0 NotifyWhenBackup:false Created:0 Hostname:example.net Status:down LastErrorTime:1300527997 LastTestTime:1300977337 LastResponseTime:800 Paused:false ContactIds:[] IntegrationIds:[] Type:{Name:http HTTP:<nil>} Tags:[{Name:apache Type:a Count:2}]}]

Probes requests

As from time to time we need to get list of IPs of pingdom servers, I want to add /probes to the client.

Let me know if you work on that already.

Check update have required parameter.

Check update have required parameter. Based on Pingdom documentation there is no mandatory parameters.

Now pingdom.Checks.Update(id, check) fails with errors from Valid() like

2018/05/03 10:15:44 Invalid value for `Name`.  Must contain non-empty string

Can't include as a dependency when using dep

Sorry if this is an obvious issue on my end. I am new to Go dep.
Solving failure: No versions of github.com/russellcardullo/go-pingdom met constraints: master: Could not introduce github.com/russellcardullo/go-pingdom@master, as its subpackage github.com/russellcardullo/go-pingdom does not contain usable Go code (*build.NoGoError).. (Package is required by (root).) gomod: Could not introduce github.com/russellcardullo/go-pingdom@gomod, as its subpackage github.com/russellcardullo/go-pingdom does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)

Create HTTPCHECK with HTTPS protocol

Hi All,
How one should create a new httpcheck but, with support for https protocol.
I tried this with no help, I got an HTTP check:

	 newCheck := pingdom.HttpCheck{
	 	Name: ing.Name,
	 	Hostname: ing.Spec.Rules[0].Host,
	 	Port: 443,
		Resolution: 5,
	 }
	 check, err := client.Checks.Create(&newCheck)

Thanks in advance!

Allow custom http.Client

Allow the consumer of this package to use a custom http.Client instance with a custom timeout rather than using the default client.

Teams Service

Please let me know if anyone is busy with adding Teams Service to the client.

I wanna do that shortly, if there are no objections

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.