NAME

YATG::Store::RPC - Back-end module to store polled data over the network

DESCRIPTION

This module implements part of a callback handler used to store SNMP data to disk on a remote networked host.

There is not a lot to describe - it's a very lightweight call which throws data to an instance of YATG::Store::Disk on another system, so read the manual page for that module for more information.

You must of course configure yatg_updater with the location of the RPC service (see below).

Also see RPC::Serialized::Handler::YATG::Store for guidance on setting up the remote RPC server.

The parameter signature for the store subroutine is the same as that for YATG::Store::Disk::store().

CONFIGURATION

In the main yatg_updater configuration, you need to specify the location of the remote RPC service. Follow the example in the bundled yatg.yml example file.

You can also override some default settings of RPC::Serialized. For instance the default serializer is set to YAML::Syck so to change that try:

rpc_serialized_client_inet:
   data_serializer:
       serializer: 'JSON::Syck'

SEE ALSO

RPC::Serialized

AUTHOR

Oliver Gorwits <oliver.gorwits@oucs.ox.ac.uk>

COPYRIGHT & LICENSE

Copyright (c) The University of Oxford 2007. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA