GithubHelp home page GithubHelp logo

Comments (3)

sschwartzman avatar sschwartzman commented on June 2, 2024

Hi @alexandrudu, as this 'agent' simply uses the Insights REST API to post events, this error would indicate that it had some connectivity issues back to the mothership. I looked into it and there weren't any outages during this time, so I am unsure as to what could have caused it. Is it possible that there was a networking issue on your end?

I don't know that's there's much we can do posthumously about it, other than that the next time you see this error, to report it immediately to Support. That this particular agent is unsupported, you would need to indicate to them not that it's an error with the agent, but that you are having general connectivity issues to the Insights REST endpoint. So when it does happen, you could do a simple REST POST from any of these boxes to the Insights endpoint to test connectivity, and if it fails, then you have something you can go to Support with.

Here's a sample payload (save as example_events.json):
[ { "eventType":"TestEvent", "account":3, "amount":259.54 }, { "eventType":"TestEvent", "account":5, "amount":12309, "product":"Item" } ]

Here's a sample curl command to run for testing (replace the insert key and your account ID accordingly):
gzip -c example_events.json | curl -X POST -H "Content-Type: application/json" -H "X-Insert-Key: YOUR_KEY_HERE" -H "Content-Encoding: gzip" https://insights-collector.newrelic.com/v1/accounts/YOUR_ACCOUNT_ID/events --data-binary @-

Does that work for you?

from newrelic-unix-monitor.

alexandrudu avatar alexandrudu commented on June 2, 2024

K thank you for the quick answer. I know how to post an event to insights as i am already doing so with some other custom events.... but i will try to investigate more on my end... Those servers have lots of apps running on the and none went down during that time... i also asked newrelic if they had any issues with insights during that time and they said no.... as mentioned its the first time it happens ... if i find the root cause of it i will post it here for others... thx again.

from newrelic-unix-monitor.

sschwartzman avatar sschwartzman commented on June 2, 2024

Thanks for understanding. I will close this out for now, if you find something in your poking around that indicates an issue with the agent itself, please let me know and we will dive into it.

from newrelic-unix-monitor.

Related Issues (20)

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.