Ad Widget

Collapse

Unable to perform Discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sahaQaa
    Junior Member
    • Apr 2020
    • 5

    #1

    Unable to perform Discovery

    Hello,
    For some reasons im unable to start Discovery proccess. I create simple Discovey rule, but then i dont receive any data in "Monitoring" --> " Discovery" tab. I tried to cahnge ammount of "StartDiscoverers" value, and also played with MySQL values to force Discovery:

    > use zabbix;
    > select * from drules;
    >update drules set nextcheck=unix_timestamp(now())+30 where druleid=2;

    and like this:

    > update drules set nextcheck=1588260000 where druleid=4;

    But it didnt worked for me.

    Is anything else i could do to make Discovery work?
    ---------------


    My envirement:

    # zabbix_server -V
    zabbix_server (Zabbix) 4.2.8
    Revision cb5d5b10f4 28 October 2019, compilation time: Oct 28 2019 11:10:13
    -----------------------
    # zabbix_agentd -V
    zabbix_agentd (daemon) (Zabbix) 4.2.8
    Revision cb5d5b10f4 28 October 2019, compilation time: Oct 28 2019 11:10:13
    -----------------------
    Content of /etc/zabbix/zabbix_server.conf

    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    PidFile=/var/run/zabbix/zabbix_server.pid
    SocketDir=/var/run/zabbix
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=OLOLOLLOLOLLOLO
    StartPingers=10
    StartDiscoverers=10
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    Timeout=10
    AlertScriptsPath=/usr/lib/zabbix/alertscripts
    ExternalScripts=/usr/lib/zabbix/externalscripts
    FpingLocation=/usr/bin/fping
    Fping6Location=/usr/bin/fping6
    LogSlowQueries=3000
    StatsAllowedIP=127.0.0.1
    -------------
    content of /etc/zabbix/zabbix_agentd.conf

    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    Server=127.0.0.1
    ServerActive=127.0.0.1
    Hostname=Zabbix server
    Include=/etc/zabbix/zabbix_agentd.d/*.conf


    Click image for larger version

Name:	State of Discovery.PNG
Views:	552
Size:	26.6 KB
ID:	400515



    Attached Files
  • sahaQaa
    Junior Member
    • Apr 2020
    • 5

    #2
    Update: Upgraded Zabbix server to 4.4 --> Discovery still not working. Any ideas? :-)

    Comment

    • hpeti2
      Junior Member
      • Jul 2015
      • 29

      #3
      Hi!

      Try to rise your DebugLevel in your zabbix server config. At 4th level you can see the discovery messages.

      Comment


      • sahaQaa
        sahaQaa commented
        Editing a comment
        Thanks for reply :-)
        Actually it was because of my neglect of RTFM :-)
        I found YouTube video with example of Network Discovery, and now everything is working as expected :-D
    Working...