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 - tamal_g

#1
Thanks Alex.

Can you please guide me how I should get the source repository from git. Where should I implement this code to get the source package. Any tool required for this? Please guide me the steps and also how to compile the Management Console to run it with the Netxms core server version 1.2.9.

Thanks.
Regards,
tamal_g
#2
Hi Victor,

Can you please guide me where I could find the latest version 1.2.9 Management console source package and the Java APIs. I have to tried to download the files from https://svn.netxms.org/public/netxms/tags/version-1.2.9 by Tortoise SVN repository browser but failed to get it done. It shows error "Invalid URL: XML Parsing failed: Unexpected root element 'html'.

Please help.

Thanks and Regards,
tamal_g
#3
General Support / Run NXSL Script on Node click event
December 03, 2013, 12:00:08 PM
Hi Victor,

Can I call a script file from script Library when I click or double click on a node and show the return result?

Regards,
tamal_g
#4
General Support / BIT View of a specific Node
December 03, 2013, 08:40:43 AM
Hi Victor,

I need to configure NetXMS in a different and specific manner to view the node status. Let me first explain you the details of my requirement.

I have a device which can be connected which can be connected to maximum of 6 devices my means of optical fibre. All these 6 devices have their own set of SNMP traps which is well defined in the MIB file. The mother device is having its own physical IP address but all the 6 devices is having the same IP addresses same as that of the main device. I have created a node (say: NODE-A) with that specific IP address. My requirement is when I will double click on that node, I need to show another form where I need to show the device specific information (like temperature, channel number, frequency) of that 6 devices connected to the main devices by sending SNMP get request. I have all sets of bitmap image files where I can display that information in a graphical presentation.

Please suggest, is there any possible way to do this sort of configuration? If yes then can you please suggest the steps how I should proceed.

Thanks.

Regards,
tamal_g
#5
General Support / Re: Multiple Node Status
November 29, 2013, 05:26:21 PM
Once again thanks for your help.

Exactly the same logic what I implemented and it worked.

Thanks once again

Chz!!!

Regards,
tamal_g
#6
General Support / Re: Multiple Node Status
November 29, 2013, 12:01:42 PM
Thanks Victor.

I Have tried to implement as suggested by you. But the problem is all the event's source node is NODE-A and whenever I have passed the $node object, the $node->name is always having the name of NODE-A. I am not able to change the status of NODE-B with their specific traps.

Can you please give me some more details on how to implement PostEvent() function on this particular configuration?

Regards,
tamal_g
#7
General Support / Multiple Node Status
November 28, 2013, 12:05:31 PM
Hi Victor,

I have created a node (Ex: NODE-A) of my device having IP address (192.168.200.130). My device is connected with another device by means of optical fibre. That device does not have any physical IP interface. But still I have created another node (Ex: NODE-B) with the same IP address of NODE-A. Both the devices are having their own set of SNMP traps which NODE-A sends to the server. SNMP traps of both the node's are always being sent by NODE-A.

My aim is to configure NetXMS server in such a fashion that when NODE-B specific trap comes I should be able to change the status of NODE-B only (although the trap source is NODE-A).

I have configured the specific traps and events accordingly. I have also configured the Event policies for all the traps but unfortunately I could only be able to change the status of NODE-A not NODE-B. I am not able to distinguish the traps specific for NODE-A and NODE-B.

Please help.

Regards,
tamal_g

#8
General Support / Re: Node status
November 26, 2013, 07:48:59 AM
Hi Victor,

Can you please suggest how to proceed...still stuck with the same problem.

Thanks.
Regards,
tamal_g
#9
General Support / Re: Node status
November 26, 2013, 05:15:39 AM
Hi Victor,

As you suggested I have configured both "InService" and "OutOfService" trap of the node and associated with specific events. Also made 2 different event policies where one will show the critical Alarm when the device is "OutOfService" and terminate the Alarm with Normal when the device is "InService".

By doing so, still the result is same and the node status always shows RED with critical.

FYI, I had to disable the option "Status Polling" from the properties page of the node because whenever I enable it my device immediately starts rebooting. Is this the reason why I am not able to configure the status and it always shows RED?

Please advice.

Thanks
Regards,
tamal_g   
#10
General Support / Node status
November 25, 2013, 01:59:35 PM
Hi Victor,

I am using NetXMS 1.2.9 where I have a node which sends SNMP traps periodically with different events. For example when this node is powered down it sends a specific SNMP trap and when powered up it sends another trap indicating that the device is in Service.

I want to show the status of the node as "RED" when it is down and "GREEN' when in service.

Can you help me how do I configure this feature?

P.S: I do not want to do that by normal status polling...I want it by SNMP traps only.

Thanks

Regards
tamal_g
#11
General Support / SNMP Trap parsing from MIB file.
October 25, 2013, 01:24:17 PM
Hi,

I have a SNMP based sensor device which send traps to SNMP server. I have created a node object named as 'AKSPSersorProbe' and have put its MIB file in the location \NetXMS\var\mibs. The MIB file is already compiled and I can open it from NetXMS MIB explorer. The device sends a SNMP trap with 6 varbinds when any critical vibration is detected. I have created an event with those 6 varbinds and i have created a rule to display this alarm. It was tested working fine.

My question is when I receive this trap it shows the OID in raw format (I want it to be translated from the MIB file automatically by the server). for example if it shows .1.3.6.1.4.1.3854.1.0.301 then actually I should get it like SPAGENT-MIB::spSwitch1Status (where 'SPAGENT-MIB' is the module name and 'spSwitch1Status' is the enterprise specific trap name).

Another thing which I noticed is that the varbind integer value is getting parsed from the mib file. In this case the 1st variable is .1.3.6.1.4.1.3854.1.7.1.0 == '4' whose value is '4'. Instead of showing this integer value I should get as its textual convention which is already defined in the MIB file as 'HighCritical'.
Please help me to configure this. I have attached the SNMP trap log and the MIB file for your reference.

Thanks and best Regards,
#12
I understand that fact and I have already configured it like what you suggested. But my problem is I cannot get the text value which is actually associated with a particular variable in my MIB file. For example when SNMP trap is coming from my device in NetXMS I cant get the value of the variable (say 'status') of that particular trap as '4' . In the MIB file this status object is defined as if value is '4' then it should send value as 'highcritical' that is what I am not able to get.
Can you help to to get that and also how can I associate an object defined in my MIB file with a newly created node.

Thanks in advance.
#13
Thanks Victor,

Fortunately I could run my batch file from the command line. Actually the bat file was executed but I was unable to see the command window, so I have checked the option "Allow service to interact with desktop" of NetXMS core service properties and by doing that it worked.
Now I want to pass the incoming SNMP trap as a whole including the variable bindings into my batch file as input parameters. I have tried by using some macros but till now no luck.
Can you please suggest the steps which I should follow so that I can get the whole trap in my bat file.

Thanks.
Regards,
Tamal
#14
Hi Victor,

I want to run a batch file with a trap event which I have already configured in "Event Processing Policy". I have selected the option "Execute command on management server" and have put the command line as "cmd.exe /C Test.bat" (which is my test batch file located in system folder). But unfortunately this batch file is not executed with the configured event.

Can you provide some tips to run this?

Thanks,
Tamal
#15
Thanks Victor,

As you suggested I have already converted my incoming traps into events. I have written a test script which will print "Hello" and I have added that action from event processing policy. But I am not able to see the output of the script. Can you please guide me where I could see the console output as "Hello" (it is not showing in "Server Console").

Thanks
Tamal