diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/BUGS jffnms-0.9.4/BUGS --- ../jffnms-0.9.3/BUGS 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/BUGS 1970-01-01 10:00:00.000000000 +1000 @@ -1,18 +0,0 @@ -If your find a bug please report it at sourceforge.net - -1. Mailing-List: - - jffnms-users@lists.sourceforge.net - - Archives: - http://marc.theaimsgroup.com/?l=jffnms-users - or - http://lists.sourceforge.net/lists/listinfo/jffnms-users - or - http://www.mail-archive.com/jffnms-users@lists.sourceforge.net/ - -2. Forums : - http://sourceforge.net/forum/?group_id=46041 - -3. Bugs: - http://sourceforge.net/tracker/?atid=444844&group_id=46041&func=browse diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/Changelog jffnms-0.9.4/Changelog --- ../jffnms-0.9.3/Changelog 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/Changelog 1970-01-01 10:00:00.000000000 +1000 @@ -1,1874 +0,0 @@ -JFFNMS 0.9.3 -============ - * You can re-edit system config without the profile error - * TFTP transfers work again - * strip enterprise oid from sysobjectid - * fixed up interface autodiscovery - * fixed snmp interface status caching - * fixed snmp index for storage devices - * storage interfaces for JUNOS work correctly - * hostmib apps match and dont always show down - * select only one host config on admin screen - * system name has carriage returns escaped - * Hostmib perf entries have memory used - * Admin header more/less/next now carry across selected interfaces - * Work-around for php brokeness in SLA analyzer for string to float - * Strip out extra quotes and other junk some snmp libraries return - * Adding a trigger rule won't make it disappear - * Tracked fields are now updated again - * Massive amount of poller buffer fixes - -JFFNMS 0.9.2 -============ - * really save config file - * engines run with unset repeat values - * Fixed profile update so it works - * Interface selector can select multiple interfaces again - * config save fixes to reduce warnings - * Changed all php short tags to full ones - * Check for existance of some snmp functions that are not in windows - * Update to pass syntax for PHP version 5.4 - - -JFFNMS 0.9.1 -============ - * SNMP trap receiver table can be edited with poller_backends - * poller backend select fixed - * Consolidater default repeat value set - * check for array to silence error message when array not set - * Config page saves config file and renames it - * Interface selector has some height - -JFFNMS 0.9.0 -============ - * Fixed error in syslog consolidator which fails for postgresql - * All webpage input passes through Sanitizer - * register_globals no longer needs to be turned on, so turn it off! - * rrdtool v1.0 support dropped - * lots of cleanup - * poller rewritten with parent/child code - * autodiscovery the same as poller - * Removed php rrd module support - * Interface auto-discovery will check sysobjid before trying discovery - * IPv6 reachability support - * Separated interface selector code - * SNMP interfaces can have High Speed and optinally no Cisco proxy ping - -JFFNMS 0.8.5 -============ - * Fixed traffic graph - * Commented out logfile checking - * postgresql schema uses mysqldump compat mode - * Adjusted build script to make cleaner tar files - * Change logfile column name offset to file_offset for pgsql - * Cleaned up some more code so STRICT complains less - -JFFNMS 0.8.4 Released 2009-10-05 -================================ - * tcp_status poller only returns ascii data - * Config script redirects to https url if called that way - * Added security patches as per Debian security patch 20_security - * Above Closes SF:1725069 - * blentz patch for Dell OpenManage Fans and Tempeature added SF:1633506 - * Removed non-free font and change code to handle no font present - * Started on logfile reading - * UPS poller now can work with Mitsubishi Diamondlink devices - * APC PDU support - this and above patch from falz - * Added support for IBM Blades, IBM Servers, IBM DS4XXX controllers, - generic Fibre Channel - All from David Lima - * Informant-Advanced logical disk support added - From Sebastian van Dijk - * Network UPS Tool support added - * import_custom.php fixed for multiple fields in same table - * Host MIB Apps can be case-insensitive checking - -JFFNMS 0.8.3 Released 2006-09-16 -================================ -When other people are involved is noted if not it was me: Javier Szyszlican. - -* New Features: - - - Support for RRDTool 1.2.x - - Escapes : in COMMENT statements (Reported by: Aaron Daubman ) - - Uses LucidaTypewriter font so the graphs are about the same as with RRDTool 1.0.x - - - Storage device interface type now tracks index changes (like when adding a USB drive) or restarting the Agent - - - OS/400 Interface type with CPU Utilization graph - By: David LIMA - - - Per-Host CPU Threshold for Cisco and Linux/Unix hosts - By: David LIMA - - - Initial Dell OpenManager Interface type (only general alarm for now) - By: Ben Lentz and David LIMA - -* Bug Fixes: - - - Apache Discovery now has a 10 seconds timeout. - by: Craig Small - - - Install guide includes cron.allow and new tmpwatch and pcntl dependencies - Reported by: Joel Harrison - - - New Installation guide for Windows - By: Fabricio Castro - - - Host name field now is bigger - Reported by: Emmanuel Doguet - - - crontab example now has only one Autodiscovery enabled (old one) - Reported by: Cody Holland - - - Changed some tables to avoid MySQL 5.x keywords ('condition') - Fixed by: Craig Small - - - NAD now works in PostgreSQL - - - Cisco CC TFTP copy now works even with the MIBs loaded - Fixed by: Nick Korosi - - - NTP Client GPS support - - - TCP Port Status now supports hosts with a different SNMP port - Reported by: Tim Nelson - - - tmpwatch.sh script should work in most Unices now - Fixed by: Aaron Daubman - - - RRDTool will not use the Pipe system when the command line is bigger than 1000 characters - Fixed by: Aaron Daubman - - - Added PortChannel link type to NAD - - - SNMP Traps Backend GUI now works - Fixed by: Craig Small - - - Timezone removed from PostgreSQL Date results - Reported by: MOYA Yves - - - Changed state field in alarm_states to int (10) - Reported by: frederic Vay - - - HostMIB interfaces on Windows paths with Non-Printable characters were not correctly handled - - - Fixed RRDTool grapher to skip empty array items causing problems with some RRDTool versions - By: Sebastien Namche - - - Added blocked_devices to storage discovery to avoid problems on MacOSX with /dev and /.vol - - -JFFNMS 0.8.2 Released 2005-05-09 -================================ - -*New Features: - - - Host MIB hrSensor support, tested under net-snmp with lm_sensors patch. - It can graph Temperature, Voltages and Fan's RPM. - Requested by: Michael Fuereder - - - New SNMP Trap handler. It uses plugins (receivers) to parse the traps and send them to backends. - It provides a more flexible system for SNMP Trap processing. - By: Erno Rigo - - - SystemMIB Name, Contact and Location added to the Windows, Linux, Solaris, Cisco and Alteon System informantion interface types. - This information is also tracked via AD so you will be notified of any change. - Sponsored by: John Wagrowski of Moraine Valley Community College - - - UPS MIB support, this should enable support for the Riello UPS or any other that implements the UPSMIB. - Sponsored by: Novikmec Jozef of Zentiva - - - Linux IPTables Chain support. This Interface type will graph the IPTables build-in chains bytes and packets. - By: Hans Peter Dittler - - - Cisco BGP Neighbor Routes graphing. This will only work with Cisco IOS version 12.0(26)S or later. - Request and info from: Fabiano Rodrigo Boscatto and Jade JDeane@sungardfutures |d|o|t| com - - - Cisco PIX support, Number of connections graph included. - By: Mario Spendier - - - Windows SNMP Informant Logical Disk Interface Type, offer Windows Disk Usage stats. - by: David Lima - - - Cisco NAT support, Active Binds and Input/Output packets graph by protocol (UDP, TCP, ICMP, Others). - By: Karl S |d|o|t| Hagen - - - Support for PHP snmp2_* functions. - By: Karl S |d|o|t| Hagen - - - The host_information discovery script now tries to discovery how many CPUs the host has. - - - Added Alarmed Hosts & Events to the Default View profile option values. - - - Added PIX Event and PIX Port to the PIX filter - - - Added Cisco ISDN Syslog Events - Requested by: Roberto Veiga - - - Included the "simple" discovery script, takes a Test OID and an interface name as parameter and returns an interface - if the OID is available. - - - Compaq Temperature Graph can be displayed in Fahrenheit now - Requested by: Chad Markley - -*Fixes: - - - Start Page alarms now exclude the hidden interfaces, so now the number matches what is seen in the interfaces screen. - Reported by: Chris Hammond - - - Rechability interface information is correctly tracked now if the Host IP changes. - Reported by: Travis Johnson - - - The cpu_util no longer users the number of cpus to scale the graph, since the only ones using this are the Cisco System Info, - and the Windows System info, which we do an average of the CPU usage of all the CPUs, so the MAX is still 100%. - Reported by: David Lima - - - The jffnms-snmp system (for tc and iptables) now uses the pass_persist call in snmpd.conf please re check your configuration. - Reported by: Hans Peter Dittler - - - SNMPv2 GET now handles multi-line strings correctly. - Reported by: Manoj Khabe - - - is_process_running() function now works fine on BSDs, changed "ps -eo args" to "ps axo args". - Fixed by: Chris Cappuccio - - - Disabled ordering in edit mode. - - - Triggers Users filter by user when used by a User Admin. - - - Trigger analizer now again honors the default "from" field from the trigger definition, if the trigger action parameter is not set. - - - PIX Syslog messages should match better now, removed the ^ in the regexps - Reported by: GuruLeeNyc - - - Its now possible to ack a lot of events with one click. - Reported by: GuruLeeNyc - - - Alteon Polling and Syslog Fixes - By: Craig Small - - - Poller2 and NAD now work with PostgreSQL. - - - Zone and Map trigger fields work again. - Reported by: Karl S |d|o|t| Hagen - - - Windows Security events work better now. - Reported By: Brian Hoban Fixed by: LIMA David - -JFFNMS 0.8.1 Released 2005-03-07 -================================ - -*New Features: - - - New View: Alarmed Hosts & Events. It will only show the alarmed hosts screen and the events frame. - - - Windows Syslog Install Guide - by: Ruud Hop - - - Added 2 - 24 hours Poller Interval options. - Requested by: Jade - - - Added Link to the Aggregated graph, useful to show only that. - - - Added Host Name to the State Reports screen. - Requested by: Mario Spendier - -*Fixes: - - - The events_latest_max config option is back, this was causing slowdowns in the events screen. - Reported by: Travis Johnson - - - Syslog matching of messages that contain the work "Unknown" now works again. - Reported by: David Lima - - - New Poller now polls the host in order to avoid gaps in the graphs when using a low number of threads, - starts threads in groups of 5 so it can start working earlier and there were some speedups in the - next-host-to-poll finder. - Reported by: Travis Johnson - - - User deletion works again. - Reported by: Thomas Mangin - - - Logged in Customers can use the calendar page now. - Reported by: ChakraPani - - - Physical interfaces now show the correct bandwidth instead of 128k, - it was caused by a parsing error in the snmp response. - Reported by: Balu - - - Matching of Client for Events Triggers now works. - Fixed by: Hans Peter Dittler - - - Logging file name fixed when using logger() from a web page. Now we use $_SERVER["SCRIPT_NAME"]. - Reported by: Eugene Turovsky & Min Qiu - - - Removed Totals section from the Aggregated Traffic graph, because its giving real values. - Reported by: Eugene Turovsky - - - Remove the SNMPv2c option if we're running on a Windows Host, because there is no support for SNMPv2 on it. - - - Events and Map refresh intervals from the User Profile work again. - Reported by: Renegade - - - Titles with \r\n were causing problems in the RRD Graphs. - Reported by: Chris Zimmerman - - - Using lots of interfaces in the DHTML maps were generating a long scroll, - now they go to a new row at the end of the visible screen. - Reported by: Jason Humes - - - SNMPv2 SETs were not returning a bool value and causing problems with CISCO Ping-MIB. - Reported by: Jose Amengual & Javier Reyes - - - Cisco SYSMIB config transfer had a very, very long timeout. Now it waits around 4 to 8 seconds. - Reported by: Johan - - - Fixed Cisco SAA Agent poller to work correctly with the new SNMP API. - Reported by: Jose Amengual & Javier Reyes - - -JFFNMS 0.8.0 Released 2005-02-15 -================================ - -*New Features: - - .API: - ----- - - - New Launcher thread manager, its a generic way to handle item processing to child process, - while keeping the load down. It will launch a fixed number of threads and send them work. - Requested by: Travis Johnson - - - New Poller using the new launcher. (poller2.php) - Its simpler than the old poller (which is kept for some features like DMII and Satellite that are - not implemented here). This is still experimental and only works in Unix. - - - Network Autodiscovery. - Allows you to add 1 or more seed networks and snmp communities to a zone, and when the daemon runs, - it will discover the devices in that network and in attached networks. This is very useful to add - a lot of hosts easily. Experimental Too. - - - Support for SNMPv2 and SNMPv3, Including 64 bits counters. - For SNMPv1 and SNMPv3 we are using the integrated PHP functions and for SNMPv2 we are calling the - net-snmp executables (snmpget, snmpwalk and snmpset) that is a little slow, but it works. - When using SNMPv2 or v3, the 64 bit OIDs will be used automatically for input and output, - bytes and packet coutners. - Requested by: A lot of people - - - New Backend Configuration Format, uses one defaults file (conf/jffnms.conf.defaults) and - one user-config file (conf/jffnms.conf) for easier automated upgrades. - JFFNMS should automatically upgrade from the old config system (conf/config.ini) to the new format. - Requested by: Craig Small - - - APC UPS Monitoring: Autodiscovery, Status Alerts, Load, Capacity, Voltage (in/out), Time Remaining and Temperature Graphs. - Requested by: Travis Johnson and Novikmec Jozef - - - Nth Percentile graphing support. (Like 95th percentile graphing). - This is configured per-interfaces and allows you to specify the Nth percentil you want. - A New line will be shown in the traffic graph. - Requested by: Richard Sears and Paul Matuszewski - - - Alteon AD3 monitoring - Monitors system, real and virtual servers and real services, Graphs for bytes, session rate and current value, - Alarms when servers or services go down, Fixes problem with physical ports all having the same name. - By: Craig Small - - - Brocade Fibre Switch monitoring - Monitors temperature and fan sensors, Graphs temperature or fan speed, Monitors FC ports, - Graphs traffic by bits or frames. - By: Craig Small - - - Cisco AS 5300 - Count the number of Async or DSX1 lines used by an access switch removing the D channel. - Should work with all Cisco Routers with an E1/T1 connection to a Telco. - By: Thomas Mangin - - - New SQL Query Interface Type. - It uses ODBC to query any database and graph the number of rows returned by the specified query. - Also includes Min/Max limit alerting. - Requested by: Daniel Afonso - - - New Interfaces Autodiscovery using the new launcher, replaced the old autodiscovery under the same name, all features re-implemented. - - - Managed RRDtool: one RRDtool process is called by each poller and we use the open connection to multiple operations, - reducing the fork load. Only works on Unix. - - - New Host fields: Creation, Modification, Last Poll Date and Last Poll duration Time, useful for debugging. - - - Cisco PIX syslog events matching and filtering. - By: David Lima - - .GUI: - ----- - - - Complete GUI redesign using HTML 4.01 and CSS, known as DHTML. - - If you want to modify how JFFNMS looks you can use your own CSS file, check the 'Custom CSS' Setup option. - - Too many changes to describe them all, you have to see them for yourself. - - - New Logo - - - Interface Selector: we now use a popup system to show the selected group interfaces, making it possible - to select some interfaces from more than one group at the same time. Its also hiddable. - And when in Customer or Map Filtered mode, you can still select by host. - - Requested by: Craig Small , Jason Humes , and others |d|o|t| - - - Faster Tools system, now will need to ask for a specific or specifics values, no more load-all-on-start. - Requested by: TIBA Staff - - - New Standard Administration Features: - - Add without insert - - Discard Save - - Export to ASCII Table - - Filter by Field - - Sort by Field - - - New Administration Menu - Now its vertical on the right side of the screen, and its hiddable. - - - View Type (DHTML, text, etc) saved in a Session Cookie. - So it will keep your selection until you change it or you logout, and it will get back to your default. - Requested By: falz - - - Option to hide a complete Zone from the interfaces view. - Requested by: Chris Hammond - - - Events ACK, now its easier, just click on the blinking red dot. - - - View Performance: - - CSV Export of the Input/Output value on Physical interfaces, including Nth percentile calculation. - - Allows hidding of the options box so you will get more space. - - - Better Events RSS output, now its RSS 2.0, tests with Mozilla Live Bookmarks - Used as: http://yourserver/jffnms/events.php?view_type=rss&user=admin&pass=admin - - .DOC: - ----- - - - New UNIX Install Instructions using a 'jffnms' user, that way we don't need the system crontab anymore. - -*Fixed Bugs: - - - Interface Map sort order fixed, using SORT_NUMERIC for the interface field now. - Reported by: Kelly Hamlin - - - Events Interface Filter, now matches *INTERFACE instead of *INTERFACE* - Reported by: Durga Prasad - - - Reachablity interface now works when using a host with : in the IP (useful for snmp agents on different ports). - Reported By: Manoj Khabe - - - IF-MIB discovery now works when the host IP is a DNS name. - Reported by: David Lima - - - Setup screen works correctly under SSL now. - - - Windows Event Log Syslog events fixes. - By: David Lima - - - Fixed NTP poller bug when you have a Stratum 0 device connected locally. - Reported By: Karl S |d|o|t| Hagen - - - Cisco SEC-6-IPACCESSLOGDP syslog rule fixed. - By: Craig Small - - - Maps order fixed. Now its by Map Name, not ID. - Reported by: Kelly Hamlin - - - Better Linux Syslog matching. - With help from: Craig Small - - - Removed Consolidate Events->Alarms item limit. - - - Syslog message matching fixes: now its case-insensitive and has better handling of old/simple match strings, and - has better handling of not-matching hosts. - - - NTP discovery and poller do not output errors now. - - - Removed support for old UCD-SNMP 4.x - - - Old experimental poller removed. - - - Apache Poller now works with Apache 1.3.x - - - Fixed CatOS interface naming - Reported by: falz - - - IOS Configuration now skips the ntp clock-period line. - By: Craig Small - - - RRDtool Number of DS - - -JFFNMS 0.7.9 Released 2004-09-21 -================================ - -*New Features: - - - Support for PHP5 - I've been testing on PHP 5.0.1 and everything I tried works. - *** Please report any warnings or errors you may get *** - - - Support for CatOS, Cisco Catalyst Switch. - Now you will see the correct interface names and descriptions. - Idea/Sample Code by: Perry Lewis - - - Apache /server-status? Monitoring. - You need to enable mod_status.so with permission to access from the JFFNMS server. - Will autodiscover the server on port 80, and allow for manual add for other ports. - Graphs for: Hits (with aggregation), Bytes transfered (with aggregation), - Bytes per Request, CPU Load and Uptime, Busy/Idle Workers. - By: Robert St Denis - - - IIS (Internet Information Server) Monitoring. - Graphs for: Bytes Received, CGI Requests, Files Sents, number of GETs and POSTs. - By: Robert St Denis - - - Compaq Insight Manager Monitoring. - Will allow you to monitor fan, temperature and disks on Compaq/HP servers. - By: Craig Small - - - Livingston Portmaster Serial Port Monitoring. - Allows you to see the general status of the ports in a graph. - By: Thomas Mangin - - - Windows EventLog Messages parsing and filter. You have to use NTSyslog. - By: David Lima - - - Windows CPU and Running Processes SLA - New 'Process Threshold' field for SLA - By: David Lima - - - Support for changing the envelope-sender in Triggers/Action emails. - New 'From' option in the trigger configuration. - Requeted/Idea by: ML - - - New Aggregation (Average) Graphs for: Cisco CPU Utilization, Linux CPU Usage and Load Avearge. - By: Robert St Denis - - - New Packets and Errors Graphs, still in development. - - - New Temperature Aggregation Graph. - By: Craig Small - - - New Manual Discovery Without PorScan (without using nmap). - Requested by: Robert St Denis - - - Interface Selector now allows to select all interfaces in the group with one click. - And also, when using the Performance Screen, to show only the Date/Graph options - before showing any graph. - Requested by: Robert St Denis - - - Added HELP link from the setup.php screen to the JFFNMS Documentation. - Documentation By: Craig Small - - - Added 'active alarm' and its start date to the alarmed interfaces infobox. - Requested by: Chris Landegent - - - Customer Selector in the Interfaces Viewer (Map Selector). - Requested by: Travis Johnson - - - Performance Viewer now allows to show only the Aggregate Graphs, - and to select all the graph types with one click. - Requested by: Robert St Denis - - - New Trigger Filter to Match by Interface name using 'Contains'. - Requested by: Chris Landegent - -*Fixed Bugs: - - - Fixed Host Screen, now it does not have filters, and when you execute an action, - it will show only the affected host. It also has a new Select Box for selecting the actions. - Reported by: Jason Humes - - - Speed in Physical Interfaces will now be correctly set for interfaces without IPs. - - - Peer IP will now be correctly shown in the RTT Graph. - Reported by: Jason Humes - - - Bandwidth information in traffic graph is now shown even if the BW is not in range - - - Temperature Graph will now work, the RRDTool DS name was bad. - Reported by: Chris Epler - - - Graph Titles are now better centered in Debian PHP/GD systems. - Reported by: Karel P Kerezman - - - RRDTool Fetch Fixes that show up on sparc are now fixed. - By: Craig Small - - - RRDTool Fetch Fixes when using RRDTool > 1.0.47 fixed (timestamp parsing problem) - Reported by: Jeff Vaneek - - - Windows Upgrade documentation now includes .exe files copying. - Reported by: BJ - - - Allow values of '0' in multi_buffer (!empty("0") is not equal to ("0"!=="")) - - - BGP Peers now use the Remote Neighbor IP as the Index field. - - - HostMIB Applications now use the process name as the Index field, no need for hashes now. - - - Traffic Aggregation Graph now includes Totals. - By: Robert St Denis - - - Linux/Unix Net-SNMP CPU Usage graph now does averaging on devices with more than 1 CPU. - By: Robert St Denis - - - When evaluating if we are going to store a new TFTP dowloaded config, don't escape the ' - - - Better SNMP Trap RegExp - By: Nistor Lubomir - - - Interface values are now trimmed, to avoid problems. - - - Performance Viewer was not filtering by Customer when the User had a Fixed Customer. - Reported by: Johan - - - Performance Viewer nows has a JavaScript refresh stopper (like the events screen). - - - Show Hour Control now adds the current hour:minute if not in the list. - - - Users List is now sorted by Username. - Reported by: Johan - - - Allow for interfaces with '0' as the value. (!empty("0") is not equal to ("0"!=="")) - Reported By: Craig Small - - - RootMap is now shown in the Maps screen for easy background changing. - Reported by: Kelly Hamlin - - -JFFNMS 0.7.8 Released 2004-06-21 -================================ - -*New Features: - - - Host Information discovery (Windows, Unix, etc) now gathers the SysDescr, - usually it contains the Kernel and Host name, as this field is tracked, you will now when - host changes kernels, or host name. - Requested by: Gregory Leggett - - - New general interface option to disable Status Polling completly. - This way all graph information will be polled, but status will not, not even syslog messages - for that interface. The interface upper-right corner will be gray. - Requested by: Tony Nelson & Others. - - - Application interfaces now include the Memory used by the Application, with graph. - Requested by: Doug Toombs - - - New Calendar for Reports. We're now using 'The Coolest DHTML Calendar' - from http://dynarch.com/mishoo/calendar.epl , Behavior is better now. - - - Profile Option to disable DHTML informational boxes. - Requested by: Travis Johnson - - - Profile option to restric interface viewing by customer, much like the Base Map option. - Requested by: Travis Johnson - - - New Trigger field to match by Map. - Requested by: Alexandru Thomae - - - New Trigger Field to match by Customer. - Requested by: Travis Johnson - - - UDP Port Monitoring, much like the TCP, but we use NMAP for testing, because it gives better results. - Based on design by: Yery Tannus - - - New Option to show the temperature in Farenheit - Requested by: Travis Johnson - - - Added Mask to the Physical Interfaces options. - - - New AD Policy option to don't alert if an interface is not in host (deletion). - - - New Poller for easier handling Status MIB variables. - by: Craig Small - - - Add 'nolog' to the autodiscovery_interfaces to avoid creation of events, useful for debugging. - -*Fixed Bugs: - - - Marked Disabled interfaces now don't count in the Status of a host in the Hosts Screen. - Requested by: Chris Tuska - - - Easier event ACK'd now works as it should have been in 0.7.7 - Reported by: Thomas Mangin - - - Syslog Consolidator works again with the * and D variables. - Reported by: Mario Spendier - - - Session locking bug, now JFFNMS GUI should feel a lot faster. - - - Event Filter fixes. - Reported by: Chris Landegent - - - TCP Connections tool fixes. - Reported by: Thomas Mangin - - - NTP fixes. - Reported by: Thomas Mangin - - - Popups & MiniSLA deprecated. No one used them. - - - Interfaces are now sorted using Natural Sort, this will make finding an interface by name easier. - - - Better Filter behavior on the Hosts Screen. - - - AD Output now includes the Interface Name. - - - SNMP Counter function now removes the ( and ) characters from output. - - - DOC: Windows Install, added creation of c:\tmp folder - - -JFFNMS 0.7.7 Released 2004-04-05 -================================ - -*New Features: - - - New Login Screen, a new DHTML login screen, is selectable from the setup. - You can also add a logo to the page. This new method uses sessions/cookies to store a session id, - and internall is faster because we don't have to auth in every page request, which made some IDS ring. - An event is created when a user tries to login successfully or not. - - Old method (HTTP AUTH) is still there, and will continue to be supported. - - - New Tools Framework. - This system allows changes to be made to interfaces on the host. - Examples provided for Changing the Interface description and Admin Status on Routers and - to list or finish TCP connections on agents that support that feature (Cisco's TCP MIB). - - A new event (Tool Action) is generated everytime something is changed using this tools. - - - New Profile option to select which "View" Page do you want to see when you login. - - - New ToolBox Interface Alarms widget. This allows access to more pages related to the selected interface. - Like Tools, Edit, Events and Performance. This is shown when you pass over an interface in the HTML or DHTML view types. - - - New Event Type "internal" for JFFNMS related events. Also added a new option to hide the Host Name in the events viewer. - This event is used by the new Login Screen. - - - 'Or' Type matching for Triggers. - Requested by: Alexandru Thomae - - - Poller, Autodiscovery, and Satellite Distribution now verifies that no other process with the same name are running. - To avoid duplicate processes. This works only on Linux. - - - New Poller Helper, checks DMII and Alarmed interfaces, this allow faster UPs and faster poll of imporant interfaces. - Requested by: David Lima. - - - Alarm Backend now supports to set the time-span between down and up events, - and the value to assume (or not) when no result is given by the poller. - Also, better (human readable) return values are given. - - - RRD Backend again supports update on one DS by call. - This is to make simplier poller groups when only one value is graphed. - And also to check if performance is better than doing all the DS at the end. - - - New poller option to poll just the DMII interaces on a host. - Requested by: David Lima. - - - snmp_interfaces_status_all now checks if the host has more than 30 interfaces before doing the walk, - if it does not, then uses normal snmp_get's - - - When ACK'ing summarized events ('Message Repeated N times'), all events are now ACKd rather than just one. - Requested by: Thomas Mangin - - - Interfaces Alarm Screen now autodetects the screen width at start, so no more 'Big Screen' View types. - - - New folder ('engine/shared') to store shared code (ie. that may be required for pollers and for tools), - and a new function to call them jffnms_shared(). - - - Satellite now works with HTTPS, new https_post_message function, that uses the CURL extension. - by: Chris Landegent - - - Allow interfaces to be checked only every X minutes (N > 5), useful when used with the TCP Content Checking. - Requested by: Chris Landegent - - - Anonymous customer logins. Just define a customer with no password. - Example URL: http://youserver/jffnms/?user=customer_username&pass=&logout=1 - Requested by: Chris Tuska - - - Direct Graph download. Useful for embedding them on a site, examples: - - Get the traffic graph from one interface: - http://youserver/jffnms/view_performance.php?interace_id=332&want_graph=traffic - - - Get the Aggregation Traffic graph of a whole host: - http://youserver/jffnms/view_performance.php?host=6&want_graph=aggr&graph_type=traffic - - - Use with the Anonymous logins - http://youserver/jffnms/view_performance.php?user=customer1&pass=&logout=1&interace_id=332&want_graph=traffic - - - Syslog Consolidator has a Position parameter now, to handle the order on which the syslog RegExps are tried. - - - New Syslog Event Type to match normal linux syslog messages. - - - DOC: Added Another Example on using Syslog-NG - - - GUI: ACK'd events show differently on the Event Viewer - Requested by: Thomas Mangin - - - Storage Threshold can be configured per interface now. - Requested by: Thomas Mangin - - - Cleanup Raw tables now supports deletion of N days old Router Configs, N is controlled via setup. - Requested by: Chris Tuska - -*Fixed Bugs: - - - DOC: Fixed the documentation about the PHP trap_receiver. - - - Alarm table now allows bigger alarm_state ids. - - - Syslog Consolidator now checks for Literals. - - - Events Screen now does escaping of HTML meta-chars. - - - Removal of un-matched < > variables in events. - - - Tacacs Consolidator now checks the Normal IP too, rather than only the Tacacs IP of the host when matching. - Requested by: Thomas Mangin - - - Severity Level Filter now works again. - Reported by: David Lima - - - NTP Discovery now verifies if the Host has and IP address. - - - NTP Poller Now checks for timeouts. - - - Exp_poller now works correctly with this version. - - - Removed old snmp_interfaces_status - - - Old 'Event Tools' depreacated. It was an old code that nobody used. - - - Old perl trap_receiver depreacated. - - - GUI: Event Screen code cleanup, uses more CSS and the resulting file is smaller. - - - GUI: Better Interface Selector in the Triggers screen. - - - GUI: Better Recursive URL cleaner. - - - Manual Add is now show event if the host does not have any interface of that type. - - - We now only distribute the SQL Diffs of the past to the current version, not older files. - - - Coding Style changes and Call By Reference bugs fixed. - - -JFFNMS 0.7.6 Released 2004-02-22 -================================ - -*New Features: - - - TCP Port Content (port response or URL content) can be checked against a Regular Expression to validate it. - Requested by: Richard Sears - - - Manual Add of TCP Ports, now its possible to add any port number you want manually, - or to set up the same port a more than one time with different testing Regular Expressions. - - - CPU Usage and Load Average SLA for Linux Hosts. - - - CPU and Memory Usage SLA for Cisco Routers. - - - Graphing of the number of Application Instances. - - - NTP syncronization testing, it reports when a NTP server is syncronized or not to another peer. (it requires the ntpq program) - - - GUI: Added New "only when filtering" option to Event Types, to better manage its showing. - Requested by: David Lima - - - GUI: New DHTML View Type for Interfaces and Hosts, it doesn't use png's anymore for the boxes, its all CSS and JavaScript, - Tested with Mozilla/Firebird/Firefox on Linux and Windows, and with Internet Explorer 5.0 and 6.0 - - - GUI: New option to disable refresh on the Interfaces/Hosts Screens. - Requested by: Lucas Iglesias - - - GUI: New option to diable the refresh of the Events Screen more easily. - Click on the 'round arrows' icon to stop the refreshing, and click on the 'page refresh' to enable it again. - - - GUI: Faster event Acknowlodge, without selecting a Journal. - Requested by: Aaron Aubman - - - New Physical Interface option to avoid the automatic Admin Status modifications. - When you mark "Fixed Admin Status" the show type of the interface (Show, Mark Disable, Don't show) will no be modified by the poller. - The Default is not checked, so the poller will automatically modify the Admin Status/View Type of the interface. - - - New trap_receiver coded in PHP, now you can use the trap functions with postgresql, because it uses the JFFNMS DB abstraction. - by: Aaron Aubman - - - New Way to use Satellites "Local Master", this means the Satellite will poll the values, store them locally AND send it to the master too. - Requested by: Juan Rojas - - - Added Interface Type to the list of Trigger Rules Fields, to match by the interface type. - Requested by: Ray Hatch - - - API: Its now possible to poll more than one interface on the same host via the command line (ie for testing) - - - API: Added option to use HTTP/1.0 or HTTP/1.1 in HTTP queries - - - API: The jffnms-snmp system (plugin's for net-snmp) now caches its response for one minute to ease the load on the server. - - - API: Its now possible to setup Default SLAs per interface type - - - GUI: Double Clicking on a Graph Type on the Performance Screen, will show it without needing to click on the 'View' Button. - - - GUI: Its now possible to select a Default View type in the User profile (ie Normal, Text, etc). - - - GUI: New button in the top frame to reload the current selected view - Requested by: Thomas Mangin - - - DOC: msyslog & SLA configuration example documentation - by: Chirstian Zimmerman - -*Fixed Bugs: - - - Dates in graphs are checked to be sure they are valid. - - - BGP Verify Number poller removed, its no longer needed. - - - When adding a new interface from Manual Discovery, the interfaces screen now its correctly positioned. - Reported by: Ray Hatch - - - Autodiscovery and RRD Analyzer now check the "poll" option in the interface and the host they are working on. - - - Last Poll Date is now handled as an added poller/backend because it shares the same structure. (its now injected from poller_plan) - - - Cosmetic Changes to Config Transfer Types, and Autodiscovery Policy - Requested by: Thomas Mangin - - - Performance Graph Title was badly calculated. - Reported by: Pierre-Damien Gatouillat - - - Autodiscovery now checks if the host is localy managed or satellite, this way AD only runs over the hosts this Satellite manages. - - - Changed some Satellite Calling functions to make correct use of the 'params' field. - - - Interface Type RRA Structure now included in the default field values. - - - Fixed handling of & and | in the Satellite Query content. - - - Customer Username can now be 60 characters long - Requested by: Thomas Mangin - - -JFFNMS 0.7.5 Released 2003-12-16 -================================ - -*New Features: - - - Per Interface-Type Fields: - - Until now every interface had the same fields, for some interface types this was ok, but others required more or different fields, - so this new feature allows different fields per interface type. - ie: Linux TC now has Rate and Ceil fields, and its not using the BW in/out fields, TCP Ports don't have IP address or BW, etc. - - This was one of the big "barriers" in the internal design of JFFNMS, so I'm glad I finally made it configurable/modular. - - - DB: 3 new tables: interface_types_fields, interface_types_field_types, and interface_values - - GUI: Manual Discovery has a new layout and includes all the specific interface fields. - - GUI: View Interfaces shows all the 'description' fields and has a better text layout - - API: interfaces_update updates every interface value not just the interfaces table. - - API: Events Text now can include any interface type specific fields - - API: Poller Parameters can include any interface type specific fields - - - AD Tracked Fields are set from the Interface Type Fields. - - SLA: now you can use SLA expressions with the name of each interface type specific field - - - Changed all discovery, poller and backend scripts to use the new and specific fields, ie: - - - ALL: changed 'descr' fields to 'description' - - Physical: Pings to Send configurable per interface - - BGP: Separated field for Local IP , Remote IP and ASN values. - - Applications: Number of Instanses stored in DB. - - Linux TC: Specific Ceil and Rate fields. - - Storage: Specific Size Field (it was bandwidth before) - - TCP: Check content option now allows for a specific URL to be included - - Reachability: Now you can configure the fping parameters per interface - - Verify Interface Number Backend now uses specific Index Field. - - RRD Backend gets the RRD Structure from the Interface Type Fields. - - Important Notes: - ---------------- - - * If you have "custom" interface types, please read the UPGRADE file carefully - - * By default we not 'track' the network interface's description via autodiscovery, so if you don't want to loose - your custom interface descriptions, please disable the field tracking via the Polling & Discovery=>Interface Types Screen. - - - All AD changes to an interface are summarized on one event. - - - Cleanup old Events and Alarms integrated to cleanup_raw_tables. - - the number of days is configurable via setup.php (Defaults to 7 Days of Raw Events, and 60 Days of Normal Events/Alarms) - - We try to repair the tables using a REPAIR/OPTIMIZE or VACUUM command at the end. This is to avoid index problems. - - - Per Host 'Polling Enabled' Option to disallow polling of all host interfaces more easily. - Requested by: Richard Sears - - - Host View option now acts over the View option of its interfaces, so if the Host is in Don't show or Mark Disabled, it will look as - all its interfaces where in the same state. - Reqiested by: Richard Sears - - - Experimental Poller (for networks with a lot of hosts) - A new polling system that keeps a number of pollers running, and distributed the polling load by interface to them. - This allow us to poll a lot of hosts without the problems of lauching one poller for each host. This is still experimental, don't use - it yet for production enviorments. It Requires the SHMOP and PCNTL PHP Modules to work. - By: Anders Karlsson - - - RRD_Analyzer: SLA is now a seprated analyzer, this mimics all other plugin scripts, SLA still the only one implemented. - - - When a Network Interface (IFMIB) has AdminStatus 'down', it will be set to 'Mark Disabled' automatically, - also when the interface is back in AdminStatus 'up', it will be set to 'Show'. - Requested by: Richard Sears - - - GUI: Interface Viewer (Status Map) now includes a link to the interface editor - - - GUI: Graph legends now include the Site Name. - - - GUI: Alarmed Interfaces view now includes the Host Name of the interfaces in a new line - Requested by: Chris Landegent - - - GUI: When inside a Host in the Interface Viewer, clicking on the "card" (gray) box will show all the graph for that interface type - - - GUI: Added the Current and Last Polled Date to the Performance Viewer - Requested by: Smith Chen - - - API: Added fetch_ds() method to the interfaces class, to allow an RRDTool Fetch remotely. - - - API: Temporal Buffer Backend supports calling the same variable more than once, until it has a value. - - - API: Poller Plan now allows to filter by type - - - API: Interfaces_Add can use an array as parameter to define more than the host_id of the new record, but only interface table fields - - - UTILS: Added Debug option to jffnms-snmp, to check the output tree. - -*Fixes: - - - Linux TC regexp fix to allow leaf and prio options - By: Craig Small - - - Better Autodiscovery Output with specific interface type fields. - - - Better Handling of subinterfaces (VLAN, FrameRelay, etc) - - - Removed some 'extract()' calls in graph's that were not needed. - - - Added more colors to the TC Aggregation Graph. - - - Added more descriptive names to 'View' options in Administration - - - Windows CPU Polling now doing a walk of the CPUs tree to get the avarage usage of all processors - Report and Fix Concept by: Chen from Taiwan - - - Zone filter now works again. - - - Don't Discover the Reachability Interface if the fping executable is not set-uid. - - - Fix fping response when the IP is in the local subnet and its unreachable (read the last line) - Reported by: Ben Lentz - - - Cisco MAC Accounting Interfaces now include a unique indentifier. - - - BGP4 MIB implementation fixes, the index is now better calculated to be unique, so no AD problems occur. - - - Alarm Editor is back (under Internal Configuration=>Reports) - Requested by: Rob Laidlaw - - - Fixes SMS Client action message creation to include the interface data, and to trim the message to 140 chars. - Reported/Fixed by: Ben Lentz & Yuri Krichevsky - - - Maps List is now in a Select box, because if you have a lot of maps, or long names, you loose the View Types section. - - - API:DB some internal modifications, query doesn't die on failure, it tries 5 times, then it returns, but it doesn't die. - - - API:Satellite - - WDDX Fixes - - Import/Export (distribution) now also updates records on changes, not just deletes and inserts a new one - - - Setup: don't allow " ' & | # = / characters in the fields (SF BUG 841139) - Requested by: Mark Burdick - - - Cisco CPU Poller now uses the 5 Minutes CPU utilization, rather than the 1 min OID (SF BUG 841140) - Requested by: Mark Burdick - - -JFFNMS 0.7.4 Released 2003-10-13 -================================ - -*New Features: - - - Reachability Interface Type - Using fping (http://www.fping.com) we can now monitor hosts via ICMP (ping) and graph the RTT and PL from - the JFFNMS server. It also issues events when the PL is over a treshold. This plugin will not work on Windows. - Requested by: a lot of people. - - - Linux Traffic Control (tc) Support - Using our own net-snmp extension (pass-type) installed on the Shaper Box you can see each Class Bandwith Usage, - including aggregation to view all usages on the same graph. Tested only with HBT. - Scripts and example configuration in docs/utils/jffnms-snmp/ . - - - Configurable Interface Field Tracking. - Now is possible to track other interface fields rather than the name, for example the description. - Added BGP Description Tracking. - Requested by: Richard Sears - - - TCP Content Checking. - The TCP Poller now also check for a valid response in HTTP/HTTPS/FTP/FTPS ports using fopen(). - Until we get Per Interface Type Fields, configuration is done via the description field. - ie: http|/jffnms/admin/adm/test.php - ie: ftp://testuser:testpass@|/test.txt - ie: https|/jffnms/admin/adm/test.php - - 'http' tells the poller to use the HTTP protocol and whats after the | specifies a page rather than the default (/). - - Requested by: Richard Sears - - - Added the SNMP Auth Failed Trap. - - - Added Acknowlodge Field to Express Filter. - Requested by: Craig Small - - - Added Creation, Modification and Last Poll Time Stamps to the Interfaces table. - All this information is useful when looking for something wrong. - - - Trigger rule to match the ongoing duration of active alarms (includes new consolidator process). - By: Anders Karlsson - - - News Section included in the Start Page. - - - Support Client Only in Satellites (just incoming queries). - - - Added Example on how to use Satellites, in docs/utils/satellite-client.php - - - Better support for Juniper Routers (Based on M20): Consolidate Interface List and LowerLayerDown Support. - Requested by: Richard Sears - -*Fixes: - - - Added BASE64 Encoding to API:rrd_grapher() and BASE64 Decoding to GUI:performance_graph() - - - When No Zone Image is configured the Events screen doesn't try to show it. - - - When no interfaces were alarmed the 'Alarmed Interfaces' View showed all interfaces, now its fixed. - Reported by: Kevin R. Armstrong - - - RRDTool Graph now returns the real result of the command. - Reported by: Anders Karlsson - - - Fixes to poller_plan_next to replace all poller parameters - - - Problem with changing Fullname or Router Access to User, now its not needed to re-enter the password - - - Support WDDX over TCP in Satellites. - - - RRD Files are now (back again) deleted when the interface is deleted. - - - Now we check if allow_url_fopen is set to On in setup. - - - Changed JFFNMS URL to http://www.jffnms.org - - - Fixed Input Error Rate Graph and SLA calculations (Total Input Packets = Input Packets + Input Errors) - - - API:DB added db_free function - By: Anders Karlsson - - - Make sure most public API functions return some value (breaks satellize otherwise). - - - More separation between API and GUI code. - - - Discovery_none script now doesn't return an error, just an empty list, to use when a new interface type does not have a discovery system. - Requested by: Craig Small - - - New Database entries on system tables start with id 10000 from now on, so we can add more things without interfering with - user-created internal configurations, like new Interface Types - - -JFFNMS 0.7.3 Released 2003-08-02 -================================ - -*New Features: - - - Host Config Downloader Rewrite: - Modular, More Secure and Better Error Reporting (via log, event and alarm) - by: Javier Szyszlican Ideas from: Michael Samuel - - - GUI: Performance Viewer: Added 'Last 2 Days' to Time Span Options, Multiple Graph Selector, Graph Scale Legend included in IMG ALT - Requested by: Juan Rojas (TIBA) by: Javier Szyszlican - - - SMS via Mail Action: Modified Email Action for shorter messages. - Requested by: Michael Orth by: Javier Szyszlican - - - SMS via Modem Action: send SMS via modem with SMSClient (http://www.smsclient.org/) - by: Craig Small - - - GUI: Interface Viewer Reworked and Modularized: - - View Interfaces, View Hosts and View Maps use the the same engine (but different sources), - this also means that you can now view Hosts and Maps in Text Mode also. - - 'Performance View' is nicer now, and it can also use dynmap. - - 'Text View' now shows all the links and it has a better layout - - - Temp Files Cleanup Script for Unix - by: Kovacs Andrei - - - Get Interfaces (Manual Discovery): Show Interfaces not found in Host but found in the DB. - - - Support for Cisco Catalyst Config Download - Thanks to and Requested by: Paul Stewart by: Javier Szyszlican - - - Logging is disbled by default, and the files now don't have the date in their name. - - - New Engine Temp Folder, to store Engine (poller, autodiscovery, etc.) Temporary Files. - - - TCP Port Discovery now uses the New Engine Temp Folder. - - - API: Graph handling was put in the engine, and a wrapper function (performance_graph in GUI) was created. - Now graphs are stored in the Engine Temp folder, read, deleted, and returned as a variable to the GUI, which - stores it in Temp Graph Folder and allows the browser to see it. - - - GUI: Some Graphs now show the 'In / Out Flipped' Legend, to let the user know the graph Input and Output are inverted. - Requested by: Juan Rojas (TIBA) by: Javier Szyszlican - - - SNMPTraps: the traps consolidator now supports placing literal data in the SNMP Trap Rules screen (like 'down' in the State field) - Also some rewrite of the code, and handling of Up's and Down's in numeric mode - - - GUI: Behavior Change, if the Events Frame does not exists (ie. Hosts, Maps, Interfaces WITHOUT Events) don't display a new window. - Requested by: Rob Laidlaw - -*Fixed Bugs: - - - Fixed TCP Port Discovery to only return Open TCP Ports, because Validate in AD is unchecked for feature reasons. - Reported by: Daryl G. Jurbala by: Javier Szyszlican - - - Changed Cisco EnvMIB Discovery (Voltage, PowerSupply, Temperature) to check for status, and - to give a more generic Interface Name - Reported by: Daryl G. Jurbala by: Javier Szyszlican - - - Fixed Customer Login when JFFNMS is installed in the Document Root (relative path /) - Reported by: Brian Watters - - - Fixed Storage Interface Type to return the Device Type String from hard-coded values if the MIB doesn't include them (return OIDs is set). - - - Fixed Host Information Interface Type to convert 'enterprises' to its OID when comparing (return OIDs is set). - - - Smokeping Internal Number Tracking Fixes - by: Craig Small - - - Don't send the Alarm's 'Date Stop' Field on a Down Alarm in Email Action - - - PgSQL 7.3 fix in UnAck Filter (changed '' for 0) - - - PgSQL 7.3 fix in insert_alarm, don't include zero-lenght string for referer_stop - - - PgSQL fixes (changed " for ') in interface_filter and cleanup_raw_tables - - - Fixed TCP Number of Connections Poller for use with NET-SNMP (not absolute OIDs in the returned array key) - - - Physical Interfaces Discovery now puts the correct Name for Cisco VLAN Interfaces (IOS 12.2.16b) - Reported by: Lucas Iglesias (TIBA) by: Javier Szyszlican - - - Autodiscovery now informs the New Interface Name when the AD Policy dont allow the name to be changed - - - Fixed Physical Interfaces Status Pollers and Discovery to not depend on the MIBs values - - - Packets Graph does not use the Flip Graph option anymore. - - - Fixed interface_shortname_and_card() to manage a new case when the interface[pos] is not numeric for Cisco ENVMIB - - - snmp_get now tries 2 times to get the requested data. - - - GUI: Administration Menu Internal Code and Organization reworked. - - - GUI: First,Prev,Next,3Next Options Menu now is fixed size, the options don't change places. - Requested by: Alejandro Alvarez (TIBA) - - - Fixed crypt() usage in Authentication - Reported by: Michael Samuel - - - Internal Messages Framework Deprecated. - - - Disabled the TIBA TT plugin. You have to write your own TT plugins. - - - Fixed more NET-SNMP returned values handling - - - Fixed most of the functions that use the DB from the GUI, only 2 left. Added more API Classes, and fixed others. - - - Cleanup of unused GUI functions (due to the migration to API Classes) - - - Check if the DB module is loaded before testing the connection for setup in db_test. - - - DOCS: Fixes and additions to the Windows Install Procedure, also start of the Windows Upgrade Procedure. - By: James Swart - - - Zone Image (flag) is not longer Required, now is optional. - - -JFFNMS 0.7.2 Released 2003-05-27 -================================ - -*New Features: - - Cisco Temperature (with graph), Voltage and Power Supply Monitoring. - By: Anders Karlsson - - - Internal: Support for more alarm_states, now pollers and events can return any state value - Already Implemented for tcp poller (up,down) and Applications (running, not running) - Requested: Anders Karlsson - - - Internal: the Alarm Backend can get extra info from the poller with | as the separator - to include it as the info of a new event. - - - Cisco SA Agent (Service Assurance) (Round Trip Latency, Jitter and Packet Loss) - By: Anders Karlsson - - - The TCP Poller now tries to read 1 second of data from the open socket to report it in the events. - - - New Autodiscovery Policy to allow adding of interfaces without checking if they have an IP Address (for Switches) - - - NetSNMP Agents added to UCD-SNMP System Interface Type - - - Physical Interface Status is now gathered with a new poller which stores all the table and then processes it. - By: Anders Karlsson - - - Added in-development tools, an mib parser and an sql update generator (internal) - - - Added InfoBox explaining the alarms in the Hosts View. - - - Hosts now can be hidden or marked disabled like interfaces (to hide old routers) - - - Added Refresh link to the menu interfaces list. - - - New Mailing List Archives at: http://marc.theaimsgroup.com/?l=jffnms-users - - - Added Storage Aggregation (All Selected Storage Interfaces in the same graph) - - - Storage SLA alerts when the Used Space is more than 80%, its autoselected on every new Storage Interface. - By: Dan Ratzlaff - - - Satellites understands SOAP, you can talk SOAP with the satellite.php to call any method of any class. - - -*Fixed Bugs: - - - State Report didn't show correctly the duration of alarms which lasted more than 24hs. - Reported: Kevin R. Armstrong - - - Missing Check in hosmib_apps poller caused error when the host had no snmp daemon. - Reported: Larry Burton - - - Dont show RTT/PL in state report on interfaces which don't have them. - - - Some bugfixes to allow use of net-snmp v5. - - - Modified autodiscovery_interfaces for better output and now it uses alarm_lookup to see if somethins is up or down - - - Modified the tcp_ports discovery to answer open or closed, because discovery now understands them via alarm_lookup - - - Poller Position is now included in the command line parameters when forking poller.php - Reported: Nigel A. Taylor - - - Changed Interface Types Order, for manual Discovery - - - Performance Graphs now works in paths with dots. - Reported: Peter Burgstaller - - - Autodiscovery now let you set any interface field from the discovery script's (like slas, clients, etc) - - - Autodiscovery can now be called with a second command line parameter to only discover one interface type (for debugging) - - - New Autodiscovery Policy options to check if the state is UP, and if the IP Address is valid. (both checked for all except the new policy for switches) - - - The Cisco Ping Pollers where using the old buffer, changed to the new one. - Reported: Oliver Kuhn - - - Coding Style Fixes to get SOAP working, mostly undeclared variables and constant array keys - By: Anders Karlsson - - - State Report now shows only the customer, map, type, host or interfaces selected. - Reported: Kevin R. Armstrong - - - Added Zone Image (flag) to the Hosts View. - - - Added Images of More Coutries Flags in the Full Install. - - - Modified view_interfaces card detecting code to handle ie. Tunnel0, Tunnel1 and eth0, eth1 as the same card - - - Modified 'Mark On Map' tool to show only the host of the interface in selected. - - - The syslog consolidator now checks for the host name and ip (for syslog-ng) - by: Craig Small - - - More Flexible and Clean auth.php - by: Michael Samuel - - - Customers are now allowed to see their State Report. - - - Fix possible overwriting of unavailability array. - - - Physical Interfaces Discovery and the Tacacs Consolidator didnt handle the ' character in a good way. - Reported by: Brian Watters - - - Off-by-one RRD DS Position error fixed and now we use interface_name as the file name. - By: Craig Small - - - snmp_walk now makes 2 tries to get the requested data. - - - Changed INSTALL to allow PHP CLI work correctly from crontab (Current Working Directory Problems) - - - rrd_analizer took the 0's as a value to calculate the averge causing bad readings. - Reported by: Dan Ratzlaff - - - Some Fixes to clean some alerts when viewing JFFNMS using SSL - Requested by: TIBA Staff - - - Quick/Bad Fix for the init - exim hash collition. - Reported by: Craig Small - - -JFFNMS 0.7.1 Released 2003-04-02 -================================ - -*New Features: - - - HostMIB Running Software Polling and Discovery - By: Anders Karlsson - - - Events RDF Feed availble from http:///jffnms/events.php?view_type=rdf - By: Craig Small - - - Raw tables cleanup script - By: Andrei Kovacs - - - Added Latitude/Longitude fields to Host table (for future GIS Maps) - Requested: Anders Karlsson - - - Added Filter to show only UnAck'd Events - Requested: Walter Brock - - - Added 'Default Event Filter' Profile Option - - - Added 'Events & Maps Refresh Intervals' Profile Options - Requested: Daniel Farinella - - - Documentation on how to use syslog-ng with JFFNMS. - By: Craig Small - -*Fixed Bugs: - - - strpos() haystack, needle inversion in syslog parser. - Fixed: Craig Small - - - Bad Loop in Somekping Poller - Fixed: Craig Small - - - Satellite Field is now a text label when listing in the Hosts Screen - - - Changed order of Hosts from Zone, Name to Name, Zone - Requested: Lucas Iglesias - - - Reworked interface_status its lot faster now. - Requested: Anders Karlsson - - - Added interface_count and hosts_count for speed ups. - - - Graphviz doesn't show the unknown host anymore. - - - Removed Link to old Message System from the control.php, also disabled refresh becasue it was not needed. - - - trap_reciever.pl does not mix the order of the OIDs now. Also changed the DB to reflect the real OID order. - - - Fixed trap_reciever.pl RegExp to match multi-word values in OIDs - - - Setup.php on Windows Escaped \ as \\, causing problems with RRDTool, now it replaces \\ with / - Reported: BEV - - - Added ScrollBar and Set the height of the color_select.php row to be sure of their size. - Reported: Jack Snir - - - Fixed Repeated 'control name' in select_color(), it was causing problems in IE. - Reported. Jack Snir - - - Period Can't be 0 in get_availability, changed to 1 if zero, to avoid division by zero warnings. - Reported: Andrei Kovacs - - - State Report now sets the default TO time to the actual time rather than at 00:00 today. - Reported: Andrei Kovacs - - - Customers are now allowed to see the Graph Type Chooser, until we get more flexible on what can a logged in customer do. - Requested: Alexandra Alvarado - - -JFFNMS 0.7.0 - Released 2003-03-10 -================================== - -*New Features: - - - New Syslog Message Processing System (support for RegExps and compatible with older definition) - by: Craig Small and Javier Szyszlican - - - New SNMP Traps Processing System - by: Craig Small - - - Tacacs+ Consolidator now Supports REJECT messages (minor changes also). - - - Reworked State Report - - Internal changes to use new rrdtool functions - - Time filter - - CSV Export - - - New API for some rrdtool functions to get dynamic structure changes, - this includes cleanups in all graphs and every function that uses rrdtool. - Now every DS goes on a different file like interface-999-0.rrd this is handled by the rrd_mode field - - - The Interface Map Views has been broken in pieces for the cleaness of the code. - This also helps to add a new Map View type. (htdocs/views/*) - - - New Interface Map View on SubMaps (dynmap) allows you to change the position of - the interfaces in the map and to establish connections between them. - - - Bulk Interface Add Feature in Manual "Get Interfaces" Option, it allows you to add a lot of interfaces with only a few clicks, - without using autodiscovery. - - - Designated Main Interface(s) (DMII) : You can select an interface or map of interfaces which will be the Main ones for that host, this means: - if the DMII are all down, the polling of that host other interfaces will stop, - except for the DMII (to detect the UP again), this solves a domino or 'stacking' problem when some hosts are unreachable. - Also, a new event is generated when the Polling Fails because of DMII being down. - Requested: Larry Burton - - - Added Packets Aggregation (useful to see how much packets per second your router is handling) - - - New Interface Type for Windows Hosts (Servers), Number of Users, Number of Processes, Processor Utlization, and TCP Connections Graphs - Requested: Rob Laidlaw Information: Musfa Baig Coding: Javier Szyszlican URL: http://snmpboy.msft.net/ - - - New Interface Type: Cisco MAC Accounting, Polling and Graphing (ip accounting mac input, ip accounting mac output) - This allows one graph per MAC Address giving you accounting per machine in an Ethernet Segment. Experimental, Autodiscovery Disabled. - - - Modified Linux Host Type: New Graphs and Pollers for Number of Users, Number of Processes, and TCP Connections Graph - Also Changed its name to UCD-SNMP Host, because we support FreeBSD (Need Testing) or other ucd-snmp implementations - with this Interface Type - - - Modified Cisco Host: New Graphs and Pollers for TCP Connections Graph, and Accounting - - - TCP Port Delay and Number of connections graph (aggregation too) (modified interface type) - Requested: Karlheinz Hagen - - - Smokeping Integration (RTT & PL), Discovery, SLAs, Graphs - by: Craig Small - - - Cisco IP Accouting Polling and Graphing (ip accounting output-packets) - - - If no interfaces found in Manual Discovery Show the "No Interfaces Found" Message - - - Cisco CPU SLA, SLA set to match at > 80% - Requested: Brian Watters - - - Cisco Syslog Message: ACL Match - Requested: Alexandra Alvarado - - - Cisco Syslog Message: CDP Duplex Mismatch - Requested: Alexandra Alvarado - - - Cisco Syslog BGP Notification Message - - - Added Profile option to not show the stats on the start page. - - - Added Shortcuts to go bettween View Performance, Interface Administration and State Reports - - - New FrameWork for Distributed Processing (Satellites) - Each Satellite is an jffnms in a different machine, this allows Distributed Polling for now - in the future this will allow to do syslog,trap,discovery an other in a distributed fashion. - Experimental, Needs Testing, Allows Load Balancing. - - - Added Label at the Setup to know which config file are you using - - - Added Option to Event Filter so now you can filter by Extra Info too (LIKE), useful for seaching in tacacs logs. - Requested: TIBA Staff - - - Added Options to Event Filter to NOT get a field when it matches. - - - Added the RRDTool Step value to the Interface Type options. - This is used when creating a new rrd file. - - - Added a Favicon icon and some HTML meta tags. - - - Setup.php now checks for Register_Globals to be set to On - - - Added RRDTool Dump & Restore functions to API - -*Fixed bugs: - - - Wrong Query date compare in interfaces_status (typo from postgres changes) - Reported: Stanislav Gaydukov Fixed: Javier Szyszlican - - - RRDTool Fetch Speedups (it was using too much memory) - Reported: Juan Rojas Fixed: Javier Szyszlican - - - Verify length of info field in insert_event - Reported: Alejandro Alvarez Fixed: Javier Szyszlican - - - Better handling of LIMIT on a pgsql query - Reported: Alejandro Alvarez Fixed: Javier Szyszlican - - - Field type of interfaces.host was tinyint, now changed to int. (it was a typo) - Reported: Kevin R. Armstrong Fixed: Kevin R. Armstrong - - - The Maps Interfaces GUI type changer didn't work right on Mozilla - Reported: Javier Szyszlican Fixed: Javier Szyszlican - - - The Path of the TFTP windows .bat file was wrong. - Reported: Gregory A. Leggett Jr.Fixed: Gregory A. Leggett Jr. - - - If no tcp ports were found on a host, the Manual discovery showed garbage - Reported: Javier Szyszlican Fixed: Javier Szyszlican - - - Sounds where not working on the view_interfaces.php (Main Map). - Reported: Javier Szyszlican Fixed: Javier Szyszlican - - - Off by 1 error didn't show events if only one is found. - Reported: Javier Szyszlican Fixed: Javier Szyszlican - - - Events View All Option didnt show all the events. - Reported: Juan Rojas Fixed: Javier Szyszlican - - - SQL LIMIT and OFFSET doesnt accept numbers with decimals, now rounded. - Reported: Javier Szyszlican Fixed: Javier Szyszlican - - - State Report showed dates in Seconds, now in Hours:Minutes:Seconds - Reported: Javier Szyszlican Fixed: Javier Szyszlican - - - State Report did wrong math in Total Values - Reported: Javier Szyszlican Fixed: Javier Szyszlican - - - Java Map was deprecated. - - - Availability Report was deprecated in favor of the State Report. - - - Fixed SLA Processor (rrd_analizer) to take care of one line SLA's - Reported: Brian Watters Fixed: Javier Szyszlican - - - Fixed Event Filter to Allow Search of Unknown Events - - - Disable refresh when you go back in the Events Screen - - - Behavior Change: when an interface/host is not reachable (non response) is taken like a down response. - This affects the report generation also... please test this and give me feedback so we could know which is best. - - - Added Verification of SNMP community to a few pollers - - - Fixed Typo in menu_interfaces - - - Fixed Typo in db_copy_table() - - - Changed Most Event Filter Fields to the LIKE expression rather than equal (=) - - - Added Default Customer to the Get Interfaces Option - - - New Include File Loader, fixed for multiple installtions - - -JFFNMS 0.6.9-2 - Released 2002-09-21 -==================================== - -*Fixed bugs: - - - Modified some SQL querys to make them compatible PostgreSQL - Postgres support now works. - - - Fixed a typo in trap_receiver.php (the name) - - - Make RRDTool functions check for the .rrd file. - - - Converted some GUI selects to the new API. - - - Fixed a function name change in filters. - - -JFFNMS 0.6.9 - Released 2002-09-07 -================================== - -*New Features: - - -Triggers Framework: - Parse New Events or Alarms with a condition, - and triggers an Action. - - -Actions Framework (email for now) - - -Host Default Customer - Assigns a default customer to an autodiscovered interface. - - -Host TFTP Config Get Type included in DB. - - -TFTP Get Hosts Changed its name. (please update crontabs) - - -TFTP Config Upload Tool (external utility) - - -Use Interface Bandwidth parameter for number of CPU's on CPU Information. - - -SLAs: more verbose debug. - - -SLAs: Updated Rules. - - -Maps: Mark Disabled now affects Maps also. - - -GUI: Events: Summary of Identical Events. - - -GUI: New Interfaces Views (supports bigger graphs) - - -New To Do List. - -*Fixed bugs: - - -Documentation fixes. - - -Changed field 'tipo' (spanish) from events table to 'type'. - - -Reorganization of some API Classes. - - -FreeBSD (PHP 4.2.2) $_SERVER variable Changes. - Reported: Nicolas Huret Fixed: Javier Szyszlican - - -Autodiscovery: Verify more before Modification. - - -Consolidate sub-programs name change. - - -API Alarms: Fixed Filters. - - -API Events: Variable resolution now is internal, not in GUI. - - -API RRDTool: verify if .rrd exists before tune. - - -Ticket: Some changes. - - -GUI: Interfaces '1 record only' fixes. - - -GUI: Standard Admin Fixes. - - -GUI: Updated some selects to objects. - - -GUI: changed RRDTool Graph grid color. - - -Alarm Viewer is gone, it didnt work. - - - -JFFNMS 0.6.8 - Released 2002-07-27 -================================== - -*New Features: - - -Windows 2000/XP Support. - JFFNMS works correctly on Windows, all functions work - except TCP Port Autodiscovery (I need a windows nmap). - Install Guide Included. - - -New Graph Types Framework - Converted all graphs to the new format. - - -New Interface Types (by Robert Bogdon): - Cisco CSS VIPs - Linux Processor Usage - Linux Load Average - Solaris Memory Utilization - Solaris Processor Usage - Solaris Load Average - - Includes Autodiscovery, Graphs and Poller Groups. - - -Better Host Information Identification - Based on Robert Bogdon code. - - -Added Drops () variable to SLA's - - -Better SLA presentation, more flexible and useful output. - Requested by: TIBA Staff - - -New MiniSLA's, SLA verifications every 5 minutes (optional) - Requested by: TIBA Staff - - -New Journaling Framework, better handling of comments and - Reporting/Editing. - - -New Trouble Ticket Integration Framework, send Journals to your TT System. - Example included. - - -Interface Selector, you can now select by Interface Type and - the View all button is back is Wizard Mode. - - -*Fixed bugs: - -Documentation fixes. - - -PHP Time Limit Handling implemented. - Reported: Micheal Orth Fixed: Javier Szyszlican - - -Quotes Handling in Tacacs and TFTP - Reported: Alberto Passariello Fixed: Javier Szyszlican - - -Changed snmp_interfaces to numerical OIDs. - - -Take care of HexStrings and Quotes on Windows Agents - - -Changed Default Speed of Snmp Interfaces to 128k because 0 makes no graphs. - - -Changed $argv[] to _$SERVER[argv][] in engines. - Requested by: Someone running FreeBSD with PHP 4.2.1 - - -Fixed a typo in poller.php str_replace. - Fixed by: Robert Bogdon - - -When creating a new Host, now the filter is to the seleced zone, not Uknown. - - -Fixed some Setup Autoconfiguration options - - -Move MiniSLA's and Messages to popups.php and popups/ directory - - -New Graph Type Selection (performance) Algorithm - - -Moved all RRD Related functions to api.rrdtool.inc.php - - -Changed Host_Interfaces (aka Get Interfaces in Host Configuration) to only - show the interfaces types with records. - - -Don't Show MultiEdit in Interfaces Administration when only one record is shown. - - -JFFNMS 0.6.7 - Released 2002-06-29 -================================== - -*Fixed bugs: - -When changing password the Router Access was disabled. - Reported: Mariano Schuler Fixed: Javier Szyszlican - - -Handling of shutdown events, leaves interface down. - Reported: Lucas Iglesias Fixed: Javier Szyszlican - - -Storage discovery broken in UCD-SNMP 2.4.4 - - -TCP Port Poller timeout, too short, increased to 8 seconds. - - -Some Orders are inverted. - - -API: better filter management in interfaces object. (status & list) - -API: Auth now on jffnms object. - -API: new delete_from_all method on map_interfaces object. - - -Change Clock color to white in Events. - -*New Features: - -New Interface in Rootmap status, you can mark the interface as disabled (grey). - -Add to Map option in Interfaces Editor. - -New Interface Selector (Wizard and Classic mode) (faster) - -Autoconfigurable Setup.php (Robert Bogdon) - -Use the OLD-CISCO-SYS-MIB for configuration retrival (optional) (requested by: Mike Hide) - -Wait 3 seconds before spawning new a process in autodiscovery_interfaces.php and poller.php (requested by: Robert Bogdon) - -New Poller: BGP Peer Interface Number (track when new bgp peer are added). - -New Views: Host All Interfaces (not only the ones with show in rootmap), Alarmed interfaces & events. - -OLDER RELEASES -============== - -Please check http://sourceforge.net/tracker/?atid=444844&group_id=46041&func=browse - diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/conf/config.php jffnms-0.9.4/conf/config.php --- ../jffnms-0.9.3/conf/config.php 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/conf/config.php 2014-02-03 21:58:06.021289460 +1100 @@ -10,7 +10,7 @@ snmp_set_output_format(SNMP_OID_OUTPUT_NUMERIC); if (function_exists('snmp_set_quick_print')) snmp_set_quick_print(1); -define('JFFNMS_VERSION', '0.9.3'); +define('JFFNMS_VERSION', '0.9.4'); class JffnmsConfig { @@ -18,11 +18,11 @@ private $configs = array(); public $default_configs = array(); - function __construct() + function __construct($config_dir=FALSE) { $default_filename = 'jffnms.conf.defaults'; $config_filename = 'jffnms.conf'; - if ( ($this->config_dir = $this->_find_config_dir($default_filename)) === FALSE) + if ( ($this->config_dir = $this->_find_config_dir($default_filename, $config_dir)) === FALSE) die("Cannot find configuration default file \"$default_filename\"."); $this->_parse_defaults_file($this->config_dir.'/'.$default_filename); $this->_parse_config_file($this->config_dir.'/'.$config_filename); @@ -81,9 +81,13 @@ } - private function _find_config_dir($filename) + private function _find_config_dir($filename, $force_dir=FALSE) { - $config_dirs = array('..','.','../conf','../../../conf','../../conf','/etc/jffnms'); + if ($force_dir !== FALSE) { + $config_dirs = array($force_dir); + } else { + $config_dirs = array('..','.','../conf','../../../conf','../../conf','/etc/jffnms'); + } foreach ($config_dirs as $dir) if (file_exists($dir.'/'.$filename)) return $dir; diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/engine/actions/email.inc.php jffnms-0.9.4/engine/actions/email.inc.php --- ../jffnms-0.9.3/engine/actions/email.inc.php 2012-02-14 23:10:39.000000000 +1100 +++ jffnms-0.9.4/engine/actions/email.inc.php 2014-01-20 22:14:17.000000000 +1100 @@ -63,7 +63,7 @@ } if (array_key_exists('comment', $data['parameters']) && !$short) - $body[] = "\nComment: $data[parameters][comment]\n"; + $body[] = "\nComment: ".$data['parameters']['comment']."\n"; $body_text = join($body,"\n")."\n$signature"; if ($short) diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/engine/backends/rrd.php jffnms-0.9.4/engine/backends/rrd.php --- ../jffnms-0.9.3/engine/backends/rrd.php 2012-03-21 12:18:27.000000000 +1100 +++ jffnms-0.9.4/engine/backends/rrd.php 2012-09-05 14:45:42.000000000 +1000 @@ -66,6 +66,7 @@ for ($i = 1; $i < $num_ds+1; $i++) if (!isset($rrd_options[$i]) || !is_numeric($rrd_options[$i])) //if its not valid $rrd_options[$i]='U'; //Put in NaN + $ret = FALSE; if ($type_info['rrd_mode']==1) //all DS's on the same file { $ret = rrdtool_update($filename,join (':',$rrd_options)); @@ -85,7 +86,8 @@ unset ($ds_names); } - if ( $ret == 0 ) logger( 'RRD error: '.rrdtool_error(),0); + if ( $ret == FALSE ) + logger( 'RRD error: '.rrdtool_error(),0); return join(' - ',$output); } } diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/engine/discovery/host_information.inc.php jffnms-0.9.4/engine/discovery/host_information.inc.php --- ../jffnms-0.9.3/engine/discovery/host_information.inc.php 2012-04-05 18:48:39.000000000 +1000 +++ jffnms-0.9.4/engine/discovery/host_information.inc.php 2013-09-06 14:09:39.000000000 +1000 @@ -29,7 +29,7 @@ $systems = explode(",",$param); foreach ($systems as $data) - if (strpos($system_oid,trim($data)) > 1) + if (strpos($system_oid,trim($data)) !== false) $found = true; // If it was, get all the other information and return an interface diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/engine/pollers/reachability_values.php jffnms-0.9.4/engine/pollers/reachability_values.php --- ../jffnms-0.9.3/engine/pollers/reachability_values.php 2011-02-03 15:58:02.000000000 +1100 +++ jffnms-0.9.4/engine/pollers/reachability_values.php 2012-08-13 14:12:54.000000000 +1000 @@ -14,24 +14,29 @@ $filename = "$temp_path/$uniq.log"; $which_value = $options['poller_parameters']; //Poller Parameter specifies which value to return - $value = 0; + $num_pings = $options['pings']; if (file_exists($filename)) { $data = file($filename); //get last trimmed line of the fping result $data = trim(end($data)); - if (preg_match($fping_pattern,$data,$parts)) - switch ($which_value) - { - case 'rtt': - if (!empty($parts[3])) $value = $parts[4]; // RTT Average - break; - - case 'pl': - $value = $parts[1] - $parts[2]; // Lost Packets = Sent Packets - Recv Packets - break; - } + if (!preg_match($fping_pattern,$data,$parts)) + unset($parts); } - return $value; + switch($which_value) { + case 'rtt': + if (isset($parts) && !empty($parts[3])) + return ($parts[4]); // RTT Average + else + return "0"; + break; + case 'pl': + if (isset($parts)) + return ($parts[1] - $parts[2]); // Lost Packets = Sent Packets - Recv Packets + else + return $num_pings; // If something breaks, then we lost the lot + break; + } + return "0"; } ?> diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/engine/tftp_get_host_config.php jffnms-0.9.4/engine/tftp_get_host_config.php --- ../jffnms-0.9.3/engine/tftp_get_host_config.php 2012-03-15 20:19:03.000000000 +1100 +++ jffnms-0.9.4/engine/tftp_get_host_config.php 2013-05-12 21:30:52.000000000 +1000 @@ -93,7 +93,7 @@ } $function_data = array($config_row['host_ip'],$config_row['rwcommunity'], - $config_row['tftp_server'],$real_tftp_filename); + $config_row['tftp_server'],$tftp_filename); if (call_user_func_array($config_get_command, $function_data) === FALSE) { diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/htdocs/admin/adm/adm_standard.php jffnms-0.9.4/htdocs/admin/adm/adm_standard.php --- ../jffnms-0.9.3/htdocs/admin/adm/adm_standard.php 2012-02-14 23:10:39.000000000 +1100 +++ jffnms-0.9.4/htdocs/admin/adm/adm_standard.php 2012-09-04 20:35:17.000000000 +1000 @@ -172,7 +172,7 @@ $rows += count($st['fields']); -if (!isset($actionid) || $actionid!='new') +if (empty($actionid) || $actionid!='new') { // OLD Filter handling if (isset($st['filter_field'])) @@ -229,7 +229,7 @@ $records = array_record_search($records, $filter_field, $filter_value); // SORT Records -if (!isset($sf) || !isset($so)) +if (empty($sf) || empty($so)) { if (isset($st['default_sort_field'])) $sf = $st['default_sort_field']; @@ -238,7 +238,7 @@ $so = $st['default_sort_order']; } -if (isset($sf) && isset($so)) +if (!empty($sf) && !empty($so)) array_key_sort($records, array($sf=>(($so=='asc')?SORT_ASC:SORT_DESC))); @@ -286,7 +286,7 @@ } //show only the init and span the user asked for -if ($cant > 0 && isset($actionid) && $actionid!='new') +if ($cant > 0 && !empty($actionid) && $actionid!='new') $records = array_slice($records,$init,$span); diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/htdocs/admin/adm/adm_triggers_rules.php jffnms-0.9.4/htdocs/admin/adm/adm_triggers_rules.php --- ../jffnms-0.9.3/htdocs/admin/adm/adm_triggers_rules.php 2012-04-09 12:29:52.000000000 +1000 +++ jffnms-0.9.4/htdocs/admin/adm/adm_triggers_rules.php 2012-08-01 20:50:43.000000000 +1000 @@ -32,7 +32,9 @@ 'operator' => $Sanitizer->get_string('operator'), 'value' => $value, 'action_id' => $Sanitizer->get_int('action_id',1), - 'stop' => $Sanitizer->get_int('stop',0)); + 'stop' => $Sanitizer->get_int('stop',0), + 'and_or' => $Sanitizer->get_int('and_or',0), + ); $action_params = $Sanitizer->get_string('action_params'); if (is_array($action_params)) { @@ -52,7 +54,7 @@ break; case 'delete': - $TriggersRules->delete($actionid); + $TriggersRules->del($actionid); $action='list'; break; diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/htdocs/view_performance.php jffnms-0.9.4/htdocs/view_performance.php --- ../jffnms-0.9.3/htdocs/view_performance.php 2012-02-23 08:50:06.000000000 +1100 +++ jffnms-0.9.4/htdocs/view_performance.php 2012-10-01 22:16:21.000000000 +1000 @@ -45,7 +45,7 @@ $aggregation = performance_graphs_show($graphics, $Interfaces, $graph_times, $view_type, $only_aggr); //debug ($aggregation); -performance_graphs_show_aggregation($aggregation, $Interfaces, $graph_times, $want_graph, $only_aggr); +performance_graphs_show_aggregation($view_type, $aggregation, $Interfaces, $graph_times, $want_graph, $only_aggr); performance_graph_footer($view_type, $refresh_time); @@ -85,7 +85,7 @@ $shortcuts = array(); - if ($client_id > 0) + if ($_SESSION['auth_type'] == 2) $shortcuts[] = linktext(image('logoff.png',0,0,'Logout'),$jffnms_rel_path.'/?logout=1&OldAuth='.$GLOBALS['PHP_AUTH_USER'],'_top'); $shortcuts[] = linktext(image('refresh.png',0,16,'Refresh Now'), $refresh_url); $shortcuts[] = tag("img", "", "", "src='images/refresh2.png' alt='' OnClick=\"javascript: if (self.no_refresh!=1) ". @@ -461,7 +461,7 @@ return $aggregation; } //make_performance_graphs() -function performance_graphs_show_aggregation($aggregation, &$Interfaces, &$graph_times, $want_graph, $only_aggr) +function performance_graphs_show_aggregation($view_type, $aggregation, &$Interfaces, &$graph_times, $want_graph, $only_aggr) { global $Config, $Sanitizer; @@ -469,16 +469,17 @@ $images_rel_path = $Config->get('images_rel_path'); foreach ($aggregation as $agg_type=>$agg_data) { - if ( count($agg_data['ids'] <= 1)) + if ( count($agg_data['ids']) <= 1) continue; $image_title = $agg_data['description'].' Aggregation'; $filename = 'aggr-'.uniqid('').'.png'; - $ret3 = performance_graph ($Interfaces,$agg_data['ids'], - $images_real_path.'/'.$filename,$agg_type.'_aggregation', - 500,175, $image_title, - $graph_times['start_unix'],$graph_times['stop_unix']); //FIXME Fixed Size + $ret3 = performance_graph($agg_data['ids'], + $images_real_path.'/'.$filename, + $agg_type.'_aggregation', + 500, 175, $image_title, + $graph_times['start_unix'], $graph_times['stop_unix'],''); if ($ret3) switch ($view_type) diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/INSTALL jffnms-0.9.4/INSTALL --- ../jffnms-0.9.3/INSTALL 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/INSTALL 1970-01-01 10:00:00.000000000 +1000 @@ -1,226 +0,0 @@ -'Just For Fun' Network Management System Version 0.9.3 - By Javier Szyszlican and Craig Small -====================================================== - -Requirements: -============= - --Operating System: - . *NIX (Development is on GNU/Linux, It has been tested on FreeBSD and Solaris too) - . Windows 2000/XP also works (A good crond for windows will be useful). - If you are installing on Windows please read the INSTALL.win32.txt file. - --Apache ( > 1.3.x or > 2.0.x) - --MySQL ( > 3.23.x or > 4.0.x ) or PostgreSQL ( Tested with 7.4.6 ) - --RRDtool (www.rrdtool.org) (> 1.0.33 ) - --PHP ( > 5.0.x ) - Extensions: snmp, ssl, gd, sockets, mysql or pgsql, pcre, posix, ob, pcntl and session - --NET-SNMP utilities and trapd server (optional) - --GNU Diff - --TFTP Server (optional) - --JFF NMS Integration Packages (TACACS+ & Syslog) (optional, useful on routers) - --Graphviz & WebFonts (http://www.graphviz.org) (optional) - --NMAP PortScanner > 2.54B (http://www.insecure.org/nmap/) for TCP Port Discovery (optional) - --Fping (http://www.fping.com) for Reachability (Only on Linux/*NIX) - --tmpwatch (http://linux.maruhn.com/sec/tmpwatch.html) (Only on Linux/*NIX) - Used for deleting all temporary files - - -Steps: -====== - -. Compile and/or Install MySQL / PgSQL - -. Compile and/or Install Apache - -. Compile and/or Install Graphviz and WebFonts (optional) - -. Compile and/or Install NMAP - - Nmap should be set-uid root if you want UDP port monitoring & discovery to work. - - Execute: - # chmod +s /usr/bin/nmap - # chmod a+x /usr/bin/nmap - -. Compile and/or Install Fping - - Verify that the user running the cron jobs, is able to execute fping and that it is set-uid root. - - Execute: - # chmod +s /usr/sbin/fping - # chmod a+x /usr/sbin/fping - - And you should see something like this: - -rwsr-xr-x 1 root adm 28291 May 31 22:14 /usr/sbin/fping - -. Compile and/or Install RRDtool - -. Compile and/or Install PHP - - I M P O R T A N T - ----------------- - - PHP Modules Needed: sockets, snmp, gd, (pgsql and/or mysql), wddx (for satellites), pcre (syslog parsing) - - Be sure to add the required modules to your /etc/php.ini file. - - Remember to verify that your modules are loaded with /admin/adm/test.php or the JFFNMS setup screen. - - A N D - - --------------------------------------------------- - --------------------------------------------------- - Change This in your php.ini file. - - register_globals = On - register_argc_argv = On - error_reporting = E_ALL & ~E_NOTICE - allow_url_fopen = On - include_path = .:/usr/share/pear - short_open_tag = On - - --------------------------------------------------- - --------------------------------------------------- - - Also check if your Apache is loading mod_php. - - Any change to the PHP ini file (ie. /etc/php.ini) requires Apache to be restarted to take effect. - --------------------------------------------------------------- -. Read the docs/* files, these are examples of configuration. --------------------------------------------------------------- - -. Optional: Install Integration Packages tac_plus and msyslog (read the README and INSTALL files of each program). - Hints: - -If you have problems with mysql when compiling (mysql.h lines ~245 & ~256) change DB to db (lowercase); - -If you have a linking problem with compress add -lz to the Makefile libraries - -msyslog: Remember to change your init.d/syslog to the new binary and command line options. (read the example) - -. Create User & Group - - Note: replace apache by your Apache user (like apache, httpd, www-data, etc) - - # groupadd jffnms - # useradd -g jffnms -d /opt/jffnms -s /bin/false -c 'JFFNMS User' jffnms - # usermod -G jffnms apache - -. Unpack the release: - - # tar xvzf jffnms-0.9.3.tar.gz - - You will get a directory called jffnms-0.9.3/ - - # mv jffnms-0.9.3 /opt/jffnms - -. Permissions - - # chown -R jffnms:jffnms /opt/jffnms - # chmod 770 /opt/jffnms - # chmod -R ug+rw /opt/jffnms - -. Crontab - Install the JFFNMS crontab file - - # crontab -u jffnms /opt/jffnms/docs/unix/crontab - - Now modify the values at the top if they don't match your system: - - # crontab -e -u jffnms - - Allow JFFNMS to run cron jobs (AFAIK only needed in Solaris) - - # echo jffnms >> /etc/cron.allow - -. Create the Databases - - Manually create the database "jffnms", set the permissions and then import the schema and data. - - Replace the 'x' with the jffnms version number. - - MySQL: - ====== - # mysql -u -p - mysql> CREATE DATABASE jffnms; - mysql> GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost IDENTIFIED BY 'jffnms'; - mysql> FLUSH PRIVILEGES; - mysql> quit - - # mysql -u jffnms -pjffnms jffnms < docs/install/jffnms-0.9.3.mysql - - PostgreSQL: - =========== - # psql template1 postgres - template1=# create user jffnms password 'jffnms' createdb; - template1=# \connect template1 jffnms - template1=# create database jffnms; - template1=# \q - - # psql jffnms jffnms < docs/install/jffnms-0.9.3.pgsql - - This will create the jffnms Tables and required records. - - -. Configure Apache as follows (from docs/*): - - 1. As a Virtual Host (if you control a DNS server): - - - ServerAdmin you@yournet.com - DocumentRoot /opt/jffnms/htdocs - ServerName nms.yournet.com - LimitRequestLine 20000 - - - 2. As a sym-link (in Unix): - - ln -s /opt/jffnms/htdocs /var/www/html/jffnms - - (or the path your Apache uses). - - JFFNMS needs to be at the main Document Root, a VirtualHost or a SymLink. - -. Restart/Reload Apache, MySQL or PgSQL, xINETD (tftpd) - -. PHP Module Load Errors are reported to /var/log/httpd/error_log (RedHat) or /var/log/apache/error_log (Gentoo) - -. Point your browser to http://www.yourserver.com/jffnms or http://nms.yournet.com/ (depending on what you choose) - - You should see the Setup screen, it should have auto-discovered your configuration. - Verify that everything is correct (OK, YES in green) before saving the config. - -. Point your browser (again) to http://www.yourserver.com/jffnms or http://nms.yournet.com/ (depending on what you -choose) - - Username: admin - Password: admin - - And now, you are inside the system. - - -. You can read the manual at http://www.jffnms.org - - -========================================================================= -If you need anything, contact us at: jffnms-users@lists.sourceforge.net - -Thank You for trying 'Just For Fun' Network Management System - -Don't forget to Donate to the project if you find it useful for your work. -========================================================================= - -Javier Szyszlican aka SzYsZ -Buenos Aires, Argentina -javier@jffnms.org (please try the mailing list first) -ICQ #397319 diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/INSTALL.win32.txt jffnms-0.9.4/INSTALL.win32.txt --- ../jffnms-0.9.3/INSTALL.win32.txt 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/INSTALL.win32.txt 1970-01-01 10:00:00.000000000 +1000 @@ -1,203 +0,0 @@ -Windows 2000/XP Install Procedure -================================= - - -Note: This will not work for Windows 95/98/Me, it's only for Windows 2000/XP and maybe NT 4.0 - -The installation should be done as and Administrator User. - -This guide is for Apache2 with PHP5. If you want to use older versions, -read the JFFNMS 0.7.9 INSTALL.win32.txt file. - -Installation: -------------- - -Install Apache: - Download Apache2 from: http://www.apache.org/dist/httpd/binaries/win32/ - Get the latest release "no_ssl.msi" package, like "apache_2.0.52-win32-x86-no_ssl.msi". - Complete Install, Click on Next until Finish. - You should see Apache running in your taskbar. - Test it going browsing to http://localhost/ or http://IP.OF.YOUR.BOX/ - -Install MySQL: - Download from: http://www.mysql.com/downloads/mysql/4.1.html - Scroll down until you find MySQL Essentials for Windows. - - Select the "Complete Install", Click on Next until Finish. - - When you go into the configuration phase, select "Server Machine", - and then "Non-Transacctional Database Only". - - Then set a new root password. - - All other configuration leave as default. - -Install PHP: - Download PHP 5 from: http://www.php.net/downloads.php - Get the "Windows Binaries ZIP package" with all the modules (First One). - - Extract the archive to c:\php - - Execute the following: - c:\> copy c:\php\php.ini-dist c:\windows\php.ini - c:\> copy c:\php\libmysql.dll c:\windows\ - - Create Folder c:\usr - Copy c:\php\extra\mibs to c:\usr\mibs - -Install JFFNMS: - Download the .zip file (I'm sure you already have done this) and extract it to c:\jffnms - - Create the User 'jffnms' in the Windows User Manager with any password you choose. - - Remember to CHECK 'Password Never Expires' and UNCHECK 'Must Change password at next logon' for this user. - - Give the 'jffnms' user FULL CONTROL over the c:\jffnms folder (and its sub-folders) - -Install RRDTOOL: - Download from: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/?M=D - Get the rrdtool-1.0.49-win32-bin.zip (or newer) file. - Extract the archive to a temporary location. - Copy the rrdtool.exe file from inside the archive to c:\jffnms - -Install NMAP: (If you are running Windows XP please read the NMAP page carefully, it may not work) - Download it from: http://www.insecure.org/nmap/nmap_download.html - Get the nmap-3.81-win32.zip file (or newer) - Extract the nmap.exe file from the archive to c:\jffnms\ - -Install WinPCAP for NMAP: - - Download it from: http://winpcap.polito.it/ - Choose the Auto-Installer. - Complete Install, Click on Next until Finish. - - -Configuration: --------------- - -Configure Apache for PHP5: - - Add this to the bottom of your c:\program files\apache group\Apache2\conf\httpd.conf file: - - LoadModule php5_module c:/php/php5apache2.dll - AddType application/x-httpd-php .php - - NameVirtualHost * - - - ServerAdmin webmaster@your-domain.com - DocumentRoot c:\jffnms\htdocs - ServerName nms.yourdomain.com - DirectoryIndex index.php - LimitRequestLine 20000 - - - * Make sure you modify the above information to match your needed settings - -Configure PHP: - Make sure you have this on your php.ini file: - - register_globals = On - register_argc_argv = On - allow_url_fopen = On - - extension_dir = c:\php\ext - - (Uncomment the following): - extension=php_gd2.dll - extension=php_snmp.dll - extension=php_mysql.dll - extension=php_sockets.dll - - SMTP = your.mail.server.com (set it to your mail server IP or DNS name) - - Now Restart the Apache Service. - - if you don't change these, JFFNMS will not work. - -Configure MySQL: - - To create the JFFNMS DB run the following: - - Check the path to mysql.exe - - c:\> c:\Program Files\MySQL\MySQL Server 4.1\bin\mysql.exe -u root -p - - mysql>CREATE DATABASE jffnms; - mysql>GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost IDENTIFIED BY 'jffnms'; - mysql>FLUSH PRIVILEGES; - mysql>quit; - - And: - - c:\> c:\Program Files\MySQL\MySQL Server 4.1\bin\mysql.exe -ujffnms -pjffnms jffnms < c:\jffnms\docs\jffnms-0.8.x.mysql - - Replace x with the version you are installing. - -Configure JFFNMS: - - ----------------- - I M P O R T A N T - ----------------- - - Go to: http://yourserver/ - - Verify and change (if needed) the options. - - Don't mind the errors on diff, neato, smsclient, fping, ntpq, PgSQL and SOAP. - - Save the configuration and change the values until everything needed is Green. - - Everything else SHOULD be OK. - - Scheduled Tasks: - ---------------- - If you did not install jffnms in c:\jffnms you will have to change the - contents of the .bat files (path). - - Start/Settings/Control Panel/Scheduled Tasks/Add Scheduled Task. - 1) Next - 2) Click Browse - 3) Browse to c:\jffnms\engine\windows and select the first .bat file. - 4) Select Daily, then Next. - 5) Change the Start time to 12:00 AM - 6) Select Every 1 Days then Next. - 7) Enter Username: jffnms and Password: (the one you choosed before), then Next. - 8) Click the 'Open Avanced...' checkbox, then click Finish - 9) Change "Start In" to c:\jffnms\engine - 10) Click the Schedule tab - 11) For autodiscovery_interfaces, consolidate, poller & rrd_analizer: - Click on the Advanced Button. - Check Repeat Task. In the Every Field enter the respective times: - autodiscovery_interfaces every 30 minutes. - consolidate Every 1 Minute. - poller Every 4 minutes. - rrd_analizer every 30 minutes. - Duration: 24 Hours. - - 12) Click on OK. - 13) Click on OK. - - ** REPEAT THESE STEPS FOR EACH .BATCH FILE IN THE C:\JFFNMS\ENGINE\WINDOWS PATH! - - -Now... try to access http://yourserver/ or http://yourserver/jffnms/ (if you took this way) -Remember to add the last slash / to the URL. -The Default Username and password is "admin". - -If you want to read more, please read the INSTALL file and skip the Unix Parts. - - -========================================================================= - -If you need anything, contact us at: jffnms-users@lists.sourceforge.net - -Thank You for trying 'Just For Fun' Network Management System - -Don't forget to Donate to the project if you find it useful for your work. - -========================================================================= -Javier Szyszlican aka SzYsZ -Buenos Aires, Argentina -javier@jffnms.org (please try the mailing list first) -ICQ #397319 diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/lib/api.rrdtool.inc.php jffnms-0.9.4/lib/api.rrdtool.inc.php --- ../jffnms-0.9.3/lib/api.rrdtool.inc.php 2012-04-13 16:42:54.000000000 +1000 +++ jffnms-0.9.4/lib/api.rrdtool.inc.php 2012-09-05 23:01:45.000000000 +1000 @@ -140,22 +140,45 @@ return rrdtool("graph",$file,$opts); } - function rrdtool_tune($file,$opts) { - if (file_exists($file)===TRUE) return rrdtool("tune",$file,$opts,1); - return FALSE; +function rrdtool_tune($file,$values) { + if (file_exists($file)===TRUE) { + if (function_exists('rrd_tune')) { + $opts = array($values); + if (RRDCACHED_SOCKET != '') + $opts[] = ' --daemon '.RRDCACHED_SOCKET; + return rrd_tune($file, $opts); + } else { + return (rrdtool('tune',$file,$values) == 1); + } } + return FALSE; +} function rrdtool_fetch($file,$opts) { return rrdtool("fetch",$file,$opts); } - function rrdtool_last($file) { - return rrdtool("last",$file,NULL); +function rrdtool_last($file) { + if (function_exists('rrd_last')) { + return rrd_last($file); + } else { + return (rrdtool('last',$file,NULL) == 1); } +} - function rrdtool_update($file,$opts) { - return rrdtool("update",$file,$opts); +/* + * rrdtool_update - wrapper for rrd_update + * Return TRUE on success, 0 on failure + */ +function rrdtool_update($file,$values) { + $opts = array($values); + if (function_exists('rrd_update')) { + if (RRDCACHED_SOCKET != '') + $opts[] = ' --daemon '.RRDCACHED_SOCKET; + return rrd_update($file, $opts); } + return (rrdtool('update',$file,$values) == 1); +} function rrdtool_create($file,$opts) { @@ -176,10 +199,12 @@ return rrdtool('restore',$from,$file); } - function rrdtool_error($info = NULL) { - if (extension_loaded("RRDTool")) return rrd_error(); - else return $info; - } +function rrdtool_error($info=NULL) +{ + if (function_exists('rrd_error')) + return rrd_error(); + return $info; +} function rrd_grapher($id, $graph_function, $sizex, $sizey, $title, $graph_time_start, $graph_time_stop, $aux = '') { diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/lib/gui.admin.inc.php jffnms-0.9.4/lib/gui.admin.inc.php --- ../jffnms-0.9.3/lib/gui.admin.inc.php 2012-04-13 21:26:48.000000000 +1000 +++ jffnms-0.9.4/lib/gui.admin.inc.php 2012-10-01 22:13:04.000000000 +1000 @@ -17,6 +17,11 @@ if ($filter_value) $filters[$filter_name]=$filter_value; } + if ($_SESSION['auth_type'] == 2) { // It is a client + $filters['client'] = $_SESSION['auth_user_id']; + } elseif ($client_profile = profile('CUSTOMER')) { + $filters['client'] = $client_profile; + } if (($view_all==1) || ((count($use_interfaces)==0) && (count($filters)==0))) { if (profile('REPORTS_VIEW_ALL_INTERFACES')) $filters=array('custom'=>array(array('1=1'))); //show all diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/lib/triggers.class.php jffnms-0.9.4/lib/triggers.class.php --- ../jffnms-0.9.3/lib/triggers.class.php 2012-02-14 23:10:39.000000000 +1100 +++ jffnms-0.9.4/lib/triggers.class.php 2014-01-20 22:16:34.000000000 +1100 @@ -82,7 +82,7 @@ $stopped_triggers[$rule['trigger_id']]==0) //trigger rules are not over { if (($log_it) && (isset($old_trigger)) && ($old_trigger!=$rule['trigger_id'])) //debuging - logger ("$data_type ".$data[id].": ".str_repeat("-",80)."\n"); + logger ("$data_type ".$data['id'].": ".str_repeat("-",80)."\n"); $rule_field = $rule['field']; if ($rule_field == '') continue; diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/LICENSE jffnms-0.9.4/LICENSE --- ../jffnms-0.9.3/LICENSE 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/LICENSE 1970-01-01 10:00:00.000000000 +1000 @@ -1,340 +0,0 @@ - - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/README jffnms-0.9.4/README --- ../jffnms-0.9.3/README 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/README 1970-01-01 10:00:00.000000000 +1000 @@ -1,25 +0,0 @@ -README file for JFFNMS -====================== - -This file contains important information about JFFNMS and should be read -before installing or upgrading JFFNMS. - -Upgrading from 0.8.4 --------------------- -JFFNMS version 0.8.4 shipped with a serious bug with the database extraction. -The part of the build process that makes the databases differences was -missing, however the database dump worked ok. - -This gives us two scenarios: - * You had a pre 0.8.4 (eg 0.8.3) JFFNMS and upgraded, giving you an - unchanged 0.8.3 database. - * You (re)installed jffnms 0.8.4 and used the database dump. You got the - correct database. - -The schema for 0.8.4 and 0.8.5 are the same. - -This means if you are the first pre-0.8.4 scenario you WILL need to run the SQL update scripts to update your schema, just like you normally should do. - -If JFFNMS 0.8.4 was your first database install, your schema is already -current, do NOT update the database (it will error out anyhow). - diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/TODO jffnms-0.9.4/TODO --- ../jffnms-0.9.3/TODO 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/TODO 1970-01-01 10:00:00.000000000 +1000 @@ -1,81 +0,0 @@ -This are the remaining tasks to be done in JFFNMS. -If you want to contribute and you dont know where to start, please read this lines. -If you want to add a task, send me an email. - -Craig's TODO list -================= - - - rewrite tcp_port discovery script to use popen, log better and - new format for nmap 5.21, also pgrep() - -To Do -===== - - - Host Types - - events/interface JS/CSS font-size - - popup selector full-text search - - discovery params: new/old field ? - - SNMP Timeout per-host - - Host Types, IT by Host Type - - Host Groups (modify maps) - - alarm backend: N Downs. db records per-int and global - - Chris ESI: Pix config transfer - - Host Groups (like maps) (modify maps to allow hosts) - - Craig: NUT UPS - - ALL Button in admin_header - - Configurable Delay in the DHTML popups - - TCP Port Hello/Quit string - - new/poller+ad satellite filter - - -For Later: ----------- - -API: - - Thomas DNS monitoring - - Generic Interface Type - - - Poller Helper: Poll only State - - Satellite Remote (Auto)Discovery - - Satellite Sync (virtual satellite in case theres no connection and I'm not the master) - - Modify Pollers that handle the buffer locally to somehow use the backend (or sync it) - - - RRD Analyzers: - - How much traffic the Interface had in X time (95th Percentile also) - - TOP 10 (Top Traffic, Errors, RTT, etc.) - - - Tools: - - Host Tools (Routing Table, ARP Table, Socket State, etc. SNMP-based) - - Tools for all interface types (id =1) - - - New Trigger/Action to allow config transfer as soon as a config change is made (event) - - Make consolidate scripts functions (like the other parts) - - Asset Tracking (Inventory) (Part Number, Serial Number, Cards, etc) (could use ENTITY-MIB/STACK-MIB) - - TFTP Configuration CVS Upload (Requested by Mike Hyde) - - TFTP Configuration Scheduled Upload (Requested by Rob Laidlaw) - - SLA Planned Outages/Maintence Windows - - SNMP Traps Processing more useful and flexible. (match by interfacenumber also) (Call Handler Scripts) - - Event Flap Detection. - -GUI: - - Send a URL to the interface in the Email Action (Requested by Rob Laidlaw) - - Stored Reports - -MISC: - - NetFlow Integration - - Use the Standard msyslog, not one modified for JFFNMS - - MD5 Signature of the tarball - - RPM Package - - Better SOAP Interoperatibility testing - - Snort SNMP TRAP messages integration - - Radius Integration - - Trouble Ticket Plugins (Framework Ready) - - Implement ENTITY-MIB & STACK-MIB for Cisco's & others - - -In the Works: -============= - - - Documentation (on CVS by Craig Small and Javier Szyszlican) - - Interface inter-dependece (will be based on DMII Designated Main Interfaces) - - Multi Language Support (Sergio Martinez) diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/UPGRADE jffnms-0.9.4/UPGRADE --- ../jffnms-0.9.3/UPGRADE 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/UPGRADE 1970-01-01 10:00:00.000000000 +1000 @@ -1,58 +0,0 @@ -This file explains the upgrade procedure between versions: - -0.9.2 to 0.9.3 -============== - - 0. You are adviced to upgrade your PHP and PostgreSQL (if you use that) versions before the upgrade, - because some new features may need that. - - The new poller is still experimental, and its not enabled by default. - - Replace the with the actual path to the patch files, - '../jffnms-upgrade-0.9.2-to-0.9.3' if you are using jffnms-upgrade-0.9.2-to-0.9.3.tar.gz or - '/opt/jffnms-0.9.3/docs/upgrade' if you are using jffnms-0.9.3.tar.gz - - 1. Apply the code patch: - # cd /opt/jffnms - # patch -p1 < /jffnms-0.9.2-to-0.9.3.patch - - If you have not changed the code, there should not be any errors. - Replace apache.apache with your HTTPd username and group (nobody, httpd, etc) - - 2. Upgrade the DB: - MySQL: - Backup in case of failure: - # mysqldump --opt -ujffnms -pjffnms jffnms > /tmp/jffnms.backup.mysql - - Upgrade the MySQL Tables: - # cat docs/upgrade/mysql/jffnms-0.9.2-to-0.9.3.mysql.diff* | mysql -u jffnms -pjffnms jffnms - - PgSQL: - Backup in case of failure: - # pg_dump -U jffnms jffnms -dROc > /tmp/jffnms.backup.pgsql - - Upgrade the PgSQL Tables: - # cat docs/upgrade/pgsql/jffnms-0.9.2-to-0.9.3.pgsql.diff* | psql jffnms jffnms - - 3. Copy the new binary files: - - # cp -Rv /files/* /opt/jffnms/ - - 4. Change Ownership - - # chown -R apache:apache * - - OR if you used the new Instalation method: - # chown -R jffnms:jffnms * - - - And then re apply the permissions to the /opt/jffnms folder: - - # chmod -R ug+rw * - - - 5. Verify Everything is ok: - Go to the Setup page at - http://youserver/jffnms/admin/setup.php (or the path you set) - - Check everything, make the corrections and SAVE the Configuration anyway. diff -Nru '-x*.png' '-x*.ini' '-x*.*sql' '-x*.patch' '-x*.svn' ../jffnms-0.9.3/UPGRADE.win32.txt jffnms-0.9.4/UPGRADE.win32.txt --- ../jffnms-0.9.3/UPGRADE.win32.txt 2012-05-26 14:50:28.000000000 +1000 +++ jffnms-0.9.4/UPGRADE.win32.txt 1970-01-01 10:00:00.000000000 +1000 @@ -1,59 +0,0 @@ -How to do an upgrade on Windows? --------------------------------- - -Please read all this note before executing something, so you can understand all the process. - -Step 1 - Code Update: -===================== - - 1. Rename the c:\jffnms folder to jffnms-old - 2. Rename the new jffnms version folder (like c:\jffnms-0.7.3) to c:\jffnms - 3. Copy your c:\jffnms-old\rrd folder to c:\jffnms\rrd - 4. Copy the c:\jffnms-old\rrdtool.exe and nmap.exe to c:\jffnms\ - 5. Re-apply the permissions, give the jffnms user FULL CONTROL over c:\jffnms - - 6. At this point you have the new version in place with your old version data. - The only thing missing is a correct configuration. You have to go to your setup.php - and reconfigure everything like you did when you first install it. (Step 3) - - -Step 2 - Database Update: -========================= - - You have to send every file in the c:\jffnms\docs\upgrade\mysql to the mysql daemon : - - 1. Backup in case of failure: - c:\> c:\mysql\bin\mysqldump.exe --opt -u root jffnms > c:\jffnms.backup.mysql - - 2. Go to the DB upgrade folder - c:\> cd \jffnms\docs\upgrade\mysql - - 3. Replace OLD with your current JFFNMS version number (like 0.7.2) and NEW with the new version number (like 0.7.3) - c:\jffnms\docs\upgrade\mysql> dir jffnms-OLD-to-NEW* (look at all the file names) - - 4. Apply the DB changes - c:\jffnms\docs\upgrade\mysql> c:\mysql\bin\mysql.exe -u root jffnms < - - or, as suggested by Michael Mayers: - - If in .cmd file: - for /f "tokens=*" %%i in ('dir jffnms* /b') DO c:\mysql\bin\mysql.exe -u root jffnms < %%i - - If not in .cmd file: - for /f "tokens=*" %i in ('dir jffnms* /b') DO c:\mysql\bin\mysql.exe -u root jffnms < %i - - -Step 3 - Check Everything: -========================== - - Go to your setup in http://yourserver/admin/setup.php (put the correct path here). - - Check if everything is ok, and Save the configuration. - - ------------------------------------------------------ -If you have any other note you will like added here, -please send it to the mailing list. - -Thanks. -Javier Szyszlican