Not sure why this group of programs is so hard to install but it is even had better luck installing from source code than using prebuilt Debian packages. Yep you read that right installed from source code very old school stuff argh my history only kept the last 33 commands therfore this page will probably never get finished
apt-get install build-essential libssl-dev mysql-server mysql-client libmysqlclient-dev
sh ./configure –with-server –with-mysql –with-agent
this is needed to initialize the database
vi /etc/ld.so.conf
add /usr/local/lib then run ldconfig
Setup webinterface
apt-get install tomcat6
download war file best replica watch
place in
/var/lib/tomcat6/webapps
This is to go along with this very helpful post http://www.netxms.org/forum/general-support/bandwidth-accounting/msg14091/#msg14091 i will clean this up later
// Daily
last = int64(GetCusomAttribute($node, “WANCumulativeIn”));
if (last == null)
last = 0;
SetCustomAttribute($node, “WANCumulativeIN”, int64(last + $1));
// Monthly
last = int64(GetCustomAttribute($node, “WANMonthlyCumulativeIn”));
if (last == null)
last = 0;
SetCustomAttribute ($node, WANMonthlyCumulativeIn”, int64(last + $1));
return $1;
last = int64(GetCustomAttribute($node, “WANCumulative”));
if (last == null)
last = 0;
SetCustomAttribute($node, “WANCumulativeIn”, 0);
return last;
last = int64(GetCustomAttribute($node, “WANMonthlyCumulativeIn”));
if (last == null)
last =0;
SetCustomAttribute($node, “WANMonthlyCumulativeIn”, 0);
return last;