Felipe Aceitón Muñoz | 16 Nov 2010 09:53
Favicon

Re: Debian 5.0.6, 64bits JFFNMS 0.8.5 - No Traffic Graphs

I have already solved the issue, using Debian Lenny 64bits and rrdtool 1.3.1 with JFFNMS 0.8.5.

You have to go to the System Setup and configure the rrdtool to use the 1.2.x version, its strange cause it
doesn’t keep the select list selected after you save it but it runs.

Now I have another issue, in some storage interfaces I have wrong SLAs warnings, even when the SLA threshold
its not exceeded.

In one of the servers being monitored we have:

(Total Storage / Used Storage / Free Storage as printed in the rrd graph)

C: 64GB / 17,80GB (28%) / 46,87GB (73%)
SLA message: C: Storage Used > 80%: 400%

D: 107GB / 7,54GB (7%) / 100,34GB (93%)
No SLA message

E: 215GB / 6,90GB (3%) / 208,89GB (97%)
No SLA message

F: 107GB / 1,07GB (1%) / 106,30GB (99%)
SLA message: F: Storage Used > 80%: 100%

G: 161GB / 19,97GB (12%) / 141,09GB (88%)
SLA message: G: Storage Used > 80%: 133,33%

H: 322GB / 55,14GB (17%) / 266,98 (83%)
No SLA message

(Continue reading)

pdga | 16 Nov 2010 10:10
Picon
Favicon

Re: Debian 5.0.6, 64bits JFFNMS 0.8.5 - No Traffic Graphs

Hi,

What about your locales ? (can you give the output of #locale ?) In your Storage you have *comma* in your
values, not *dot*. I think this is the problem. Perhaps try dpkg-reconfigure locales and select
en_US.UTF-8 as default)

I also had the problem with rrdtool version dropdown list which is not displayed correctly.

Pierre-Damien

----- "Felipe Aceitón Muñoz" <felipe.aceiton <at> 3otw.com> a écrit :

> I have already solved the issue, using Debian Lenny 64bits and rrdtool
> 1.3.1 with JFFNMS 0.8.5.
> 
> You have to go to the System Setup and configure the rrdtool to use
> the 1.2.x version, its strange cause it doesn’t keep the select list
> selected after you save it but it runs.
> 
> Now I have another issue, in some storage interfaces I have wrong SLAs
> warnings, even when the SLA threshold its not exceeded.
> 
> In one of the servers being monitored we have:
> 
> (Total Storage / Used Storage / Free Storage as printed in the rrd
> graph)
> 
> C: 64GB / 17,80GB (28%) / 46,87GB (73%)
> SLA message: C: Storage Used > 80%: 400%
> 
(Continue reading)

Felipe Aceitón Muñoz | 16 Nov 2010 10:33
Favicon

Wrong SLAs in fixed disks - JFFNMS 0.8.5 (Debian Lenny x64)

Hi,

My locale output was:

LANG=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=

I have already changed to en_US.UTF-8 but issue is still there, The graph have dot values, not coma ones. It
was a mistake I commit when I typed it (here in Spain we use coma separated values for decimal notation).

Its strange that this only happens with some fixed disk, may it be produced by the blocks operations in order
to calculate the size? I don’t really know where in the code JFFNMS does this comparison.

Thanks Pierre,
Felipe



(Continue reading)

pdga | 16 Nov 2010 11:22
Picon
Favicon

Re: Wrong SLAs in fixed disks - JFFNMS 0.8.5 (Debian Lenny x64)

Did you test the command line

/usr/share/jffnms/engine# php -q rrd_analizer.php 4959
11:15:57 I4959 : ==========================================================================================
11:15:57 I4959 : Start: 2010-11-16 10:45:00    Stop: 2010-11-16 11:10:00    Measures: 5
11:15:57 I4959 : storage_block_size(4096) storage_block_count(17912215) storage_used_blocks(14346925)
11:15:57 I4959 : ------------------------------------------------------------------------------------------
11:15:57 New Event (3702429): 2010-11-16 11:15:57 - 12 - 331 - E: - alert - rrd_analizer_sla - Storage Used >
80%: 80.1 % - 9
11:15:57 ====================================================================================================
11:15:57 event 3702429:     T 5 - P 3 - R 8    If 'date(2010-11-16 11:15:57) > 21600' (1)
11:15:57 event 3702429:     T 5 - P 4 - R 9    If 'date(2010-11-16 11:15:57) < 28800' (0)    Stop
11:15:57 I4959 : sla : Cond0: ( 14346925 > ((17912215*80)/100))      = 1  -TRUE- Used > 80%: 80.1 %
11:15:57 I4959 : sla : Final Eval: True. INFO: Storage Used > 80%: 80.1 %

(4959 is the ID of one of my interfaces, yours will be different)

----- "Felipe Aceitón Muñoz" <felipe.aceiton <at> 3otw.com> a écrit :

