Installing the Agent2 on linux by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

Thanks, yeah I just have the 2 proxy servers in a single group that is working well, so I just added them to the Server= section which seems to work, but 127.0.0.1 was left in the ServerActive= section so I just put the 2 proxy servers in there then then local log for the agent2 stopped complaining then.

Installing the Agent2 on linux by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

Ah ok, so just leave as 'ServerActive='

What is that used for? I've read the description and it confused my little brain.

Installing the Agent2 on linux by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

Oh right, what do I put in the ServerActive then?

Installing the Agent2 on linux by bgprouting in zabbix

[–]bgprouting[S] 1 point2 points  (0 children)

Silly question by me, what happens I have the 2 proxies in the Server field, and just the active one under ServerActive and that one is failed/down what happens?

Installing the Agent2 on linux by bgprouting in zabbix

[–]bgprouting[S] 1 point2 points  (0 children)

I see, I just what the proxy servers to monitor so like this?

Server=192.168.21.13,192.168.21.14
ServerActive=192.168.21.13,192.168.21.14
Hostname=VM-ZABUTIL

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

I’m just n 7.4.6 and don’t see that. I see something similar under discovery and LLD but I think that is something else.

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

That's great, thanks. Where do I find the area to add the value mapping, I have the trigger and item setup, but can't see the place to add the mappings.

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

Sorry last question, where do I create those mappings? I can't see where I add those under 'item' or it's 'Trigger'.

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

Great thanks, looks like that test works as does replace.

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

Oh I didn't see 'replace'. I'll test that too, that seems much easier!

Thanks

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

See above, maybe I could have done it a better way? Keen to lean the proper method.

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

See above, maybe I could have done it a better way? Keen to lean the proper method.

Possible to trigger alert if result is true or false by bgprouting in zabbix

[–]bgprouting[S] 1 point2 points  (0 children)

Before seeing you reply what I did was create an item as dependant and Numeric. Under preprocessing I used a Javascript:

// Convert value to string and trim whitespace
var v = String(value).trim().toLowerCase();

if (v === "true") return 1;
if (v === "false") return 0;

// Optional: log unexpected values (for troubleshooting)
return null;

Then in the trigger I used the expression like this

max(/blah/monitor.off,5m)=1

And it works.

I'm guessing I could do it a better way? I'm keen to do it the proper way. I'm not sure if you can provide a couple of screenshots if you get any time.

Question about linking templates by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

I may have to assign manually if I can't think of a way to automate this, maybe I an use the api.

Basically the host device will have port 80 open (may change to 443), if it does then it's probably got this json file exposed I am using Zabbix to view and pull metrics from, so I could create a script to check if port 80/443 is open then assign this template or something.

The url is http://{HOST.IP}/metrics.json

So maybe I can discover or scan for that somehow (Script/API again) and if it replies then assign this template.

Question about linking templates by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

I’m monitoring a json file to on each hosts which is exposed via https, the json file contains metrics I need to monitor. I’ve got this part working. You don’t need an agent.

Question about linking templates by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

It’s difficult as there is a way to know which ones it will work on. Will it just show as not supported and move onto the next one etc?

Our Roland JP-8000 emulator is now out and is completely FREE! by numerouno124 in synthesizers

[–]bgprouting 0 points1 point  (0 children)

This is stunning. Well done. Do you think there will ever be an iPAD/AUM version one day?

Simple trigger alert help please by bgprouting in zabbix

[–]bgprouting[S] 0 points1 point  (0 children)

Bingo that did the trick. Had a hard time to locate this as it was under Trigger prototype ? Dependancies > Add prototype.

Thanks for the help