Ad Widget

Collapse

system.cpu.switches ZBX_NOTSUPPORTED

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexander.rozhkov
    Junior Member
    • Sep 2008
    • 3

    #1

    system.cpu.switches ZBX_NOTSUPPORTED

    Hello!

    I'm getting UNSUPPORTED response on some "system" items, ex system.cpu.switches

    What's wrong ?

    [sbin]$ ./zabbix_agent -c zabbix_agentd.conf -t system.cpu.switches
    system.cpu.switches [m|ZBX_NOTSUPPORTED]

    [sbin]$ ./zabbix_agent -V
    ZABBIX Agent v1.4.6 (23 July 2008)
    Compilation time: Jul 17 2009 15:22:57

    [sbin]$ cat /proc/version
    Linux version 2.6.18-92.1.6.el5 ([email protected]) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Fri Jun 20 02:36:16 EDT 2008



    Thanks
    Alexander


    P.S Here is the list of not supported items:
    system.run[echo test] [m|ZBX_NOTSUPPORTED]
    kernel.maxproc [m|ZBX_NOTSUPPORTED]
    vfs.dev.read[sda,operations] [m|ZBX_NOTSUPPORTED]
    vfs.dev.write[sda,sectors] [m|ZBX_NOTSUPPORTED]
    net.tcp.listen[80] [m|ZBX_NOTSUPPORTED]
    system.cpu.switches [m|ZBX_NOTSUPPORTED]
    Last edited by alexander.rozhkov; 17-07-2009, 17:09.
  • zetho
    Junior Member
    • Jul 2009
    • 9

    #2
    Hey,

    I have the same problem.
    Being honest , I've installed zabbix mainly because it does not have to have port 161 open for monitoring system.cpu.switches via snmp/udp . What I get so far is :

    1.
    [root@123]# zabbix_agentd -V
    ZABBIX Agent (daemon) v1.6.5 (revision 7442) (3 April 2009)
    Compilation time: Jul 28 2009 16:07:57

    2. [root@123]# zabbix_agent -c /etc/zabbix/zabbix_agentd.conf -t system.cpu.switches
    system.cpu.switches [m|ZBX_NOTSUPPORTED]

    Help please

    Comment

    • v.rusinov
      Junior Member
      • Apr 2008
      • 22

      #3
      According to zabbix docs system.cpu.switches, kernel.maxproc & net.tcp.listen are only supported on FreeBSD & Solaris. You may need to write you own items and UserParams.

      system.run requires EnableRemoteCommands=1 in conf.

      for vfs.dev.{read,write} you probably need to check what modes are supported on linux.

      Comment

      • zetho
        Junior Member
        • Jul 2009
        • 9

        #4
        Thank you for the response,
        it's always some kind of solution to write my own item and I think I'll do it.

        regards
        WZ

        Comment

        • zetho
          Junior Member
          • Jul 2009
          • 9

          #5
          What "key" should I type in adding SNMPv2 item to monitor cpu context switches ?

          regards

          Comment

          • tchjts1
            Senior Member
            • May 2008
            • 1605

            #6
            Context switching on Windows machines are easily monitored through Zabbix using performance counters. No need to write anything.
            Attached Files

            Comment

            • zetho
              Junior Member
              • Jul 2009
              • 9

              #7
              I did not ask about monitoring context switches on Windows machine.

              I'd like to monitor context switches on a linux box via SNMP , but there's OID and key (while creating new item) that I don't know.

              Any clues ?

              Comment

              Working...