This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The host you are jumping through | |
Host jump.host | |
DynamicForward 127.0.0.1:1234 | |
# The hosts you want to ssh to | |
Host desired.host | |
ProxyCommand nc -x 127.0.0.1:1234 %h %p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm using puppet 3 with roles (mostly), profiles, and hiera. In one module | |
(profiles::collectd) I use hiera_array to get the values for pdxcat/collectd's | |
module's tcpconns_localports variable. When I define all of the values I want | |
in hiera, everything is fine. However, I would like to also define values in a | |
profile's class rather than having to define it in every role's yaml file that | |
includes said profile. I haven't been able to get that to work yet. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi, | |
I've managed to cobble together an openldap plugin to monitor the various | |
counters from an openldap server. This is based mainly off of the apache and | |
mysql plugins. I am not a c programmer so apologies if the code is horrible. | |
Two things I need help on are: | |
1) Initializing the global ldap options. I don't know where this would go. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdio.h" | |
#include "stdlib.h" | |
#include "apr.h" | |
#include "apr_network_io.h" | |
#include "apr_strings.h" | |
#include "apr_tables.h" | |
int main(void) { |