Ad Widget

Collapse

Problems with UserParameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbobkiewicz
    Member
    • Aug 2005
    • 36

    #1

    Problems with UserParameter

    Hi,
    I have a weird problem with UserParameters. Here is how it works:
    We have two switches which only provide their statistics via http, no snmp. So I took a script I found on the internet, changed it to my needs to read out the html pages and only write the values of statistics into a text file. Each switch has it´s own textfile with 464 values (16 ports with 29 values for each port). I then wrote a script for Zabbix which I´ve added as UserParameter which takes two values, the id of the wanted parameter and port number, so I´m able to query every single values from zabbix. I then set up each switch with 5 values for each port. The returned values from the script are stored as float.
    So my problem is: Some items change their state to "unsupported" after they have received their second value. No matter how often you turn them on, they read two values and then change to "unsupported". And there are different "unsupported" parameters on the two switches. For example switch one has only 3 unsupported parameters while switch two has seven. And while the unsupported parameters on switch one are on the ports 6 and 7 the unsupported parameters on switch two are on the ports 5, 6 and 10. But also the unsupported parameters for Port 6 on switch one differs from the ones on switch two. Some of the unsupported parameters returned value is always zero (error counters/colission counters) while others are somewhere in the GBs. But on the other hand there are ports on both switches with lots more traffic on them, other have no traffic because they are unused, all working without any problems. Speeding up the UserParameter script doesn´t work, deleting and recreating the items doesn´t work. I´m really at the end of my knowledge, has anyone any suggestions what I may try to fix this?

    Best regards,

    Mike
Working...