[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] [Bug 67] New: Integrity Checking page doesn't show all agents



http://www.ossec.net/bugs/show_bug.cgi?id=67

           Summary: Integrity Checking page doesn't show all agents
           Product: OSSEC
           Version: UI-0.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ossec-ui
        AssignedTo: ossec-dev@xxxxxxxxx
        ReportedBy: chrisr@xxxxxxx


For the web ui, the Integrity Checking page only lists ossec-server in the
"Agent name" drop down box and only lists changes from the ossec-server below.

The problem is that the os_lib_syscheck.php file doesn't allow for "."s in the
file names for the files in the syscheck directory. (So a host named
myhost.mynetwork.com doesn't show up).

I fixed this problem on my installation by changing line 328 in the
os_lib_syscheck.php file from:

$filepattern = "/^\(([a-zA-Z0-9_-]+)\) ".

to:

$filepattern = "/^\(([\.a-zA-Z0-9_-]+)\) ".

Now it seems to be working properly.


-- 
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.