Commit Graph

45 Commits

Author SHA1 Message Date
Mark Schouten b79d2906ae Rewrite sender-ip if ::ffff: is prepended because the syslogserver uses IPv6 2015-08-21 16:02:59 +02:00
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Alexander Sosna 5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
Faidon Liambotis af1e82ddbb process_syslog: remove debugging statements
Currently, filtered syslog messages (via syslog_filter) are spewed into
stdout (unlike unfiltered ones), presumably for debugging. When
syslog.php has been invoked from rsyslog, writing to stdout results in
an EPIPE which is unhandled and hence syslog.php dies. Remove them, as
they're completely redundant and of dubious gains to debugging.
2014-01-11 17:34:45 +02:00
Adam Amstrong b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong 4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans 4fad2ccc68 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2967 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-05 16:44:58 +00:00
Adam Amstrong 86248c8bce make sensor_type larger, merge both logs into one tab (ran out of space!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2719 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-07 19:39:15 +00:00
Tom Laermans a369c442eb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
Tom Laermans 2dc8b807e9 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2642 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 09:10:21 +00:00
Tom Laermans 9a1bee1458 more code cleanup (last commit for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
Tom Laermans dc0ebc7343 more code cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@2517 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:22:34 +00:00
Tom Laermans d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Tom Laermans 5cb7853b81 fix syslog for openvpn, patch by Yucong Sun
git-svn-id: http://www.observium.org/svn/observer/trunk@2422 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-07 08:31:42 +00:00
Adam Amstrong bb95ed4dc3 fix syslog a little.
git-svn-id: http://www.observium.org/svn/observer/trunk@2406 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-02 09:01:32 +00:00
Adam Amstrong 232b330f3d fixed syslog? why knows!
git-svn-id: http://www.observium.org/svn/observer/trunk@2405 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-02 06:56:21 +00:00
Adam Amstrong 2778e4b90d delete users (and all perms) fixed
git-svn-id: http://www.observium.org/svn/observer/trunk@2371 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-26 21:27:40 +00:00
Adam Amstrong 7e16919426 more db
git-svn-id: http://www.observium.org/svn/observer/trunk@2317 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-14 21:51:58 +00:00
Adam Amstrong 6f461860f9 sort of fix syslog. ish.
git-svn-id: http://www.observium.org/svn/observer/trunk@2295 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 00:13:57 +00:00
Adam Amstrong e1829ba0f7 revert something that broke syslog 2 months ago...
git-svn-id: http://www.observium.org/svn/observer/trunk@2293 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 23:15:56 +00:00
Adam Amstrong 6bcc4f4e48 fix some stuff, break some stuff (ports disaply is missing some stuff atm)
git-svn-id: http://www.observium.org/svn/observer/trunk@2290 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 22:14:56 +00:00
Adam Amstrong 2522421528 replace mysql_ with db* (update with caution, it works for me but...)
git-svn-id: http://www.observium.org/svn/observer/trunk@2282 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 17:59:00 +00:00
Adam Amstrong ebcbf22317 move includes/billing.php includes/syslog.php and includes/functions.php to dbFacile
git-svn-id: http://www.observium.org/svn/observer/trunk@2278 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 11:58:17 +00:00
Adam Amstrong 238c8cf85a catos support for syslog
git-svn-id: http://www.observium.org/svn/observer/trunk@2187 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-27 19:34:16 +00:00
Tom Laermans 4bc15529d4 eradicate split() in favour of explode()
git-svn-id: http://www.observium.org/svn/observer/trunk@2054 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-11 09:22:12 +00:00
Tom Laermans a8d60662d2 clean, clean, clean, all i have to do is clean
git-svn-id: http://www.observium.org/svn/observer/trunk@1855 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 15:27:14 +00:00
Adam Amstrong 36e95e0c5a ignore timeout/retries if timeout/retries == 0
git-svn-id: http://www.observium.org/svn/observer/trunk@1825 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-12 11:32:02 +00:00
Tom Laermans 92777ab03b cleanups, reindents, etc
git-svn-id: http://www.observium.org/svn/observer/trunk@1821 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-11 18:03:49 +00:00
Adam Amstrong d07689c8d4 syslog handling update
git-svn-id: http://www.observium.org/svn/observer/trunk@1507 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 19:52:47 +00:00
Adam Amstrong c9bff08425 some graph cleanups and minor improvements
git-svn-id: http://www.observium.org/svn/observer/trunk@1161 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-13 14:39:09 +00:00
Adam Amstrong dc04b5189b syslog fix + device_fanspeeds graph for health main page
git-svn-id: http://www.observium.org/svn/observer/trunk@951 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-25 01:52:32 +00:00
Tom Laermans 679c0f3079 cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@915 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 11:58:07 +00:00
Adam Amstrong 0bee34b6ad change interfaces table to ports (to match GUI conventions)
git-svn-id: http://www.observium.org/svn/observer/trunk@889 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-20 17:22:22 +00:00
Adam Amstrong 8692b82e7a clear $array at the start of each device. ignore fake cpus from net-snmpd. syslog additions.
git-svn-id: http://www.observium.org/svn/observer/trunk@886 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-19 23:57:50 +00:00
Adam Amstrong 4064d7b824 migrate from reprocessing syslog from sql to native sql injector. changes dateime to timestamp in database. will break existing syslog dates! ** BEWARE **
git-svn-id: http://www.observium.org/svn/observer/trunk@885 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-19 01:40:38 +00:00
Adam Amstrong e9ef8db683 small fixes. hrDevice collection fixed.
git-svn-id: http://www.observium.org/svn/observer/trunk@777 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-06 23:36:33 +00:00
Adam Amstrong d02ade9ba6 speedups to syslog page, caching of device_id
git-svn-id: http://www.observium.org/svn/observer/trunk@743 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-29 21:10:05 +00:00
Adam Amstrong 7157ec5549 a billion changes. **** MAKE SURE TO UPDATE DATABASE AND RUN poll-os.php AND discovery.php -h all **** This is VERY important, as a lot of things have changed! Expect missing files, and another update soon!
git-svn-id: http://www.observium.org/svn/observer/trunk@531 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-28 09:48:23 +00:00
Adam Amstrong bc6ad69724 a million fixes. half way to 0.6.0! :D
git-svn-id: http://www.observium.org/svn/observer/trunk@407 61d68cd4-352d-0410-923a-c4978735b2b8
2009-04-23 21:13:56 +00:00
Adam Amstrong 44f3a83038 add cisco processor polling and many other fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@402 61d68cd4-352d-0410-923a-c4978735b2b8
2009-04-11 19:10:48 +00:00
Adam Amstrong d7d7d917a8 updates
git-svn-id: http://www.observium.org/svn/observer/trunk@328 61d68cd4-352d-0410-923a-c4978735b2b8
2008-11-28 12:59:33 +00:00
Adam Amstrong f33bca5e3e better logon process
git-svn-id: http://www.observium.org/svn/observer/trunk@318 61d68cd4-352d-0410-923a-c4978735b2b8
2008-11-26 14:01:09 +00:00
Adam Amstrong c35328c28f fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@209 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-29 17:36:54 +00:00
Adam Amstrong 126fbc630d missing file!
git-svn-id: http://www.observium.org/svn/observer/trunk@199 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-23 21:32:54 +00:00