lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Howto or feature request.

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
pashen
Helper


Joined: 12 May 2004
Posts: 22

PostPosted: Sat May 15, 2004 2:52 pm    Post subject: Howto or feature request. Reply with quote

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
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Sat May 15, 2004 7:34 pm    Post subject: Re: Howto or feature request. Reply with quote

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


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

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


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
Back to top
pashen
Helper


Joined: 12 May 2004
Posts: 22

PostPosted: Sun May 16, 2004 9:11 am    Post subject: Re: Howto or feature request. Reply with quote

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


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

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
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Sun May 16, 2004 4:51 pm    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group