Collect Data Setup
Posted: Wed Dec 08, 2021 2:54 pm
I currently have a running nagiosXI and am trying to simply get it to monitor its own CPU / Usage data. When I run: http://<Myhost>/nagiosxi/api/v1/objects/hoststatus?apikey=<MyAPIKey>&pretty=1 I get 4 records with all sorts of information but when I run: http://<Myhost>/nagiosxi/api/v1/objects/statehistory?apikey=<MyAPIKey>&pretty=1 I get "{
"recordcount": 0,
"stateentry": []
}"
Any idea how to set it up to collect cpu/usage data? so in this statehistory call I can get data of some kind?
"recordcount": 0,
"stateentry": []
}"
Any idea how to set it up to collect cpu/usage data? so in this statehistory call I can get data of some kind?