Collect Data Setup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lucas.shearer
Posts: 17
Joined: Fri Nov 19, 2021 12:00 pm

Collect Data Setup

Post by lucas.shearer »

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?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Collect Data Setup

Post by ssax »

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.
Locked