Versions Compared

Key

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

...

The required arguments are:

  • openaudit_user, this is the username of a valid Open-AudIT administrator level user (set to 'admin' by default). This is not the unix user running the script.
  • openaudit_pass, the corresponding password for the above user (set to 'password' by default).
  • openaudit_url, this is usually left at the default supplied value (set to 'http://localhost/open-audit/index.php/discovery/discover_subnet' by default).
  • local_address, this is the ip address of the Open-AudIT server upon which the Discovery is run. This must be an address visible to remote devices if they are to be audited using an audit script (audit_windows.vbs or audit_linux.sh).
  • subnet, this is the nmap style subnet (no default). Valid examples are:
    192.168.0.1 (a single address)"
    192.168.1.2/32 (a single address with mask)"
    192.168.3.0/24 (a 24 bit mask - 192.168.3.0 to 192.168.3.255)"
    198.168.0-255.1-127 (a range of ip addresses)

The optional arguements are:

  • snmp_community, the SNMP community string for any devices discovered on this subnet (set to 'public' by default).
  • ssh_user, the SSH username for any devices discovered on this subnet (no default).
  • ssh_password, the password for the above SSH user (no default).
  • windows_user, the Windows username to be used in this discovery run. This should have local administrator rights on any discovered Windows PCs (no default).
  • windows_domain, the Windows domain for the above user (no default).
  • windows_password, the Windows password for the above user (no default).
  • debugging, the command line output level. 0 = none, 1 = debug (set to '1' by default).
  • quiet, no need to specify a value. using this is the equivalent to debugging=0.
  • verbose, no need to specify a value. using this is the equivalent to debugging=1.
  • syslog, if set, will log to this file (set to /usr/local/open-audit/other/open-audit.log by default).

...