Ad Widget

Collapse

Unsupported item key.

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • frauseo1
    Junior Member
    • Nov 2024
    • 5

    #1

    Unsupported item key.

    Hi community,

    I'm new to the zabbix world. I apologize if some inforation is missing on my post.
    Some backgruound:
    We phase out some phisical servers in our company and perheps this broke the installation. Since the coworker who implemented zabbix is not in our company anymore... i'm quite lost.
    • We have a zabbix server (on linux) hosted on a vps.
    • We do use a zabbix-proxy (on linux) to monitor various windows vm and oracle DB.
    • We do use zabora.cmd for this purpose.
    • zabbix server 6.0.35
    • zabbix proxy 6.0.35
    • zabbix agent 6.0.35
    The problem is, on the host under items, i see the "Unsupported item key" which was noch changed since before the phaseout.
    The triggers show a similar error:
    Cannot evaluate function last(/CUSTOMER_NAME/oracle[criticaltsp,{$SID},{$TNS},{$CUSTOMER}]): item is not supported.
    Click image for larger version

Name:	image.png
Views:	1624
Size:	102.3 KB
ID:	494224Click image for larger version

Name:	image.png
Views:	1535
Size:	18.6 KB
ID:	494225​​I can successfully execute the script with return value on the machine where the zabora.cmd locates.

    I tried to install agent2 on the machine where the script is located and executed, but did not solve the error.

    UserParam named usermarameter_oracle.comf looks like this
    Code:
    UserParameter=oracle[*],D:\zabbix\oracle\zabora.cmd $1 $2 $3 $4
    How can i further troubleshoot this error and fix the problem?
    Any help is higli apreciated

    Cheers
  • Answer selected by frauseo1 at 14-11-2024, 17:04.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    ok .. userparameter_oracle.conf file is present, is it also included to config? You should have "Include" parameter in agent config, and it should point either directly to that file or to the directory, that contains it..

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Do you have this "D:\zabbix\oracle\zabora.cmd" file in place, which should actually perform requested query...

      Comment

      • frauseo1
        Junior Member
        • Nov 2024
        • 5

        #3
        Yes, i confirm that the zabora.cmd is located under "D:\zabbix\oracle\zabora.cmd" on the VM (10.177.10.254, W10-5).
        Is there more information i can provide?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #4
          ok .. userparameter_oracle.conf file is present, is it also included to config? You should have "Include" parameter in agent config, and it should point either directly to that file or to the directory, that contains it..

          Comment

          • frauseo1
            Junior Member
            • Nov 2024
            • 5

            #5
            This was the error!
            I don't know why the monitoring was working because nothing changed on the system... except on weekly updates.

            Thanks so much for your time! Higliy apreciate it cyber

            Comment

            Working...