Menu

Show posts

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

Messages - jamesof

#1
General Support / Re: snmp
May 16, 2013, 05:40:22 PM
thanks
but i want to set an object such as  .1.3.6.1.2.1.25.1.5.0
is this wrong?

if ($1 == null)
{
   println "Please specify node name as parameter";
   return 3;
}
println $1;
transport = CreateSNMPTransport(FindObject($1));   
if (transport == null)
{
    println "Failed to create SNMP transport, exit";
    return 1;
}

ret = SNMPSet(transport, ".1.3.6.1.2.1.25.1.5.0", 4);
if (!ret)
{
   println "failed";
    trace(1,"SNMPSet failed");
    return -1;
}
#2
thank you for your support
it works .
#3
General Support / Re: config db
May 12, 2013, 11:35:51 PM
good documentation
Thank you
#4
General Support / snmp
May 11, 2013, 02:36:29 PM
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?
#5
Feature Requests / User Manual
May 09, 2013, 07:00:02 PM
this is great program but it should have a better user manual . it suffers lack of documentation .
it is great, better than opennms, nagios and ... but it is very confusing.great features but lack of suffice explanation.

it should have a better user manual .

cheers.
#6
General Support / config db
May 09, 2013, 06:48:36 PM
i need to have an inventory and configuration db for my objects which collect all configuration about my devices.
could i read this from netxms db ? in which table they are collected?
#7
Quotewhat do you mean by security policy on agent?
agent check manager have right to do action.

and another question . can we have any accounting feature? which user how many usage which app ... for any session in remote device that running agent .
thank you.
#8
thanks
it works.
just three other questions. ;D
is it possible to return generated output. i remember you said it is not possible (around 2010) . is this feature added to netxms?
can i set snmp oid with agent?
can i define security policies on agent ?
#9
General Support / trigger action on remote host
May 07, 2013, 10:08:55 PM
hi guys
i am new to netxms
i have a problem with action on remote agent
on agent i have this
#
# NetXMS agent configuration file
# Created by agent installer at Tue May 07 02:57:49 2013
#

ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
LogFile = {syslog}
FileStore = C:\NetXMS\var
SubAgent = ecs.nsm
SubAgent = ping.nsm
SubAgent = logwatch.nsm
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
*WinPerf
Action= dir:cmd.exe /c "dir c:\ > c:\1.txt"
SubAgent = wmi.nsm
SubAgent = ups.nsm

and in object tools
i have a action with properties

Name :dir
agent action:
cmd.exe /c "dir c:\ > c:\1.txt"

but nothing happens. what is wrong?
is there any documentation about actions?
Best regards.