[EMAIL PROTECTED]:~$ cd /usr/lib/nagios/plugins/ [EMAIL PROTECTED]:/usr/lib/nagios/plugins$ file check_mysql check_mysql: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped [EMAIL PROTECTED]:/usr/lib/nagios/plugins$ ldd check_mysql /lib/libsafe.so.2 => /lib/libsafe.so.2 (0x40019000) libnsl.so.1 => /lib/tls/libnsl.so.1 (0x40023000) libresolv.so.2 => /lib/tls/libresolv.so.2 (0x40038000) libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0x4004a000) libc.so.6 => /lib/tls/libc.so.6 (0x40088000) libdl.so.2 => /lib/tls/libdl.so.2 (0x401bd000) libz.so.1 => /usr/lib/libz.so.1 (0x401c0000) libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0x401d2000) libm.so.6 => /lib/tls/libm.so.6 (0x40200000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
$ cat /etc/nsswitch.conf # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat group: compat shadow: compat hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis Strace and ltrace files attached. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Alan Schwartz | Disclaimer: I represent no one <[EMAIL PROTECTED]> | Associate Professor |Life is what happens to you while Department of Medical Education | you're busy making other plans University of Illinois at Chicago | - J. Lennon -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
execve("./check_mysql", ["./check_mysql", "-H", "128.248.90.226", "-u", "nagiostest"], [/* 17 vars */]) = 0 uname({sys="Linux", node="langit", ...}) = 0 brk(0) = 0x804d000 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.preload", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=18, ...}) = 0 old_mmap(NULL, 18, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x40018000 close(3) = 0 open("/lib/libsafe.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\17"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=21708, ...}) = 0 old_mmap(NULL, 19912, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000 old_mmap(0x4001d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3000) = 0x4001d000 close(3) = 0 munmap(0x40018000, 18) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=17823, ...}) = 0 old_mmap(NULL, 17823, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 <\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=73304, ...}) = 0 old_mmap(NULL, 80544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40023000 old_mmap(0x40034000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x40034000 old_mmap(0x40035000, 6816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40035000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libresolv.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220)\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=64924, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40037000 old_mmap(NULL, 73640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40038000 old_mmap(0x40047000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x40047000 old_mmap(0x40048000, 8104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40048000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/libmysqlclient.so.12", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\217"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=243592, ...}) = 0 old_mmap(NULL, 252608, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004a000 old_mmap(0x4006f000, 94208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x25000) = 0x4006f000 old_mmap(0x40086000, 6848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40086000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1254660, ...}) = 0 old_mmap(NULL, 1264972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40088000 old_mmap(0x401b2000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x129000) = 0x401b2000 old_mmap(0x401bb000, 7500, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401bb000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=9872, ...}) = 0 old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401bd000 old_mmap(0x401bf000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x401bf000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/libz.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\27"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=67468, ...}) = 0 old_mmap(NULL, 70528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401c0000 old_mmap(0x401d1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10000) = 0x401d1000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libcrypt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\t\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=18876, ...}) = 0 old_mmap(NULL, 181692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401d2000 old_mmap(0x401d7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x401d7000 old_mmap(0x401d8000, 157116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401d8000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\00005\0\000"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=134496, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401ff000 old_mmap(NULL, 136976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40200000 old_mmap(0x40221000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x40221000 close(3) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40222000 set_thread_area({entry_number:-1 -> 6, base_addr:0x40222080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0x4001e000, 17823) = 0 readlink("/proc/self/exe", "/usr/lib/nagios/plugins/check_mysql", 4095) = 35 brk(0) = 0x804d000 brk(0x806e000) = 0x806e000 open("/etc/libsafe.exclude", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1384816, ...}) = 0 mmap2(NULL, 1384816, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40223000 close(3) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40376000 read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40376000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=17823, ...}) = 0 old_mmap(NULL, 17823, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40376000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/i686/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/i686/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/i686/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/i686", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/tls/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/tls/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/tls/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0 open("/lib/i686/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/i686/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/i686/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/i686/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/i686/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/i686", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib", {st_mode=S_IFDIR|0755, st_size=5120, ...}) = 0 open("/usr/lib/tls/i686/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686/cmov", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/lib/mmx/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/mmx/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/mmx", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/cmov/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/cmov", 0xbffff0a8) = -1 ENOENT (No such file or directory) open("/usr/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 munmap(0x40376000, 17823) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=17823, ...}) = 0 old_mmap(NULL, 17823, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40376000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/libnss_files.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\35"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=34748, ...}) = 0 old_mmap(NULL, 38044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4037b000 old_mmap(0x40384000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x40384000 close(3) = 0 munmap(0x40376000, 17823) = 0 open("/etc/services", O_RDONLY) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=17571, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40376000 read(3, "# Network services, Internet sty"..., 4096) = 4096 read(3, "zis\t\t206/udp\nqmtp\t\t209/tcp\t\t\t\t# "..., 4096) = 4096 read(3, "usnote\t1352/udp\tlotusnotes\nms-sq"..., 4096) = 4096 close(3) = 0 munmap(0x40376000, 4096) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) connect(3, {sa_family=AF_INET, sin_port=htons(3306), sin_addr=inet_addr("128.248.90.226")}, 16) = 0 setsockopt(3, SOL_IP, IP_TOS, [8], 4) = 0 setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 read(3, "G\0\0\0", 4) = 4 read(3, "\n4.1.11-Debian_4sarge4-log\0\3339\0\0d"..., 71) = 71 open("/usr/share/mysql/charsets/Index", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) write(3, "\20\0\0\1\205 \0\0\0nagiostest\0", 20) = 20 read(3, "\5\0\0\2", 4) = 4 read(3, "\0\0\0\2\0", 5) = 5 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 read(3, 0x804e4f0, 8192) = -1 EAGAIN (Resource temporarily unavailable) fcntl64(3, F_SETFL, O_RDWR) = 0 write(3, "\1\0\0\0\t", 5) = 5 read(3, "\216\0\0\1", 4) = 4 read(3, "Uptime: 1061164 Threads: 2 Que"..., 142) = 142 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 read(3, 0x804e4f0, 8192) = -1 EAGAIN (Resource temporarily unavailable) fcntl64(3, F_SETFL, O_RDWR) = 0 write(3, "\1\0\0\0\1", 5) = 5 shutdown(3, 2 /* send and receive */) = 0 close(3) = 0 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40376000 write(1, "Uptime: 1061164 Threads: 2 Que"..., 143) = 143 munmap(0x40376000, 4096) = 0 exit_group(0) = ?
__libc_start_main(0x8048f10, 5, 0xbffffb04, 0x804ae00, 0x804ae60 <unfinished ...> setlocale(6, "") = "en_US" bindtextdomain("nagios-plugins", "/usr/share/locale") = "/usr/share/locale" textdomain("nagios-plugins") = "nagios-plugins" getopt_long(5, 0xbffffb04, "hVSP:p:u:d:H:", 0x804c940, 0xbffff7c8) = 72 getaddrinfo("128.248.90.226", NULL, 0xbffff750, 0xbffff74c) = 0 freeaddrinfo(0x804d868) = <void> getopt_long(5, 0xbffffb04, "hVSP:p:u:d:H:", 0x804c940, 0xbffff7c8) = 117 getopt_long(5, 0xbffffb04, "hVSP:p:u:d:H:", 0x804c940, 0xbffff7c8) = -1 calloc(1, 1) = 0x804d910 calloc(1, 1) = 0x804d920 mysql_init(0xbffff840, 0xbffffb04, 0x40017a90, 224, 0) = 0xbffff840 mysql_real_connect(0xbffff840, 0xbffffc18, 0xbffffc2a, 0, 0x804d920) = 0xbffff840 mysql_stat(0xbffff840, 0xbffffc18, 0xbffffc2a, 0x4006e0e6, 0) = 0x804e4f0 __strdup(0x804e4f0, 0xbffffc18, 0xbffffc2a, 0x4006e0e6, 0) = 0x8050568 mysql_error(0xbffff840, 0xbffffc18, 0xbffffc2a, 0x4006e0e6, 0) = 0xbffff87c mysql_errno(0xbffff840, 0xbffffc18, 0xbffffc2a, 0x4006e0e6, 0) = 0 mysql_errno(0xbffff840, 0xbffffc18, 0xbffffc2a, 0x4006e0e6, 0) = 0 mysql_errno(0xbffff840, 0xbffffc18, 0xbffffc2a, 0x4006e0e6, 0) = 0 mysql_close(0xbffff840, 0xbffffc18, 0xbffffc2a, 0x4006e0e6, 0) = 0xbffff840 puts("Uptime: 1061181 Threads: 2 Que"...) = 143 +++ exited (status 0) +++