Ad Widget

Collapse

A lot of 1.9.7 simple checks became unsupported....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frater
    Senior Member
    • Oct 2010
    • 340

    #1

    A lot of 1.9.7 simple checks became unsupported....

    I guess something changed with the simple checks....
    A lot of them became unsupported after going from 1.9.6 to 1.9.7

    I guess something changed but I wouldn't know where to look....

    This is part of the log...

    26614:20111030:104621.143 item [Zabbix server:ftp] became not supported: Simple check is not supported
    26614:20111030:104621.143 item [Zabbix server:http] became not supported: Simple check is not supported
    26614:20111030:104621.297 item [XXXX1:tcp,443] became not supported: Key is badly formatted
    26615:20111030:104622.902 item [XXXX2:tcp,443] became not supported: Key is badly formatted
    26615:20111030:104622.903 item [XXXX2:tcp,993] became not supported: Key is badly formatted
    26615:20111030:104622.903 item [XXXX3:tcp,443] became not supported: Key is badly formatted
    26615:20111030:104622.904 item [Zabbix server:imap] became not supported: Simple check is not supported
    26615:20111030:104622.904 item [Zabbix serverop] became not supported: Simple check is not supported
    26614:20111030:104626.313 item [XXXX4:http] became not supported: Simple check is not supported
    26614:20111030:104626.314 item [XXXX4:tcp,443] became not supported: Key is badly formatted
    26614:20111030:104626.315 item [Zabbix server:tcp,443] became not supported: Key is badly formatted
    26614:20111030:104626.316 item [Zabbix server:tcp,993] became not supported: Key is badly formatted
    26614:20111030:104626.316 item [Zabbix server:tcp,995] became not supported: Key is badly formatted
    26616:20111030:104631.325 item [XXXX5:tcp,443] became not supported: Key is badly formatted
    26616:20111030:104631.326 item [XXXX6:tcp,443] became not supported: Key is badly formatted
    26616:20111030:104631.326 item [XXXX7:tcp,443] became not supported: Key is badly formatted
    26616:20111030:104631.327 item [XXXX8:tcp,443] became not supported: Key is badly formatted
    26616:20111030:104631.327 item [XXXX9:tcp,443] became not supported: Key is badly formatted
    Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    that's because you haven't patched your database. there are no official incremental patches, though - but unofficial ones for mysql can be found at http://www.zabbix.org/svn/zabbixorg/...emental/README
    Zabbix 3.0 Network Monitoring book

    Comment

    • frater
      Senior Member
      • Oct 2010
      • 340

      #3
      I patched the database and now

      ftp changed into net.tcp.service["ftp"]

      Before this patch I tried to do this by hand (http://www.zabbix.com/documentation/..._simple_checks)

      I wasn't able to do this because it conflicted with the Zabbix agent check net.tcp.service[ftp]

      I didn't use quotes around ftp, BTW

      Shouldn't a check from type "Agent" never conflict with a check "Simple" ?
      Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        Originally posted by frater
        Shouldn't a check from type "Agent" never conflict with a check "Simple" ?
        well, this was discussed... in general, the item key must be unique, so having different types won't help you. there doesn't seem to be an easy way around this either
        Zabbix 3.0 Network Monitoring book

        Comment

        • frater
          Senior Member
          • Oct 2010
          • 340

          #5
          Originally posted by richlv
          well, this was discussed... in general, the item key must be unique, so having different types won't help you. there doesn't seem to be an easy way around this either
          An easy way would be naming them differently.
          There's no need to name these 2 functions the same.
          One is done on the server and the other one on the client.

          I created a function "agent.ping" and didn't name it this way to avoid this conflict, I did it because it would always be clear the agent is doing the ping.
          Last edited by frater; 31-10-2011, 22:28.
          Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            Originally posted by frater
            An easy way would be naming them differently.
            There's no need to name these 2 functions the same.
            One is done on the server and the other one on the client.
            well... there isn't really such notation being used in zabbix item keys. and naming them differently might be argued against that same check shouldn't use different keys just based on where it is executed... currently one may change item type and thus easily move the check on the other daemon
            Zabbix 3.0 Network Monitoring book

            Comment

            • frater
              Senior Member
              • Oct 2010
              • 340

              #7
              Originally posted by richlv
              well... there isn't really such notation being used in zabbix item keys.
              That's what I ment...
              I deliberately didn't name it icmp.ping
              and naming them differently might be argued against that same check shouldn't use different keys just based on where it is executed... currently one may change item type and thus easily move the check on the other daemon
              From a troubleshooting perspective, running net.tcp.service[http] on the server itself is something completely different than running it from the monitoring server...

              But the real issue here is that it's important to be able to do both, isn't it?

              If I can reach the http server from the server itself, but I can't reach it from a remote location this is valuable info...
              Combine that with being able to ping or not and it's almost certain a firewall issue.

              Maybe it's a bit hard to implement into the code how it is now (and all but respect for your work), but that shouldn't be the reason not to do it.
              I'm now able to have both these tests on the same machine because the database was directly patched and didn't go through the error checking module.
              Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

              Comment

              Working...