Page 1 of 1

Custom API Endpoint on RHEL 7.2 is not active

Posted: Mon Oct 01, 2018 9:00 pm
by vikas.karandikar
Custom Endpoint is not found.

Nagios XI is installed on a VM running Red Hat Enterprise Linux Server release 7.2 (Maipo).
This VM is 64bit.
Installation is Manual.
No Gnome, No proxy, No SSL.
Created a custom api endpoint following instructions on page Custom API Endpoint in folder /usr/local/nagiosxi/html/includes/components/xxx.

when I invoke this endpoint using curl, i get an error
No Endpoint: <name of endpoint>

Thanks

Re: Custom API Endpoint on RHEL 7.2 is not active

Posted: Tue Oct 02, 2018 7:22 am
by scottwilkerson
Can you share the code you created? Also, can you confirm the directory structure where component is placed in
/usr/local/nagiosxi/html/includes/components/xxx
is your custom endpoint in the file named xxx.inc.php ?

Re: Custom API Endpoint on RHEL 7.2 is not active

Posted: Tue Oct 02, 2018 12:07 pm
by vikas.karandikar
Please close this ticket. File was secured incorrectly.