Hi!
Sorry, it's my failure
I completely forgot about it. I'll made a patch for agent.
Best regards,
Victor
Sorry, it's my failure
I completely forgot about it. I'll made a patch for agent.Best regards,
Victor
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
I completely forgot about it. I'll made a patch for agent.Quote from: teddymills on September 30, 2011, 11:13:42 PM
In NETXMS, is there a summary/totals of network traffic collected so far ?
What parameter name should I be using?
Should I collect every 10 minutes with a retention of 365 days sound reasonable?
I need to view the summary of network traffic on the interface.(eth0)
I have been collecting network traffic on the interfaces.
I have been using NetInterface.Bytes.In+NetInterface.Bytes.out.
This gives me bytes per second on the interface.
I can export the network traffic data, but I really do not want to manually compile millions of data samples
to get a number that I can see just by looking at my overall network graphs.
I told my manager this, but I was told I need a hard number. (not an estimate of the average from a graph)
I did enable Network.Interface.Total, however since I only enabled+applied that today, that cannot help me.
ifconfig cannot help because instance are rebooted on occasion and the RX/TX counter resets to zero when the server is rebooted.
Quote from: teddymills on October 01, 2011, 02:26:27 AM
NetInterface.BytesIn and NetInterface.Bytesout out is an unsigned integer.
With busy sites, should not this be an unsigned 64-bit ?
Prior to 1.1.5 DCI values only accessible via $1, $2, etc. variables. Array $values also was added in 1.1.5. I suggest to do upgrade first 

sum = 0;
foreach(v : $values)
{
trace(1, "+++ value = " . v . " +++");
sum += v;
}
trace(1, "+++ sum = " . sum . " +++");