Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protocols Solaris compilation fixes #27

Open
wants to merge 3 commits into
base: ci/protocols
Choose a base branch
from

Conversation

icosmin
Copy link

@icosmin icosmin commented Mar 20, 2012

Hello,

I have fixed the compilation problems on Solaris. Also, I have added a function called get_kstat_value_to_string which essentially dumps kstat name/value pairs. I used it in the protocols module to called all possible stat/value pairs.

Regards,
Cosmin Ioiart

icosmin added 3 commits March 20, 2012 09:34
Enabled Solaris plugins for kstat
kstat_value_to_string returns the value of a kstat in char format.
It is useful when we want all the values and don't necessarily know the name of the field (similar to a dump). The stats are returned in 2 char arrays, one for the names of the stats and one for their respective values.
octo pushed a commit that referenced this pull request Aug 11, 2016
The old way of detecting libpython was unreliable and did not work on
OS X.

Instead use python-config which was introduced in python 2.6.

For older versions of python you can still set PYTHON_CPPFLAGS and
PYTHON_LDFLAGS on the ./configure command line.

By default we look for python3-config, python2-config and last
python-config. The path to python-config can be overriden by setting
PYTHON_CONFIG.

Fixes collectd#888 and #27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant