Commit Graph

51 Commits

Author SHA1 Message Date
Tom Laermans
de7ff537cc revert r1957 patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1960 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-23 09:54:56 +00:00
Geert Hauwaerts
6501cd29b5 - Code cleanup by Bastian Widmer.
git-svn-id: http://www.observium.org/svn/observer/trunk@1957 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-22 20:27:39 +00:00
Tom Laermans
608bf7e4eb fixiefix disabled assumptions
git-svn-id: http://www.observium.org/svn/observer/trunk@1946 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-21 11:58:01 +00:00
Tom Laermans
4a323d81b3 add a distinction between ignore and disable for ports, like for devices - patch by Paul Gear
git-svn-id: http://www.observium.org/svn/observer/trunk@1942 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-21 10:39:54 +00:00
Tom Laermans
ecbcd1db43 clean up polling source files, remove dead code
git-svn-id: http://www.observium.org/svn/observer/trunk@1865 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 01:11:27 +00:00
Tom Laermans
90e2dee34a reindent ports.inc.php + don't db/rrd-update deleted ports
git-svn-id: http://www.observium.org/svn/observer/trunk@1823 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-11 21:37:17 +00:00
Tom Laermans
b1d60eafd0 git-svn-id: http://www.observium.org/svn/observer/trunk@1817 61d68cd4-352d-0410-923a-c4978735b2b8 2011-03-10 16:00:37 +00:00
Tom Laermans
3c10ede092 Get rid of some more execs
git-svn-id: http://www.observium.org/svn/observer/trunk@1814 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-10 15:51:56 +00:00
Adam Amstrong
038bc8c20e show ports/sensors on the device list page. add option to use php-snmp functions for snmp_get()s
git-svn-id: http://www.observium.org/svn/observer/trunk@1716 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-26 22:10:04 +00:00
Adam Amstrong
0db6ad08ff vastly improved entity-sensors and cisco-entity-sensors speed. improved entity-mib inventory. removed device_id element from oid caches. add min/max ranges to sensor graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@1669 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 17:08:56 +00:00
Adam Amstrong
baf538df88 reengineering of port rrdfile. merged ifx (will notify existance of this via database).
****** YOU MUST RUN DISCOVERY OR "php fix-port-rrd.php" AFTER THIS *******



git-svn-id: http://www.observium.org/svn/observer/trunk@1656 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-10 15:54:01 +00:00
Adam Amstrong
86f0647ded poller output cleanups (i think we should start to put some colour in here, to make it all sexypants)
git-svn-id: http://www.observium.org/svn/observer/trunk@1649 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-05 23:00:35 +00:00
Tom Laermans
4160243794 reworking poe polling a bit, but still unpolished or even unfinished
git-svn-id: http://www.observium.org/svn/observer/trunk@1633 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-02 23:11:54 +00:00
Adam Amstrong
f5ab46aecf add duplex detection frmo dot3stats and display this for ports (and fix weird bug where speed wasn't shown for devices with no ifAlias!)
git-svn-id: http://www.observium.org/svn/observer/trunk@1504 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 17:37:11 +00:00
Adam Amstrong
f91db2a32d Overwrite ifSpeed with ifHighSpeed * 1M if ifSpeed > 1G. Thanks to Bill Fenner from Arista for the nudge :)
git-svn-id: http://www.observium.org/svn/observer/trunk@1503 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 16:48:30 +00:00
Adam Amstrong
5263fa9238 fix front page. fix port poller and port descr parser a little.
git-svn-id: http://www.observium.org/svn/observer/trunk@1486 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-26 20:05:14 +00:00
Adam Amstrong
9052296c13 lots of cleanups to various things
git-svn-id: http://www.observium.org/svn/observer/trunk@1463 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-23 13:42:28 +00:00
Adam Amstrong
e220114f4c add some mibs, update snmp functions
git-svn-id: http://www.observium.org/svn/observer/trunk@1458 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-22 21:58:49 +00:00
Tom Laermans
f09b9c4d63 move wireless stats to system tab, minor fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@1457 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-21 22:28:50 +00:00
Adam Amstrong
6bb7fe026f improving ipSystemStats v4/v6 stats, clean up some variables in defaults.inc.php
git-svn-id: http://www.observium.org/svn/observer/trunk@1455 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-21 15:14:02 +00:00
Adam Amstrong
80a074e021 only collect ADSL stats if we have a port type 'adsl'
git-svn-id: http://www.observium.org/svn/observer/trunk@1441 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 13:10:18 +00:00
Adam Amstrong
f63e913a0e $config['log_file'] = USE IT.
git-svn-id: http://www.observium.org/svn/observer/trunk@1440 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 13:02:54 +00:00
Adam Amstrong
501b01c7c7 more ADSL updates
git-svn-id: http://www.observium.org/svn/observer/trunk@1412 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-18 11:38:38 +00:00
Adam Amstrong
95e1713787 make ADSL more efficient (that mib is large and full of poo)
git-svn-id: http://www.observium.org/svn/observer/trunk@1407 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-18 09:28:25 +00:00
Adam Amstrong
60ea70fe57 changes since changes began
git-svn-id: http://www.observium.org/svn/observer/trunk@1403 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-18 08:20:30 +00:00
Adam Amstrong
6a673c1cce updated email sending to allow global disabling and sysContact override
git-svn-id: http://www.observium.org/svn/observer/trunk@1344 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-11 19:11:46 +00:00
Adam Amstrong
0c22935920 add split multicast/broadcast graphing for linux/ios/iosxe/iosxr and global toggle for polling if it (adds load)
git-svn-id: http://www.observium.org/svn/observer/trunk@1288 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-04 18:23:25 +00:00
Adam Amstrong
8060d5a030 rejig events system (still not great. meh) clean up some pages.
git-svn-id: http://www.observium.org/svn/observer/trunk@1223 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-20 21:37:05 +00:00
Adam Amstrong
8762cfa441 do not update database/rrd for ports which are set ignored (maybe we want to update db?)
git-svn-id: http://www.observium.org/svn/observer/trunk@1187 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-15 22:44:34 +00:00
Adam Amstrong
d33dfc87a1 fix load graph (fixed per-os specific graphs for device-level graphs *only*)
git-svn-id: http://www.observium.org/svn/observer/trunk@1157 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-12 18:14:59 +00:00
Adam Amstrong
07e730de71 basics of customisable ifAlias parser. fixed "Processorss" to "Processors" in top menu
git-svn-id: http://www.observium.org/svn/observer/trunk@1088 61d68cd4-352d-0410-923a-c4978735b2b8
2010-05-03 16:20:32 +00:00
Geert Hauwaerts
74235000be - Send email alerts on interface flaps when $config['warn']['ifdown'] is true.
- Added the setting timestamp_format:
    Description: The timestamp format to use in logs or emails.
    Default:     d-m-Y H:i:s
