Ad Widget

Collapse

Zabbix frontend on IIS question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NomenNescio
    Member
    • Jan 2009
    • 70

    #1

    Zabbix frontend on IIS question

    Hi, I'm running the Zabbix frontend on IIS and I'm getting an error, I'm not getting this error when I run the frontend on linux.

    I would like to know how to fix this error, so if anyone knows how to do it please tell me. I've searched on google and it seems that the php frontend is trying to execute a Linux command on windows(but I could be wrong):
    ps -ef|grep zabbix_server|grep -v grep|wc -l
    What are the consequences of this error and how do I fix it?

    Here's a screenshot:
    Attached Files
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    That's how the UI tries to find out whether "zabbix_server" is running and display "YES/NO". Pretty useless for you as zabbix_server is running on another box.

    In frontends/php/include/config.inc.php

    Change the first lines of function get_status() to something like:

    Code:
    function get_status() {
        $status = array();
        $status["zabbix_server"] = S_YES;  // of S_NO ...
    
        // keep other DB queries...

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #3
      Never tested frontend on IIS

      Though, it could be easily fixed. This error is harmless, it just try to check if zabbix server is running.
      Zabbix | ex GUI developer

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        Originally posted by Calimero
        That's how the UI tries to find out whether "zabbix_server" is running and display "YES/NO". Pretty useless for you as zabbix_server is running on another box.

        In frontends/php/include/config.inc.php

        Change the first lines of function get_status() to something like:

        Code:
        function get_status() {
            $status = array();
            $status["zabbix_server"] = S_YES;  // of S_NO ...
        
            // keep other DB queries...
        FYI: in 1.6.3 its check if server running even if it's on other server and probably this error is fixed too
        Zabbix | ex GUI developer

        Comment

        • Calimero
          Senior Member
          • Nov 2006
          • 481

          #5
          Originally posted by Aly
          FYI: in 1.6.3 its check if server running even if it's on other server and probably this error is fixed too

          You're cheating: making releases so that other people's post seem useless.

          Comment

          • NomenNescio
            Member
            • Jan 2009
            • 70

            #6
            Ah I'm running 1.6.2, I'll upgrade to 1.6.3 then.

            Thanks =)

            Edit:
            I upgraded and it worked,
            Last edited by NomenNescio; 27-03-2009, 15:30.

            Comment

            Working...