RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-31 Thread Charlie Brady


On Fri, 31 Aug 2001, Jaco Bongers wrote:

> Charlie Brady wrote:
>
> > No. My guess is that the problem is that the script is not running with
> > sufficient privilege to read the configuration database, and therefore
> > cannot determine that the admin password in fact has been set.
> >
> > Scripts which are run as part of the e-smith manager usually need to have
> > root privilege to interact with critical parts of the system. For this
> > reason, they are mostly setuid root perl scripts.
...
> It seems that the problem is /home/e-smith/configuration is:
> drwx--5 adminadmin4096 Mar 30 03:02 Maildir
> -rw-r--r--1 root admin4655 Aug 30 21:15 accounts
> -rw---1 root root 3659 Aug 31 10:17 configuration
>
> With no read permissions for the group the script is unable to query the
> e-smith database.
>
> Should these be the permissions on the file? If not, where are they set?

Yes, these are the correct permissions. As I said, the problem is the
permissions of the script (not the permissions of the database), and if
the RPM had been built in the way that we have documented, using the tools
that we have made available, then the script would have the correct
permissions.

-- 

Charlie Brady [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Grouphttp://www.e-smith.com/
Mitel Networks Corporationhttp://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-31 Thread Jaco Bongers

> On Wed, 22 Aug 2001, Jaco Bongers wrote:
>
> > Jaime wrote
> > > Last, is the problem of the admin password. I really don't have any
> > > clue of why somepeople get this error.
> >
> > Replace genHeaderNonCacheable with
> genHeaderNonCacheableNoPasswordCheck and
> > the message will go away.
> >
> > Could it be that the problem only occurs on upgraded system and
> not on new
> > installation?
>
> No. My guess is that the problem is that the script is not running with
> sufficient privilege to read the configuration database, and therefore
> cannot determine that the admin password in fact has been set.
>
> Scripts which are run as part of the e-smith manager usually need to have
> root privilege to interact with critical parts of the system. For this
> reason, they are mostly setuid root perl scripts. If you look at the RPM
> spec file for any of the e-smith RPMs, you will see that the file list is
> generated by the program genfilelist, and this program automatically marks
> all files with the required permissions and ownerships. As we point out in
> the "How to build an e-smith RPM" HOWTO, and illustrate in the
> e-smith-skel example RPM, you should always use this method. You then
> should not have any problems with permissions or ownerships of files in
> contributed RPMs.

It seems that the problem is /home/e-smith/configuration is:
drwx--5 adminadmin4096 Mar 30 03:02 Maildir
-rw-r--r--1 root admin4655 Aug 30 21:15 accounts
-rw---1 root root 3659 Aug 31 10:17 configuration

With no read permissions for the group the script is unable to query the
e-smith database.

Should these be the permissions on the file? If not, where are they set?

Jaco Bongers

C.A & W Services CC
Professional Network Support

e-mail: [EMAIL PROTECTED]
PO Box 9608, Centurion, 0046, South Africa
Telephone: +27 12 653-5666
Fax: +27 12 653-0440
Cellular: +27 83 250-5335

WARNING:
Any unauthorized use or interception of this email is illegal. If this email
is not intended for you, you may not copy, distribute or disclose the
contents to anyone. Save for bona fide company matters, C.A & W Services CC
does not accept any responsibility for the opinions expressed in this email.


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-22 Thread Blake Heinemann

Jaco Bongers wrote:

> Jaime wrote
> > Last, is the problem of the admin password. I really don't have any
> > clue of why somepeople get this error.
>
> Replace genHeaderNonCacheable with genHeaderNonCacheableNoPasswordCheck and
> the message will go away.
>
> Could it be that the problem only occurs on upgraded system and not on new
> installation?

What's really weird, is I got the error right after I installed the monitoring
package and just the other day, I noticed that the error message has gone away,
even though I've not done anything.  It was there for about a week and a half or
so.

bh



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-22 Thread Charlie Brady


On Wed, 22 Aug 2001, Jaco Bongers wrote:

> Jaime wrote
> > Last, is the problem of the admin password. I really don't have any
> > clue of why somepeople get this error.
>
> Replace genHeaderNonCacheable with genHeaderNonCacheableNoPasswordCheck and
> the message will go away.
>
> Could it be that the problem only occurs on upgraded system and not on new
> installation?

No. My guess is that the problem is that the script is not running with
sufficient privilege to read the configuration database, and therefore
cannot determine that the admin password in fact has been set.

Scripts which are run as part of the e-smith manager usually need to have
root privilege to interact with critical parts of the system. For this
reason, they are mostly setuid root perl scripts. If you look at the RPM
spec file for any of the e-smith RPMs, you will see that the file list is
generated by the program genfilelist, and this program automatically marks
all files with the required permissions and ownerships. As we point out in
the "How to build an e-smith RPM" HOWTO, and illustrate in the
e-smith-skel example RPM, you should always use this method. You then
should not have any problems with permissions or ownerships of files in
contributed RPMs.

http://www.e-smith.org/docs/howto/building-contribs.php3

Charlie Brady [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Grouphttp://www.e-smith.com/
Mitel Networks Corporationhttp://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-22 Thread Jaco Bongers

Jaime wrote
> Last, is the problem of the admin password. I really don't have any
> clue of why somepeople get this error.

Replace genHeaderNonCacheable with genHeaderNonCacheableNoPasswordCheck and
the message will go away.

Could it be that the problem only occurs on upgraded system and not on new
installation?

Jaco Bongers

C.A & W Services CC
Professional Network Support

e-mail: [EMAIL PROTECTED]
PO Box 9608, Centurion, 0046, South Africa
Telephone: +27 12 653-5666
Fax: +27 12 653-0440
Cellular: +27 83 250-5335

WARNING:
Any unauthorized use or interception of this email is illegal. If this email
is not intended for you, you may not copy, distribute or disclose the
contents to anyone. Save for bona fide company matters, C.A & W Services CC
does not accept any responsibility for the opinions expressed in this email.


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-20 Thread Jaime Nebrera

  Hi all,

> > this fits with my symptoms. For the record my set-up is 4.1.2 on a
166mmx
> > 64M & 4.3gig. Is the symptom occurring on higher spec machines?
>
> I don't know, I don't have one :-)

  We are testing on a Celeron 733 with 256 MB RAM, under very light load
(just for testing). I guess thats why we are not getting this kind of
errors.

> The problem is a number of synchronisation problems with the way that the
> data is collected. What you have is cron running a perl script, which runs
> lots of commands, then updates a database. And every minute it does the
> same thing. And it tries to do the same thing for three different monitors
> (plus one every fifteen minutes).

  Exactly :)

> This could make the machine a lot busier than it otherwise is, and the
> commands meminfo.pl etc might take more than a minute to run. If that
> happens, then two instances of meminfo.pl may finish in the same second,
> and try to update the database with new memory info timestamped at that
> same second. And this is what rrdupdate is complaining about.

  Even more now that it has a test -e command and if you have a loaded
/proc/dev/net you might need to update a lot of databases every minute.

> The solutions to this are twofold:
>
> - run a long lasting perl program which becomes active every minute, and
>   takes and logs a new sample. (This will save the perl
>   interpreter/compiler startup time, lots of times).

  I agree. This was pointed to us some time ago privatelly from another
colister. We agree thats the way to go. We will remake the collecting side
of e-smith monitor in this way (version 2.0)

> - be very lightweight in the way you take the samples. Most of the data
>   can be read straight out of the /proc filesystem, without running the
>   sar command, for instance.

  I have given some suggestions on this in a different branch in the list.
You could remove the test -e command as long as you install the package
carefully (with all the interfaces present in /proc/dev/net), and even
reduce the sar command from 3 iterations to just 1. BTW, we use the sar
command as we don't know of any value in the /proc structure that gives us
the same info (yep, you could use the same info as the uptime command but
thats not a % but a relative measure). We will love to use that value as
this will reduce package dependencies and be a lot faster but we don't know
wich one to use.

  In response to this same email, Richard has said:

>> Ahh, mutual exclusion - maybe some form of semaphore handling or
transaction
queuing and locking?

  Well, I believe this is completely out of our reach. As I said my perl
