Announcement

Collapse
No announcement yet.

Centreon REST API 404 Method not found

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Centreon REST API 404 Method not found

    Hi,

    I'm trying to use "hosts status" and "service status" paths from the REST API but I'm getting "404 Object not found" with "Method not found" message. I tried with Postman, Curl, and Python's requests.

    Here is an example of my curl requests:
    curl -s 'http://147.75.33.100:20016/centreon/api/index.php?object=centreon_realtime_hosts&action=li st&viewType=all&status=all' -H 'Content-Type: application/json' -H 'centreon-auth-token: NWFjYzc2YjM4M2RmNjEuMDM4MzY3NTM='

    curl -s 'http://147.75.33.100:20016/centreon/api/index.php?object=centreon_realtime_services&action =list&viewType=all&status=all' -H 'Content-Type: application/json' -H 'centreon-auth-token: NWFjYzc2YjM4M2RmNjEuMDM4MzY3NTM='


    Would love your help on the matter.

    Thank you,
    Shachar
Working...
X