Giter VIP home page Giter VIP logo

389ds_exporter's People

Contributors

terricain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

389ds_exporter's Issues

ERRO[0020] Scrape failed, error is:1 error occurred:

I just try this against ipa-server-4.6.4-10.el7.centos.3.x86_64 and I got:

INFO[0010] Scrape completed in 0.009710 seconds         
DEBU[0020] Starting metrics scrape                      
DEBU[0020] getting active accounts                      
DEBU[0020] getting staged accounts                      
DEBU[0020] getting preserved accounts                   
DEBU[0020] getting groups                               
DEBU[0020] getting hosts                                
DEBU[0020] getting hostgroups                           
DEBU[0020] getting sudo rules                           
DEBU[0020] getting hbac rules                           
DEBU[0020] getting dns zones                            
DEBU[0020] getting ldap conflicts                       
DEBU[0020] getting replication agreements               
ERRO[0020] Scrape failed, error is:1 error occurred:
        * LDAP Result Code 32 "No Such Object": 
 
INFO[0020] Scrape completed in 0.008503 seconds 
./389ds_exporter -debug -interval 10s -ipa-domain example.com -ldap.pass password 

exporter won't connect to my freeipa_server

Hello,
i downloaded the exporter via go get
when i run the command "make" i get this error:
Makefile.common:128: recipe for target '/bin/staticcheck' failed
make: *** [/bin/staticcheck] Error 127

so i tried to run the exporter with flags by running this command:
./389ds_exporter -ipa-domain freeipa_server -ldap.user admin -ldap.pass 123456
but it only shows me the metrics of my machine like:

  • go_memstats_alloc_bytes
  • go_memstats_gc_cpu_fraction
  • process_virtual_memory_max_bytes
  • promhttp_metric_handler_requests_total

when i run the following command:
./389ds_exporter -ipa-domain freeipa_server -ldap.user "freeipa_user" -ldap.pass "password" -web.listen-address "freeipa_server"
i get this error:
ERRO[0078] Scrape failed, error is:unable to read LDAP response packet: unexpected EOF

PS: i installed the exporter in my prometheus server, it's not necessary to install it in the freeipa_server?

Thanks in advance

runtime error: invalid memory address or nil pointer dereference

Hey, I've had to use a precompiled binary as I couldn't get the source to compile.

[389ds_exporter]$ make
>> checking code style
GOOS= GOARCH= go get -u honnef.co/go/tools/cmd/staticcheck
>> running staticcheck
/home/deploy/go/bin/staticcheck -ignore "" ./...
flag provided but not defined: -ignore
Usage of staticcheck:
        staticcheck [flags] # runs on package in current directory
        staticcheck [flags] packages
        staticcheck [flags] directory
        staticcheck [flags] files... # must be a single package
Flags:
make: *** [Makefile.common:93: common-staticcheck] Error 2

Precompiled Binary

[389ds_exporter-0.1.2.linux-386]$ ./389ds_exporter -ldap.addr "omitted" -ipa-domain "omitted" -ldap.pass "omitted" -web.listen-address "omitted"
INFO[0000] Starting prometheus HTTP metrics server on omitted:9496 
INFO[0000] Starting 389ds scraper for omitted:389  
2020/09/08 12:57:49 ldap: recovered panic in processMessages: runtime error: invalid memory address or nil pointer dereference
ERRO[0060] Scrape failed, error is:LDAP Result Code 200 "Network Error": ldap: response channel closed 
INFO[0060] Scrape completed in 0.000775 seconds         

CentOS Linux release 8.2.2004 (Core)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.