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 - Sumit Pandya

#1
General Support / Re: New table...
June 06, 2012, 02:11:25 PM
Hi Developers,
    Any foresight for using "tabular DCI" for multiple SNMP OID request into one Query? This will have 2 advantages
    1. Less network traffic on network.
    2. Atomicity and Integrity of the related OID; example request and response for a server.
    It can also be used for SNMPWalk concept.
#2
Announcements / Re: NetXMS 1.1.3 released
July 26, 2011, 12:11:46 PM
For GSM Modem, When we open COMX or /dev/ttySX, those are generally device having terminal characteristics. Similarly Telnet or SSH are remote terminals only.
I looked into code of Portech and found that driver is actually mean of remote terminal.
I've experienced few "SMS" devices which provides me CLI over telnet or SSH.
I proposed you to introduce Local and Remote terminal concept. Local terminal means serial-port attached GSM Modem. Remote terminal means Proto://username:password@IP:port
#3
Announcements / Re: NetXMS 1.1.3 released
July 25, 2011, 11:07:27 AM
Victor Hi,
    I see, for "Portech", you have used GSM modem "kind of" procedure. The difference is just opening "Local" terminal v/s "Remote" terminal. I see better programming is to be through w.r.t. terminal settings. There are few Portech like gateways which provide telnet interface for SMS sending.
    There are some gateway devices which provide similar functionality over HTTP URL GET/POST as well.
    Also have you though about Session Initiation Protocol (SIP) Extension for Instant Messaging http://tools.ietf.org/rfc/rfc3428
#4
I've an SNMP Agent which supports only SNMPQuery. We would like to send notification when value of OID reached to high-water-mark. These notification meaning SNMP-Trap to another NMS, SMS and Email notification.
Hence I'm looking for some kind of Event Generation support into "Transformation Script". Event Processing should also facilitate me for defining multiple actions for an event, like Generate a TRAP, Send SMS, email, etc

Above functionality could be boon for software which doesnot support SNMP but can provide information in file. NetXMS can read file and generate an alert (TRAP/SMS/Email) when particular content is found.

NetXMS can be though of being SNMP Trap proxy and can enrich some compatibility related information.
#5
General Support / Getting Error while loggin in Netxms
December 22, 2010, 02:10:23 PM
Hi All,
I have the following setup
1. netxms server is installed on solaris box
2. Console is on win machine.

I have made the DB and Server up on Solaris. When  i try to connect thru Console it give core dump on Solaris console.

The following is the errors
==
[22-Dec-2010 17:25:33] ItemPoller: object index lock acquired (index size 12)
[22-Dec-2010 17:25:33] ItemPoller: (5) calling QueueItemsForPolling for node toba [12]
[22-Dec-2010 17:25:33] ItemPoller: object index lock released
[22-Dec-2010 17:25:35] ItemPoller: wakeup
[22-Dec-2010 17:25:35] ItemPoller: object index lock acquired (index size 12)
[22-Dec-2010 17:25:35] ItemPoller: (5) calling QueueItemsForPolling for node toba [12]
[22-Dec-2010 17:25:35] ItemPoller: object index lock released
[22-Dec-2010 17:25:38] ItemPoller: wakeup
[22-Dec-2010 17:25:38] ItemPoller: object index lock acquired (index size 12)
[22-Dec-2010 17:25:38] ItemPoller: (5) calling QueueItemsForPolling for node toba [12]
[22-Dec-2010 17:25:38] ItemPoller: object index lock released
[22-Dec-2010 17:25:38] [CLSN-0] Received message CMD_GET_SERVER_INFO
[22-Dec-2010 17:25:38] [CLSN-0] Server time zone: WIT-07   
[22-Dec-2010 17:25:38] Successful sync query: "SELECT var_value FROM config WHERE var_name='WindowsConsoleUpgradeURL'" [0 ms]
[22-Dec-2010 17:25:38] [CLSN-0] Sending message CMD_REQUEST_COMPLETED
[22-Dec-2010 17:25:38] [CLSN-0] Received message CMD_LOGIN
[22-Dec-2010 17:25:38] [CLSN-0] User [email protected] authenticated
====
Above is log generated by netxms. Log is also attached