> Hi,
> 
> My locale output was:
> 
> LANG=es_ES.UTF-8
> LC_CTYPE="es_ES.UTF-8"
> LC_NUMERIC="es_ES.UTF-8"
> LC_TIME="es_ES.UTF-8"
> LC_COLLATE="es_ES.UTF-8"
> LC_MONETARY="es_ES.UTF-8"
> LC_MESSAGES="es_ES.UTF-8"
(Continue reading)

Craig Small | 16 Nov 2010 12:01
Picon
Gravatar

Re: Wrong SLAs in fixed disks - JFFNMS 0.8.5 (Debian Lenny x64)

On Tue, Nov 16, 2010 at 11:22:07AM +0100, pdga <at> free.fr wrote:
> Did you test the command line
> 
> /usr/share/jffnms/engine# php -q rrd_analizer.php 4959
This is certainly the best way to work out what is going on with the SLA
alarms.  The command line in the next version changes, but for now just
put your interface ID on the command line.

> > Its strange that this only happens with some fixed disk, may it be
> > produced by the blocks operations in order to calculate the size? I
> > don’t really know where in the code JFFNMS does this comparison.
It comes from the pollers.

 - Craig
--

-- 
Craig Small VK2XLZ    http://www.enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux      http://www.debian.org/       csmall at : debian.org
GPG fingerprint:       1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
jffnms-users mailing list
jffnms-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users
(Continue reading)

Felipe Aceitón Muñoz | 16 Nov 2010 12:40
Favicon

Re: Wrong SLAs in fixed disks - JFFNMS 0.8.5 (Debian Lenny x64)

Now Im really lost, The rrd_analizer output is correct, I have cheked the crontab for the jffnms user and
seems correct too.

rrd_analizer:
# php -q rrd_analizer.php 770
12:23:36 I770 : ==========================================================================================
12:23:36 I770 : Start: 2010-11-16 11:50:00      Stop: 2010-11-16 12:15:00       Measures: 5
12:23:36 I770 : storage_block_size(4096) storage_block_count(15702527) storage_used_blocks(4266058)
12:23:36 I770 : ------------------------------------------------------------------------------------------
12:23:36 I770 : sla : Cond0: ( 4266058 > ((15702527*80)/100))       = 0  -FALSE- Used > 80%: 27.17 %
12:23:36 I770 : sla : Final Eval: False.
# php -q rrd_analizer.php 771
12:24:33 I771 : ==========================================================================================
12:24:33 I771 : Start: 2010-11-16 11:50:00      Stop: 2010-11-16 12:15:00       Measures: 5
12:24:33 I771 : storage_block_size(4096) storage_block_count(26213631) storage_used_blocks(1716926)
12:24:33 I771 : ------------------------------------------------------------------------------------------
12:24:33 I771 : sla : Cond0: ( 1716926 > ((26213631*80)/100))       = 0  -FALSE- Used > 80%: 6.55 %
12:24:33 I771 : sla : Final Eval: False.
# php -q rrd_analizer.php 772
12:24:52 I772 : ==========================================================================================
12:24:52 I772 : Start: 2010-11-16 11:50:00      Stop: 2010-11-16 12:15:00       Measures: 5
12:24:52 I772 : storage_block_size(4096) storage_block_count(52428031) storage_used_blocks(1430151)
12:24:52 I772 : ------------------------------------------------------------------------------------------
12:24:52 I772 : sla : Cond0: ( 1430151 > ((52428031*80)/100))       = 0  -FALSE- Used > 80%: 2.73 %
12:24:52 I772 : sla : Final Eval: False.
# php -q rrd_analizer.php 773
12:24:58 I773 : ==========================================================================================
12:24:58 I773 : Start: 2010-11-16 11:50:00      Stop: 2010-11-16 12:15:00       Measures: 5
12:24:58 I773 : storage_block_size(4096) storage_block_count(26213631) storage_used_blocks(260845)
12:24:58 I773 : ------------------------------------------------------------------------------------------
(Continue reading)

Craig Small | 16 Nov 2010 23:26
Picon
Gravatar

Re: Wrong SLAs in fixed disks - JFFNMS 0.8.5 (Debian Lenny x64)

On Tue, Nov 16, 2010 at 11:40:12AM +0000, Felipe Aceitón Muñoz wrote:
> Now Im really lost, The rrd_analizer output is correct, I have cheked the crontab for the jffnms user and
seems correct too.
The only way you get SLA alarms is via the rrd_analizer.