knowledge is very light and my friend's is not too much from mine. Using
this kind of techniques would be too much for us, at least now. We will try
other possibilities first.

  Regards.


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-19 Thread Richard Ford

>
> This could make the machine a lot busier than it otherwise is, and the
> commands meminfo.pl etc might take more than a minute to run. If that
> happens, then two instances of meminfo.pl may finish in the same second,
> and try to update the database with new memory info timestamped at that
> same second. And this is what rrdupdate is complaining about.

Ahh, mutual exclusion - maybe some form of semaphore handling or transaction
queuing and locking?

Richard.




--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-18 Thread Charlie Brady


On Wed, 15 Aug 2001, Nigel Gent wrote:

> I suspect its load related too and as already mentioned
>
> 
> For what it's worth, the time stamp on the message was 4:03am EDT, or
> 8:03am GMT. I'm not sure if this is significant, but this is when the
> e-smith logs get rotated. (Just a thought)
> 
>
> this fits with my symptoms. For the record my set-up is 4.1.2 on a 166mmx
> 64M & 4.3gig. Is the symptom occurring on higher spec machines?

I don't know, I don't have one :-)

I suspect that it is though.

The problem is a number of synchronisation problems with the way that the
data is collected. What you have is cron running a perl script, which runs
lots of commands, then updates a database. And every minute it does the
same thing. And it tries to do the same thing for three different monitors
(plus one every fifteen minutes).

This could make the machine a lot busier than it otherwise is, and the
commands meminfo.pl etc might take more than a minute to run. If that
happens, then two instances of meminfo.pl may finish in the same second,
and try to update the database with new memory info timestamped at that
same second. And this is what rrdupdate is complaining about.

The solutions to this are twofold:

- run a long lasting perl program which becomes active every minute, and
  takes and logs a new sample. (This will save the perl
  interpreter/compiler startup time, lots of times).
- be very lightweight in the way you take the samples. Most of the data
  can be read straight out of the /proc filesystem, without running the
  sar command, for instance.

-- 

Charlie Brady [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Grouphttp://www.e-smith.com/
Mitel Networks Corporationhttp://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739




--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-15 Thread David J. Boccabella

266 Cyrix with 96mb mem, 4gig HD

I'm getting the message for meminfo and netinfo

Dave


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-15 Thread Nigel Gent

I suspect its load related too and as already mentioned


For what it's worth, the time stamp on the message was 4:03am EDT, or
8:03am GMT. I'm not sure if this is significant, but this is when the
e-smith logs get rotated. (Just a thought)


this fits with my symptoms. For the record my set-up is 4.1.2 on a 166mmx
64M & 4.3gig. Is the symptom occurring on higher spec machines?

:¬} Nigel
- Original Message -
From: "Blake Heinemann" <[EMAIL PROTECTED]>
To: "Jaime Nebrera" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 15, 2001 2:38 PM
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download


> I believe it to be load related, at least on my system. I'm also getting
alot
> more of the "another fetchmail process is running..." messages since the
> install.  For the record, I'm running Esmith 4.1.2 on a P233mmx w/128 mb
ram and
> a 2 gig hard drive.
>
> bh



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-15 Thread Blake Heinemann

I believe it to be load related, at least on my system. I'm also getting alot
more of the "another fetchmail process is running..." messages since the
install.  For the record, I'm running Esmith 4.1.2 on a P233mmx w/128 mb ram and
a 2 gig hard drive.

bh


Jaime Nebrera wrote:

> ERROR: illegal attempt to update using time 997679412 when last update time
> is 997679412 (minimum one second step)
>
>   As I have allready posted, this error is caused in two ways: during
> install (you should wait a couple of minutes before installing again), if
> you use a time server and have a very wide time drift (this will lead to
> time inconsistencies) and maybe under heavy load. I'm not sure about the
> last one, as the minitor process uses very few resources and I believe you
> should loose data, not get two data :)
>


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-15 Thread Jaime Nebrera

  Hi all,

  It seems some people is getting an error similar to this:

ERROR: illegal attempt to update using time 997679412 when last update time
is 997679412 (minimum one second step)

  As I have allready posted, this error is caused in two ways: during
install (you should wait a couple of minutes before installing again), if
you use a time server and have a very wide time drift (this will lead to
time inconsistencies) and maybe under heavy load. I'm not sure about the
last one, as the minitor process uses very few resources and I believe you
should loose data, not get two data :)

  I think there is a problem with backups too. The backup process and the
monitor process seem to enter in conflict over the databases files as they
can't be locked.

  I have burn out my brand new computer :'( and have to wait 20 days or so
untill they repair it. I'm sorry, I won't be able to give too much help
during this time :(

  Well, please report any error you find to the list. The admin password
problem is very erratic, some people is getting it, but most don't, and I
haven't been able to reproduce it.

  Thanks again.

- Original Message -
From: "Michael Jung" <[EMAIL PROTECTED]>
To: "Jaime Nebrera Herrera" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, August 10, 2001 1:32 PM
Subject: RE: [e-smith-devinfo] Server monitoring module ready for download


> At the old location
> ftp://ftp.e-smith.org/pub/e-smith/contrib/eneo/RPMS/noarch/
> I only see the old rpm.
>
> Michael Jung
>
> > -Original Message-
> > From: Jaime Nebrera Herrera [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 09, 2001 6:54 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [e-smith-devinfo] Server monitoring module ready for
> > download
> >
> >
> >   Hi all,
> >
> >   We have released a new release (02) of e-smith-monitor software. It
> > solves:
> >
> > 1) The english package is now all in english (no more Alto,
> > Medio and
> > Bajo :)))
> >
> > 2) It now detects the network interfaces present in the system and
> > shows them. This info is updated every minute. You should not found
> > anymore the error "can't find /var/lib/rrd/eth1.rrd database"
> >
> > 3) It shows all the net traffic graphs (no longer eth0 only).
> >
> >   Some comments:
> >
> > 1) The spanish package is no longer called e-smith-monitor_sp but
> > e-smith-monitor_es following the international standard.
> >
> > 2) The rpm update DOESN'T WORK propertly. It installs
> > perfectly right
> > in a fresh system but wont update right. Please, follow the instructions
> > in the web page to update. Also, if someone knows how to solve this (we
> > guess is something in the spec file) please, contact us.
> >
> > 3) We don't know what is causing the "admin password" problem :( We
> > don't have it :))
> >
> > 4) Some people is reporting an error when making a backup (somthing
> > about a lock). We have not worked in this yet. The script executes every
> > minute and this might be in conflict with the backup process. We will
> > think about it. Any idea?
> >
> >   As allways, the package will be available for download in e-smith's
> > ftp contrib area, but give them some time to update :)))
> >
> >   Thanks Kim, Darrel, David and Rod and everybody else for the help. We
> > have used most of your suggestions :)
> >
> >   Regards.
> >
> >   BTW, the main developer is Juan J. Prieto, he is just too lazy to
> > write in this list (not to mention his english :) but he really
> > knows more Perl than me :))
> >
> > --
> > ***
> > * Jaime Nebrera Herrera * Nunca digas no se hacerlo   *
> > *Responsable CCI* mejor di: nunca lo he intentado *
> > * [EMAIL PROTECTED] * Proverbio japones   *
> > ***
> >
> > --
> > Please report bugs to [EMAIL PROTECTED]
> > Please mail [EMAIL PROTECTED] (only) to discuss security issues
> > Support for registered customers and partners to [EMAIL PROTECTED]
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > Archives by mail and
> http://www.mail-archive.com/devinfo%40lists.e-smith.org
>


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-15 Thread Dean Staff

On 14 Aug 2001, at 22:22, Nigel Gent wrote:
> Hi,
> I'm getting similar stuff at about 4 am. Several emails (4 last
> night)
> with
> ERROR: could not lock RRD
[...]

I'm still running 1.01, and have been for over a week now, but I got 
this message lastnight for the first time...

---begin error message---
ERROR: illegal attempt to update using time 997862580 when last 
update time is 997862580 (minimum one second step) 
ERROR: illegal attempt to update using time 997862580 when last 
update time is 997862580 (minimum one second step)
---end error message---

For what it's worth, the time stamp on the message was 4:03am EDT, or 
8:03am GMT. I'm not sure if this is significant, but this is when the 
e-smith logs get rotated. (Just a thought)

