rwellens/nagios-cfg

Manipulate nagios .cfg

v1.0.2 2018-12-06 09:21 UTC

This package is auto-updated.

Last update: 2024-12-07 00:50:46 UTC


README

$converter = new \NagiosCfg\Converter();
$file = 'tests/_data/cfg/test_nagios2.cfg';

$array = $converter->cfgFileToArray($file);

$cfgString = $converter->arrayToCfgString($array);