Hello,
I need some help with netxms bluecoat configuration , so i have 5 different proxys and all of them are on one template , but they are using 2 different versions of bluecoat , so one of them uses this .1.3.6.1.4.1.3417.2.1.1.1.1.1.5.5 oid to monitor CPU temp and others this .1.3.6.1.4.1.3417.2.1.1.1.1.1.5.20 oid to monitor CPU temperature.
I want to add object which determines what proxy it is , and then add oid which one is needed.
Here is what i did:
Created new object that is looking for proxy name (for example: proxy1.dmd.lv, proxy2.dmd.lv and so on).
Then i added few lines in object -> proporties -> transformation
if ($1 == proxy1.dmd.lv)
{
value = SNMPGetValue(CPU temperature, ".1.3.6.1.4.1.3417.2.1.1.1.1.1.5.5");
return (value);
}
else
{
value = SNMPGetValue(CPU temperature, ".1.3.6.1.4.1.3417.2.1.1.1.1.1.5.20");
return (value);
}
but this script wasnt working for me , so could someone help me fix it?
I need some help with netxms bluecoat configuration , so i have 5 different proxys and all of them are on one template , but they are using 2 different versions of bluecoat , so one of them uses this .1.3.6.1.4.1.3417.2.1.1.1.1.1.5.5 oid to monitor CPU temp and others this .1.3.6.1.4.1.3417.2.1.1.1.1.1.5.20 oid to monitor CPU temperature.
I want to add object which determines what proxy it is , and then add oid which one is needed.
Here is what i did:
Created new object that is looking for proxy name (for example: proxy1.dmd.lv, proxy2.dmd.lv and so on).
Then i added few lines in object -> proporties -> transformation
if ($1 == proxy1.dmd.lv)
{
value = SNMPGetValue(CPU temperature, ".1.3.6.1.4.1.3417.2.1.1.1.1.1.5.5");
return (value);
}
else
{
value = SNMPGetValue(CPU temperature, ".1.3.6.1.4.1.3417.2.1.1.1.1.1.5.20");
return (value);
}
but this script wasnt working for me , so could someone help me fix it?