- Modified timestamp dates.


git-svn-id: http://www.observium.org/svn/observer/trunk@952 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-25 20:40:35 +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
Tom Laermans
57a9689ddd correctly escape : for temperatures so FPC temperature works on junos + add safename() function to strip unwanted characters from filenames - should not break anything existing afaik
git-svn-id: http://www.observium.org/svn/observer/trunk@765 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-05 22:10:06 +00:00
Adam Amstrong
2fc76a8a4d fix some rewriting of interfaces. fix some other small things.
git-svn-id: http://www.observium.org/svn/observer/trunk@757 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-02 19:24:12 +00:00
Adam Amstrong
145fd8d973 fix crappy code for 32-bit systems
git-svn-id: http://www.observium.org/svn/observer/trunk@734 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-28 03:01:45 +00:00
Adam Amstrong
a9be18708d fix HC counters decision code, ignore if zero. (thanks Petr Hromadko!)
git-svn-id: http://www.observium.org/svn/observer/trunk@712 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-19 02:23:36 +00:00
Tom Laermans
6db77f3345 minor code cleanup, change queries to eventlog table to eventlog() function
git-svn-id: http://www.observium.org/svn/observer/trunk@609 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-07 16:50:52 +00:00
Adam Amstrong
3c90ac2d96 and again. really.
git-svn-id: http://www.observium.org/svn/observer/trunk@570 61d68cd4-352d-0410-923a-c4978735b2b8
2009-12-29 01:03:46 +00:00
Adam Amstrong
45a5fbc150 updates (disable etherlike unless people really really want it)
git-svn-id: http://www.observium.org/svn/observer/trunk@568 61d68cd4-352d-0410-923a-c4978735b2b8
2009-12-29 01:00:57 +00:00
Adam Amstrong
e71e87af6f more eventlog fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@552 61d68cd4-352d-0410-923a-c4978735b2b8
2009-12-16 13:48:05 +00:00
Adam Amstrong
df386fc721 fixed eventlog *again*. eventlog rewrite incoming, i think.
git-svn-id: http://www.observium.org/svn/observer/trunk@551 61d68cd4-352d-0410-923a-c4978735b2b8
2009-12-16 05:21:49 +00:00
Adam Amstrong
3bdb7c14a4 fix eventlogger again!
git-svn-id: http://www.observium.org/svn/observer/trunk@550 61d68cd4-352d-0410-923a-c4978735b2b8
2009-12-15 18:18:21 +00:00
Adam Amstrong
5a1183601f reactivate interface eventlogging
git-svn-id: http://www.observium.org/svn/observer/trunk@549 61d68cd4-352d-0410-923a-c4978735b2b8
2009-12-14 21:02:07 +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
bea6a0667f updates, including fixed procurve support! :)
git-svn-id: http://www.observium.org/svn/observer/trunk@530 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-24 23:58:56 +00:00
Adam Amstrong
64368223a0 updates
git-svn-id: http://www.observium.org/svn/observer/trunk@528 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-21 15:07:09 +00:00
Adam Amstrong
d8155aacff updates to unix cpu and devices without certain OIDs
git-svn-id: http://www.observium.org/svn/observer/trunk@518 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-12 14:53:09 +00:00
Adam Amstrong
070af9f831 some fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@513 61d68cd4-352d-0410-923a-c4978735b2b8
2009-11-11 15:56:31 +00:00