SYNOPSIS

log2ndo -s <source> -d <dest> -i <instance> [-t <type>] [-p <port>]

DESCRIPTION

Sends the contents of an archived Nagios or NetSaint log file to STDOUT, a TCP socket, or a Unix domain socket in a format that is understood by the NDO2DB daemon.

<source> Name of the Nagios/NetSaint log file to read from.

<dest> If destination is a TCP socket, the address/hostname to connect to.

         If destination is a Unix domain socket, the path to the socket.
         If destination is STDOUT (for redirection, etc), a single dash (-).

<type> Specifies the type of destination socket.

         Valid values include: tcp unix (default)

<port> Port number to connect to if destination is TCP socket.