Skip to content

krobertson71/ncpa

 
 

Repository files navigation

Nagios Cross Platform Agent (NCPA)

The awesome NCPA agent - one agent to rule them all.

Downloading NCPA

Download from the Nagios Official Builds

We currently build for Windows, Mac OS X, CentOS 5/6/7, Debian/Ubuntu, and OpenSUSE 12/13. If your operating system of choice is not on the list and none of the builds work for you, then you can request it to be added here at GitHub.

Building NCPA

While we recommend using our pre-built solutions above, if you'd like to build NCPA yourself there are a few things you may run into that can cause problems with your build.

There are known build issues involving cx_Freeze, if you run into an issue refer to the bug report on the cx_Freeze project bug page.

RPM Build Location Errors

This is most relevant for CentOS 5 and for OpenSUSE 12/13 but may occur on other systems.

If you get an error about not finding the .tar in the RPM build location you will need to create an .rpmmacros file in your home directory for the user you are building with that contains these three lines:

%_topdir %(echo $HOME)/rpmbuild
%_smp_mflags -j3
%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot

Building on CentOS 5 and Mac OS X

Building on CentOS 5 and Mac OS X requires pyOpenSSL v0.12 instead of v0.13. In order to get ncpa to build you must change the requirements.txt file's pyOpenSSL requirement line to:

pyOpenSSL==0.12

This should then allow ncpa to be built granting you have already installed all required dependencies.

About

The awesome NCPA agent - one agent to rule them all

Resources

License

Stars

Watchers

Forks

Packages

No packages published