---
name: "log2ndo"
section: "1"
platform: "linux"
package: "ndoutils-common"
version: "1.4b9-1.1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/log2ndo"
---

# log2ndo(1)

Sends the contents of an archived Nagios or NetSaint log file.

## NAME

log2ndo - Sends the contents of an archived Nagios or NetSaint log file.

## 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.
