Clayton,
Good day,
It's a good software as I can see though Im having a problem with the Php-syslog-ng & I think I'm lost (totally).
Im currently running on Fedora core 6 i386 stable & my rpms for the PHP is :
php-cli-5.1.6-3.4.fc6
php-mysql-5.1.6-3.4.fc6
php-common-5.1.6-3.4.fc6
php-ldap-5.1.6-3.4.fc6
php-gd-5.1.6-3.4.fc6
php-pdo-5.1.6-3.4.fc6
php-5.1.6-3.4.fc6
php-odbc-5.1.6-3.4.fc6
php-pgsql-5.1.6-3.4.fc6
for Mysql is:
mysql-devel-5.0.27-1.fc6
php-mysql-5.1.6-3.4.fc6
mysql-bench-5.0.27-1.fc6
mysql-connector-odbc-3.51.12-2.2
mod_auth_mysql-3.0.0-3.1
mysql-server-5.0.27-1.fc6
mysql-5.0.27-1.fc6
libdbi-dbd-mysql-0.8.1a-1.2.2
I have already installed the Php-Syslog-NG 2.9.2a (r13) Stable & the table already showed. My only problem is that its not working or I think its misconfigu
red. I have attached a screenshot of my table &my problem occurs here:
1.
When I click the search tab, it should first appear or pop the "search then what type of logs" its missing actually.. this table only appears when I click the "search" tab.
2. When you click the "tail" button, there is a notice on top it says,
a. "Undefined variable: msg1 in
/var/www/html/includes/tailresult.php on line
164Use this link to reference this query directly: QUERY"b.
Notice: Undefined variable: num_results in
/var/www/html/includes/html_result_subheader.php on line
13
c. Notice: Undefined offset: 0 in
/var/www/html
/includes/tailresult.php on line
293d. the table or the logs are not
responding , meaning I dont receive any logs which I tested it by sending some logs thru cisco devices going to the syslog server
d. Search button has also errors,
Notice: Undefined variable: result_array in
/var/www/html/includes/regularresult.php on line
390No results found.
I have made some changes usually with the paths (dbgen.pl, syslog2mysql.sh..).
I put the syslog2mysql.sh to /etc/init.d while the syslog-ng.conf in /etc.
I also made the crontab which is attached to the scripts folder.
I put my whole folder of phpsyslog-ng at /var/www/html. I can say that I'm a newbie after all, cause Im still having a problem with the lingo stuff.
I hope you could bare with me & help me out on this. Basically, my purpose is to monitor our cisco devices using the open source program like this one. I'm also looking for some scrip
ts for monitoring our devices, if it is not that hassle on your part where could I find
one.
Thanks in advance hope to hear from you.
God bless.
cipher