Regards
Dean


Dean Staff
Protus IP Solutions
210 - 2379 Holly Lane
Ottawa, ON K1V 7P2 Canada
613-733- ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-14 Thread Nigel Gent

Hi,
I'm getting similar stuff at about 4 am. Several emails (4 last night)
with
ERROR: could not lock RRD
followed with several (probably 4 more) with the following or similar
ERROR: illegal attempt to update using time 997758183 when last update time
is 997758183 (minimum one second step)

:¬} Nigel

- Original Message -
From: "Michael Doerner" <[EMAIL PROTECTED]>
To: "Jaime Nebrera" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 14, 2001 7:56 PM
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download


> Hi,
>
> ERROR: illegal attempt to update using time 997796580 when last update
time
> is 997796580 (minimum one second step)
> ERROR: illegal attempt to update using time 997796580 when last update
time
> is 997796580 (minimum one second step)
>
> I am getting these about 2 or 3 times a night only (I will watch the next
> days to see whether it's always the same time?).
>
> I suspected it to be while the server is under more load than usual? It
> happens always when the nightly tape backup is running and at a later
stage,
> when the server synchronises some directories onto another HD.
>
> I was using the older version before.
>
> Kind Regards,
> Michael Doerner
>
>
> > I'm getting these same error messages and the .02 was my first install
> attempt.
> > Only my error messages are coming in as emails to the admin account.
> >
> > bh
> >
> >
> > Jaime Nebrera wrote:
> >
> > >   Hi,
> > >
> > >   You seem to have a problem with the timestamp of the data.
> > >
> > >   When you create a rrdtool database, you tell the program when to
> expect
> > > the data. In our case most of the data is collected every minute.
> RRDTool is
> > > intelligent enough to resolve minor error with the time (for example
if
> you
> > > get one vale 59 seconds after the last one instead of 60 seconds). The
> > > databases are updated or created when you install the package so you
> might
> > > be updating too close in time.
> > >
> > >   The problem seems to be you are trying to update the database too
soon
> and
> > > are getting the same timestamp !!!
> > >
> > >   Please, try this solution and tell me your results (first make a
> backup
> > > and follow the upgrade process):
> > >
> > > * When you uninstall the old release, wait a couple of minutes
> before
> > > installing the new release. Replace the databases created with the
> backups.
> > > What happens? It should work well. You have lost 2 minutes of data but
> this
> > > is a small value (2 entries) :)
> > >
> > > * Do you have problems if you don't replace the just created data
> with
> > > your backup? Of course, you have just lost your old data :))
> .. snip ...
>
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org
>


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-14 Thread Michael Doerner

Hi,

ERROR: illegal attempt to update using time 997796580 when last update time
is 997796580 (minimum one second step)
ERROR: illegal attempt to update using time 997796580 when last update time
is 997796580 (minimum one second step)

I am getting these about 2 or 3 times a night only (I will watch the next
days to see whether it's always the same time?).

I suspected it to be while the server is under more load than usual? It
happens always when the nightly tape backup is running and at a later stage,
when the server synchronises some directories onto another HD.

I was using the older version before.

Kind Regards,
Michael Doerner


> I'm getting these same error messages and the .02 was my first install
attempt.
> Only my error messages are coming in as emails to the admin account.
>
> bh
>
>
> Jaime Nebrera wrote:
>
> >   Hi,
> >
> >   You seem to have a problem with the timestamp of the data.
> >
> >   When you create a rrdtool database, you tell the program when to
expect
> > the data. In our case most of the data is collected every minute.
RRDTool is
> > intelligent enough to resolve minor error with the time (for example if
you
> > get one vale 59 seconds after the last one instead of 60 seconds). The
> > databases are updated or created when you install the package so you
might
> > be updating too close in time.
> >
> >   The problem seems to be you are trying to update the database too soon
and
> > are getting the same timestamp !!!
> >
> >   Please, try this solution and tell me your results (first make a
backup
> > and follow the upgrade process):
> >
> > * When you uninstall the old release, wait a couple of minutes
before
> > installing the new release. Replace the databases created with the
backups.
> > What happens? It should work well. You have lost 2 minutes of data but
this
> > is a small value (2 entries) :)
> >
> > * Do you have problems if you don't replace the just created data
with
> > your backup? Of course, you have just lost your old data :))
.. snip ...


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-14 Thread Blake Heinemann

I'm getting these same error messages and the .02 was my first install attempt.
Only my error messages are coming in as emails to the admin account.

bh


Jaime Nebrera wrote:

>   Hi,
>
>   You seem to have a problem with the timestamp of the data.
>
>   When you create a rrdtool database, you tell the program when to expect
> the data. In our case most of the data is collected every minute. RRDTool is
> intelligent enough to resolve minor error with the time (for example if you
> get one vale 59 seconds after the last one instead of 60 seconds). The
> databases are updated or created when you install the package so you might
> be updating too close in time.
>
>   The problem seems to be you are trying to update the database too soon and
> are getting the same timestamp !!!
>
>   Please, try this solution and tell me your results (first make a backup
> and follow the upgrade process):
>
> * When you uninstall the old release, wait a couple of minutes before
> installing the new release. Replace the databases created with the backups.
> What happens? It should work well. You have lost 2 minutes of data but this
> is a small value (2 entries) :)
>
> * Do you have problems if you don't replace the just created data with
> your backup? Of course, you have just lost your old data :))
>
>   Hope it helps.
>
>   Regards.
>
> - Original Message -
> From: "Michael Jung" <[EMAIL PROTECTED]>
> To: "Jaime Nebrera" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, August 13, 2001 7:12 AM
> Subject: RE: [e-smith-devinfo] Server monitoring module ready for download
>
> > If I install e-smith-monitor_en-1.0-02.noarch.rpm I got the error:
> >
> > [root@SONNE E.Smith-Monitor]# rpm -ivh sysstat-3.3.5-3.i386.rpm
> > sysstat
> > ##
> > [root@SONNE E.Smith-Monitor]# rpm -ivh rrdtool-1.0.28-1.i386.rpm
> > rrdtool
> > ##
> > [root@SONNE E.Smith-Monitor]# rpm -ivh
> e-smith-monitor_en-1.0-02.noarch.rpm
> > e-smith-monitor_en
> > ##
> > ERROR: illegal attempt to update using time 997679412 when last update
> time
> > is 997679412 (minimum one second step)
> > ERROR: illegal attempt to update using time 997679412 when last update
> time
> > is 997679412 (minimum one second step)
> > ERROR: illegal attempt to update using time 997679412 when last update
> time
> > is 997679412 (minimum one second step)
> > [root@SONNE E.Smith-Monitor]#
> >
> > Michael Jung
> >


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-14 Thread Jaime Nebrera

  Hi,

  You seem to have a problem with the timestamp of the data.

  When you create a rrdtool database, you tell the program when to expect
the data. In our case most of the data is collected every minute. RRDTool is
intelligent enough to resolve minor error with the time (for example if you
get one vale 59 seconds after the last one instead of 60 seconds). The
databases are updated or created when you install the package so you might
be updating too close in time.

  The problem seems to be you are trying to update the database too soon and
are getting the same timestamp !!!

  Please, try this solution and tell me your results (first make a backup
and follow the upgrade process):

* When you uninstall the old release, wait a couple of minutes before
installing the new release. Replace the databases created with the backups.
What happens? It should work well. You have lost 2 minutes of data but this
is a small value (2 entries) :)

* Do you have problems if you don't replace the just created data with
your backup? Of course, you have just lost your old data :))

  Hope it helps.

  Regards.


- Original Message -
From: "Michael Jung" <[EMAIL PROTECTED]>
To: "Jaime Nebrera" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, August 13, 2001 7:12 AM
Subject: RE: [e-smith-devinfo] Server monitoring module ready for download


