Ad Widget

Collapse

Ping before SNMP query?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LeoCombes
    Member
    • Mar 2011
    • 32

    #1

    Ping before SNMP query?

    Hello.
    I have a hard solving problem.
    I have a server with zabbix to monitor about 1200 hosts (modems) with 2 SNMP items in a 60 seconds interval. In the first tests the queue between 10 seconds and 5 minutes was of 400-600 items. I tried to raise the amount of pollers "StartPollers" to 25, but the situation got worse. Then I tried "StartPollers" in 20 and the queue improved slightly, but remains in poor condition.
    To improve the situation of the queue I tried to double the refresh interval of the 2 items to 120 seconds. With this configuration are about 10-50 items in the queue for 5 seconds and 0-30 items in 10 seconds.

    The problem is that these items need to query, at least, every 30 or 60 seconds. I think one of the problems is that when a modem is poweroff or offline, zabbix attempts to communicate with them to get the data via SNMP and until the time gets "timeout" stays busy waiting for a response and increases the number of items in the queue. This is because the modem is switched on and off periodically according to use, up to 20 times a day randomly.

    The solution that comes to my mind is to check the items before use SNMP with ping to see if the modem is online. If the ping responds, then query of SNMP items. The problem is that I have no idea how to do this.

    I'm not using a proxy, the network is completely local and the database is on the same Zabbix server.
  • LeoCombes
    Member
    • Mar 2011
    • 32

    #2
    Is this possible?
    I refer to the ping before the query snmp.

    Comment

    Working...