#6
General Support / Re: Clustering with SNMP Proxy
December 21, 2010, 04:46:11 PM
Can I create DCI for dummy summary node with help of Array as below?
array monitornodes;
monitornodes = {"system-1" , "system-2", "system-3"};
summary=0;
for (i=1; monitornodes != NULL ; i++)
{
  inode = FindNodeObject($node, monitornodes);
  ivalue = GetDCIValue(inode, FindDCIByDescription(inode, "TotalAuth"));
  summary = summary + ivalue;
}
return summary;

I see array initialization is not been supported as above syntax. However I get success with below syntax
array monitornodes;
monitornodes[1] = "system-1";
monitornodes[2] = "system-2";
monitornodes[2] = "system-3";

My point of asking is primary about array initialization syntax.
#7
Feature Requests / Re: Apache Java RADIUS and RDBMS MIB
December 18, 2010, 12:22:08 PM
Dear All,
    I confess my mistake of immature analysis on Apache statics gathering. The mod-apache-snmp module, mentioned into originating thread, is having very poor architecture and now completely dead even. Further Apache has build-in status_module which shows performance over HTTP request.
    I came across many of web application which are having ability to generate statistics over HTTP request. This experience triggered me for a NetXMS HTTP DCI feature request. In my experience web-applications send statistics in either of below 2 methodologies
    1. Using HTTP X-Headers
    2. Sending statistics summary into response page
    In both the method, general practice is to send Statistical-Item: Value format. Apache status_module http://httpd.apache.org/docs/2.0/mod/mod_status.html ; uses 2nd approach and can be seen with URL http://www.example.com/server-status?auto

Requesting owner (Victor) to see how HTTP DCI can be made part of NetXMS. AFAIK, NetXMS HTTP Server is there so writing a client would be trivial for experts. Only brainstorming is accommodating HTTP parser for data extraction.
Same way of working is seen into Nginx (2nd widely used Open source Web Server) http://wiki.nginx.org/HttpStubStatusModule and Lighttpd (most popular HTTP for tiny devices) http://redmine.lighttpd.net/wiki/1/Docs:ModStatus

I'm leaveing analysis of IIS (2nd widely used WebServer Ref http://trends.builtwith.com/Web-Server/IIS-6) upto contributors. It seems that Microsoft provide some System Monitor (former Performance Monitor) tool ref http://technet.microsoft.com/en-us/library/bb727100.aspx and SNMP interface  as well Ref http://technet.microsoft.com/en-us/library/cc783841(WS.10).aspx
#8
Feature Requests / Apache Java RADIUS and RDBMS MIB
December 13, 2010, 03:34:51 PM
Find the attached archive containing MIB for well known agents viz Apache, JVM, RDBMS (Oracle, PostgreSQL, Informix, ...), and Remote Access Dial-In User Service.

A JVM exposes SNMP Agent just by adding "-Dcom.sun.management.snmp.port=9004 " to its command line. Ref http://download.oracle.com/javase/1.5.0/docs/guide/management/SNMP.html  This can be useful to monitor popular Tomcat, JBoss, WebLogic etc servers

An exhaustive Oracle guide for various MIBs (including attached public RDBMS-mib) provided on http://download.oracle.com/docs/html/A96672_01/toc.htm
PostgreSQL implements RDBMS-mib via "pgsnmpd" Ref http://pgfoundry.org/projects/pgsnmpd

Additionally you should also look to http://mod-apache-snmp.sourceforge.net/ for any missing part of attached Apache2 MIB.

RADIUS is IETF governed protocol. Attached 6 MIBs are from RFC 4668 to 4673