> If I install e-smith-monitor_en-1.0-02.noarch.rpm I got the error:
>
> [root@SONNE E.Smith-Monitor]# rpm -ivh sysstat-3.3.5-3.i386.rpm
> sysstat
> ##
> [root@SONNE E.Smith-Monitor]# rpm -ivh rrdtool-1.0.28-1.i386.rpm
> rrdtool
> ##
> [root@SONNE E.Smith-Monitor]# rpm -ivh
e-smith-monitor_en-1.0-02.noarch.rpm
> e-smith-monitor_en
> ##
> ERROR: illegal attempt to update using time 997679412 when last update
time
> is 997679412 (minimum one second step)
> ERROR: illegal attempt to update using time 997679412 when last update
time
> is 997679412 (minimum one second step)
> ERROR: illegal attempt to update using time 997679412 when last update
time
> is 997679412 (minimum one second step)
> [root@SONNE E.Smith-Monitor]#
>
> Michael Jung
>
> > -Original Message-
> > From: Jaime Nebrera [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, August 11, 2001 10:48 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [e-smith-devinfo] Server monitoring module ready for
> > download
> >
> >
> >   Hi all,
> >
> >   First of all, I'm sorry I should had waited untill Dan answered
> > me, but as
> > I was going to reinstall my computer and be a couple of days without
> > internet and everybody was eager searching for a solution :) well
> > I anounced
> > it.
> >
> >   As allways, in a short time you should be able to find the package in
> > e-smith's contrib area (eneo). This will be allways the official place
to
> > search for a package.
> >
> >   But, at the same time, some of you colisters have offered some web
space
> > to us. Thanks Tranbert, Peter and Lee. Here is the list of the other web
> > places:
> >
> >   *  http://www.candyland.dhs.org/download.php?op=getit&lid=1(Peter)
> >   *  http://mangoosta.online.fr/e-smith-monitor.htm
> > (Tranbert, 128Kb DSL upstream)
> >   *  http://modesmith.dogbox.homeip.net/
> > (Lee, 756 kb DSL ?? on e-smith :)
> >
> >   Thanks again to them.
> >
> >   VERY IMPORTANT.- If you are going to upgrade, please follow the
> > instructions on the web page carefully because the rpm update
> > process is NOT
> > working propertly. You will loose your data AND get a non working
> > package in
> > the process if you make a rpm -U. The upgrade process detailed in the
> > instructions works perfectly for us.
> >
> >   This release (02) solves the dynamic side problems of the older
release.
> > It know detects and creates the needed databases and shows them all (not
> > only eth0). Also, the english package is all in english :) Be
> > carefull, the
> > spanish version has changed its name from _sp to _es
> >
> >   Thanks again to everybody. Hope this time the package works
> > better. Report
> > any bug to the devinfo list so we can try to solve it. Darrel I hope you
> > give it another chance :)))
> >
> >   Regards.
> >
> >
> >
> >
> >
> >
> > --
> > Please report bugs to [EMAIL PROTECTED]
> > Please mail [EMAIL PROTECTED] (only) to discuss security issues
> > Support for registered customers and partners to [EMAIL

RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-12 Thread Michael Jung

If I install e-smith-monitor_en-1.0-02.noarch.rpm I got the error:

[root@SONNE E.Smith-Monitor]# rpm -ivh sysstat-3.3.5-3.i386.rpm
sysstat
##
[root@SONNE E.Smith-Monitor]# rpm -ivh rrdtool-1.0.28-1.i386.rpm
rrdtool
##
[root@SONNE E.Smith-Monitor]# rpm -ivh e-smith-monitor_en-1.0-02.noarch.rpm
e-smith-monitor_en
##
ERROR: illegal attempt to update using time 997679412 when last update time
is 997679412 (minimum one second step)
ERROR: illegal attempt to update using time 997679412 when last update time
is 997679412 (minimum one second step)
ERROR: illegal attempt to update using time 997679412 when last update time
is 997679412 (minimum one second step)
[root@SONNE E.Smith-Monitor]#

Michael Jung

> -Original Message-
> From: Jaime Nebrera [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 11, 2001 10:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [e-smith-devinfo] Server monitoring module ready for
> download
>
>
>   Hi all,
>
>   First of all, I'm sorry I should had waited untill Dan answered
> me, but as
> I was going to reinstall my computer and be a couple of days without
> internet and everybody was eager searching for a solution :) well
> I anounced
> it.
>
>   As allways, in a short time you should be able to find the package in
> e-smith's contrib area (eneo). This will be allways the official place to
> search for a package.
>
>   But, at the same time, some of you colisters have offered some web space
> to us. Thanks Tranbert, Peter and Lee. Here is the list of the other web
> places:
>
>   *  http://www.candyland.dhs.org/download.php?op=getit&lid=1(Peter)
>   *  http://mangoosta.online.fr/e-smith-monitor.htm
> (Tranbert, 128Kb DSL upstream)
>   *  http://modesmith.dogbox.homeip.net/
> (Lee, 756 kb DSL ?? on e-smith :)
>
>   Thanks again to them.
>
>   VERY IMPORTANT.- If you are going to upgrade, please follow the
> instructions on the web page carefully because the rpm update
> process is NOT
> working propertly. You will loose your data AND get a non working
> package in
> the process if you make a rpm -U. The upgrade process detailed in the
> instructions works perfectly for us.
>
>   This release (02) solves the dynamic side problems of the older release.
> It know detects and creates the needed databases and shows them all (not
> only eth0). Also, the english package is all in english :) Be
> carefull, the
> spanish version has changed its name from _sp to _es
>
>   Thanks again to everybody. Hope this time the package works
> better. Report
> any bug to the devinfo list so we can try to solve it. Darrel I hope you
> give it another chance :)))
>
>   Regards.
>
>
>
>
>
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
> http://www.mail-archive.com/devinfo%40lists.e-smith.org
>


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-10 Thread Michael Jung

At the old location
ftp://ftp.e-smith.org/pub/e-smith/contrib/eneo/RPMS/noarch/
I only see the old rpm.

Michael Jung

> -Original Message-
> From: Jaime Nebrera Herrera [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 09, 2001 6:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [e-smith-devinfo] Server monitoring module ready for
> download
>
>
>   Hi all,
>
>   We have released a new release (02) of e-smith-monitor software. It
> solves:
>
>   1) The english package is now all in english (no more Alto,
> Medio and
> Bajo :)))
>
>   2) It now detects the network interfaces present in the system and
> shows them. This info is updated every minute. You should not found
> anymore the error "can't find /var/lib/rrd/eth1.rrd database"
>
>   3) It shows all the net traffic graphs (no longer eth0 only).
>
>   Some comments:
>
>   1) The spanish package is no longer called e-smith-monitor_sp but
> e-smith-monitor_es following the international standard.
>
>   2) The rpm update DOESN'T WORK propertly. It installs
> perfectly right
> in a fresh system but wont update right. Please, follow the instructions
> in the web page to update. Also, if someone knows how to solve this (we
> guess is something in the spec file) please, contact us.
>
>   3) We don't know what is causing the "admin password" problem :( We
> don't have it :))
>
>   4) Some people is reporting an error when making a backup (somthing
> about a lock). We have not worked in this yet. The script executes every
> minute and this might be in conflict with the backup process. We will
> think about it. Any idea?
>
>   As allways, the package will be available for download in e-smith's
> ftp contrib area, but give them some time to update :)))
>
>   Thanks Kim, Darrel, David and Rod and everybody else for the help. We
> have used most of your suggestions :)
>
>   Regards.
>
>   BTW, the main developer is Juan J. Prieto, he is just too lazy to
> write in this list (not to mention his english :) but he really
> knows more Perl than me :))
>
> --
> ***
> * Jaime Nebrera Herrera * Nunca digas no se hacerlo   *
> *Responsable CCI* mejor di: nunca lo he intentado *
> * [EMAIL PROTECTED] * Proverbio japones   *
> ***
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-09 Thread Jaime Nebrera Herrera

  Hi all,

  We have released a new release (02) of e-smith-monitor software. It
solves:

1) The english package is now all in english (no more Alto, Medio and
Bajo :)))

2) It now detects the network interfaces present in the system and
shows them. This info is updated every minute. You should not found
anymore the error "can't find /var/lib/rrd/eth1.rrd database"

3) It shows all the net traffic graphs (no longer eth0 only).

  Some comments:

1) The spanish package is no longer called e-smith-monitor_sp but
e-smith-monitor_es following the international standard.

2) The rpm update DOESN'T WORK propertly. It installs perfectly right
in a fresh system but wont update right. Please, follow the instructions
in the web page to update. Also, if someone knows how to solve this (we
guess is something in the spec file) please, contact us.

