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
| #!/usr/bin/env python3 | |
| # pylint: disable=invalid-name | |
| # pylint: enable=invalid-name | |
| """Munin plugin to monitor Knot DNS server. | |
| =head1 NAME | |
| knot - monitor Knot DNS server statistics |
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
| <?php | |
| if ( ! defined( 'WP_CLI' ) ) { | |
| print "Run with wp eval-file wp_collate.php\n"; | |
| exit; | |
| } | |
| global $wpdb, $table_prefix; | |
| $wp_config_path = \WP_CLI\Utils\locate_wp_config(); |