Ad Widget

Collapse

Web monitoring not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JustinM
    Junior Member
    • Jul 2007
    • 9

    #1

    Web monitoring not working

    Hi folks,

    I have successfully installed Zabbix server and agent 1.4.1 on Ubuntu 7.04.

    Monitoring of the local agent is working fine and the web monitoring is not working. Initially I compiled Zabbix without the --with-libcurs option, so I re-compiled it hoping that this would fix the problem, but it hasn't.

    When I look at the Web monitoring screen, it says that the Last Check was "01 Jan 10:00:00" and the State is "Idle till 01 Jan 10:00:00".

    I have setup the web monitoring correctly as I had previously been testing the Zabbix vmware appliance and was able to get everything running. I am now trying to set it up on the physical (as opposed to virtual) machine.

    Does anybody have any thoughts on why it is not running or how I might diagnose the problem?

    Thanks,
    Justin.
  • aalexanderr
    Junior Member
    • Jul 2007
    • 26

    #2
    Originally posted by JustinM
    Hi folks,

    I have successfully installed Zabbix server and agent 1.4.1 on Ubuntu 7.04.

    Does anybody have any thoughts on why it is not running or how I might diagnose the problem?

    Thanks,
    Justin.
    Need more info: cat /tmp/zabbix_server.log

    Comment

    • JustinM
      Junior Member
      • Jul 2007
      • 9

      #3
      Hi Alex,

      Thanks for the reply. I didn't realise the location of the log file.

      Things were a bit strange because the first time I started zabbix_server, the little zabbix startup banner appeared in the log file but never again.
      While I was looking into things, I decided to amend the /etc/init.d/zabbix-server file to start zabbix under the zabbix user.

      Things were still a bit strange (it was often refusing to restart) so I decided to reboot the machine (a very bad Windows habit I must confess) but things started working fine after the reboot. Perhaps it was some sort of permissions issue.

      All monitoring seems to be working fine now.

      Thanks again,
      Justin.

      Comment

      • aalexanderr
        Junior Member
        • Jul 2007
        • 26

        #4
        Originally posted by JustinM
        Hi Alex,

        Thanks for the reply. I didn't realise the location of the log file.
        You can find it like this:
        #find / -name zabbix_server.log
        Usually you can find log file in /tmp
        If you can't find this file it looks like a bit strange...
        #ps -aux | grep zabbix_server
        Find you zabbix_server bin file and find zabbix_server.conf file & run:
        #zabbix_server -c zabbix_server.conf
        #cat /tmp/zabbix_server.log
        or
        #less /tmp/zabbix_server.log

        Originally posted by JustinM
        Things were a bit strange because the first time I started zabbix_server, the little zabbix startup banner appeared in the log file but never again.
        While I was looking into things, I decided to amend the /etc/init.d/zabbix-server file to start zabbix under the zabbix user.
        #ps -aux | grep zabbix_server:
        zabbix xxx x x x x x zabbix_server:..............

        Comment

        Working...