3) We don't know what is causing the "admin password" problem :( We
don't have it :))

4) Some people is reporting an error when making a backup (somthing
about a lock). We have not worked in this yet. The script executes every
minute and this might be in conflict with the backup process. We will
think about it. Any idea?

  As allways, the package will be available for download in e-smith's
ftp contrib area, but give them some time to update :)))

  Thanks Kim, Darrel, David and Rod and everybody else for the help. We
have used most of your suggestions :)

  Regards.

  BTW, the main developer is Juan J. Prieto, he is just too lazy to
write in this list (not to mention his english :) but he really
knows more Perl than me :))

-- 
***
* Jaime Nebrera Herrera * Nunca digas no se hacerlo   *
*Responsable CCI* mejor di: nunca lo he intentado *
* [EMAIL PROTECTED] * Proverbio japones   *
***

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread Sage Telecommunications

I have also been receiving the cron messages.
Two types,
1 When the tape backup is running. 'ERROR: could not lock RRD'
2 and another at various times 'ERROR: illegal attempt to update using time
997285321 when last update time is 997285321 (minimum one second step)'

Rod



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread Jaime Nebrera Herrera

  Hi all,

  I'm sorry. We have been traveling this two days with no email acces
and just now see there are "some" problems with our module :(((

  First of all, we have a test sever (just installed ESGS 4.1.2 with
latest updates) and don't have any extrange failure (no emails to the
administrator, no need to change the password).

  As everybody know nows, e-smith-monitor works more or less like this:

1) First, it creates a bunch of databases in /var/lib/rrd This
databases are allways created the same way, no matter what you have in
your server. The names are (all with .rrd): eth0, eth1, ippp0, mainhd,
ppp0, usedcpu, usedram adn usedswap. By the name you can see what does
each one.

2) A new file is created /etc/cron.d/monitor to execute a bunch of
scripts (in /usr/bin) that populate those databases

3) A third file /etc/e-smith/web/functions/monitor is created and a
soft link for it in the manager pannel. This file is the one that
controls what is shown in the webpage. Some of the graphs are hardcoded
and others where supposed to be shown based on the information in
/proc/net/dev and here is where all the problems lie. First, is not able
to show more than eth0. Second, if there are some interfaces in tha file
not considered in the script it looks for the unexisting database and
gives an error. It seems we will need to recode all that part, because
this is not a good solution (as has been shown). In the meanwhile, if
you want, you can just hardcode every graph you want to show as long as
you have the needed database. You can use the other graphs for
inspiration. Or you could use the patches proposed in this list but this
seems to open more problems (sl0 for example). OK, tomorrow my friend
and I are going to dedicate all the day to solve this problem. We are
really sorry, we had the software running for 4 weeks without any
incident so we thought everything was right (this is one of the beauties
of open source).

4) Last, is the problem of the admin password. I really don't have any
clue of why somepeople get this error. As I said, we instaled the
software 5 times from a fresh install and another 5 just after removing
it without seeing this error.

  Ok, give us one day to work in this and we will see what we achieve.
Thanks for all the help and recomendations, we promise to use them all
:)

  Regards.

-- 
***
* Jaime Nebrera Herrera * Nunca digas no se hacerlo   *
*Responsable CCI* mejor di: nunca lo he intentado *
* [EMAIL PROTECTED] * Proverbio japones   *
***

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread David Brown

Well this new summary of changes did the trick for me.  All links I checked
for etho and eth1 called up the appropriate graphs.  Thanks a lot.  BTW, I
haven't received any error emails about rrd or cron regarding the server
monitor.  It seems to be working fine for me.

David M. Brown
Frick, Frick & Jette Architects
[EMAIL PROTECTED]

-Original Message-
From: Sage Telecommunications [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 5:22 PM
To: David Brown; J.I Kim; [EMAIL PROTECTED]
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download


>New summary :-)
>
>Comment out the following lines
>
>Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
>Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
>Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
>Line 100  #my @dispRed = $q->param("dispred");
>Line 148  #my @dispRed = $q->param("dispred");
>
>Edit line 171 to look like this:
>
>print "" . $q->a ({href => $q->url (-absolute => 1) ..
>"?state=detailed&titlegraph=".$key."+traffic&typegraph=line&rrddb=".$key."&
r
>rdvar=".$key."&typevar=AVERAGE&refresh=60"}, $key) . "",


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread Craig Foster

I'd prefer the ne "lo" && ne "sl0" but in a pinch, I borrowed the lines
from /usr/bin/creabases.
This is the file used to create the original rrd files, but it misses sl0

Regards,

Craig Foster

-Original Message-
From: Matthieu Perreira Da Silva [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 8 August 2001 8:56 PM
To: David Ringhofer; [EMAIL PROTECTED]
Subject: Re: [e-smith-devinfo] Server monitoring module ready for
download


That's because you've entries for sl0 in /proc/net/dev..
However I don't know /proc/net/dev is generated so, I can't give a
solution
for this file.
The solution I propose is editing line 59 of
/etc/e-smith/web/functions/monitor
and adding
"&& $1 no deviceYouDontWantToDisplay"
example for sl0:

if( $1 ne "lo" && $1 ne "sl0")

to remove the cron messages juste modify /usr/bin/netinfo.pl using the
same
principle
if( $1 ne "lo" && $1 ne "sl0")
instead of
if( $1 ne "lo" )

it works... Sure its not the proper way to correct the bug... but for me
it
works fine

- Original Message -
From: "David Ringhofer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 2:30 PM
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download


> > 1).  The monitor is trying to display information for a 'sl0' device -
and
> > as such all that is appearing there is an empty graphic place. All
other
> > graphs are displaying correctly.
> >
> >
> > 2). The web page is displaying an error message regarding my 'default
> system
> > password'. How do I remove or rectify this.
>
> I've got exactly the same problems and additional the problem with
> masses of cron mails because of the 'sl0' device.
>
> "Cron  /usr/bin/netinfo.pl"
> ERROR: rrdopen can't open '/var/lib/rrd/sl0.rrd': No such file or
directory
>
> As a temporal fix I just created the missing file - however I do not
know
if
> this
> is advicable...
> At least the error messages stopped.
>
> David Ringhofer
>
>
>
>
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org
>
>
>


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org



 smime.p7s


Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread David Ringhofer

> it works... Sure its not the proper way to correct the bug... but for me
it
> works fine

Thank you - that works just fine. So problem number 1 is solved, but still
one remaining:

> The web page is displaying an error message regarding my 'default
> system password'. How do I remove or rectify this.

( quote above was originally posted by David J. Boccabella )

So this is my last remaining problem with the module.
Has anyone experienced that too, or perhaps even solved it?

David Ringhofer





--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread Matthieu Perreira Da Silva

That's because you've entries for sl0 in /proc/net/dev..
However I don't know /proc/net/dev is generated so, I can't give a solution
for this file.
The solution I propose is editing line 59 of
/etc/e-smith/web/functions/monitor
and adding
"&& $1 no deviceYouDontWantToDisplay"
example for sl0:

if( $1 ne "lo" && $1 ne "sl0")

to remove the cron messages juste modify /usr/bin/netinfo.pl using the same
principle
if( $1 ne "lo" && $1 ne "sl0")
instead of
if( $1 ne "lo" )

it works... Sure its not the proper way to correct the bug... but for me it
works fine

- Original Message -
From: "David Ringhofer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 2:30 PM
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download


> > 1).  The monitor is trying to display information for a 'sl0' device -
and
> > as such all that is appearing there is an empty graphic place. All other
> > graphs are displaying correctly.
> >
> >
> > 2). The web page is displaying an error message regarding my 'default
> system
> > password'. How do I remove or rectify this.
>
> I've got exactly the same problems and additional the problem with
> masses of cron mails because of the 'sl0' device.
>
> "Cron  /usr/bin/netinfo.pl"
> ERROR: rrdopen can't open '/var/lib/rrd/sl0.rrd': No such file or
directory
>
> As a temporal fix I just created the missing file - however I do not know
if
> this
> is advicable...
> At least the error messages stopped.
>
> David Ringhofer
>
>
>
>
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org
>
>
>


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread David Ringhofer

