NAME

WebService::DNSMadeEasy::Monitor

SYNOPSIS

# Returns a L<WebService::DNSMadeEasy::Monitor> object
my $monitor = $record->get_monitor;

# actions
$monitor->update(...); # update some attributes
$monitor->disable;     # disable failover and system monitoring

# attributes
$monitor->data; # returns all attributes as a hashref
$monitor->auto_failover;
$monitor->contact_list_id;
$monitor->failover;
$monitor->http_file;
$monitor->http_fqdn;
$monitor->http_query_string;
$monitor->ip1;
$monitor->ip1_failed;
$monitor->ip2;
$monitor->ip2_failed;
$monitor->ip3;
$monitor->ip3_failed;
$monitor->ip4;
$monitor->ip4_failed;
$monitor->ip5;
$monitor->ip5_failed;
$monitor->max_emails;
$monitor->monitor;
$monitor->port;
$monitor->protocol_id;
$monitor->record_id;
$monitor->sensitivity;
$monitor->source;
$monitor->source_id;
$monitor->system_description;

# helpers
$monitor->ips();       # returns a list of the failover ips
$monitor->protocol();  # returns the protocol being monitored
                       #     protocol_id    protocol
                       #         1      =>    TCP
                       #         2      =>    UDP
                       #         3      =>    HTTP
                       #         4      =>    DNS
                       #         5      =>    SMTP
                       #         6      =>    HTTP

DESCRIPTION

This object represents DNS failover and system monitoring configuration.