Help with Performance Graphs with Backend API
Posted: Fri Jun 15, 2012 3:17 pm
Hi,
I'd like to be able to use the Nagios XI Backend API to pull specific performance graphs.
Something like this url:
http:// mynagiosserver/nagiosxi/includes/components/perfdata/graphApi.php?host=RHBUILD64&service=CHECK_CPU&source=2&view=1&start=&end=&rand=1339785888
When I use that url:
http:// mynagiosserver/nagiosxi/backend/?cmd=pnpproxy&username=images&ticket=myticket&url=http://mynagiosserver/nagiosxi/includes ... 1339785888
It says I'm not logged in.
A previous TOPIC (http://support.nagios.com/forum/viewtop ... api#p13707) mentions that it is possible to pull performance graphs through the Backend API but no details as to how.
Other APIs are working such as getusers, getsysstat, etc... all work fine so I believe I have it configured properly.
Thanks for any help.
I'd like to be able to use the Nagios XI Backend API to pull specific performance graphs.
Something like this url:
http:// mynagiosserver/nagiosxi/includes/components/perfdata/graphApi.php?host=RHBUILD64&service=CHECK_CPU&source=2&view=1&start=&end=&rand=1339785888
When I use that url:
http:// mynagiosserver/nagiosxi/backend/?cmd=pnpproxy&username=images&ticket=myticket&url=http://mynagiosserver/nagiosxi/includes ... 1339785888
It says I'm not logged in.
A previous TOPIC (http://support.nagios.com/forum/viewtop ... api#p13707) mentions that it is possible to pull performance graphs through the Backend API but no details as to how.
Other APIs are working such as getusers, getsysstat, etc... all work fine so I believe I have it configured properly.
Thanks for any help.