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

#1
General Support / 2.1-RC1 Empty Graphs
June 06, 2017, 01:48:08 PM
Hi Victor and co !

Upgraded my installation to 2.1-RC1 from 2.1-M2 release.
I've noticed any graph whether it be a saved one or creating a Line Chart on some data results in a empty graph.This seems to happen on SNMP as well as Agent hosts.





Anything I should have a look at for debugging purposes to help fix this ?
I've checked out /var/log/netxms but can't really find anything so far.


Thanks
#2
General Support / Re: Simple Data Transformation Question
February 02, 2016, 02:59:14 PM
Quote from: tomaskir on February 02, 2016, 02:10:25 PM
Hi!


return $1/10;

Is enough actually, you dont need to declare an explicit main() method/function.
See this: https://wiki.netxms.org/wiki/UM:NetXMS_Scripting_Language_(NXSL)#Script_entry_point

As for why you are seeing 0 in last values, you have "Simple delta" as delta calculation enabled.
Set delta calculation to None, and it will work.


Yikes I feel embarrassed now   :-[ :-[ :-[ :-[ :-[ :-[ :-[ :-[
Setting the delta calculation to zero sorted it right out.
I'll have to re-read the wiki again to make sure I'm understanding it right.


Thanks tomaskir and Alex for the quick help.

#3
General Support / Simple Data Transformation Question
February 02, 2016, 01:45:24 PM
Hi Viktor and co

Have a NetXMS 2.0.1 system in Server/Remote Agent w/Sites configuration

Have a simple data transformation question.
I'm trying to monitor temperature of some Mikrotik routerboards with SNMP via .1.3.6.1.4.1.14988.1.1.3.10.0

I need to transform the value that the Mikrotik reports by dividing the value by 10.
I've entered the following values in the Transformation option.

Simple Delta

sub main()
{
   return $1 / 10;
}



Test returns the correct results however values received by in the Last Values tab or DCI History return results of 0


Anything I'm missing here ?


Thanks
#4
Hi All we are busy migrating towards NetXMS at a site and it has been mostly been smooth sailing.
However we've hit a snag when trying to monitor a Cyberoam firewall via SNMP giving us the following errors.

Poll -> Configuration

Unable to get interface list from node
Interface "unknown" is no longer exist

Poll -> Interface Names
Unable to get interface list from node


snmpwalk currently delivers the following result for .1.3.6.1.2.1.2.2.1.2

snmpwalk -c public  -v 2c x.x.x.1  .1.3.6.1.2.1.2.2.1.2

IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: ipsec0
IF-MIB::ifDescr.3 = STRING: sit0
IF-MIB::ifDescr.4 = STRING: ip6tnl0
IF-MIB::ifDescr.5 = STRING: PortA
IF-MIB::ifDescr.6 = STRING: PortB
IF-MIB::ifDescr.7 = STRING: PortC
IF-MIB::ifDescr.8 = STRING: PortD
IF-MIB::ifDescr.9 = STRING: PortE
IF-MIB::ifDescr.10 = STRING: PortF
IF-MIB::ifDescr.11 = STRING: imq0
IF-MIB::ifDescr.12 = STRING: imq1
IF-MIB::ifDescr.13 = STRING: gre0


nxsnmpwalk produces the following results querying   .1.3.6.1.2.1.2.2.1.2

nxsnmpwalk -v 2c -c public x.x.x.1 .1.3.6.1.2.1.2.2.1.2


Snippet of what it gets

.1.3.6.1.2.1.2.2.1.2.1 [STRING]: lo
.1.3.6.1.2.1.2.2.1.2.2 [STRING]: ipsec0
.1.3.6.1.2.1.2.2.1.2.3 [STRING]: sit0
.1.3.6.1.2.1.2.2.1.2.4 [STRING]: ip6tnl0
.1.3.6.1.2.1.2.2.1.2.5 [STRING]: PortA
.1.3.6.1.2.1.2.2.1.2.6 [STRING]: PortB
.1.3.6.1.2.1.2.2.1.2.7 [STRING]: PortC
.1.3.6.1.2.1.2.2.1.2.8 [STRING]: PortD
.1.3.6.1.2.1.2.2.1.2.9 [STRING]: PortE
.1.3.6.1.2.1.2.2.1.2.10 [STRING]: PortF
.1.3.6.1.2.1.2.2.1.2.11 [STRING]: imq0
.1.3.6.1.2.1.2.2.1.2.12 [STRING]: imq1
.1.3.6.1.2.1.2.2.1.2.13 [STRING]: gre0


Any input would be greatly appreciated.