How to parse nagios status.dat file?

前端 未结 7 1145
一生所求
一生所求 2020-12-21 02:06

I\'d like to parse status.dat file for nagios3 and output as xml with a python script. The xml part is the easy one but how do I go about parsing the file? Use multi line re

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-21 02:23

    Pfft, get yerself mk_livestatus. http://mathias-kettner.de/checkmk_livestatus.html

提交回复
热议问题