Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7165

Report host identity

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Admin
    • Labels:
      None
    • Fully Compatible
    • Platforms 18 (08/05/16)

      For example, the output of hostname and/or other things the OS might give for unique identification of a box.

      Currently we report something like this from hostInfo:

      > db.hostInfo()
      {
              "system" : {
                      "currentTime" : ISODate("2013-01-27T12:56:34.477Z"),
                      "hostname" : "abc12",
                      "cpuAddrSize" : 64,
                      "memSizeMB" : 16032,
                      "numCores" : 8,
                      "cpuArch" : "x86_64",
                      "numaEnabled" : false
              },
              "os" : {
                      "type" : "Linux",
                      "name" : "Ubuntu",
                      "version" : "12.10"
              },
              "extra" : {
                      "versionString" : "Linux version 3.5.0-21-generic (buildd@allspice) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012",
                      "libcVersion" : "2.15",
                      "versionSignature" : "Ubuntu 3.5.0-21.32-generic 3.5.7.1",
                      "kernelVersion" : "3.5.0-21-generic",
                      "cpuFrequencyMHz" : "3401.000",
                      "cpuFeatures" : "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid",
                      "pageSize" : NumberLong(4096),
                      "numPages" : 4104356,
                      "maxOpenFiles" : 1024
                      "maxProcesses" : 128054
              },
              "ok" : 1
      }
      
      

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: