Ubuntu Manpages

Octopussy::Contact

Octopussy Contact module

Create a new contact

Parameters:

\%conf - hashref of the new contact configuration

Remove the contact '$contact'

Parameters:

$contact - Name of the contact to remove

List()

Get list of contacts

Returns:

@contacts - Array of contact names

Get the XML filename for the contact '$contact'

Parameters:

$contact - Name of the contact

Returns:

$filename - Filename of the XML file for contact '$contact'

Get the configuration for the contact '$contact'

Parameters:

$contact - Name of the contact

Returns:

\%conf - Hashref of the contact configuration

Get the configuration for all contacts

Parameters:

$sort - selected field to sort configurations

Returns:

@configurations - Array of Hashref contact configurations

Reload_Sender_Configuration()

Sends 'HUP' signal to octo_sender in order to reload its Contacts configuration

Sebastien Thebert <octo.devel@gmail.com>