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

#16
Hi

Attached updated agent configuration

Thanks
Naga
#17
Hi Victor

Tried your suggestion, still I could see only two line in agent log file
[06-Aug-2015 05:00:21.367] [DEBUG] LogParser: new data avialable in file "/apps/uspsqa1/switch/site/log/sys/SunOSsyslg.log"
[06-Aug-2015 05:00:21.367] [DEBUG] SendTrap(): event_code=0, event_name=IST_SYSLG1_RECORD, num_args=1, arg[0]="fatal error" arg[1]="(null)" arg[2]="(null)"

Regards
Naga
#18
Hi Victor

Attached nxagentd.conf file and word doc that has screenshot of node property and node configuration poll details

Regards
Naga
#19
General Support / Re: Gauge – Dial type setup
August 06, 2015, 10:44:12 AM
Hi Victor

Thanks, it works

Regards
Naga
#20
General Support / Gauge – Dial type setup
August 05, 2015, 12:49:03 PM
Hi

In Gauge – Dial type, I have following setting
Min value as 0.0
Max value as 250.0
Left red zero end as 0.0
Left yellow zero end as 0.0
Right yellow zone start as 150.0
Right red zone start as 200.0
With above setting I got dial as
0 to 150 – with green color
150 to 200 – with yellow color
200 to 250 – with red color
But I have requirement where I need to get
0 to 150 – with red color
150 to 200 – with yellow color
200 to 250 – with green color
What value I need to change to get dial with above my requirement? Is it possible? In our case as the value decrease it is more risk and its color should be red.
#21
Hi Victor

I have made debug level of agent to 9 and restated the agent.
But I could not see message ""sending message CMD_TRAP" after SendTrap() record" in agent log file

In agent log I could see only following two line
[05-Aug-2015 03:16:15.483] [DEBUG] LogParser: new data avialable in file "/apps/uspsqa1/switch/site/log/sys/SunOSsyslg.log"
[05-Aug-2015 03:16:15.484] [DEBUG] SendTrap(): event_code=0, event_name=IST_SYSLG1_RECORD, num_args=1, arg[0]="Fatal error " arg[1]="(null)" arg[2]="(null)"

Should I do any change to get "sending message CMD_TRAP" after SendTrap() record
Please help

Regards
Naga
#22
Hi

I am trying to generate event using logwatch.nsm subagent

I have parser as below
<parser>
  <file>/apps/uspsqa1/switch/site/log/sys/SunOSsyslg.log</file>
  <rules>
    <rule>
      <match>F-(.*)</match>
      <event params="1">IST_SYSLG1_RECORD</event>
    </rule>
  </rules>
</parser>


and I can see following lines in nxagentd.log when match take place

nxagentd.log:[29-Jul-2015 06:57:24.022] [DEBUG] SendTrap(): event_code=0, event_name=IST_SYSLG1_RECORD, num_args=1, arg[0]="RTTSRF-0017: read equ record failed" arg[1]="(null)" arg[2]="(null)"

However, I could not see event being logged into event_log table, as a result I could not see it event log monitor and I could not use it to generate alarts

In event IST_SYSLG1_RECORD configuration,  I have also enabled the option to Write to even log

But still I could not see event being logged in event_log table

Please help me

Regards
Naga
#23
Hi

I need to change tooltip of object ( in my case node) that has been added to map
I need to change tooltip based on status value of object.

Regards
Naga
#24
General Support / System syslog configuration
July 20, 2015, 11:42:00 AM
As far as I understood

Setting
EnableSyslogDaemon - to 1;
SyslogListenPort - port for syslog server to listen on (default is 514)
SyslogRetentionTime - (default is 90).

and restarting netxms server/agent should allow the netXMS console user to see syslog message in menu -> syslog
is my understanding correct ? but I do not see any message ? why it is so, I hope syslog parser configuration is not required to see all message in menu -> syslog


In netxmsd.conf file I have set
LogFile = /apps/uspsqa1/ntxms/netxms/log/netxmsd.log
I could see logs being written in netxmsd.log file
Is it not possible to see logs being written in netxmsd.log file in menu -> syslog screen ?


In netxmsd.conf file I tried to set
LogFile = {syslog}
and restarted server, I do not see any syslog message being created anywhere under netXMS folder
Where syslog will be written ? what configuration is required to write netxmsd message into syslog file ?

I read that syslog will be written in var folder, but I could not see it being created.

uspsqa1@mkeux805n-z1-76-SWITCH>> ls -ltra
total 12
drwxr-xr-x   4 uspsqa1  uspsqa1        4 Jan 14  2014 .
drwxr-xr-x   2 uspsqa1  uspsqa1        3 Jan 14  2014 netxms
drwxr-xr-x   9 uspsqa1  uspsqa1        9 May 26 03:24 ..
drwxr-xr-x   2 uspsqa1  uspsqa1        3 Jul 20 02:43 run
/apps/uspsqa1/ntxms/netxms/var
#25
Excellent, it is working
Now I want some details to be displayed in tooltip based on status value, may I know how to do it ?
Is there any NXSL function available which I use to set Node object's tooltip based on status value
I tried to use Comments, but it is same for all status

I have requirement to discribe the steps that the operator need to perform based on status of node

Please help 
#26
I did created note object/status DCI as suggested by you, however the status symbol is not changes based on status value
I have attached screenshot of it for your reference, kindly advise me if I have make anyother changes to get appropriate status symbol
Also I do not want tooltip to display default info (255.255.255.255...etc), is it possible to give my own comments based on status value.
#27
Thanks Victor for response, now I could create object with required status
#28
Hi
Can any one provide me sample NXSL script that calculates the object status as neede
I need to change status of condition object based not only based on Active/Inactive status

That is based on some value, I need to change status of conditional object status to Normal, Warning, Minor, Major, Critical

Example
if the value is > 100 change stataus to normal
         value is < = 100 and > 91 change status to Warning
         value is 90 <= and >81 change status to Minor
         --- etc
Please provide sample script that I can refer to
From net can see there is something like setStatusCalculation, but I could not get examples on using it
Is it possible to use setStatusCalculation in condition object's status script ?
#29
General Support / DCI Images change
July 02, 2015, 03:40:18 PM
Hi
I am working on DCI images in MAP
I have table DCI which collects data for various server info in each row for example
Server1  info in row1
Server2 info in row2
Server3 info in row3 ... etc..
Each row represents one server data
Now I have requirement where I need to change the image to different image when Server2 instance of data did not get collected, is it possible to do so?
Currently it seems that it is possible to change image only based on value of instances that are being collected.
If instances itself did not get collected then is it not possible to change the image? Is there any alternative way to change the image in this case.
#30
Hi, I have one table type dci with 5 columns, which is already collecting data, now if I edit the DCI and add new 6th column Col6 ,  I could not call newly added column in transformation script like
idxcol6 = $1->getColumnIndex("Col6");
$1->set(i,idxcol6, 2);
I get error as "Error 19 in line 2: Function or operation argument is not a whole number"
I get this error even after I restart the server and agent
But in column definition I could see new column being added
Is it not possible to configure add new column to DCI and use it in transformation script?