А версия сервера какая? 1.2.4?
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 MenuQuote from: SKYnv on November 21, 2012, 11:04:52 AM
nxagentd -h бесконечный цикл.
freebsd
default: return "Unknown code " . $event->parameters[5];
switch($5)
{
case 1: return "CODE 1";
case 2: return "CODE 2";
// and so on...
default: return "Unknown code " . $5;
}
SetCustomAttribute($node, "mtbfTimeUp", time());
uptime = time() - GetCustomAttribute($node, "mtbfTimeUp");
mtbfNumFailures = GetCustomAttribute($node, "mtbfNumFailures");
if (mtbfNumFailures == null)
mtbfNumFailures = 0;
mtbfNumFailures++;
mtbfTotalUptime = GetCustomAttribute($node, "mtbfTotalUptime");
if (mtbfTotalUptime == null)
mtbfTotalUptime = 0;
mtbfTotalUptime += uptime;
mtbf = mtbfTotalUptime / mtbfNumFailures;
SetCustomAttribute($node, "mtbfNumFailures", mtbfNumFailures);
SetCustomAttribute($node, "mtbfTotalUptime", mtbfTotalUptime);
SetCustomAttribute($node, "mtbf", mtbf);
return GetCustomAttribute($node, "mtbf");
return $3 == "minor";
$3 == "minor"