Page 1 of 1
I want to convert status.dat file to json file
Posted: Mon Jul 29, 2019 1:02 am
by anjali
Hello Team,
I want to convert status.dat file to JSON because I want to read data from that file and render in my HTML page.
Re: I want to convert status.dat file to json file
Posted: Mon Jul 29, 2019 12:59 pm
by benjaminsmith
Hi
@anjali,
Here a few links to programs for converting status.dat to json. I did test the python program and it seems to be working as correctly. However, take a look a the Status JSON Generator as that script may be best suited to your requirements.
1. Status JSON Generator
https://exchange.nagios.org/directory/A ... or/details
2. Status2json.py
https://gist.github.com/alexwright/2541 ... us2json-py
Re: I want to convert status.dat file to json file
Posted: Sat Aug 03, 2019 12:53 am
by anjali
Thanks for your suggestion, it works for me.
Re: I want to convert status.dat file to json file
Posted: Mon Aug 05, 2019 8:40 am
by scottwilkerson
anjali wrote:Thanks for your suggestion, it works for me.
Great!
Locking