i have this is in config->scripting library
script name : test
sub main()
{
return ret = SNMPSet("2c", .1.3.6.1.2.1.25.1.6.0, 10);
if (!ret)
{
trace(1,"SNMPSet failed");
return -1;
}
}
and when trying to execute it from console it says
error : script test not found .
what should i do?
and is it enough for snmp set? isn't it necessary to install net-snmp?
script name : test
sub main()
{
return ret = SNMPSet("2c", .1.3.6.1.2.1.25.1.6.0, 10);
if (!ret)
{
trace(1,"SNMPSet failed");
return -1;
}
}
and when trying to execute it from console it says
error : script test not found .
what should i do?
and is it enough for snmp set? isn't it necessary to install net-snmp?