> 12:25:19 I778 : storage_block_size(65536) storage_block_count(65528) storage_used_blocks(53499)
> 12:25:19 I778 : ------------------------------------------------------------------------------------------
> 12:25:19 New Event (2158): 2010-11-16 12:25:19 - 12 - 93 - Physical Memory - alert - rrd_analizer_sla -
Storage Used > 80%: 81.64 % - 9
> 12:25:19 I778 : sla : Cond0: ( 53499 > ((65528*80)/100))            = 1  -TRUE- Used > 80%: 81.64 %
> 12:25:19 I778 : sla : Final Eval: True. INFO: Storage Used > 80%: 81.64 %
This is a valid alarm. I don't see any of your other alarms here at all,
especially the strange ones.

Also the RRD analyzer looks at a 30 minute window, starting 10 minutes
ago, or if you like it starts 40 minutes ago and end 10 minutes ago.
Your graph is probably some different time range.

If the SLA is consistently triggering, its probably a fault in the SNMP
agent as there have been problems here before. If it is intermittent, it
might be missed polls.  Unfortunately, your output didn't show any
problems so its hard to know.

 - Craig
--

-- 
Craig Small VK2XLZ    http://www.enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux      http://www.debian.org/       csmall at : debian.org
GPG fingerprint:       1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5

------------------------------------------------------------------------------
(Continue reading)

Craig Small | 22 Nov 2010 13:10
Picon
Gravatar

next version of JFFNMS nearing RC

Hello,
  The next version of JFFNMS is nearly at Release Candidate stage.  I'm
just finding all the missing objects in the admin links and doing some
cleaning up.

To give you an idea what has been happening, a brief list of changes:
  * pollers, consolidator and other engines are completely re-written
    with a better separation of parent/child code.
  * No need to register globals, all parameters are sanitized
  * counter64 for SNMP interfaces, for high speed interfaces
  * Better handling of snmp v2c
  * sysObjectId checking for interface discovery, so JFFNMS won't bother
    checking for Cisco OIDs on a Juniper device, for example.
The code has had an awful lot of just general cleaning up.  I test it
now using E_STRICT errort reporting and it generally now runs silently.

The high speed counters are in a way implemented already, but the check
is SNMP v2c. The problem is the v2c code is a not too robust and also
v2c doesn't mean high speed counters. The next version will have a
specific poller group for those counters but unfortunately the change
may need to be made manually.

What's Next?
============
Once this version of code gets released, I'll be looking at changing the 
internal structures again. It is likely I'll be introducing some sort of
structured framework.  The problem is that JFFNMS does everything from
scratch, so I have to keep updating things that are not directly related
to what JFFNMS does, such as session handling and database access.

(Continue reading)

Akshay M | 22 Nov 2010 13:56
Picon

No data in Graphs

Hello Guys,

 

I have installed JFFNMS 0.8.5 on windows XP. This is my first time to install JFFNMS and other supporting components like Apache, PHP, RRD etc.

Since last few days I struggled to install it properly and finally I could see device interfaces and graphs.

 

But there is no data in graphical output. Moreover interfaces are visible only after running these commands manually for each host added.

D:\jffnms\engine>\php\php.exe -f autodiscovery_interfaces.php 2

D:\jffnms\engine>\php\php.exe -f poller.php 2

D:\jffnms\engine>\php\php.exe -f poller2.php 2

 

My scheduled tasks seemed to be fine but is not working as expected. Please help me to sort this issue as I already put lot of efforts and time to reach this stage.

 

Thanks,

 

Akshay Mungantiwar

IT Network Support

Neotel Midrand Office

Johannesburg SA

Ext: 50065

Email: akshay.m-PgoAUYBp+lYQZ7m9OUuf1w@public.gmane.org

 

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
jffnms-users mailing list
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users
Akshay M | 16 Nov 2010 11:45
Picon

Issue with JFFNMS

Hi,

 

I recently installed JFFNMS 0.8.5 on Windows XP. I followed the install guide attached, so after few hiccups and bit research I could successfully install Mysql, PHP and other components.

Being a novice in database concepts it was pretty difficult to get here.

 

Finally I tried my browser with http://localhost/ and http://localhost/jffnms/ but I don’t get anything other than a web page saying It Works !!!

 

Not sure what to do next. Can you please help me to figure out whats going wrong.

 

Thanks,

 

Akshay Mungantiwar

IT Network Support

Neotel Midrand Office

Johannesburg SA

Ext: 50065

Email: akshay.m-PgoAUYBp+lYQZ7m9OUuf1w@public.gmane.org

 

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 *

	<VirtualHost *>
    	    ServerAdmin webmaster <at> your-domain.com
    	    DocumentRoot c:\jffnms\htdocs
    	    ServerName nms.yourdomain.com
	    DirectoryIndex index.php
	    LimitRequestLine 20000
	</VirtualHost>

	* 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<Root MySQL Password>
	
	mysql>CREATE DATABASE jffnms;
	mysql>GRANT ALL PRIVILEGES ON jffnms.* TO jffnms <at> 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 <at> 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 <at> jffnms.org (please try the mailing list first) 
ICQ #397319
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
jffnms-users mailing list
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Gmane