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?
Collect Data Setup
Re: Collect Data Setup
Does it have to be through the API?
The localhost object should be monitoring those metrics by default if you view the services for it.
You can use Configure > Configuration Wizards > Nagios XI to monitor other metrics as well.
Or you can install NCPA on the system and monitor it with the Linux Server or NCPA wizards.
The localhost object should be monitoring those metrics by default if you view the services for it.
You can use Configure > Configuration Wizards > Nagios XI to monitor other metrics as well.
Or you can install NCPA on the system and monitor it with the Linux Server or NCPA wizards.