> 1).  The monitor is trying to display information for a 'sl0' device - and
> as such all that is appearing there is an empty graphic place. All other
> graphs are displaying correctly.
>
>
> 2). The web page is displaying an error message regarding my 'default
system
> password'. How do I remove or rectify this.

I've got exactly the same problems and additional the problem with
masses of cron mails because of the 'sl0' device.

"Cron  /usr/bin/netinfo.pl"
ERROR: rrdopen can't open '/var/lib/rrd/sl0.rrd': No such file or directory

As a temporal fix I just created the missing file - however I do not know if
this
is advicable...
At least the error messages stopped.

David Ringhofer





--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-08 Thread David J. Boccabella

Ok.
I've made the changes and have got the monitor working OK - however I have 2
questions.

1).  The monitor is trying to display information for a 'sl0' device - and
as such all that is appearing there is an empty graphic place. All other
graphs are displaying correctly.


2). The web page is displaying an error message regarding my 'default system
password'. How do I remove or rectify this.


Many Thanks

Dave



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-07 Thread Sage Telecommunications



> This change got me a listing for eth1, but the link at the top of the page
> for eth0 and eth1 both point to generating graphs for eth0.  I can't give
> many suggestions on this one, except that I thought the original problem
> might have to deal with the "foreach $key (@dispRed)" line (which we have
> now altered).
>
> BTW, I'm running e-smith 4.1.2, rrdtool-1.0.28-1.i386.rpm,
> sysstat-3.3.3-3.i386.rpm, e-smith-monitor_en-1.0-01.noarch.rpm.


You also need to make the changes to line 171 ( as per Darrtl May's earlier
email )

"My 'guess' is the problem may be in /etc/e-smith/web/functions/monitor
where you have hardcoded eth0 on line 171 instead of using the $key
variable."


New summary :-)

Comment out the following lines

Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 100  #my @dispRed = $q->param("dispred");
Line 148  #my @dispRed = $q->param("dispred");

Edit line 171 to look like this:

print "" . $q->a ({href => $q->url (-absolute => 1) ..
"?state=detailed&titlegraph=".$key."+traffic&typegraph=line&rrddb=".$key."&r
rdvar=".$key."&typevar=AVERAGE&refresh=60"}, $key) . "",


Rod



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-07 Thread Darrell May


David Brown <[EMAIL PROTECTED]> said:

> This change got me a listing for eth1, but the link at the top of the
> page for eth0 and eth1 both point to generating graphs for eth0.  I
> can't give many suggestions on this one, except that I thought the
> original problem might have to deal with the "foreach $key (@dispRed)"
> line (which we have now altered).

Yes, good catch.  On the second screen display, after you select eth1 for 
display, the new page generated title is correct but the data references 
eth0 in each command line.

http://192.168.1.1:980/cgi-bin/monitor?
state=detailed&titlegraph=eth1+traffic&typegraph=line&rrddb=eth0&rrdvar=et
h0&typevar=AVERAGE&refresh=60

I also had originally posted I thought the $key variable, was the key :)

Basically the monitor function is close to working but someone with good 
perl knowledge needs to review and fix the way the variables are passed 
to the print/command statements.

-- 
Darrell May
DMC NETSOURCED.COM
http://netsourced.com



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-07 Thread David Brown

This change got me a listing for eth1, but the link at the top of the page
for eth0 and eth1 both point to generating graphs for eth0.  I can't give
many suggestions on this one, except that I thought the original problem
might have to deal with the "foreach $key (@dispRed)" line (which we have
now altered).

BTW, I'm running e-smith 4.1.2, rrdtool-1.0.28-1.i386.rpm,
sysstat-3.3.3-3.i386.rpm, e-smith-monitor_en-1.0-01.noarch.rpm.

David M. Brown
Frick, Frick & Jette Architects
[EMAIL PROTECTED]

-Original Message-
From: Sage Telecommunications [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 9:26 PM
To: J.I Kim; [EMAIL PROTECTED]
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download

>So in summary:
>Comment out the following lines
>
>Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
>Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
>Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
>Line 100  #my @dispRed = $q->param("dispred");
>Line 148  #my @dispRed = $q->param("dispred");


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-07 Thread Craig Foster


Can I suggest a

if ($1 ne "lo")
{
if ($1 ne "sl0")
{
push(@dispRed,$1);
}
}
}


as well as the commented lines below, to get rid of sl0

Also, what about "Normal", "Heavy", "Warning" on the line regarding area
graphs?

Regards,

Craig Foster

-Original Message-
From: Darrell May [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 7 August 2001 1:23 PM
To: Sage Telecommunications; J.I Kim; [EMAIL PROTECTED]
Subject: Re: [e-smith-devinfo] Server monitoring module ready for
download



Sage Telecommunications <[EMAIL PROTECTED]> said:

> So in summary:
> Comment out the following lines
>
> Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 100  #my @dispRed = $q->param("dispred");
> Line 148  #my @dispRed = $q->param("dispred");

Yes, that works just fine.

--
Darrell May
DMC NETSOURCED.COM
http://netsourced.com



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org



 smime.p7s


Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Darrell May


Sage Telecommunications <[EMAIL PROTECTED]> said:

> So in summary:
> Comment out the following lines
> 
> Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 100  #my @dispRed = $q->param("dispred");
> Line 148  #my @dispRed = $q->param("dispred");

Yes, that works just fine.

-- 
Darrell May
DMC NETSOURCED.COM
http://netsourced.com



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread J.I Kim

> If you don't comment out this next line
>
> > Line 100. #my ($q) = @_;
>

Yes, You are right 
It's my fault...
Sorry..


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Sage Telecommunications

> > Don't know enough about perl to comment further. I might have to RTFM
:-)
>
> same to me.
> and i modified   /etc/e-smith/web/funtions/monitor file to below.
>
> first, I had commeted all @dispRed  variable in sub function because it is
used
>
> for global variable already.
>
> Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
> Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);

If you don't comment out this next line

> Line 100. #my ($q) = @_;

Then you don't need to add any code

> Line 148  #my @dispRed = $q->param("dispred");



Then you don't need to add any code

So in summary:
Comment out the following lines

Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 100  #my @dispRed = $q->param("dispred");
Line 148  #my @dispRed = $q->param("dispred");


Mind you I still don't know if this is the correct way to do this.
My debugging indicated that the array being passed to the functions has only
one entry, hence the issue of only eth0 being displayed.

Rod




--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread J.I Kim

> Tried the suggested changes. Still no eth1 graph.
> Could manually get the detailed graph by editing the URL ( changing eth0 to
> eth1 ). But no multiple interface graphs.
> I suspect that the problem is either the intial detection of the multiple
> interfaces or the reading/writing to the array.
> Don't know enough about perl to comment further. I might have to RTFM :-)

same to me.
and i modified   /etc/e-smith/web/funtions/monitor file to below.

first, I had commeted all @dispRed  variable in sub function because it is used

for global variable already.

Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 100. #my ($q) = @_;
Line 148  #my @dispRed = $q->param("dispred");

then insert if clasue above print line

Line 136,  Line 169.
foreach $key (@dispRed)
 {
  if ($key ne "")
  {
print 
   }
 }

And eth1 showed up to me.


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Sage Telecommunications

From: Darrell May <[EMAIL PROTECTED]>
To: Jaime Nebrera Herrera <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 9:29 AM
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download


>
> Installed:
>   sysstat-3.3.5-3.i386.rpm
>   rrdtool-1.0.33-1.i386.rpm
>   e-smith-monitor_en-1.0-01.noarch.rpm
>
> Edited line 218 of /etc/e-smith/web/functions/monitor doing search and
> replace on Alto (High) Medio (Medium) and Bajo (Low).
>
> Everything works fine but only eth0 title/graph is generated.  I see
> in /var/lib/rrd that data is being collected for:

Same result for me

