News:

We really need your input in this questionnaire

Main Menu
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 - gmonk63

#151
General Support / Re: Cross Compile Help Please
February 09, 2016, 06:35:09 PM
Its is openwrt but they are using a very old version kamikaze    I have not had any problems building the package on later versions ..and all the research I have done points to the issues of the atomic functions not being supported on the gcc version that's included with the kamikaze toolchain I believe 4.2.1 is the version of gcc that is included.
#152
General Support / Re: MYSQL error
February 08, 2016, 10:34:31 PM
I got it solved .... I accidently passed db_schema instead of db_init  when initializing the db ......sorry
#153
General Support / MYSQL error
February 08, 2016, 10:17:01 PM
Having the following issue when trying to start netxmsd

[08-Feb-2016 13:13:46.520] [DEBUG] Database Connection Pool maintenance thread started
[08-Feb-2016 13:13:46.521] [DEBUG] Database Connection Pool initialized
[08-Feb-2016 13:13:46.521] [DEBUG] Database Connection Pool: handle 0xa9c2a8 acquired (call from config.cpp:321)
[08-Feb-2016 13:13:46.523] [DEBUG] Database Connection Pool: handle 0xa9c2a8 released
[08-Feb-2016 13:13:46.524] [DEBUG] Database Connection Pool: handle 0xa9cb08 acquired (call from config.cpp:167)
[08-Feb-2016 13:13:46.526] [DEBUG] Database Connection Pool: handle 0xa9cb08 released
[08-Feb-2016 13:13:46.527] [DEBUG] Database Connection Pool: handle 0xa9d320 acquired (call from config.cpp:214)
[08-Feb-2016 13:13:46.558] [DEBUG] Database Connection Pool: handle 0xa9d320 released
[08-Feb-2016 13:13:46.558] [DEBUG] Server ID 2B5C7B7D455F2E6A
[08-Feb-2016 13:13:46.558] [DEBUG] Database Connection Pool: handle 0xa9db38 acquired (call from config.cpp:321)
[08-Feb-2016 13:13:46.560] [DEBUG] Database Connection Pool: handle 0xa9db38 released
[08-Feb-2016 13:13:46.561] [DEBUG] DBLockStatus="ERROR"
[08-Feb-2016 13:13:46.561] [ERROR] Error initializing component locks table


im using mysql version 5.5.4
#154
General Support / Re: Cannot load MIB file from Server
February 07, 2016, 07:59:16 PM
Some MIBS are dependent on others so when you run into those issues you have to look in the mib and find all its dependencies for instance generally near the top of the mib you find these IMPORT statments    generally the standard and RFC MIBS   are included in the netxms mibs folder.

*Note this mib only imports from RFC which should be fine and not give an error

IMPORTS
                    enterprises, OBJECT-TYPE, NetworkAddress, IpAddress,                 
                    Counter, Gauge, TimeTicks
                    FROM RFC1155-SMI
                    ifIndex, ipAdEntAddr, ipRouteDest, tcpConnLocalAddress,
                    tcpConnLocalPort, tcpConnRemAddress, tcpConnRemPort
                    FROM RFC1213-MIB;

*Note this mib imports from a standard mib as well but also from another vendor mib RUGGEDCOM-MIB so if i did not include the RUGGEDCOM-MIB in the folder i would recieve the error of not being able to resolve
IMPORTS
    MODULE-IDENTITY, OBJECT-IDENTITY,
    OBJECT-TYPE, Integer32              FROM SNMPv2-SMI
    TEXTUAL-CONVENTION, TruthValue,
    DisplayString                    FROM SNMPv2-TC
    OBJECT-GROUP                  FROM SNMPv2-CONF   
    ruggedcomMgmt                  FROM RUGGEDCOM-MIB;



also post the mibs your are trying to import  and i can see if i get the same issues
#155
General Support / Re: GPS
February 07, 2016, 01:31:22 AM
Thats greats news.. Is 2.0.3  source available to download and build for testing ?   
#156
General Support / Re: DCI question
February 03, 2016, 02:30:03 AM
Thanks,  Ive read the hints but wasnt sure how it pertained to triggering events weather the script needed to return a boolean or value  but from your script i see it needs to return a boolean in order to generate the event ... Thanks for your help
#157
General Support / Re: DCI question
February 03, 2016, 02:08:37 AM
Does any one  have any examples of a dci threshold script ? Im trying to trigger a threshold event but only if the threshold is met and secondary dci is true.. example

if (current dci >= 100 and secondary dci is true)
{

trigger event

}

else
{
keep on going
}



* Does the threshold script need to return a boolean  or integer to be evaluated
#158
General Support / SQLite database issues
February 03, 2016, 01:28:59 AM
Are there any known issues with 2.0.1 and sqlite  ?  I constantly get "Your database  has format version -1 but server is compiled for version 392"   I have deleted the db and re initialzed it and also upgraded it and after I reboot  I get the same error  and have to do it all over



#159
General Support / Re: DCI question
January 28, 2016, 07:33:19 PM
tomaskir,


Im almost succesfull at what im trying to achieve but im stuck on figuring out a way to reset values after the polling interval  I have four DCI's that collect and increment the values every minute and using your code created an internal DCI which will sum those values every 15min and i want to trigger an alarm based on the totals of the internal DCI  but how do I reset the values  the DCI's  after every poll interval instead of permanently incrementing
#160
General Support / DCI question
January 22, 2016, 03:23:38 AM
Is it possible to setup a threshold based on multiple DCI values ?  So if I have four DCI's and I want to sum the values provided by all four and only trigger and alarm if the sum of those four DCI values is >= 50   


Thanks



#161
General Support / Re: NXPUSH
January 20, 2016, 06:35:13 PM
since this wouldnt be recommend then is it almost better to create a dedicated server for these device that need to be polled more frequently and only forward the up down events to the main server as to get as much of a realtime status as possible ?  Or would i still be limited to the polling frequency of the main server ? for instance if i create a server and have it poll icmp every 10 seconds and send that back to the main server will i only find out about that after the 60 second poll  on the main server kicks in  or would it be more of an instant status update from the slave server ..
#162
General Support / Re: NXPUSH
January 20, 2016, 02:46:45 AM
What is the difference betweem nxapush and nxpush
#163
General Support / Re: NXPUSH
January 20, 2016, 02:10:10 AM
I figured it out but i dont think this will work for me because once i remove icmp polling the node shows down ... is there any way to tell the server to prefer my script and not send its own icmp and only rely on the script to provide up down status ?
#164
General Support / Re: NXPUSH
January 20, 2016, 01:22:27 AM
Ok so i know i can send a nxevent  but when i send nxevent -d  -u admin -P pass 192.168.0.180 '100035'   i get invalid object id
#165
General Support / NXPUSH
January 20, 2016, 12:41:38 AM
Is it possible to cause a node to show as down from an external nxpush event ?   My reasoning for this is that we have lots of critical nodes that i would like to monitor less than the 60 sec interval for instance ping every 10 seconds or liess and I dont want to do this on the server because im sure decreasing the status interval to 10 seconds would cause the server to burst into flames  ;D ... but i would like to create a script that could do that and then send the results back to netxms say 0=ok  and 1=down     and have it create and alarm and just like it would if netxms was doing the ICMP requests..  I have experimented with nxpush and it seems i can only provide 0 - 4   from Warning to Critical but never a sys_node_down event

Thanks