8000 Adds IPC Plugin with documentation by ajdiaz · Pull Request #925 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Adds IPC Plugin with documentation #925

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

Merged
merged 3 commits into from
Apr 8, 2015
Merged

Conversation

ajdiaz
Copy link
Contributor
@ajdiaz ajdiaz commented Feb 3, 2015

The IPC module allows collectd to gather information about process IPC
mechanims, like used semaphores, size of shared memory segments and so
on...

This is an old module which was missing during the big refactor waiting for
rebasing the current master. I hope that this new PR can be merged 😃

@ajdiaz
Copy link
Contributor Author
ajdiaz commented Feb 3, 2015

By the way, the old PR was #463

8000

shm_bytes_rss    value:GAUGE:0:65535
shm_bytes_swapped  value:GAUGE:0:65535
shm_bytes_total    value:GAUGE:0:65535
shm_segments    value:GAUGE:0:65535

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ajdiaz we're trying to avoid infinite multiplication of the amount of entries in types.db. Would it be possible in some of the cases above to use type-instances to existing types (or to a reduced amount of new types) ? Thanks !

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will refactor the code to use less types and and will update the PR soon :)

@ajdiaz
Copy link
Contributor Author
ajdiaz commented Feb 24, 2015

@mfournier, changes done :)

Now uses a combination of plugin_instance and type_instance to avoid create a number of types in types.db, but "segments" one still necessary (I can't find another with similar meaning).

Andrés J. Díaz added 3 commits February 25, 2015 14:01
The IPC module allows collectd to gather information about process IPC
mechanims, like used semaphores, size of shared memory segments and so
on...
Now the IPC plugin uses a combination of plugin_instance and type_instance
to avoid creation of types.db. Just "segments" type is needed now.
@@ -5158,6 +5158,7 @@ then
plugin_entropy="yes"
plugin_fscache="yes"
plugin_interface="yes"
plugin_ipc="yes"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this plugin seems to also work in AIX, would you like to add it below (around line 5200) to build it by default on this platform ?

@mfournier
Copy link

Globally I find this plugin nice and useful. Postgresql users will love it!

👍 for inclusion (barring the couple of open questions).

Can someone else take a look please ?

@mfournier mfournier added this to the 5.5 milestone Mar 6, 2015
@mfournier
Copy link

oops @ajdiaz I realize I didn't hilight you in my comments last week. Just wanted to make sure you've seen them.

@@ -2326,6 +2326,12 @@ other interfaces are collected.

=back

=head2 Plugin C<ipc>

The I<IPC plugin> allows to B<collectd> to gather information about
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra "to" - The IPC plugin allows collectd to gather...

@mfournier mfournier merged commit 42af0f2 into collectd:master Apr 8, 2015
@mfournier
Copy link

Thanks a lot @ajdiaz ! The ipc plugin will be part of collectd 5.5.

@ajdiaz ajdiaz deleted the ajdiaz/ipc branch April 15, 2015 10:54
@ajdiaz
Copy link
Contributor Author
ajdiaz commented Apr 15, 2015

Thanks for the merge @mfournier, sorry to not reply before, I was on vacation without much internet access :)

@mfournier
Copy link

Thanks to you for your patience and for this nice plugin @ajdiaz :-)

FYI the small changes I added on top of your patchet: cfe801c...a4cd2c3
Please complain loudly if you disagree !

I was also wondering if you'd care switching the licence to MIT (like most of the new plugins) ?

@ajdiaz
Copy link
Contributor Author
ajdiaz commented Apr 20, 2015

@mfournier The changes are fine for me :)
About the license, I've no problems to change the plugin license to MIT, but part of the plugin is based to busybox ipc.c, which is GPLv2, so I think that it could be better if we keep the GPL license. What do you think about that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0