Ruud Hop | 1 Dec 2005 10:03
Picon

RE: Server Migration


Chris,

Because of changes in the database, I think the best thing you can do is:
- Apply the updates 0.8.1 and 0.8.2 on the test server (See the documents
UPGRADE.win32.txt in both packages)
- Backup the database from the test server:
c:\mysql\bin\mysqldump.exe --opt -u root -p<password> jffnms >
c:\jffnms.backup.mysql
- Install JFF 0.8.2 on the new server and import the backupfile with:
c:\jffnms\docs\upgrade\mysql> c:\mysql\bin\mysql.exe -u root -p<password>
jffnms < <Put backup Filename here>
- Copy the RRD-folder from the old to the new server to keep the data.

Succes,

Ruud

-----Oorspronkelijk bericht-----
Date: Wed, 30 Nov 2005 11:00:25 -0500
From: "Chris Coates" <ccoates@...>
To: <jffnms-users@...>
Subject: [jffnms-users] Server Migration

I have JFFNMS 8.0 installed and running on a Win 2K3 test server. There =
are about 100 Windows servers that are monitored by it.
I am going to be moving off the test server and onto a permanent server.  =
At the same time I will be upgrading to 8.2.
Is there a way to transfer the listing of servers so I do not have to re- =
set them all up?  Saving the performance data would be good to, but not =
(Continue reading)

Craig Small | 1 Dec 2005 22:57
Picon
Gravatar

Re: Server Migration

On Wed, Nov 30, 2005 at 11:00:25AM -0500, Chris Coates wrote:
> I have JFFNMS 8.0 installed and running on a Win 2K3 test server. There are about 100 Windows servers that
are monitored by it.
> I am going to be moving off the test server and onto a permanent server.  At the same time I will be upgrading to 8.2.
> Is there a way to transfer the listing of servers so I do not have to re- set them all up?  Saving the
performance data would be good to, but not essential.
> I am not familiar with MYSQL, so I don't know how to transfer the database.

I've done migration plenty of times, all of them on Linux but the idea
is similiar.

* Copy RRD files to new host
* Copy config files to new host
* Remove cron jobs
* dump the mysql database using mysqldump
* Copy dump to new host
* Re-copy RRD files (if you're doing the double rsync trick)
* Import dump into new database
* Check permissions, they're probably wrong somewhere
* Re-enable cron jobs

  - Craig
--

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
(Continue reading)

Craig Small | 1 Dec 2005 22:48
Picon
Gravatar

Re: Performance Graphs without Login

On Tue, Nov 29, 2005 at 09:43:07PM -0500, Thomas Chadwell wrote:
> We have a web portal for our customers to manage their internet connections,
> etc.  We'd like to include the traffic graphs, etc. from JFFNMS within our
> portal.  How can we include that information within our portal without
> making them log into JFFNMS (a second login).

There is no simple way.  There are two hard ways:
 1) Take some of the JFFNMS performance code and stick it into your
 portal code
 2) Make your portal call evil hidden calls via the satellite hooks.

I've personally done both, 2 is much cleaner.  Both will take a fair bit
of work.  There is an email (from me) about how I did it.
http://article.gmane.org/gmane.network.jffnms.user/4104

I'm very pleased to say in that email I used the words "evil" and
"lobotomize" multiple times, consider that you've been warned once
by me now and once by me 6 months ago.

  - Craig
--

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
(Continue reading)

frederic Vay | 2 Dec 2005 10:03
Picon
Favicon

Field "state" in table "SLAS" updated to 127

Hi

 

In table « ALARM_STATE », we use ID upper than 10001 (auto_increment = ‘10001’).

Unfortunatly, the type of the field “state” in the table “SLAS” is tinyint : when the value 10001 is loaded in this field, the field is updated at the most high value of a tinyint field, 127.

Impact : the SLA is not displayed and usable.

 

Thanks for your help.

 

Frédéric VAY

 

Javier Szyszlican | 3 Dec 2005 15:53

Re: Performance Graphs without Login

You can always just pass the user & password via the URL.

Like:

http://127.0.0.1/view_performance.php?interface_id=526&want_graph=traffic&logout=1&user=YourUsername&pass=YourPassword

This will return a PNG graph.

You can do this on the backend of your portal, so the User and pass will never 
be visible to your customer.
You only need a table with the user/interface_id mappings

Javier

Thomas Chadwell wrote:
> I have scoured the mailing list archives and am unable to find where I 
> *believe* I have seen this before, so forgive me if I am asking a duplicate.
> 
> We have a web portal for our customers to manage their internet 
> connections, etc.  We'd like to include the traffic graphs, etc. from 
> JFFNMS within our portal.  How can we include that information within 
> our portal without making them log into JFFNMS (a second login).
> 
> Thanks,
> TAC

--

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
javier@...

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Javier Szyszlican | 3 Dec 2005 16:06

Re: Field "state" in table "SLAS" updated to 127

Thanks for reporting it.

You can change the size of the state field by hand, and I'll keep this email so 
I remember to put the fix in the next version.

Javier

