Infoblox::DTC::Server::Monitor - A DTC Server Monitor object.
The DTC Server Monitor object is used to configure DTC Health Monitor for the particular DTC Server.
my $server_monitor = Infoblox::DTC::Server::Monitor->new( monitor => $tcp_monitor | $icmp_monitor | $snmp_monitor | $sip_monitor | $pdp_monitor | $http_monitor, #Required host => $fqdn | $ipaddr, #Optional / Default is undefined
The object does not support any session methods.
This section describes all the functions that you can apply to an DTC Server Monitor object.
Use this method to set or retrieve the list of DTC health monitors for the DTC Server. See Infoblox::DTC::Server->monitors() for parameters and return values.
#get monitors value my $monitors = $server->monitors();
#modify monitors value
#retrieve TCP monitor my $tcp_monitor = $session->get( object => 'Infoblox::DTC::Monitor::TCP', name => 'tcp_monitor', );
#construct DTC server monitor my $monitor = Infoblox::DTC::Server::Monitor->new( monitor => $tcp_monitor, host => '192.168.1.10', );
#modify monitors value $server->monitors([$monitor]);
This section describes all the methods that you can use to set or retrieve the attribute values of the object.
Use this method to set or retrieve the address that is a subject of the DTC health monitoring.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an IP address or FQDN in string format.
If you specified a parameter, the method returns 'true' when the modification succeeds, and returns 'false' when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get host value my $value = $object->host();
#Modify host value $object->host('1.1.1.1');
Use this method to set or retrieve the DTC Health Monitor used to monitor the DTC Server.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is one of following objects: Infoblox::DTC::Monitor::HTTP, Infoblox::DTC::Monitor::SIP, Infoblox::DTC::Monitor::PDP, Infoblox::DTC::Monitor::SNMP, Infoblox::DTC::Monitor::TCP or Infoblox::DTC::Monitor::ICMP.
Note that yo must first retrieve the Monitor object from the session.
If you specified a parameter, the method returns 'true' when the modification succeeds, and returns 'false' when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get monitor value my $value = $object->monitor();
#Retrieve TCP monitor my $tcp_monitor = $session->get( object => 'Infoblox::DTC::Monitor::TCP', name => 'tcp_monitor', );
#Modify monitor value $object->monitor($tcp_monitor);
Infoblox Inc. http://www.infoblox.com/
Infoblox::DTC::Server, Infoblox::DTC::Server->monitors(), Infoblox::DTC::Monitor::HTTP, Infoblox::DTC::Monitor::SIP, Infoblox::DTC::Monitor::PDP, Infoblox::DTC::Monitor::SNMP, Infoblox::DTC::Monitor::TCP, Infoblox::DTC::Monitor::ICMP.
Copyright (c) 2017 Infoblox Inc.