Ad Widget

Collapse

Agent on SunOS 5.10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sharaz
    Junior Member
    • Feb 2009
    • 2

    #1

    Agent on SunOS 5.10

    where can i find a step-by-step on how to get an agent built and running in SunOS 5.10? ive got these 2 solaris boxes that i dont know anything about, but the monitoring team wants an agent on there asap. (altho i do know all about linux and BSD)

    one box i can get root on, one box, no one knows the root passwd (and its one of those things that it doesnt get rebooted unless theres a damn good reason). i know i can build the agent to run as root, but can i build it to run as some other user as well?

    any help would be appreciated greatly. thanks!
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Please wait for 1.6.3. We plan to make available pre-compiled agent binaries for a broad range of platforms including different versions of Solaris.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by Alexei
      Please wait for 1.6.3. We plan to make available pre-compiled agent binaries for a broad range of platforms including different versions of Solaris.
      By the way. Zabbix still does not compile on OpenSolaris:

      gcc -DHAVE_CONFIG_H -I. -I../../../include -I/usr/mysql/5.0/include/mysql -DBIG_TABLES -DHAVE_RWLOCK_T -g -O2 -MT libzbxpoller_a-checks_snmp.o -MD -MP -MF .deps/libzbxpoller_a-checks_snmp.Tpo -c -o libzbxpoller_a-checks_snmp.o `test -f 'checks_snmp.c' || echo './'`checks_snmp.c
      checks_snmp.c: In function `snmp_get_index':
      checks_snmp.c:180: error: structure has no member named `localname'
      checks_snmp.c: In function `get_snmp':
      checks_snmp.c:473: error: structure has no member named `localname'
      gmake[4]: *** [libzbxpoller_a-checks_snmp.o] Error 1
      gmake[4]: Leaving directory `/export/home/tkloczko/pkg/BUILD/zabbix-1.6.2/src/zabbix_server/poller'
      gmake[3]: *** [all-recursive] Error 1
      gmake[3]: Leaving directory `/export/home/tkloczko/pkg/BUILD/zabbix-1.6.2/src/zabbix_proxy'
      gmake[2]: *** [all-recursive] Error 1
      gmake[2]: Leaving directory `/export/home/tkloczko/pkg/BUILD/zabbix-1.6.2/src'
      gmake[1]: *** [all-recursive] Error 1
      gmake[1]: Leaving directory `/export/home/tkloczko/pkg/BUILD/zabbix-1.6.2'

      On OS still is available only older net-snmp (5.0.9). IF I remember correctly the same version still is inSolaris 10 GA (update 6).

      Tomasz
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      • Tenzer
        Senior Member
        • Nov 2007
        • 316

        #4
        Maybe this can help you out regarding SNMP libraries:

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Originally posted by kloczek
          checks_snmp.c: In function `snmp_get_index':
          checks_snmp.c:180: error: structure has no member named `localname'
          checks_snmp.c: In function `get_snmp':
          checks_snmp.c:473: error: structure has no member named `localname'
          gmake[4]: *** [libzbxpoller_a-checks_snmp.o] Error 1
          gmake[4]: Leaving directory `/export/home/tkloczko/pkg/BUILD/zabbix-1.6.2/src/zabbix_server/poller'
          gmake[3]: *** [all-recursive] Error 1
          gmake[3]: Leaving directory `/export/home/tkloczko/pkg/BUILD/zabbix-1.6.2/src/zabbix_proxy'
          It is already fixed in pre-1.6.3.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • kloczek
            Senior Member
            • Jun 2006
            • 1771

            #6
            Originally posted by Tenzer
            Maybe this can help you out regarding SNMP libraries:
            http://www.zabbix.com/forum/showpost...83&postcount=9
            You can always install freshen net-snmp but I'm talking about using zabbix against net-snmp from distribution.
            http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
            https://kloczek.wordpress.com/
            zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
            My zabbix templates https://github.com/kloczek/zabbix-templates

            Comment

            • krimson
              Member
              • Sep 2008
              • 49

              #7
              Originally posted by Alexei
              Please wait for 1.6.3. We plan to make available pre-compiled agent binaries for a broad range of platforms including different versions of Solaris.
              Quoting this, as I cannot get 1.6.4 compiled on Solaris 10. I have reported a bug on this.

              When can we expect a precompiled 1.6.4 agent for Solaris 10 ?

              Comment

              Working...