>
> [root@e-smith rrd]# ll /var/lib/rrd
> total 280
> -rw-r--r--1 root  root  48100 Aug  6 18:19 eth0.rrd
> -rw-r--r--1 root  root  48100 Aug  6 18:19 eth1.rrd
> -rw-r--r--1 root  root  48100 Aug  6 16:54 ippp0.rrd
> -rw-r--r--1 root  root  14980 Aug  6 18:15 mainhd.rrd
> -rw-r--r--1 root  root  48100 Aug  6 16:54 ppp0.rrd
> -rw-r--r--1 root  root  24388 Aug  6 18:19 usedcpu.rrd
> -rw-r--r--1 root  root  24388 Aug  6 18:19 usedram.rrd
> -rw-r--r--1 root  root  24388 Aug  6 18:19 usedswap.rrd
>
> My 'guess' is the problem may be in /etc/e-smith/web/functions/monitor
> where you have hardcoded eth0 on line 171 instead of using the $key
> variable.


Tried the suggested changes. Still no eth1 graph.
Could manually get the detailed graph by editing the URL ( changing eth0 to
eth1 ). But no multiple interface graphs.
I suspect that the problem is either the intial detection of the multiple
interfaces or the reading/writing to the array.
Don't know enough about perl to comment further. I might have to RTFM :-)

rgds
Rod





--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Darrell May


Installed:
  sysstat-3.3.5-3.i386.rpm
  rrdtool-1.0.33-1.i386.rpm
  e-smith-monitor_en-1.0-01.noarch.rpm

Edited line 218 of /etc/e-smith/web/functions/monitor doing search and 
replace on Alto (High) Medio (Medium) and Bajo (Low).

Everything works fine but only eth0 title/graph is generated.  I see 
in /var/lib/rrd that data is being collected for:

[root@e-smith rrd]# ll /var/lib/rrd
total 280
-rw-r--r--1 root  root  48100 Aug  6 18:19 eth0.rrd
-rw-r--r--1 root  root  48100 Aug  6 18:19 eth1.rrd
-rw-r--r--1 root  root  48100 Aug  6 16:54 ippp0.rrd
-rw-r--r--1 root  root  14980 Aug  6 18:15 mainhd.rrd
-rw-r--r--1 root  root  48100 Aug  6 16:54 ppp0.rrd
-rw-r--r--1 root  root  24388 Aug  6 18:19 usedcpu.rrd
-rw-r--r--1 root  root  24388 Aug  6 18:19 usedram.rrd
-rw-r--r--1 root  root  24388 Aug  6 18:19 usedswap.rrd

My 'guess' is the problem may be in /etc/e-smith/web/functions/monitor 
where you have hardcoded eth0 on line 171 instead of using the $key 
variable.

Hope this helps.

Regards,

-- 
Darrell May
DMC NETSOURCED.COM
http://netsourced.com



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Jaime Nebrera Herrera

  Sure,


ftp://ftp.e-smith.org/pub/e-smith/contrib/eneo/RPMS/noarch/e-smith_monitor.html

  for instructions, and

ftp://ftp.e-smith.org/pub/e-smith/contrib/eneo/RPMS/noarch/

  to get the files.

[EMAIL PROTECTED] escribió:
> 
> Am an sorry, recently I have gone through a system crash and lost all files,
> may I please get the URL for this download?
> 
> David Ringhofer <[EMAIL PROTECTED]> said:
> 
> > Hi!
> >
> > I really like your system monitor, but me as a complete newbie
> > has some problems with it.
> >
> 
> 
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

-- 
***
* Jaime Nebrera Herrera * Nunca digas no se hacerlo   *
*Responsable CCI* mejor di: nunca lo he intentado *
* [EMAIL PROTECTED] * Proverbio japones   *
***

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread admin

Am an sorry, recently I have gone through a system crash and lost all files, 
may I please get the URL for this download?


David Ringhofer <[EMAIL PROTECTED]> said:

> Hi!
> 
> I really like your system monitor, but me as a complete newbie
> has some problems with it.
> 
 

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Jaime Nebrera Herrera

  Hi David,

> I have the server monitoring module up and running, and it runs nicely.

  Could you give details of the packages you are using and the ESGS
version?

>  I
> was wondering if it is possible to add eth1 to what is being monitored. eth0
> is my internal NIC, and I think it would be useful to monitor the external
> NIC as well.  Is this an easy thing to add to the module?

  eth1 is monitored by default. If you look into /var/log/rrd you will
see:

eth0, eth1, ippp0, mainhd, ppp0, usedcpu, usedram, usedswap

  As you can see all externall interfaces that we know of are monitored.
