/trunk/vendor/composer/installed.json |
---|
350,12 → 350,12 |
"source": { |
"type": "git", |
"url": "https://github.com/danielmarschall/php_utils.git", |
"reference": "c8561e86a5233d3c93fb4520922666ee48ff615c" |
"reference": "06a97168b4b7a9726581decf7d75dc5b077b71a6" |
}, |
"dist": { |
"type": "zip", |
"url": "https://api.github.com/repos/danielmarschall/php_utils/zipball/c8561e86a5233d3c93fb4520922666ee48ff615c", |
"reference": "c8561e86a5233d3c93fb4520922666ee48ff615c", |
"url": "https://api.github.com/repos/danielmarschall/php_utils/zipball/06a97168b4b7a9726581decf7d75dc5b077b71a6", |
"reference": "06a97168b4b7a9726581decf7d75dc5b077b71a6", |
"shasum": "" |
}, |
"require": { |
362,7 → 362,7 |
"ext-zlib": "*", |
"php": ">=7.0" |
}, |
"time": "2023-09-15T11:34:16+00:00", |
"time": "2023-09-30T19:29:58+00:00", |
"default-branch": true, |
"type": "library", |
"installation-source": "dist", |
433,18 → 433,18 |
"source": { |
"type": "git", |
"url": "https://github.com/danielmarschall/vnag.git", |
"reference": "5cf9156274c2c9f51d4a6c054cca0852a71952a6" |
"reference": "672c22e9a02559529e8213e898e1115798969ea1" |
}, |
"dist": { |
"type": "zip", |
"url": "https://api.github.com/repos/danielmarschall/vnag/zipball/5cf9156274c2c9f51d4a6c054cca0852a71952a6", |
"reference": "5cf9156274c2c9f51d4a6c054cca0852a71952a6", |
"url": "https://api.github.com/repos/danielmarschall/vnag/zipball/672c22e9a02559529e8213e898e1115798969ea1", |
"reference": "672c22e9a02559529e8213e898e1115798969ea1", |
"shasum": "" |
}, |
"require": { |
"php": ">=7.0" |
}, |
"time": "2023-09-15T14:45:46+00:00", |
"time": "2023-10-01T22:59:15+00:00", |
"default-branch": true, |
"type": "library", |
"installation-source": "dist", |
/trunk/vendor/composer/installed.php |
---|
84,7 → 84,7 |
'danielmarschall/php_utils' => array( |
'pretty_version' => 'dev-master', |
'version' => 'dev-master', |
'reference' => 'c8561e86a5233d3c93fb4520922666ee48ff615c', |
'reference' => '06a97168b4b7a9726581decf7d75dc5b077b71a6', |
'type' => 'library', |
'install_path' => __DIR__ . '/../danielmarschall/php_utils', |
'aliases' => array( |
106,7 → 106,7 |
'danielmarschall/vnag' => array( |
'pretty_version' => 'dev-master', |
'version' => 'dev-master', |
'reference' => '5cf9156274c2c9f51d4a6c054cca0852a71952a6', |
'reference' => '672c22e9a02559529e8213e898e1115798969ea1', |
'type' => 'library', |
'install_path' => __DIR__ . '/../danielmarschall/vnag', |
'aliases' => array( |
/trunk/vendor/danielmarschall/php_utils/ipv6_functions.inc.php |
---|
574,8 → 574,8 |
# 2001:1800::1/21 |
# --> 2001:1800::/21 |
# 2001:1af8:4100:a061:0001::1337 |
# --> 2001:1af8:4100:a061:1::1337/128 |
# 2001:1af8:4900:a012:0002::1337 |
# --> 2001:1af8:4900:a012:2::1337/128 |
$ary = ipv6_cidr_split($ipOrCIDR); |
$ipOrCIDR = $ary[0]; |
742,13 → 742,13 |
assert(ipv6_distance('2001:1af8::/30', '2001:1af8::/29') == 1); |
assert(ipv6_distance('2001:1af8::/31', '2001:1af8::/29') == 2); |
assert(ipv6_distance('2001:1af8:4100:a061:0001::1336/127', '2001:1af8:4100:a061:0001::1335/127') === false); |
assert(ipv6_distance('2001:1af8:4100:a061:0001::1336/128', '2001:1af8:4100:a061:0001::1337/128') === false); |
assert(ipv6_distance('2001:1af8:4100:a061:0001::1336', '2001:1af8:4100:a061:0001::1337') === false); |
assert(ipv6_distance('2001:1af8:4900:a012:0002::1336/127', '2001:1af8:4900:a012:0002::1335/127') === false); |
assert(ipv6_distance('2001:1af8:4900:a012:0002::1336/128', '2001:1af8:4900:a012:0002::1337/128') === false); |
assert(ipv6_distance('2001:1af8:4900:a012:0002::1336', '2001:1af8:4900:a012:0002::1337') === false); |
*/ |
/* |
$test = '2001:1af8:4100:a061:0001::1337'; |
$test = '2001:1af8:4900:a012:0002::1337'; |
$x = ipv6_trackdown($test); |
foreach ($x as &$cidr) { |
$min = ipv6_cidr_min_ip($cidr); |
/trunk/vendor/danielmarschall/vnag/README.md |
---|
57,3 → 57,12 |
2. [Extended case](https://raw.githubusercontent.com/danielmarschall/vnag/master/doc/vnag_model_2.png "Extended case"): Nagios/CLI checks an object, and a user can additionally view the status in a web-browser |
3. [More extended case](https://raw.githubusercontent.com/danielmarschall/vnag/master/doc/vnag_model_3.png "More extended case"): Nagios/CLI checks an object, a user can additionally view the status in a web-browser, and another Nagios/CLI instance can remotely access the output of the primary Nagios/CLI |
Create your own plugins |
----------------------- |
To create your own plugins, you can look at the source codes of the existing plugins |
to get inspiration and use them as templates. |
Also, a small documentation is found at the beginning of the file **framework/vnag_framework.inc.php**. |
If you have created useful plugins, we would be happy if you could share them with us! |
/trunk/vendor/danielmarschall/vnag/TODO.md |
---|
1,9 → 1,4 |
Important |
--------- |
- New plugin: hp_ssa |
TODO |
---- |
/trunk/vendor/danielmarschall/vnag/framework/vnag_framework.inc.php |
---|
1,26 → 1,26 |
<?php /* <ViaThinkSoftSignature> |
BEVRboq5hkwbOT0Gkx96NQV+AryItRRkSW10PEkTSbC55Oe8geeNWyFnN0b2BZmYw |
Dbrw/pEuTs1J8Dyu0yEzZBu0JtxVRdgOtJJSMM9PM/FV+holxrFR8UALRJBL3Masp |
Dp/yCpP+R/X0osOMz+rKW+T3RfnwM4hQ+QyFlXy9wEYFhxUBVeoJZFvcFGGnWR8DT |
bQqKGdD+VIfQlX9FO0r93Z2xJVfGMZ+QSzh0+8yCGPJqI6yAS4YWjnygH+AxYuA/t |
R4hUG2bfbsQiEa2Ix8GlmvfCQ5mWhVgYkzSom1nAorhDnTZrXXhHbaMPIeMXyBxky |
bT6JGZV2VjWg6UqDZTPMlqAJ+QAQ+W9rJBCwtBIGUzokqYtAf+cW0+GRQSgz7G8NU |
hnKqzbsrn+ogfDA4PRP8P6IZI4qY9XcsMm6Kxw3Aw9wQ6qtkQwhu2ixrLUPjIYN4Y |
KFJuV4FIv2J5gHEtKclx1SrqewOoXcJ4kicrBT8rK4f7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mC2YKuTcsU3H4huzU3L3DlPFdo/kWxGw |
P9qHSDMANNVXkPPm9OL+MUq0f42uaVBZY7ylpvvnJyQYTj9Uk/tbsFqIQYUcESoO/ |
UHE2JPHs7GI7ByjsYdnIDRGmvREGbPrGCMx0VSQtN54Cc+FjWdClfZWEXznOOZRV9 |
Q== |
</ViaThinkSoftSignature> */ ?> |
<?php |
278,8 → 278,8 |
Reason: We believe that this guideline is contraproductive. |
Nagios plugins usually run as user 'nagios'. It is the task of the system administrator |
to ensure that the user 'nagios' must not read/write to files which are not intended |
for access by the Nagios service. Instead, symlinks are useful for several tasks. |
See also http://stackoverflow.com/questions/27112949/nagios-plugins-why-not-following-symlinks |
for access by the Nagios service. Symlinks, on the other hand, are useful for several tasks. |
See also https://stackoverflow.com/questions/27112949/nagios-plugins-why-not-following-symlinks |
VNag over HTTP: |
347,7 → 347,7 |
} |
abstract class VNag { |
/*public*/ const VNAG_VERSION = '2022-12-18'; |
/*public*/ const VNAG_VERSION = '2023-09-11'; |
// Status 0..3 for STATUSMODEL_SERVICE (the default status model): |
# The guideline states: "Higher-level errors (such as name resolution errors, socket timeouts, etc) are outside of the control of plugins and should generally NOT be reported as UNKNOWN states." |
/trunk/vendor/licenses |
---|
14,12 → 14,12 |
danielmarschall/oidconverter dev-master d9eb98e Apache-2.0 |
danielmarschall/php-sha3 9999999-dev 5605bd5 MIT |
danielmarschall/php-sha3 dev-master 5605bd5 MIT |
danielmarschall/php_utils 9999999-dev c8561e8 Apache-2.0 |
danielmarschall/php_utils dev-master c8561e8 Apache-2.0 |
danielmarschall/php_utils 9999999-dev 06a9716 Apache-2.0 |
danielmarschall/php_utils dev-master 06a9716 Apache-2.0 |
danielmarschall/uuid_mac_utils 9999999-dev ba81df1 Apache-2.0 |
danielmarschall/uuid_mac_utils dev-master ba81df1 Apache-2.0 |
danielmarschall/vnag 9999999-dev 5cf9156 Apache-2.0 |
danielmarschall/vnag dev-master 5cf9156 Apache-2.0 |
danielmarschall/vnag 9999999-dev 672c22e Apache-2.0 |
danielmarschall/vnag dev-master 672c22e Apache-2.0 |
dcodeio/bcrypt.js master master BSD-3-Clause, MIT |
emn178/js-sha3 master master MIT |
firebase/php-jwt v5.5.1 BSD-3-Clause |