MongoDB exporter

442 views
Skip to first unread message

Дмитрий Кудрявцев

unread,
Jun 19, 2015, 8:34:23 AM6/19/15
to prometheus...@googlegroups.com
 Hello!
    Trying to run MongoDB exporter , but i've got an error , MongoDB has connection with exporter, but less than 1 sec
MongoLog
 15:06:54.295 [initandlisten] connection accepted from 127.0.0.1:35964 #7 (1 connection now open)
 15:06:54.302 [conn7] end connection 127.0.0.1:35964 (0 connections now open)

Exporter output
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x1 pc=0x809862c]

goroutine 1 [running]:
main.main()

goroutine 7 [chan receive]:
/usr/local/go/src/github.com/golang/glog/glog.go:879 +0x76
created by github.com/golang/glog.init·1
/usr/local/go/src/github.com/golang/glog/glog.go:410 +0x1ff

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_386.s:2287 +0x1

goroutine 8 [sleep]:
/usr/local/go/src/gopkg.in/mgo.v2/cluster.go:366 +0x20f
/usr/local/go/src/gopkg.in/mgo.v2/cluster.go:76 +0x1b4

goroutine 12 [runnable]:
net.(*pollDesc).Wait(0x187294f8, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:84 +0x42
net.(*pollDesc).WaitRead(0x187294f8, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:89 +0x40
net.(*netFD).Read(0x187294c0, 0x18782d20, 0x24, 0x24, 0x0, 0xb74ffce8, 0x1879898c)
/usr/local/go/src/net/fd_unix.go:242 +0x2f0
net.(*conn).Read(0x187ab840, 0x18782d20, 0x24, 0x24, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:121 +0xba
gopkg.in/mgo%2ev2.fill(0xb75014a0, 0x187ab840, 0x18782d20, 0x24, 0x24, 0x0, 0x0)
/usr/local/go/src/gopkg.in/mgo.v2/socket.go:504 +0x58
/usr/local/go/src/gopkg.in/mgo.v2/socket.go:521 +0x11f
/usr/local/go/src/gopkg.in/mgo.v2/socket.go:168 +0x2f6

goroutine 13 [sleep]:
/usr/local/go/src/gopkg.in/mgo.v2/server.go:297 +0x138
/usr/local/go/src/gopkg.in/mgo.v2/server.go:90 +0x159

Is any idea how to make it work correctly?!
TY!

Julius Volz

unread,
Jun 19, 2015, 9:59:50 AM6/19/15
to Дмитрий Кудрявцев, prometheus-developers
Heya,

As the MongoDB exporter is an independently maintained project, you might want to try filing an issue at https://github.com/dcu/mongodb_exporter/issues.

Cheers,
Julius

--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages