Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
API problem "No agents retrieved."
#1
I'm trying to get information via pandorafms API. My objective to get agents which are critical or normal state. I'm using the following API to get required information.

https://<server URL>/include/api.php?op=get&op2=all_agents&return_type=csv&other=|<group id>|<module state>|||~&other_mode=url_encode_separator_|&apipass=<password>&user=<username>&pass=<password>

As long as i don't configure alerts, above api will output agents are in normal or critical state depending on what i use as <module state>.

But after i configure alerts to trigger on critical state, i can only get agents which are "normal". Alert fired agents won't be retrieved with <module state> either critical or alert_fired. only response i get is "No agents retrieved."

Is this a bug in PandoraFMS?

I'm using Pandora FMS v7.0NG.744 - Build PC200303 - MR 36.
 Reply
Messages In This Thread
API problem "No agents retrieved." - by chathura - 04-15-2020, 07:27 AM


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