Free Reliable Website Monitoring software by Freshworks
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
With the Freshping API, you can build a monitoring system for your website or
application. You can use it to track the uptime and response time of your site
or application, as well as to monitor the status of yourFreshping checks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshping: {
type: "app",
app: "freshping",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.freshping.io/api/v1/checks/`,
auth: {
username: `${this.freshping.$auth.api_key}`,
password: `${this.freshping.$auth.subdomain}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})