Howto or feature request.

pashen

15-05-2004 10:52:42

Hi.

1. Is it possible to not add script param to "Test" name ?
I'd like to hide it from my customers.

2. How am I able to change graph colors or style in "Monitors".

Regards.
Pashen

silfreed

15-05-2004 15:34:17

[quotef23951d27f="pashen"]1. Is it possible to not add script param to "Test" name ?
I'd like to hide it from my customers.[/quotef23951d27f]

Can we get an example? I'm not quite sure I understand what you mean.

[quotef23951d27f="pashen"]2. How am I able to change graph colors or style in "Monitors".[/quotef23951d27f]

This depends on what you're trying to change the colors of.
If you're trying to change the colors of the monitors (groups -> device -> subdevice -> monitor list), there really isn't a way right now. These are supposed to be just small representations of the data.
If you don't like that we use a green area for inbound traffic and a blue line for outbound traffic on the lan graphs, you can edit these by going to 'template graph', the clicking on the name of the graph you want to edit ('LAN Traffic'), and then editing the items.
If you want to change the background of the graphs from white to black, we can't do that yet. We have it in our TODO, but it hasn't made it as a feature yet.

-Doug

pashen

16-05-2004 05:11:43

[quoteb4cd036c4d="silfreed"][quoteb4cd036c4d="pashen"]1. Is it possible to not add script param to "Test" name ?
I'd like to hide it from my customers.[/quoteb4cd036c4d]

Can we get an example? I'm not quite sure I understand what you mean.
[/quoteb4cd036c4d]
In Device Tree I see
Group Group Name
Device Device Name
Sub-Device Sub-Device Name
Monitors Script Name - Params (which I pass to script by Parameters field)

I'd like to hide "Params" .

Next case
I use perl scripts for network monitoring.
I defined "Interfaces" sub-device with sub-device type = Interface.
But it doesn't work. I see in netmrg-gatherer debug output such message
[L 0128, C 1024] MySQL Update Succeeded. (INSERT INTO log SET date=NOW(), dev_id=8, subdev_id=9, mon_id=NULL, level=16, component=8, message = 'Interface subdevice has no interface parameters.')

What should I do ?

Scripts for network monitoring should return together bytes in and bytes out (mrtg style) or single values ?

I've same problem with sub-device-type = "Disk"
'Disk subdevice has no disk parameters.''

Thanks
Pashen

balleman

16-05-2004 12:51:05

The disk and interface subdevice types are used to take advantage of the snmp caching that NetMRG performs. If you add a parameter such as 'ifDescr' to the subdevice, NetMRG will match that to the appropriate interface on the device, and automatically populate other parameters, such as 'ifIndex'. If you don't plan on using that feature, use a 'Group' subdevice.

At the moment, all script tests in NetMRG are expected to return a single value.