rwellens/nagios-dat

Read nagios status.dat informations

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rwellens/nagios-dat

v1.1.3 2019-01-17 17:15 UTC

This package is auto-updated.

Last update: 2025-09-18 08:20:11 UTC


README

$statusFile = "nagios/status.dat";

$datIterator = new DatIterator($statusFile);
$datParser = new DatParser($datIterator);

header("Content-type: application/json");


echo(json_encode($datParser->toArray()));