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

#91
General Support / Re: Unmanaged Node Display
March 04, 2014, 01:46:21 PM
Why not use "ping" to monitor?
In nodes properties, you can disable all options but "ICMP pings" in "Polling" tab.

You can also use ProxyAgent.
Add node without NetXMS/SNMP agent polling, use EXEC(yourscript.sh) in DCI and change polling intervall
yourscript.sh must be added to the ProxyAgent doing the polls..
#92
Is it possible to get a update on what target version this will come?

Merry X-mas!  8)
#93
General Support / Re: AutoAdd node if last value is X
December 12, 2013, 04:38:19 PM
Thanks for the help.

I ended up with this AutomaticApplyRules that worked:

sub main() {
   $ver = GetDCIValue($node, FindDCIByDescription($node, "AppVersionDescription"));
   return ($ver != NULL &&
           $node->name ~= "node-name-regexp" &&
           real($ver) > 2);
}
#94
General Support / AutoAdd node if last value is X
December 11, 2013, 02:38:11 PM
Is it possible to autoadd a node if i have a Generic template gathering a value i want to decide where the node should be put?

Ex i have template that check for program version "Templates->Generic->AppVersion"

If AppVersion >=1.0 add to node to "Templates->Generiv_v1"
If AppVersion >=2.0 add to node to "Templates->Generiv_v2"
#95
Thanks Victor!
Looking forward to this  :)
#96
General Support / Template with auto proxy node settings
November 28, 2013, 10:28:06 AM
Hi

I have been searching for a way to dynamic set proxy node in a template.

We have our hosts standard like this: xxx-000-unit (Ex: zxy-001-gw, zxy-001-srv01, zxy-001-pc1 etc and zxy-mainserv)

What i want is automatic add different proxy to nodes with a global template.
So zxy-001-gw is being checked with zxy-mainserv as proxy. And yxz-002-gw with yxz-mainserv as proxy.
And zxy-001-unit1 is being checked with zxy-001-srv01 as proxy. etc..

For now i have created template groups:
BySite->Site xzy-> Mainserv xzy: DCI having static proxy: xzy-mainserv
BySite->Site xzy-> Server xzy: DCI having static proxy: xzy-001-srv01
BySite->Site yxz-> Mainserv yxz: DCI having static proxy: yxz-mainserv ... etc
BySite=Template Group
Site xxx=Template Group
Mainserv xxx=Template
Server xxx=Template

Im able to set parameter on DCI with "%{node_name}", but not "Proxy Node" with a ScriptLibrary (%{node_name2site_name}) command that transform xzy-001-gw to xzy-mainserv

Hopefully i have descriped it good enough, if not please ask for more info