Pingdom::Client - a perl implementation of a client for the Pingdom REST API.
use Pingdom::Client; my $API = Pingdom::Client::->new({ 'username' => 'user', 'password' => 'pass', 'apikey' => 'key', }); print $API->contacts();
Returns a list of actions (alerts) that have been generated for your account.
Returns a list of the latest error analysis results for a specified check.
Returns the raw result for a specified error analysis. This data is primarily intended for internal use, but you might be interested in it as well. However, there is no real documentation for this data at the moment. In the future, we may add a new API method that provides a more user-friendly format.
Creates a new check with settings specified by provided parameters.
Deletes a check. THIS METHOD IS IRREVERSIBLE! You will lose all collected data. Be careful!
Returns a detailed description of a specified check.
Modify settings for a check. The provided settings will overwrite previous values. Settings not provided will stay the same as before the update. To clear an existing value, provide an empty value. Please note that you cannot change the type of a check once it has been created.
Pause or change resolution for multiple checks in one bulk call.
Returns a list overview of all checks.
Create a new contact.
Deletes a contact.
Modify a contact.
Returns a list of all contacts.
Returns information about remaining checks, SMS credits and SMS auto-refill status.
Returns a list of all Pingdom probe servers.
Get a reference of regions, timezones and date/time/number formats and their identifiers.
Returns a list of email report subscriptions.
Creates a new email report.
Delete an email report.
Modify an email report.
Returns a list of public (web-based) reports.
Activate public report for a specified check.
Deactivate public report for a specified check.
Returns a list of shared reports (banners).
Create a shared report (banner).
Delete a shared report (banner).
Return a list of raw test results for a specified check.
Get the current time of the API server.
Returns all account-specific settings.
Modify account-specific settings.
Performs a single test using a specified Pingdom probe against a specified target. Please note that this method is meant to be used sparingly, not to set up your own monitoring solution.
Get a summarized response time / uptime value for a specified check and time period.
Returns the average response time for each hour of the day (0-23) for a specific check over a selected time period. I.e. it shows you what an average day looks like during that time period.
Get a list of status changes for a specified check and time period.
Get the average response time and uptime for a list of intervals. Useful for generating graphs.
Get a list of probes that performed tests for a specified check during a specified period.
Perform a traceroute to a specified target from a specified Pingdom probe.
Dominik Schulz <dominik.schulz@gauner.org>
This software is copyright (c) 2012 by Dominik Schulz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pingdom::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pingdom::Client
CPAN shell
perl -MCPAN -e shell install Pingdom::Client
For more information on module installation, please visit the detailed CPAN module installation guide.