oracle collector done
This commit is contained in:
parent
3853f1c7c0
commit
d333c7f554
|
@ -25,7 +25,7 @@ tar zcvf categraf.tar.gz categraf conf
|
|||
- []http_response
|
||||
- []scrape
|
||||
- []procstat
|
||||
- []oracle
|
||||
- [x]oracle
|
||||
- []mysql
|
||||
- []redis
|
||||
- []...
|
|
@ -131,7 +131,7 @@ func (o *Oracle) collectOnce(wg *sync.WaitGroup, ins OrclInstance, slist *list.S
|
|||
|
||||
if err := db.Ping(); err != nil {
|
||||
slist.PushFront(inputs.NewSample("up", 0, tags))
|
||||
log.Println("failed to ping oracle:", ins.Address, "error:", err)
|
||||
log.Println("E! failed to ping oracle:", ins.Address, "error:", err)
|
||||
} else {
|
||||
slist.PushFront(inputs.NewSample("up", 1, tags))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue