Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
API call to get overall status ?
#1
Hi,
I want to drive an external traffic light, that will light up red/amber/green LEDs based on the overall status of Pandora.
Is there an API call that will return the over all percentage of Normal, Warning & Critical Modules or Agents, similar to the percentage bars in the default Group View ?
i.e. if normal = 100% the traffic light will be green. If normal < 100%, and critical = 0%, the traffic light will be Amber, and if normal < 100% and Critical > 0% the traffic light will be Red.
I will notice the lights change colour in my office, before I have to check my email and the web site.
Are there any API calls that would give me an overall high level status ? Rather than me having to call all the Agents individually through the API and do the maths myself in a script ?
I looked but I couldn't find one ?
Thanks
Jon.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes