Hi Guys,
First off, great program. I have been using it for about 2 weeks. I want this to be my Dude server replacement. It has so many uses and I am very excited in what it can do.
Anyways, I need some help with applying a Template.
Here is my code
The idea is to apply the filter if the SNMP returns "PowerBeam AC 500". It does when I snmpwalk it. So there must be something wrong with how I am trying to use the script.
Please help.
First off, great program. I have been using it for about 2 weeks. I want this to be my Dude server replacement. It has so many uses and I am very excited in what it can do.
Anyways, I need some help with applying a Template.
Here is my code
Quotesnmp = CreateSNMPTransport($node);
oid = SNMPGetValue(snmp,".1.2.840.10036.3.1.2.1.3.10"); // Device name
if (oid == "PowerBeam AC 500")
return true;
The idea is to apply the filter if the SNMP returns "PowerBeam AC 500". It does when I snmpwalk it. So there must be something wrong with how I am trying to use the script.
Please help.