frederic Vay wrote:
> Hi
> 
>  
> 
> In table « ALARM_STATE », we use ID upper than 10001 (auto_increment = 
> ‘10001’).
> 
> Unfortunatly, the type of the field “state” in the table “SLAS” is 
> tinyint : when the value 10001 is loaded in this field, the field is 
> updated at the most high value of a tinyint field, 127.
> 
> Impact : the SLA is not displayed and usable.
> 
>  
> 
> Thanks for your help.
> 
>  
> 
> *Frédéric VAY*
> 
>  
> 

--

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
javier@...

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
Javier Szyszlican | 3 Dec 2005 18:23

Re: Problem: RDD Files not created

Which RRDTool Version do you have? you need 1.0.49

Javier

Victor Rivera wrote:
> Hi
> 
>  
> 
> I’m Running JFFNMS with the following platform:
> 
>  
> 
> OS: Linux Fedora Core 3
> 
> Web Server: Apache 1.3.34
> 
> App Server: PHP Version 4.4.1
> 
>  
> 
> I’m trying to monitor a Motorola Canopy Cluster
> 
>  
> 
> All goes fine but when i try to see my performance graphics it always 
> return the error:
> 
>  
> 
> *“The RRDTool files for Interface ID 3 (from Host ID 2), has not been 
> created by the Poller Process yet”*
> 
>  
> 
> The crontab it’s running ok but it not generates any RRDTool Files
> 
>  
> 
> When I run by hand:
> 
>  
> 
> php –q poller.php
> 
>  
> 
> It returns:
> 
>  
> 
> Executing: /usr/bin/php -q poller.php 2 0 1 0 0 &
> 
> Executing: /usr/bin/php -q poller.php 3 0 1 0 0 &
> 
>  
> 
> But With:
> 
>  
> 
> php –q poller.php 2
> 
>  
> 
> It returns:
> 
>  
> 
> 11:08:38  :  H   2 : Poller Start : 8 Items.
> 
> 11:08:38  :  H   2 :  I   3 :  P   1 : reachability_start:ping(): 
> 438f2e16abcd7 -> buffer(): 1 (time P:45.47 | 19.93)
> 
> 11:08:54  :  H   2 :  I   3 :  P 122 : wait(): ok -> no_backend(): 0 
> (time P:16029.98 | 0.44)
> 
> 11:08:54  :  H   2 :  I   3 :  P 123 : reachability_values:rtt(rtt): 
> 98.5 -> buffer(): 2 (time P:0.91 | 0.44)
> 
> 11:08:54  :  H   2 :  I   3 :  P 124 : 
> reachability_values:packetloss(pl): 0 -> buffer(): 3 (time P:0.32 | 0.19)
> 
> 11:08:54  :  H   2 :  I   3 :  P 125 : status(): reachable|0% Packet 
> Loss -> alarm(40): Nothing was done (time P:0.85 | 11.13)
> 
> 11:08:54  :  H   2 :  I   3 :  P 126 : ping_cleanup(): 1 -> 
> no_backend(): 0 (time P:1.24 | 0.15)
> 
> 11:08:54  :  H   2 :  I   3 :  P 127 : no_poller(): 0 -> rrd(*): 
> rtt:98.5 - packetloss:0 (time P:0.7 | 124.49)
> 
> 11:08:54  :  H   2 :  I   3 :  P LPD : last_poll_date(): 1133456934 -> 
> db(last_poll_date): 1 (time P:23.03 | 9.88)
> 
> 11:08:54  :  H   2 : Poller End, Total Time: 16313.04 msec.
> 
>  
> 
> Any Advice?
> 
> Thanks in advance.
> 

--

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
javier@...

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
Travis Johnson | 4 Dec 2005 06:01
Favicon

errors

Hi,

Does anyone know what this error message means in /var/log/httpd/error_log:

PHP Warning:  Missing argument 2 for linktext() in 
/opt/jffnms/lib/gui.toolkit.inc.php on line 193

Travis
Microserv

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
robertbogdon | 4 Dec 2005 06:23
Picon

Hard Drive Temperature Monitoring


I've attached a discovery and poller plugin along with the necessary database info to track hard drive temperature using a tool called "hddtemp".  I didn't see anything on the website about where to submit this sort of thing.

--
---
Robert Bogdon
Sr. Systems Engineer, DivX
http://www.blah.net
Attachment (hddtemp.sql): application/octet-stream, 768 bytes
Attachment (hddtemp.inc.php): application/octet-stream, 1290 bytes
Attachment (hddtemp.php): application/octet-stream, 848 bytes
luke teng | 4 Dec 2005 14:32
Picon
Favicon

How to configure alert email sending from Debian Linux to Domino smtp server

Dear all,

 

I have set up a Debian Linux machine to monitor near 60 servers in my company. It is working well. Now I plan to configure alert email sending and am looking for your help since there are no detailed steps documented in the manual. From the manual, I have understood how to configure rules for customized alerting.

 

There is one SMTP server in our company (a Domino 6.5 server). How can I do the configuration on the Debian linux machine to allow email alert sending to my company internal mailbox via smtp? Do I need set up sendmail on the Linux machine or just configuring php.ini file for the php mail function?

 

Detailed steps to achieve this goal will be greatly appreciated.

 

Regards,

Luke

 

------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


Gmane