HotSaNIC

HotSaNIC is a very nice tool which combines all sorts of very important system graphs into a simple and easy to understand webpage. It allows the admin to take a quick glance at the graphs to see what may or may not be working with the system. With the new APPS graph it is also possible to watch as more processes are started which can be helpful in tracking down why the server load is increasing. For instance if you see a huge load spike but you see that the number of exim processes has gone up significantly at the same time you can start to investigate.

I built this guide on a cPanel server but it will work fine on an ensim box as well. I don't recall the plesk mailserver off the top of my head but changing that small part will make it work great fine plesk.

I love graphs and yours looks really nice . Sorry I can't give feedback but I think www.webhostingtalk.com members might can enlighten you. They are pretty helpfull when they want to be. Just don't post the link to your graph or site unless you have it tided down.

I would like to upgrade to latest rrdtool too but when doing ./configure I get libpng and freetype2 not found also both are installed on my system....
did you have to do any extra steps or did it just work?

furthermore I cannot get it running with rrdtool 1.2.14 - when running ./diagrams.pl I get the following errors for each module:

----- modules/traffic -----
creating images for eth0 ...
Use of uninitialized value in print at ./diagrams.pl line 148 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.

To help you figure out what was undefined, perl tells you what operation
you used the undefined value in. Note, however, that perl optimizes your
program and the operation displayed in the warning may not necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.

Would just like to know if this would also go for a suse 10 server with ispconfig, just got my server up and running. Thanks Falco & Till
(is it safe?)

Click to expand...

As mentioned before, it is quite easy. I think it is independent to the fact which or even if you are using any controlpanel.

I just installed it on my debian, but the devel packets zlib etc. did not really work so I compiled the necessary stuff for rrd manually... just keep in mind updating them and recompiling rrd manually in case of securityfixes for them

I have to mention that I set up hotsanic severall times by now on different machines and I can get it running with an older version of rrdtool.

with the latest version, when I start ./diagrams.pl I get the error I mentioned above and I do not know what settings to input in the disk_io module as the examples are only about sda and hda and I have raid configured.

Use of uninitialized value in concatenation (.) or string at
./platform/default.pm line 17 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.

To help you figure out what was undefined, perl tells you what operation
you used the undefined value in. Note, however, that perl optimizes your
program and the operation displayed in the warning may not necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.

Can't exec "stats": No such file or directory at ./platform/default.pm line 17 (#2)
(W exec) A system(), exec(), or piped open call could not execute the
named program for the indicated reason. Typical reasons include: the
permissions were wrong on the file, the file wasn't found in
$ENV{PATH}, the executable in question was compiled for another
architecture, or the #! line in a script points to an interpreter that
can't be run for similar reasons. (Or maybe your system doesn't support
#! at all.)

Use of uninitialized value in open at ./platform/default.pm line 20 (#1)
Use of uninitialized value in concatenation (.) or string at
./platform/default.pm line 20 (#1)
Uncaught exception from user code:
cannot open : No such file or directory at ./platform/default.pm line 20.
HotSaNICmod::init('start', 'bind') called at ./read-data.pl line 10
Use of uninitialized value in concatenation (.) or string at
./platform/default.pm line 17 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.

To help you figure out what was undefined, perl tells you what operation
you used the undefined value in. Note, however, that perl optimizes your
program and the operation displayed in the warning may not necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.

Can't exec "stats": No such file or directory at ./platform/default.pm line 17 (#2)
(W exec) A system(), exec(), or piped open call could not execute the
named program for the indicated reason. Typical reasons include: the
permissions were wrong on the file, the file wasn't found in
$ENV{PATH}, the executable in question was compiled for another
architecture, or the #! line in a script points to an interpreter that
can't be run for similar reasons. (Or maybe your system doesn't support
#! at all.)

Use of uninitialized value in open at ./platform/default.pm line 20 (#1)

Click to expand...

if I start .rrdgraph and have a look at it with tail I also get these errors:Ö