Hello everybody,
I readed everything i could in the mail list about this, but unhappyly i didn't
find a solution for me. I just have installed NFSEN in my server but when i
access the website all the graphs are unavailable, they are not being produced.
Here is my configuration:
OS FREEBSD 6.2
png-1.2.22
rrdtool-1.2.23 (with --enable-perl-site-install)
nfdump-1.5.6 (with --enable-nfprofile -with-rrdpath=/usr/local)
nfsen-1.3
All permitions are seted to www:www the same as my apache web server. Runing
nfsen with syslog "info" i receive this information when i try to see any image:
ec 31 01:36:50 rcemon nfsen[33506]: connection on UNIX socket
Dec 31 01:36:50 rcemon nfsen[33506]: comm server started: 34591
Dec 31 01:36:50 rcemon nfsen[34591]: Cmd Decode: get-picture
Dec 31 01:36:50 rcemon nfsen[33506]: comm child[34591] terminated with no exit
value
Some outputs:
rcemon# ./nfsen -l live
name live
group (nogroup)
tcreate Mon Dec 31 00:30:00 2007
tstart Mon Dec 31 00:30:00 2007
tend Mon Dec 31 01:30:00 2007
updated Mon Dec 31 01:30:00 2007
expire 0 hours
size 56.5 MB
maxsize 0
type live
locked 0
status OK
version 130
channel pernambuco sign: + colour: #0000ff order: 1 sourcelist:
pernambuco Files: 13 Size: 59195392
rcemon# ./bin/nfsen status
NfSen version: 1.3
NfSen status:
Collector for 'pernambuco' is running: 32857.
nfsen daemon: pid: [33505] is running.
Setting DEBUG to 1 i have this output at log file:
=========================
Run at 2007-12-31-01:39:55
nfsend No socket - open connection first
nfsend INTERNAL '.debug=1'
nfsend COMMAND 'get-globals' binary: 0
nfsend EODATA
nfsend Skip info line 'INFO Set debug to 1'
nfsend Skip line '.Command is 'get-globals' binary mode: 0'
nfsend Process line '_globals=$PROFILEDATADIR = "/var/nfsen/profiles-data";'
nfsend Process line '_globals=$SUBDIRLAYOUT = "1";'
nfsend Process line '_globals=$FRONTEND_PLUGINDIR = "/htdocs/nfsen//plugins";'
nfsend Process line '_globals=$RRDoffset = "67";'
nfsend Process line '_globals=$Refresh = "300";'
nfsend Process line '_globals=$GMToffset = -10800;'
nfsend Process line '_globals=$TZname = "BRT";'
nfsend Process line '_globals=$AllowsSystemCMD = "0";'
nfsend Process line '_globals=$version = "1.3";'
nfsend STATUS 'OK command completed.'
nfsend INTERNAL '.debug=1'
nfsend COMMAND 'get-du' binary: 0
nfsend EODATA
nfsend Skip info line 'INFO Set debug to 1'
nfsend Skip line '.Command is 'get-du' binary mode: 0'
nfsend Skip line '.Limit: 95 on /var/nfsen/profiles-data'
nfsend Skip line '.du line: Filesystem 1K-blocks Used Avail Capacity
Mounted on'
nfsend Skip line '.du line: /dev/ad0s1e 8122126 109048 7363308 1% /var'
nfsend STATUS 'OK command completed'
ParseInput:
Tab: Set tab to 0: Home
nfsend INTERNAL '.debug=1'
nfsend COMMAND 'get-profile' binary: 0
nfsend WRITE: 'profile'='./live'
nfsend EODATA
nfsend Skip info line 'INFO Set debug to 1'
nfsend Skip line '.Command is 'get-profile' binary mode: 0'
nfsend Skip line '.Key: 'profile', value: './live''
nfsend Process line 'locked=0'
nfsend Process line 'status=OK'
nfsend Process line 'tstart=1199071800'
nfsend Process line 'version=130'
nfsend Process line 'tbegin=1199071800'
nfsend Process line 'name=live'
nfsend Process line 'tcreate=1199071800'
nfsend Process line 'tend=1199075400'
nfsend Process line 'maxsize=0'
nfsend Process line 'size=59195392'
nfsend Process line 'group=.'
nfsend Process line 'updated=1199075400'
nfsend Process line 'type=0'
nfsend Process line 'expire=0'
nfsend Process line '_channel=pernambuco:+:#0000ff:1:pernambuco'
nfsend Process line 'graphs=ok'
nfsend STATUS 'OK Command completed'
New Bookmark: 0|0|./live|-|-|-|-|-|-|-|-|-|-|-
_SESSION 1:
Array
(
[version] => 1.3
[refresh] => 300
[ProfileList] => Array
(
[0] => ./live
[1] => New Profile ...
)
[ProfileListUpdate] => 1199075711
[PluginList] => Array
(
)
[PluginListUpdate] => 1199075711
[auto_filter] => Array
(
)
[DefaultFilters] => Array
(
)
[DefaultFiltersUpdate] => 1199075711
[tab] => 0
[profileswitch] => ./live
[bookmark] => MHwwfC4vbGl2ZXwtfC18LXwtfC18LXwtfC18LXwtfC0%3D
[sub_tab] => 0
[profile] => live
[profilegroup] => .
[profileinfo] => Array
(
[locked] => 0
[status] => OK
[tstart] => 1199071800
[version] => 130
[tbegin] => 1199071800
[name] => live
[tcreate] => 1199071800
[tend] => 1199075400
[maxsize] => 0
[size] => 59195392
[group] => .
[updated] => 1199075400
[type] => 0
[expire] => 0
[channel] => Array
(
[pernambuco] => Array
(
[name] => pernambuco
[sign] => +
[colour] => #0000ff
[order] => 1
[sourcelist] => pernambuco
)
)
[graphs] => ok
[description] => Array
(
)
)
[nfsend] => Resource id #7
)
_POST:
Array
(
)
_GET:
Array
(
)
_COOKIE:
Array
(
[PHPSESSID] => po7cg494m1gm388o37cmjrop85
)
=========================
Pic run at 2007-12-31-01:39:59
nfsend No socket - open connection first
nfsend COMMAND '@get-picture' binary: 1
nfsend WRITE: '.silent'='1'
nfsend WRITE: 'profile'='./live'
nfsend WRITE: 'picture'='flows-day.png'
nfsend EODATA
=========================
Pic run at 2007-12-31-01:39:59
nfsend No socket - open connection first
nfsend COMMAND '@get-picture' binary: 1
nfsend WRITE: '.silent'='1'
nfsend WRITE: 'profile'='./live'
nfsend WRITE: 'picture'='packets-day.png'
nfsend EODATA
.. and repeats for all images the last log changing only the file name.
If someone want to check, you can access the web-page at:
https://rcemon.neoline.com.br/nfsen/nfsen.php
This software looks great and i think it's an amazing tool for any system
administrator, due this problem i'm not able to use it atm, i would really
apreciate any help and really want to thanks in advance to everybody who answer
this post and try to help me.
BTW Happy new year to everybody.
Best regards,
Alan J Markus
____________________________
Neoline Webmail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss