This file contains 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
SAVEPOINT | |
Time: 0.144 ms | |
CREATE INDEX | |
Time: 1440.867 ms | |
CREATE INDEX | |
Time: 1030.121 ms | |
CREATE INDEX | |
Time: 1377.586 ms | |
CREATE INDEX | |
Time: 1105.998 ms |
This file contains 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
in cacti::client: | |
@@exec { "add-device_${hostname}": | |
command => "/usr/bin/php /var/www/localhost/htdocs/cacti/cli/add_device.php --description=${hostname} --ip=${ipaddress_eth1} --template=3", | |
tag => "add-cacti-device" | |
} | |
in cacti::server: | |
Exec <<| tag == "add_cacti_device" |>> |
This file contains 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
+=item B<Version 2.5.3> (December 17, 2008) | |
+ | |
+ Minor fix to regex in verify_version (Lee Jensen) | |
+ |
This file contains 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
echo 1:2:3:4 | awk -F: '{prog = "/tmp/test " $3; while ((prog|getline output) > 0); print $1, $2, output; close(prog) }' | |
------------ | |
/tmp/test: | |
------------ | |
#!/bin/sh | |
echo "${1}567" |
This file contains 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
Release 8.3.6 | |
Release date: 2009-02-02 | |
This release contains a variety of fixes from 8.3.5. For information | |
about new features in the 8.3 major release, see the Section called | |
Release 8.3. | |
__________________________________________________________________ | |
Migration to Version 8.3.6 |
This file contains 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
cat /tmp/checkV0m0Am | |
### Active Check Result File ### | |
file_time=1234341240 | |
### Nagios Service Check Result ### | |
# Time: Wed Feb 11 08:34:00 2009 | |
host_name=ey02-s00257 | |
service_description=NRPE | |
check_type=0 |
This file contains 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
[pid 21800] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 | |
[pid 21800] open("/tmp/checkavr0t7", O_RDWR|O_CREAT|O_EXCL, 0600) = 628 | |
[pid 21800] open("/var/nagios/bin/checks/check_nrpe", O_RDONLY) = 629 | |
Process 28398 attached (waiting for parent) | |
Process 28398 resumed (parent 21800 ready) | |
[pid 28397] execve("/bin/sh", ["sh"..., "-c"..., "/var/nagios/bin/checks/check_nrp"...], [/* 13 vars */]) = 0 | |
[pid 28397] access("/etc/ld.so.preload", R_OK <unfinished ...> | |
[pid 21800] stat("/etc/localtime", <unfinished ...> | |
[pid 28397] <... access resumed> ) = -1 ENOENT (No such file or directory) | |
[pid 21800] <... stat resumed> {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 |
This file contains 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
[pid 21800] open("/tmp/checkavr0t7", O_RDWR|O_CREAT|O_EXCL, 0600) = 628 | |
[pid 28398] rename("/tmp/checkavr0t7", "/var/nagios/spool/checkresults/cOhwjVo" <unfinished ...> | |
[pid 28398] unlink("/tmp/checkavr0t7" <unfinished ...> |
This file contains 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
command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ | |
define command{ | |
command_name check_nrpe_disk | |
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk -a $ARG1$ $ARG2$ $ARG3$ | |
} | |
define service { | |
contact_groups admins | |
retry_check_interval 1 |
This file contains 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
#!/bin/bash | |
echo "$(date) - check_nrpe $*" >> /tmp/nrpe_checks | |
/var/nagios/bin/checks/check_nrpe_orig $* | |
exit $? |
OlderNewer