Default Ms SQLServer support could be good value addition into NetXMS. MIB Ref https://support.ipmonitor.com/mibs/MSSQLSERVER-MIB/raw.aspx
#9
Feature Requests / Re: Consolitated Data Collection Graph
December 13, 2010, 07:30:15 AM
In this feature I'd request you to display "Last Values" tab into cluster object in the same way you do for individual node inside cluster. The value into cluster could hold sum of values inside individual nodes.
Though creating "Dummy" is a good solution but having above feature would be excellent.
#10
General Support / Re: Clustering with SNMP Proxy
December 09, 2010, 03:48:32 PM
Quote from: Victor Kirhenshtein on December 09, 2010, 02:50:50 PM
Yes, it must be named "Dummy". This is what I wrote in my previous message:

Quote from: Victor Kirhenshtein on December 07, 2010, 09:52:00 AM
You can create additional DCI with source "Internal" and name "Dummy" (of course description can be any).
My mistake to overlook that "Quotation"  :o though "Quotation" is my practice as well.

Quote from: Victor Kirhenshtein on December 09, 2010, 02:50:50 PM
So it is not a "workaround", it's just correct system configuration :)
I'm indded sorry for that unusual term. However I's not only pointing about this "Dummy" problem. I've co-related all my experience with NetXMS, like Cluster node disapper, OS hang without n/w, etc. For this "Dummy", if you cannot allow any other name then can't it make some select-only/drop-down type input there?

Finally Yes, this thread can be closed but this has something to go into Mantis
#11
General Support / What is SNMP OID attribute of node
December 09, 2010, 10:25:32 AM
Please provide insite of SNMP OID which seen on Overview tab of a node or Object Properties -> General tab

This OID can be provided configurable for some SNMP based ping-pong purpose.
#12
General Support / Re: Clustering with SNMP Proxy
December 09, 2010, 09:15:16 AM
Find attached screen. Please note that Transformation script returns proper result while testing. Below is script for your quick reference (Though it is not required)
node1 = FindNodeObject($node, "SSTLDel52");
value1 = GetDCIValue(node1, FindDCIByDescription(node1, "AuthReq"));
node2 = FindNodeObject($node, "SSTLDel54");
value2 = GetDCIValue(node2, FindDCIByDescription(node2, "AuthReq"));
return value1 + value2;

After posting, I let "Parameter" name to be remained "Dummy". Now I see I can get proper values automatically by schedule. Cheers.

On another nodes: I followed your instruction about "Cluster node disapper" with patch. Now my nodes remains after restart.

I hope you have enough BUG registrar generate. Though all of my problems got resolved by workarounds :-)
#13
General Support / Re: Clustering with SNMP Proxy
December 08, 2010, 05:00:45 PM
Script testing work but it doesnot gets scheduled. after some time DCI status get changed to "Not Supported". I did tried with both defaulting Interval to 60 seconds as well using advanced schedule "1 * * * *". Please guide me further.

About all other problems I think that databases changes takes very long time to get reflected into other modules/components. I request you to check commit type of activity at some configuration change activity. I suspect same could be causing database curruption while shutdown!!!
#14
General Support / Re: Cluster node disappers
December 08, 2010, 10:36:07 AM
Yes there is database corruption under some operation. I did fresh install and created 2 nodes inside a cluster. Cluster has got 2 SNMP OID defined as DCI. Then deleted a note and tried to create node again with same name and IP. There issue occurred. Please simulate by yourself it is completely easy. For your information I create everything into "unmanaged" and change cluster node to manage once I configure everything.

I'm having another serious problem. If I forget to create node unmanaged then NetXMS tries to pool my SNMP agent over default port. There is nothing on 161 port and hence NetXMS inactivate node then-after. I see alert for node down. But then how to make that node active? Despite all attempt i failed to communicate with that node.

After facing problem i deleted and tried to recreate node. There the BUG has got exposed!!!
#15
General Support / Re: Cluster node disappers
December 07, 2010, 11:07:36 AM
Debug log is attached. It is very easy to simulate. I used nxadm -> down to do proper shutdown and after bringing-up I see my entire cluster is missing. I allow you to use SNMP on Host-IP and OID for verification.