A different matter is the web page. If you see the code, it decides what
interfaces to show based on your active interfaces (it runs ifconfig and
sees the interfaces there). I know this might not be the best way to do
it (you can't see ppp0 traffic if the modem is down) but in eth1 case it
should show (as long as you have ESGS configured as server and gateway). 

  We are sorry because we haven't been able to test this as we only have
a ppp0 connection and to this moment we have not been able to make it
work (we have needed to change the dialup template to make the modem
dial BUT DNS doesn't work whatever I do : I have reported this as a
bug to the corresponding email. I have an external US Robotics 56K
modem, and the DNS doesnt work with ESGS 4.1.2, SUSE 7.0 or Smoothwall
0.98 This morning I have tried with an older modem and works fine. :(

  Regards.

-- 
***
* Jaime Nebrera Herrera * Nunca digas no se hacerlo   *
*Responsable CCI* mejor di: nunca lo he intentado *
* [EMAIL PROTECTED] * Proverbio japones   *
***

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread David Ringhofer

Hi!

I really like your system monitor, but me as a complete newbie
has some problems with it.

First:

I get tons of Error Mails to my admin account (3009)
The subjects of these mails are as follows:

"Cron  /usr/bin/netinfo.pl"
ERROR: rrdopen can't open '/var/lib/rrd/sl0.rrd': No such file or directory

"Cron  /usr/bin/cpuinfo.pl"
ERROR: rrdopen can't open '/var/lib/rrd/usedcpu.rrd': No such file or
directory

"Cron  /usr/bin/cpuinfo.pl"
/usr/bin/rrdtool: error while loading shared libraries: librrd.so.0: cannot
open shared object file: No such file or directory
/usr/bin/rrdtool: error while loading shared libraries: librrd.so.0: cannot
open shared object file: No such file or directory

Second:

"Warning: you have not yet changed the default system password."
Is shown up - I would not really care about that but maybe it has so´mething
to
do with the errors I get.





--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread David Brown

I have the server monitoring module up and running, and it runs nicely.  I
was wondering if it is possible to add eth1 to what is being monitored. eth0
is my internal NIC, and I think it would be useful to monitor the external
NIC as well.  Is this an easy thing to add to the module?

David M. Brown
Frick, Frick & Jetté Architects
[EMAIL PROTECTED]


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Jaime Nebrera Herrera

  Hi Dean,

> I just installed your e-smith monitor, Very nice!

  Thanks :)

> FYI I used sysstat-3.3.5-3.i386.rpm, rrdtool-1.0.33-1.i386.rpm, and e-smith-
> monitor_en-1.0-01.noarch.rpm, and everything went smoothly.

  Perfect, now we know this newer versions work too.

> I did notice that the legends for the graphics is not in english
> (Alto Medio Bajo) Is this something that can be changed easily?

  Upppsss. Sorry, we missed it. Yeah, its easy (I think). Just edit

/etc/e-smith/web/functions/monitor

  Search and replace Alto (High) Medio (Medium) and Bajo (Low).

  Or wait till we send a newer version to Dan. (Tomorrow)

> I do like the auto-refresh if I leave my browser pointed to the System
> Monitor.

  Jejeje, :) 

  See you.

  BTW, has anybody found this problem? The web page appears but not the
graphs.

-- 
***
* Jaime Nebrera Herrera * Nunca digas no se hacerlo   *
*Responsable CCI* mejor di: nunca lo he intentado *
* [EMAIL PROTECTED] * Proverbio japones   *
***

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-06 Thread Dean Staff

Hi Jamie,

I just installed your e-smith monitor, Very nice!

FYI I used sysstat-3.3.5-3.i386.rpm, rrdtool-1.0.33-1.i386.rpm, and e-smith-
monitor_en-1.0-01.noarch.rpm, and everything went smoothly.

I did notice that the legends for the graphics is not in english
(Alto Medio Bajo) Is this something that can be changed easily?

I do like the auto-refresh if I leave my browser pointed to the System
Monitor.

Thanks
Dean



On 1 Aug 2001, at 1:59, Jaime Nebrera Herrera wrote:

>   Hi again,
>
>   As you have seen there are two main dependencies in this package.
>   Both
> of then are not part of an standard e-smith install so you will need
> to look around.
>
>   The dependencies are:
>
> * sysstat >= 3.3.2 This package is used to get a correct CPU
> load. In our test server we are running sysstat-3.3.3-3.i386.rpm
> * rrdtool >= 1.0.28 This one is used to make the graphics and
> keep the data. In our test server we are using
> rrdtool-1.0.28-1.i386.rpm
>
>   I know that there is a new version of rrdtool (devel) but all the
> original development (3 months ago more or less) was done with this
> two packages, so thats the reason we give those dependencies. As you
> know, you can use a newer version if you want. Maybe it could work in
> older versions too but in this case you will  need to modify the rpm.
>
>   I don't recall where I found the packages. The best way, go to
> google.linux and look for the exact name of the rpm package (rpmfind
> link doesn't work). If the people from e-smith agrees we can put both
> packages in their server but I believe this is not needed.
>
> Lee Roy escribió:
> >
> > I have been looking forward to trying this. I have your rpm, but
> > need to know where you got sysstat >=3.3.2 and rrdtool>=1.0.28 so I
> > can get what you have used to make this run. Are these installed on
> > e-smith already?  Is there any thing I need to do to get these to
> > install right? Sorry for all the question, but I'm just a home
> > e-smith user newbie.
> >
> > thanks
> > Lee Roy
> > Newbies need linux too.
> > http://dogox.homeip.net
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED] Archives
> by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
>
>



Dean Staff
Protus IP Solutions
210 - 2379 Holly Lane
Ottawa, ON K1V 7P2 Canada
613-733- ex 546 Fax 613-248-4553
e-mail: [EMAIL PROTECTED] Web: http://www.protus.com


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




RE: [e-smith-devinfo] Server monitoring module ready for download

2001-08-03 Thread Michael Jung



> -Original Message-
> From: Allen Rapini [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 03, 2001 4:34 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [e-smith-devinfo] Server monitoring module ready for
> download
I used
sysstat-3.3.5-3
rrdtool-1.0.28-1

and installed without any problmes on a 4.1.2 system with all available
updates.

Michael Jung


>
> Nice job, Juan and Jaime. I just installed it, and wanted to say
> thanks, and
> give an update from the last post.
>
> I can repeat the same error. I used the following files for the install:
> e-smith-monitor_en-1.0-01.noarch.rpm
> rrdtool-1.0.28-1.i386.rpm
> sysstat-3.3.3-3.i386.rpm
>
> 1:
> I first did an rpm -ivh * on the directory where the files were, without
> error
>
> 2:
> Without rebooting, from the admin page, chose system monitor
> At top of page is the message,
>   Warning: you have not yet changed the default system password.
> Below that, the page appears, but no graphics are shown, just placeholders
> under each section
>
> I then did a force re-install:
> [root@e-smith]# rpm --force -ivh e-smith-monitor_en-1.0-01.noarch.rpm
> e-smith-monitor_en
> ##
>
> Stopping crond: [   OK   ]
> Starting crond:
> 3:
> upon refreshing the monitor page, the graphics appear correctly, but the
> password message still appears.
> If I get anything else, I will update. I noticed that your instrucitons
> specify rpm -Uvh and I used rpm -ivh. I am not sure what
> difference that may
> have made tho. I tried a force using that command as well, but no change.
>
> Other than that I would just caution that the install notes should specify
> the version of rrd  should only use the rrdtool-1.0.28-1.i386.rpm, since
> later versions have additional dependencies.
>
>
>
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and
http://www.mail-archive.com/devinfo%40lists.e-smith.org


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-08-01 Thread Jaime Nebrera Herrera

  Hi Lee,

  I don't know what's wrong. We have tested the rpm at least 10 times (5
times installing in a fresh ESGS 4.1.2 server and the other 5 removing
it and installing again). I don't know why it asks you to change the
password because it just install 1 file in the functions directory and
makes a soft link in the panels directory (as is standard in ESGS).

  The process we follow is:

As root:

rpm -Uvh sysstat-3.3.3-3.i386.rpm
rpm -Uvh rrdtool-1.0.28-1.i386.rpm
rpm -Uvh e-smith-monitor-1.0-01.noarch.rpm
refresh the web manager page

  I don't know if this is the best way to do it, but for us it has
worked perfectly right (as commented in the documentation, there is a
minor bug that leaves an empty /var/lib/rrd in the system when you
uninstall, but thats all).

  We have a test server and currently have installed in it ESGS 4.1.2,
Smoothwall 0.98 and Start Up Server 3.0b6 so we have formated the server
many times and reinstall the packages and never had a problem (once we
finished the rpm, at the beginning was horrible :)

  Sorry, maybe somebody from ES will be able to help you more. I'm a
linux newbie myself :

  BTW, it should work in a 4.0 server too, because thats where we made
the first development efforts 3 months ago.

Lee Roy escribió:
> 
> ok... guys, just a quick update. it's up and running fine now. i just did a
> few reboots, and a
> --force re-install. now it is working fine. but i still have the default
> password thing i don't know how to fix. any help on that?
> 
> thanks
> lee roy

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-07-31 Thread Jaime Nebrera Herrera

  Hi again,

  As you have seen there are two main dependencies in this package. Both
of then are not part of an standard e-smith install so you will need to
look around.

  The dependencies are:

* sysstat >= 3.3.2 This package is used to get a correct CPU
load. In
our test server we are running sysstat-3.3.3-3.i386.rpm
* rrdtool >= 1.0.28 This one is used to make the graphics and
keep the
data. In our test server we are using rrdtool-1.0.28-1.i386.rpm

  I know that there is a new version of rrdtool (devel) but all the
original development (3 months ago more or less) was done with this two
packages, so thats the reason we give those dependencies. As you know,
you can use a newer version if you want. Maybe it could work in older
versions too but in this case you will  need to modify the rpm.

  I don't recall where I found the packages. The best way, go to
google.linux and look for the exact name of the rpm package (rpmfind
link doesn't work). If the people from e-smith agrees we can put both
packages in their server but I believe this is not needed.

Lee Roy escribió:
> 
> I have been looking forward to trying this. I have your rpm, but need to
> know where you got sysstat >=3.3.2 and rrdtool>=1.0.28 so I can get what you
> have used to make this run. Are these installed on e-smith already?  Is
> there any thing I need to do to get these to install right? Sorry for all
> the question, but I'm just a home e-smith user newbie.
> 
> thanks
> Lee Roy
> Newbies need linux too.
> http://dogox.homeip.net

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-07-31 Thread Jaime Nebrera Herrera

  Eee, what?

  I don't know that package :( I bet you it could have saved us a lot of
work :))) We made it the hard way. Got some scripts from MRTG (the
father of RRDTools) and, well, the real hard part was to make the images
on demand and make the script call itself.

  If somebody understands the /etc/e-smith/web/functions/monitor I will
give him a free beer :))) We are right know putting somne comments and
trying to translate it to english.

adminpop escribió:
> 
> Hi Jaime
> It looks great. Is this based on the  "mon" perl package?

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-07-31 Thread adminpop

Hi Jaime
It looks great. Is this based on the  "mon" perl package? 


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org




Re: [e-smith-devinfo] Server monitoring module ready for download

2001-07-31 Thread David Jacobs

Looks great and i look forward to the english version

Jaime Nebrera Herrera wrote:

>   Hi all,
>
>   I'm pleased to announce that the server monitoring module is ready for
> download in:
>
> ftp://ftp.e-smith.org/pub/e-smith/contrib/eneo/
>
>   Before installing, you should read:
>
> ftp://ftp.e-smith.org/pub/e-smith/contrib/eneo/RPMS/noarch/e-smith_monitor.html
>
>   Thanks for the help.
>
> PS.- Sorry, at this moment the software is only in spanish. We are
> working on an english version.
>
> --
> Please report bugs to [EMAIL PROTECTED]
> Please mail [EMAIL PROTECTED] (only) to discuss security issues
> Support for registered customers and partners to [EMAIL PROTECTED]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

--
Regards

David Jacobs - Manager

Jacobs Web Publications
URL: www.jacobs.net.au
E-Mail: [EMAIL PROTECTED]
Phone: 0414921731



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org