The only meaningful thing I see in the diff between your PHP and my XI OVF's PHP is your PHP does not seem to have a value for
. Here's the full output for your review:
Code: Select all
$ diff php_op.txt php_mine.txt
2c2
< PHP Version => 5.4.16
---
> PHP Version => 5.3.3
4,5c4,6
< System => Linux monitor.micfo.com 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64
< Build Date => Mar 7 2018 13:34:40
---
> System => Linux nagiosxi 2.6.32-696.13.2.el6.x86_64 #1 SMP Thu Oct 5 21:22:16 UTC 2017 x86_64
> Build Date => Mar 22 2017 12:26:48
> Configure Command => './configure' '--build=x86_64-redhat-linux-gnu' '--host =x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir =/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedi r=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file= ../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-co nfig-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/u sr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with out-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '- -with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--ena ble-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sy svsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snm p-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-d ir=/usr' '--enable-xml' '--with-system-tzdata' '--enable-force-cgi-redirect' '-- enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=sha red' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap- sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/lib64/mysql/mysql_co nfig' '--enable-dom=shared' '--with-pgsql=shared' '--enable-wddx=shared' '--with -snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xml reader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--enable-f astcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo -mysql=shared,/usr/lib64/mysql/mysql_config' '--with-pdo-pgsql=shared,/usr' '--w ith-pdo-sqlite=shared,/usr' '--with-sqlite3=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--without-readline' '--with-libedit' '--with-pspell=share d' '--enable-phar=shared' '--with-tidy=shared,/usr' '--enable-sysvmsg=shared' '- -enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--wit h-unixODBC=shared,/usr' '--enable-fileinfo=shared' '--enable-intl=shared' '--wit h-icu-dir=/usr' '--with-enchant=shared,/usr' '--with-recode=shared,/usr'
18a20
> /etc/php.d/mssql.ini,
21a24
> /etc/php.d/pdo_dblib.ini,
27d29
< /etc/php.d/posix.ini,
32,34d33
< /etc/php.d/sysvmsg.ini,
< /etc/php.d/sysvsem.ini,
< /etc/php.d/sysvshm.ini,
41,45c40,44
< PHP API => 20100412
< PHP Extension => 20100525
< Zend Extension => 220100525
< Zend Extension Build => API220100525,NTS
< PHP Extension Build => API20100525,NTS
---
> PHP API => 20090626
> PHP Extension => 20090626
> Zend Extension => 220090626
> Zend Extension Build => API220090626,NTS
> PHP Extension Build => API20090626,NTS
48d46
< Zend Signal Handling => disabled
50c48
< Zend Multibyte Support => provided by mbstring
---
> Zend Multibyte Support => disabled
52,53d49
< DTrace Support => disabled
<
55c51
< Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls
---
> Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
57a54
>
59c56
< Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
---
> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
62c59
< _______________________________________________________________________
---
> _______________________________________________________________________
70c67
< Stream Wrapper support => compress.bzip2://
---
> Stream Wrapper support => compress.bz2://
72c69
< BZip2 Version => 1.0.6, 6-Sept-2010
---
> BZip2 Version => 1.0.5, 10-Dec-2007
80c77
< PHP Version => 5.4.16
---
> PHP Version => 5.3.3
82a80
> allow_call_time_pass_reference => Off => Off
94a93
> define_syslog_variables => Off => Off
103d101
< enable_post_data_reading => On => On
111a110
> highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="co lor: #FFFFFF">#FFFFFF</font>
124a124,126
> magic_quotes_gpc => Off => Off
> magic_quotes_runtime => Off => Off
> magic_quotes_sybase => Off => Off
132,133c134,135
< max_input_vars => 5000 => 5000
< memory_limit => 256M => 256M
---
> max_input_vars => 1000 => 1000
> memory_limit => 128M => 128M
141a144,145
> register_globals => Off => Off
> register_long_arrays => Off => Off
144a149,152
> safe_mode => Off => Off
> safe_mode_exec_dir => no value => no value
> safe_mode_gid => Off => Off
> safe_mode_include_dir => no value => no value
147c155
< serialize_precision => 17 => 17
---
> serialize_precision => 100 => 100
162c170
< zend.detect_unicode => On => On
---
> y2k_compliance => On => On
164,165d171
< zend.multibyte => Off => Off
< zend.script_encoding => no value => no value
174c180
< cURL Information => 7.29.0
---
> cURL Information => 7.19.7
177c183
< AsynchDNS => Yes
---
> AsynchDNS => No
190c196
< Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ld aps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
---
> Protocols => tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps, sc p, sftp
192,194c198,200
< SSL Version => NSS/3.28.4
< ZLib Version => 1.2.7
< libSSH Version => libssh2/1.4.3
---
> SSL Version => NSS/3.27.1
> ZLib Version => 1.2.3
> libSSH Version => libssh2/1.4.2
201c207
< Default timezone => US/Eastern
---
> Default timezone => America/New_York
208c214
< date.timezone => US/Eastern => US/Eastern
---
> date.timezone => America/New_York => America/New_York
214c220
< libxml Version => 2.9.1
---
> libxml Version => 2.7.6
228c234
< EXIF Version => 1.4 $Id$
---
> EXIF Version => 1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $
243c249
< version => 1.0.5
---
> version => 1.0.5-dev
248c254
< Revision => $Id: 2aa8dd57d9c0c655cd45e6e5872bb95fa5ad76cf $
---
> Revision => $Revision: 298196 $
261c267
< GD Version => bundled (2.1.0 compatible)
---
> GD Version => bundled (2.0.34 compatible)
264,265c270
< FreeType Version => 2.4.11
< T1Lib Support => enabled
---
> FreeType Version => 2.3.11
271c276
< libPNG Version => 1.5.13
---
> libPNG Version => 1.2.49
274d278
< libXpm Version => 30411
287c291
< GMP version => 6.0.0
---
> GMP version => 4.3.1
292c296
< Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripe md160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b fnv132 fnv164 j oaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160, 4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 h aval256,5
---
> Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripe md160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 ha val192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval 256,5
298c302
< iconv library version => 2.17
---
> iconv library version => 2.12
313c317
< RCS Version => $Id$
---
> RCS Version => $Id: ldap.c 299434 2010-05-17 20:09:42Z pajoye $
317c321
< Vendor Version => 20444
---
> Vendor Version => 20440
326,327c330,331
< libXML Compiled Version => 2.9.1
< libXML Loaded Version => 20901
---
> libXML Compiled Version => 2.7.6
> libXML Loaded Version => 20706
335d338
< libmbfl version => 1.3.2
368c371,376
< mhash
---
> mssql
>
> MSSQL Support => enabled
> Active Persistent Links => 0
> Active Links => 0
> Library version => FreeTDS
370,371c378,393
< MHASH support => Enabled
< MHASH API Version => Emulated Support
---
> Directive => Local Value => Master Value
> mssql.allow_persistent => On => On
> mssql.batchsize => 0 => 0
> mssql.charset => no value => no value
> mssql.compatability_mode => Off => Off
> mssql.connect_timeout => 5 => 5
> mssql.datetimeconvert => On => On
> mssql.max_links => Unlimited => Unlimited
> mssql.max_persistent => Unlimited => Unlimited
> mssql.max_procs => Unlimited => Unlimited
> mssql.min_error_severity => 10 => 10
> mssql.min_message_severity => 10 => 10
> mssql.secure_connection => Off => Off
> mssql.textlimit => Server default => Server default
> mssql.textsize => Server default => Server default
> mssql.timeout => 60 => 60
378c400
< Client API version => 5.5.56-MariaDB
---
> Client API version => 5.1.73
400c422
< Client API library version => 5.5.56-MariaDB
---
> Client API library version => 5.1.73
404c426
< Client API header version => 5.5.56-MariaDB
---
> Client API header version => 5.1.73
422,423c444,445
< OpenSSL Library Version => OpenSSL 1.0.2k-fips 26 Jan 2017
< OpenSSL Header Version => OpenSSL 1.0.2k-fips 26 Jan 2017
---
> OpenSSL Library Version => OpenSSL 1.0.1e-fips 11 Feb 2013
> OpenSSL Header Version => OpenSSL 1.0.1e-fips 11 Feb 2013
432c454
< PCRE Library Version => 8.32 2012-11-30
---
> PCRE Library Version => 7.8 2008-09-05
435c457
< pcre.backtrack_limit => 1000000 => 1000000
---
> pcre.backtrack_limit => 100000 => 100000
441c463,468
< PDO drivers => mysql, pgsql, sqlite
---
> PDO drivers => dblib, mysql, pgsql, sqlite
>
> pdo_dblib
>
> PDO Driver for FreeTDS/Sybase DB-lib => enabled
> Flavour => freetds
446,449c473
< Client API version => 5.5.56-MariaDB
<
< Directive => Local Value => Master Value
< pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql. sock
---
> Client API version => 5.1.73
454c478
< PostgreSQL(libpq) Version => 9.2.23
---
> PostgreSQL(libpq) Version => 8.4.20
456c480
< Revision => $Id$
---
> Revision => $Id: pdo_pgsql.c 300351 2010-06-10 12:11:19Z iliaa $
461c485
< SQLite Library => 3.7.17
---
> SQLite Library => 3.6.20
466,467c490
< PostgreSQL(libpq) Version => 9.2.23
< PostgreSQL(libpq) => PostgreSQL 9.2.23 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16), 64-bit
---
> PostgreSQL(libpq) Version => 8.4.20
486c509
< SVN revision => $Id: c5042cc34acebcc0926625b57dff03deebbe6472 $
---
> SVN revision => $Revision: 298908 $
503,515d525
< posix
<
< Revision => $Id: 32db6705f5b617967a546be3114e178a4138c1ca $
<
< readline
<
< Readline Support => enabled
< Readline library => EditLine wrapper
<
< Directive => Local Value => Master Value
< cli.pager => no value => no value
< cli.prompt => \b \> => \b \>
<
519c529
< Version => $Id: 6c4d8062369898a397e4b128348042f5c01b4427 $
---
> Version => $Revision: 300393 $
528a539,540
> session.bug_compat_42 => Off => Off
> session.bug_compat_warn => Off => Off
536,537c548,549
< session.entropy_file => /dev/urandom => /dev/urandom
< session.entropy_length => 32 => 32
---
> session.entropy_file => no value => no value
> session.entropy_length => 0 => 0
546c558
< session.save_path => no value => no value
---
> session.save_path => /var/lib/php/session => /var/lib/php/session
548,553d559
< session.upload_progress.cleanup => On => On
< session.upload_progress.enabled => On => On
< session.upload_progress.freq => 1% => 1%
< session.upload_progress.min_freq => 1 => 1
< session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPL OAD_PROGRESS
< session.upload_progress.prefix => upload_progress_ => upload_progress_
565c571
< Revision => $Id: 692516840b2d7d6e7aedb0bedded1f53b764a99f $
---
> Revision => $Revision: 299424 $
571,572c577
< NET-SNMP Version => 5.7.2
< PHP SNMP Version => 0.1
---
> NET-SNMP Version => 5.5
592c597
< Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallExceptio n, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIte rator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobI terator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthExc eption, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOf BoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeEx ception, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilt erIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIterat orIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, Runtim eException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplH eap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplSt ack, SplTempFileObject, UnderflowException, UnexpectedValueException
---
> Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallExceptio n, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterato r, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, L ogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRa ngeException, OverflowException, ParentIterator, RangeException, RecursiveArrayI terator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIt erator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator , RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObje ct, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorit yQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedVal ueException
597,598c602,603
< SQLite3 module version => 0.7
< SQLite Library => 3.7.17
---
> SQLite3 module version => 0.7-dev
> SQLite Library => 3.6.20
606,608c611,617
< extension version => 0.12
< libssh2 version => 1.4.3
< banner => SSH-2.0-libssh2_1.4.3
---
> extension version => 0.11.0-dev
> libssh2 version => 1.2.2
> banner => SSH-2.0-libssh2_1.2.2
> remote forwarding => enabled
> hostbased auth => enabled
> polling support => enabled
> publickey subsystem => enabled
623c632,633
< from => no value => no value
---
> safe_mode_allowed_env_vars => PHP_ => PHP_
> safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
627,631d636
< sysvmsg
<
< sysvmsg support => enabled
< Revision => $Id: e268047b695fe9a43cdf415c429729252347becd $
<
645c650
< libxml2 Version => 2.9.1
---
> libxml2 Version => 2.7.6
658,659c663,664
< libxslt Version => 1.1.28
< libxslt compiled against libxml Version => 2.9.1
---
> libxslt Version => 1.1.26
> libxslt compiled against libxml Version => 2.7.6
661c666
< libexslt Version => 1.1.28
---
> libexslt Version => 1.1.26
666,668c671,673
< Extension Version => $Id: 0c033d4e4613d577409950ed7bf8da4b68286d15 $
< Zip version => 1.11.0
< Compiled against libzip version => 0.10.1
---
> Extension Version => $Id: php_zip.c 300470 2010-06-15 18:48:33Z pajoye $
> Zip version => 1.9.1
> Libzip version => 0.9.0
673,676c678,681
< Stream Wrapper => compress.zlib://
< Stream Filter => zlib.inflate, zlib.deflate
< Compiled Version => 1.2.7
< Linked Version => 1.2.7
---
> Stream Wrapper support => compress.zlib://
> Stream Filter support => zlib.inflate, zlib.deflate
> Compiled Version => 1.2.3
> Linked Version => 1.2.3
686,687c691
< sysvsem
< sysvshm
---
> readline
692,693c696
< XDG_SESSION_ID => 24404
< HOSTNAME => monitor.micfo.com
---
> HOSTNAME => nagiosxi
697c700
< SSH_CLIENT => 199.223.117.0 27996 22
---
> SSH_CLIENT => 192.168.206.1 50306 22
700c703
< LS_COLORS => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33; 01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44 :ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;3 1:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z =01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01 ;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz= 01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*. rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31 :*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm= 01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:* .png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01 ;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*. m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;3 5:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=0 1;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ax v=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36: *.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00 ;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
---
> LS_COLORS => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33; 01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow =34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=0 1;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=0 1;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz= 01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.z oo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35 :*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=0 1;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:* .pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01 ;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wm v=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35: *.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;3 5:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=0 1;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:* .ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01; 36:
702c705
< PATH => /usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ usr/local/bin:/usr/X11R6/bin:/root/bin
---
> PATH => /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
704,705d706
< JAVA_HOME => /usr/local/jdk
< EDITOR => vi
710d710
< LS_OPTIONS => --color=tty -F -A -b -T 0
712,714c712
< VISUAL => vi
< CLASSPATH => .:/usr/local/jdk/lib/classes.zip
< SSH_CONNECTION => 199.223.117.0 27996 199.223.117.199 22
---
> SSH_CONNECTION => 192.168.206.1 50306 192.168.206.138 22
716,717c714,715
< XDG_RUNTIME_DIR => /run/user/0
< HISTTIMEFORMAT => [%h/%d/%Y - %H:%M:%S]
---
> G_BROKEN_FILENAMES => 1
> OLDPWD => /var/lib/php/session
723,724c721
< _SERVER["XDG_SESSION_ID"] => 24404
< _SERVER["HOSTNAME"] => monitor.micfo.com
---
> _SERVER["HOSTNAME"] => nagiosxi
728c725
< _SERVER["SSH_CLIENT"] => 199.223.117.0 27996 22
---
> _SERVER["SSH_CLIENT"] => 192.168.206.1 50306 22
731c728
< _SERVER["LS_COLORS"] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;3 5:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34; 42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31 :*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo= 01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01 ;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2= 01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.s ar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31 :*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=0 1;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.t iff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01; 35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.m p4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35 :*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=0 1;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf =01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*. flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00 ;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
---
> _SERVER["LS_COLORS"] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;3 5:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41: tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01 ;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=0 1;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2= 01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ac e=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35: *.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01 ;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*. mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01; 35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv =01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:* .fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35 :*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=0 1;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*. mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36 :*.xspf=01;36:
733c730
< _SERVER["PATH"] => /usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin :/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin
---
> _SERVER["PATH"] => /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bi n:/root/bin
735,736d731
< _SERVER["JAVA_HOME"] => /usr/local/jdk
< _SERVER["EDITOR"] => vi
741d735
< _SERVER["LS_OPTIONS"] => --color=tty -F -A -b -T 0
743,745c737
< _SERVER["VISUAL"] => vi
< _SERVER["CLASSPATH"] => .:/usr/local/jdk/lib/classes.zip
< _SERVER["SSH_CONNECTION"] => 199.223.117.0 27996 199.223.117.199 22
---
> _SERVER["SSH_CONNECTION"] => 192.168.206.1 50306 192.168.206.138 22
747,748c739,740
< _SERVER["XDG_RUNTIME_DIR"] => /run/user/0
< _SERVER["HISTTIMEFORMAT"] => [%h/%d/%Y - %H:%M:%S]
---
> _SERVER["G_BROKEN_FILENAMES"] => 1
> _SERVER["OLDPWD"] => /var/lib/php/session
755,756c747
< _SERVER["REQUEST_TIME_FLOAT"] => 1521613457.6805
< _SERVER["REQUEST_TIME"] => 1521613457
---
> _SERVER["REQUEST_TIME"] => 1521636675
759c750
< [0] => -
---
> [0] => -
767c758
< and included in the distribution in the file: LICENSE
---
> and included in the distribution in the file: LICENSE
and restarting the Apache service.
PHP 5.4 has no native means by which it could access a given machine's MAC address even if it wanted to. You'd need to make system calls for that which in this case would then rely on external Linux tools for the info (that wouldn't be very platform agnostic).
Nagios XI just piggy-backs off the native PHP session handling. Nagios XI creates a session, stores that session's ID in a browser cookie, and writes a PHP "session file" out to disk with relevant info to be retrieved via the
global.
When I then login as the 'nagiosadmin' user, a cookie is written to my browser with name 'nagiosxi' and value '1c9i92u29hqh8tmtmu581lhch4'. So what the heck is that big string of jargon? It's an ID for a PHP session which, for Nagios XI, is written to disk by default:
Which is filled with all sorts of mundane metadata about the currently logged-in user associated with that session:
My first assumption would be that Nagios XI isn't correctly managing those session files which could be a symptom of the current state of this environment's
since that value defaults to the system's temp path. My second assumption would be something strange is happening with the cookies in the browsers or in their transit from the browser to Nagios XI.