moving mongodb code into toolkit repo

This commit is contained in:
Carlos Salguero
2016-12-11 23:18:56 -03:00
parent 12d65fc180
commit 47c0db3650
67 changed files with 4546 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package templates
const HostInfo = `# This host
# Mongo Executable #############################################################################
Path to executable | {{.ProcPath}}
Has symbols | No
# Report On {{.ThisHostID}} ########################################
User | {{.ProcUserName}}
PID Owner | {{.ProcessName}}
Time | {{.ProcCreateTime}}
Hostname | {{.Hostname}}
Version | {{.Version}}
Built On | {{.HostOsType}} {{.HostSystemCPUArch}}
Started | {{.ProcCreateTime}}
Databases | {{.HostDatabases}}
Collections | {{.HostCollections}}
{{- if .DBPath }}
Datadir | {{.DBPath}}
{{- end }}
Processes | {{.ProcProcessCount}}
Process Type | {{.NodeType}}
{{ if .ReplicaSetName -}}
ReplSet | {{.ReplicasetName}}
Repl Status |
{{- end -}}
`