Ad Widget

Collapse

Step 5 Setup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markclark
    Member
    • Apr 2011
    • 70

    #1

    Step 5 Setup

    Hi there,

    Not sure if anyone is able to help please? Everything has worked fine following all the steps until ive reached Step 5.

    5 - Prepare the rest of the system:

    sudo nano /etc/services

    Add at the end:

    zabbix_agent 10050/tcp # Zabbix ports
    zabbix_trap 10051/tcp

    Save and exit.

    When i run the above it opens a blank window to enter the above, so take it this should be the only 2 lines of data in there? Then when save it, it says 'Save Modified buffer' which i choose YES. Then it comes back 'File Name to Write:' but not sure what here as gives me a list of options.

    Few steps down when i try run the command below.

    cp misc/conf/zabbix_* /etc/zabbix/

    i get a response of

    cp: cannot stat `misc/conf/zabbix_*': No such file or directory

    do i need to create some directories? The commands above that worked fine which were...

    sudo mkdir /etc/zabbix
    sudo chown -R zabbix.zabbix /etc/zabbix/

    thanks everyone
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Why did you not try to install one of the Zabbix packages first? It may make life a whole lot easier for you while you're coming up to speed with Zabbix.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • markclark
      Member
      • Apr 2011
      • 70

      #3
      Hi thanks for the reply.

      What do you mean by that sorry for my misunderstanding. I done a clean install of Ubuntu Server 10.10 then gone onto the Zabbix wiki on how to setup Zabbix and started from the top and goto step 5 and having issues.

      thanks

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        I don't know ubuntu, but under Fedora I would just do

        Code:
        yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent
        And I would have everything installed along with the appropriate dependencies.

        There is something equivalent for Ubuntu using apt-get (or your package manager frontend of preference).
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        • markclark
          Member
          • Apr 2011
          • 70

          #5
          ok thanks for the response. think i got it sorted, reran a few previous steps and seemed to have fixed the issue.

          server is up and running now, just need to find out how to configure it all haha. should be fun

          thanks again
          mark

          Comment

          Working...