Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

From version 1.3.2 Open-AudIT includes a page titled Support. It is available at Menu -> Help -> Support. This is to be used as a the first point of call when troubleshoot troubleshooting Open-AudIT issues.

Image Modified

Function

This page retrieves various system details and variables. It then runs several tests upon the results and suggests various fixes.

...

The currently retrieved variables are (below contain sample data as values):

Array
(
    [applicationweb_internal_environmentversion] => development20170620
    [application_log_permissionweb_display_version] => 2.0.1
    [base_url] => -rw-r--r--http://localhost/open-audit/
    [applicationindex_web_versionpage] => 1index.12.8php
    [application_web_internal_versionuri_protocol] => REQUEST_URI
    [url_suffix] => 
    [language] => english
    [charset] => UTF-8
    [enable_hooks] => 20160620
    [application_db_database_versionsubclass_prefix] => MY_
    [permitted_uri_chars] => 1.12.8
    [applicationenable_db_internal_versionquery_strings] => 
    [controller_trigger] => 20160620c
    [application_nmis_enabledfunction_trigger] => m
    [directory_trigger] => yd
    [application_nmis_urllog_threshold] => 0
    [log_path] => /cgi-nmis8/nmiscgi.pl
    [applicationlog_oaedate_statusformat] => logoY-banner-oac-oaem-d H:i:s
    [application_name_matchcache_path] => 
    [encryption_key] => yopenaudit
    [applicationsess_ipcookie_matchname] => nopenaudit
    [applicationsess_use_ipmiexpiration] => y7200
    [applicationsess_adencrypt_domaincookie] => 1
    [applicationsess_aduse_serverdatabase] => 1
    [applicationsess_permittedtable_uri_charsname] => oa_user_sessions
    [applicationsess_basematch_urlip] => http://idk/open-audit/
    [applicationsess_prodmatch_devicesuseragent] => 181
    [applicationsess_prodtime_devices_in_allto_update] => 300
    [cookie_prefix] => 18
    [application_non-prod_devicescookie_domain] => 
    [cookie_path] => 43
    [applicationglobal_tempxss_rowsfiltering] => 0
    [applicationcompress_timezoneoutput] => Australia/Brisbane
    [ostime_platformreference] => Linux (Debian)local
    [osrewrite_phpshort_unametags] => Linux
    [osproxy_versionips] => PRETTY_Debian GNU/Linux 8 (jessie) 
    [blessed_subnets_use] => y
    [default_network_address] => 
    [osdelete_databasenoncurrent] => mysql (version 5.5.50-0+deb8u1) n
    [discovery_create_alerts] => y
    [osdiscovery_ip_webserverexclude] => Apache/2.4.10 (Debian)
    [os_timezonediscovery_linux_script_directory] => Australia/tmp/Brisbane
    [prereqdiscovery_apachelinux_modscript_proxypermissions] => Status: install ok installed700
    [discovery_nmap_os] => n
    [prereqdiscovery_use_curldns] => /usr/bin/curly
    [prereq_samba-clientdiscovery_use_ipmi] => /usr/bin/smbclienty
    [prereqdisplay_nmapversion] => /usr/bin/nmap2.0.1
    [prereqdownload_nmap_permsreports] => -rwsr-xr-xdownload
    [prereqgraph_php-clidays] => 30
   Status: install ok installed[homepage] => groups
    [prereq_screeninternal_version] => 20170620
    [logo] => /usr/bin/screenlogo-banner-oac-oae
    [prereqlog_sshpasslevel] => /usr/bin/sshpass5
    [prereq_wgetlog_retain_level_0] => /usr/bin/wget180
    [prereq_ziplog_retain_level_1] => /usr/bin/zip180
    [php_versionlog_retain_level_2] => 5.6.23-0+deb8u1180
    [phplog_retain_errorlevel_reporting3] => 32767180
    [php_timezonelog_retain_level_4] => Australia/Brisbane180
    [phplog_retain_processlevel_owner5] => www-data90
    [phplog_retain_memorylevel_limit6] => 512M30
    [phplog_maxretain_executionlevel_time7] => 6007
    [phpmaps_max_input_timeapi_key] => AIzaSyAhAUqssRASeC0Pfyx1TW1DXRmboG5bdG0
    [maps_url] => 60/omk/open-audit/map
    [php_display_errorsmatch_dbus] => n
    [match_fqdn] => 1y
    [php_upload_max_filesizematch_hostname] => y
    [match_hostname_dbus] => 10My
    [phpmatch_exthostname_ldapserial] => y
    [phpmatch_exthostname_mbstringuuid] => y
    [php_ext_mcryptmatch_ip] => n
    [match_mac] => yn
    [php_ext_mysqlmatch_mac_vmware] => n
    [match_serial] => y
    [phpmatch_extserial_posixtype] => y
    [php_ext_snmpmatch_uuid] => y
    [nmis] => n
    [nmis_url] => y
    [php_ext_xmloae_license] => commercial
    [oae_prompt] => y2017-06-28
    [oae_linkurl] => /omk/open-audit/
[page_refresh] => 300 [process_netstat_windows_dns] => [rss_enable] => y [rss_url] => https://community.opmantek.com/rss/OA.xml [uuid] => 980906d2-5994-11e7-a4a3-1c1b0d60813b [oae_servermodules] => http://127.0.0.1/open-audit/
[oae_username] => open-audit_enterprise{"NMIS8":{"name":"NMIS8","file":"\/cgi-bin\/nmiscgi.pl","link":"\/cgi-nmis8\/nmiscgi.pl","url":"https:\/\/opmantek.com\/network-management-system-nmis\/"},"opAddress":{"name":"opAddress","file":"\/bin\/opaddress-cli.pl","link":"\/omk\/opAddress\/","url":"https:\/\/community.opmantek.com\/display\/opAddress\/Home"},"opCharts":{"name":"opCharts","file":"\/public\/omk\/js\/opCharts_a_external_packed.js","link":"\/omk\/opCharts","url":"https:\/\/opmantek.com\/opcharts-dashboards-charts-management\/"},"opConfig":{"name":"opConfig","file":"\/install\/opconfigd.init.d","link":"\/omk\/opConfig","url":"https:\/\/opmantek.com\/network-configuration-management-opconfig\/"},"Open-AudIT":{"name":"Open-AudIT","file":"\/bin\/oae-tasks.sh","link":"\/omk\/open-audit\/","url":"https:\/\/opmantek.com\/network-audit-software\/","installed":true,"version":"2.0.1"},"opEvents":{"name":"opEvents","file":"\/install\/opeventsd.init.d","link":"\/omk\/opEvents\/","url":"https:\/\/opmantek.com\/opevents-traps-network-event-management\/"},"opFlow":{"name":"opFlow","file":"\/bin\/opflow-cli.pl","link":"\/omk\/opFlow","url":"https:\/\/opmantek.com\/netflow-analyzer-collector-opflow\/"},"opHA":{"name":"opHA","file":"","link":"\/omk\/opHA","url":"https:\/\/opmantek.com\/distributed-network-management-system\/"},"opLicensing":{"name":"opLicensing","file":"\/lib\/opLicense.pm.exe","link":"\/omk\/opLicense","url":"#"},"opReports":{"name":"opReports","file":"\/bin\/opreports-cli.pl","link":"\/omk\/opReports\/","url":"https:\/\/opmantek.com\/network-configuration-management-opconfig\/"},"opSLA":{"name":"opSLA","file":"","link":"\/omk\/opSLA","url":"https:\/\/opmantek.com\/ip-sla-monitor-cisco-ipsla\/"},"Other Modules":{"name":"Other Modules","link":"https:\/\/opmantek.com\/network-management-system-tools\/","url":"https:\/\/opmantek.com\/network-management-system-tools\/"}} [oae_product] => Open-AudIT Enterprise [oa_web_index] => /open-audit/index.php [oa_web_folder] => /open-audit [timestamp] => 2017-06-27 14:00:43 [server_os] => Linux [device_count] => 1 [base_path] => /usr/local/open-audit [ip] => 192.168.1.139 )

The tests run against this information are:

  • Check the Open-AudIT Enterprise config.
  • Check the linux Linux dependencies installed.
  • Check the required PHP modules.
  • Check the status of the linux Linux nmap file (has it had its SUID set).
  • Check file permission on the Open-AudIT log file.
  • Compare PHP and operating system timezones.
  • Check the application environment status
  • Count the devices with a 'Production' status and compare to the count of devices in the All Devices Group.
  • Check for rows in the database temp table.
  • Check for devices with a status not equal to Production.

...