Package: netmrg
Version: 0.18.2-14
Severity: normal

The documentation says:

  edit info about a monitor
[...]
  + Script Options
    o Parameters  -  specifies  a string which will be
      appended  to  the script's parameters. Parameter
      expansions are honored in this field.

So I created a Test script as follows:
   Name:                     LMSensors
   Command:                  local-netmrg-lmsensors.pl
   Data Type:                Standard Out
   For use with this device: Linux Box

Then I created a monitor as follows:
   Monitoring Type:          Script
   Script Test:              LMSensors
   Parameters:               temp1
   Data Type:                Gauge
   Minimum Value:            U
   Maximum Value:            U
   Subdevice:                Amboise - Hardware Monitors

But netmrg-gatherer is running the following command:

[L: 0064, C: 0512] [Dev: 0002] [Sub: 0017] [Mon: 0064] Sending
'/usr/lib/netmrg/local-netmrg-lmsensors.pl' to shell.

Instead of the expected '/usr/lib/netmrg/local-netmrg-lmsensors.pl
temp1'.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.8fg1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages netmrg depends on:
ii  adduser                    3.102         Add and remove users and groups
ii  apache2-mpm-prefork [httpd 2.2.3-3.2     Traditional model for Apache HTTPD
ii  debconf [debconf-2.0]      1.5.11        Debian configuration management sy
ii  libc6                      2.3.6.ds1-11  GNU C Library: Shared libraries
ii  libgcc1                    1:4.1.1-21    GCC support library
ii  libmysqlclient15off        5.0.32-3      mysql database client library
ii  libsnmp9                   5.2.3-7       NET SNMP (Simple Network Managemen
ii  libssl0.9.8                0.9.8c-4      SSL shared libraries
ii  libstdc++6                 4.1.1-21      The GNU Standard C++ Library v3
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  mysql-client-5.0 [mysql-cl 5.0.32-3      mysql database client binaries
ii  php4                       6:4.4.4-8     server-side, HTML-embedded scripti
ii  php4-cli                   6:4.4.4-8     command-line interpreter for the p
ii  php4-mysql                 6:4.4.4-8     MySQL module for php4
ii  rrdtool                    1.2.15-0.3    Time-series data storage and displ
ii  wwwconfig-common           0.0.48        Debian web auto configuration
ii  zlib1g                     1:1.2.3-13    compression library - runtime

netmrg recommends no packages.

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to