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

#16
I ended up solving it via externalparameter, wrote a vb script to parse the value from the weblog and returning it to the node works like a charm allthough i had to restart the Netxms core server before i could "rearm" the value when falling below configured threshold.
#17
Thankyou Victor for your reply - do you have any links to this sort of thing - using nxpush and scripting to get values? - i have searched the forum but i might not know what to search for. i quite new with this advanced (for me anyway) usage of Netxms
#18
Hi

i have a temperature monitoring device that logs temperature to an onboard log file accessible over web like this : http://ipadress/spilog.txt

i logs the temperature ever 5 minutes in this format:

2012/03/23;09:35:00;0;3;3;1;0;2;0;3;0;
2012/03/23;09:35:00;0;4;2;151;0;152;0;
2012/03/23;09:40:00;0;0;1;59300;276;
2012/03/23;09:40:00;0;3;3;1;0;2;0;3;0;
2012/03/23;09:40:00;0;4;2;151;0;152;0;
2012/03/23;09:45:00;0;0;1;59300;276;
2012/03/23;09:45:00;0;3;3;1;0;2;0;3;0;
2012/03/23;09:45:00;0;4;2;151;0;152;0;
2012/03/23;09:50:00;0;0;1;59300;277;
2012/03/23;09:50:00;0;3;3;1;0;2;0;3;0;
2012/03/23;09:50:00;0;4;2;151;0;152;0;
2012/03/23;09:55:00;0;0;1;59300;276;
2012/03/23;09:55:00;0;3;3;1;0;2;0;3;0;
2012/03/23;09:55:00;0;4;2;151;0;152;0;
2012/03/23;10:00:00;0;0;1;59300;275;
2012/03/23;10:00:00;0;3;3;1;0;2;0;3;0;
2012/03/23;10:00:00;0;4;2;151;0;152;0

now i would like to collect info from: where i can identify the temp monitor and current value
2012/03/23;10:00:00;0;0;1;59300;275;
device---------------------------^
current value----------------------------^  <- in this case the temperature is 27,5 degrees celcius

what approach is the best in order log log and alert based upon these values?

regards
#19
General Support / Re: Using best notification action
March 23, 2012, 10:58:49 AM
Hi
thanks for your reply i had hoped to accomplish this a "smarter" way, by getting my alert action to evaluate upon status of my internetaccess so that i did not need two events for every alert but this aproach will work, you're quite right.

thankyou
#20
General Support / Using best notification action
March 21, 2012, 01:03:31 PM
Hi

my question is this:
can i scipt an action that chooses between sendiing sms or execute command depending on status of a situation?

i have an action for sending sms and an action that sends an online notification to my notifo account via curl

i also have a situation evaluation if there is internet access called internetaccess - i have used this to evaluate if a ping to an external host should generate an alarm based upon avaliability of my router and firewall.

i would like my action to notify me via the execute command action when there is internet access but then to default to sending sms when no internet is accessible.

is this possible and if it is - how do i do this in the smartest way?

regards
#21
Feature Requests / Client for Iphone
January 02, 2012, 04:45:42 PM
Hi i realise that this might be an unwelcome question seeing that netXMS is open source  ;)

But - do you think that there ever will be an Iphone Client for netXMS? - sadly i have been forced by my workplace to use an Iphone instead of an Android !  ::)
#22
General Support / Re: SQlite failing
December 23, 2009, 11:59:01 AM
In event browser i see this:

severity: Critical

Event: SYS_DB_QUERY_FAILED

Message: Database query failed (Query: INSERT INTO object_properties (object_id,name,status,is_deleted,i...

using SQLite
#23
General Support / Re: SQlite failing
December 14, 2009, 04:34:09 PM
Quote from: Victor Kirhenshtein on January 28, 2009, 01:08:37 PM
Hello!

You can purge your SQLite database simply by deleting database file. Look at your netxmsd.conf, in case of SQLite parameter DBName will contain database file name. Delete this file and run nxdbmgr init - you will get fresh database.

Best regards,
Victor


One question regarding purging af database as im haveing insert into talbe problems, does purging delete all configuration or just history?
#24
General Support / Problems with logwatch
December 14, 2009, 02:13:03 PM
Hi

Hopefully someone can help me understand what is going wrong.

I'm trying to monitor a log file for changes using logwatch.

The logfile is one i'm creating using dos rasdial to connect to a vpn and do certain tests, so log format is:

14-12-2009 13:05:00,19
Connecting to BDO PPTP...
Verifying username and password...
Registering your computer on the network...
Successfully connected to BDO PPTP.
Command completed successfully.


Pinging 10.1.25.1 with 32 bytes of data:



Request timed out.

Reply from 10.1.25.1: bytes=32 time=90ms TTL=128

Reply from 10.1.25.1: bytes=32 time=34ms TTL=128

Reply from 10.1.25.1: bytes=32 time=34ms TTL=128



Ping statistics for 10.1.25.1:

    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),

Approximate round trip times in milli-seconds:

    Minimum = 34ms, Maximum = 90ms, Average = 52ms



Pinging 10.1.1.1 with 32 bytes of data:



Request timed out.

Reply from 10.1.1.1: bytes=32 time=34ms TTL=63

Reply from 10.1.1.1: bytes=32 time=34ms TTL=63

Reply from 10.1.1.1: bytes=32 time=34ms TTL=63



Ping statistics for 10.1.1.1:

    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),

Approximate round trip times in milli-seconds:

    Minimum = 34ms, Maximum = 34ms, Average = 34ms

Command completed successfully.


then i'm using logwatch and try to look for changes, but so far all i can catch is the ping failure, maybe my regex code is wrong?

<parser processAll="0">
<file>c:\netxms\bdo_pptp_vpn_log.txt</file>
<macros>
<macro name="timestamp">[0-9]{2}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}</macro>
</macros>
<rules>
                <rule break="1">
<match>^(?=.*?\connection\b)(?=.*?\cannot\b)(?=.*?\completed\b).*$</match>
<event>100009</event>
</rule>
                <rule break="1">
<match>^(?=.*?\computer\b)(?=.*?\not\b)(?=.*?\respond\b).*$</match>
<event>100010</event>
</rule>
<rule break="1">
<match>Request timed out.</match>
<event>100008</event>
</rule>
        </rules>
</parser>