to pull unique problem events. Could you please provide an example of how can I change the time period of results returned. the default seems last 24 hrs.
You should be able to with additional parameters to your uri. For simplicities sake, I would highly suggest running the query you want through a proxy like burp suite or owasp zap to get the exact string that is submitted without too much trouble. Otherwise here is a pretty complete list, and what a completed request looks like
host=
service=
search=Search...
reportperiod=[report time periods (not same as nagios TP)]
startdate=[yyyy-mm-dd]
enddate=[yyyy-mm-dd]
reporttimesubmitbutton=Go
hostgroup=
servicegroup=
statetype=[hard\soft]
page=[integer]
records=[integer]
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
I need to use this information with backend api and not 'statehistory.php'.
It seems 'statehistory.php' is ultimately using backend api after some param manipulation. It will be helpful to see the ultimate format of items I can use with backend api.
Out of curiosity is there a reason that you cannot call the php page and must use the backend call? Using the backend token, any page within XI can be called. Otherwise it will require a fair amount more digging before I would have an answer for you.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.