Regarding snmp databyte multiplication
Gaurav Ghimire
gaurav at subisu.net.np
Tue Jun 23 11:07:54 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well, for you are trying to modify the value nagios gets after the snmpget and not the nagios output [OK, CRITICAL, etc etc] . I doubt there
wouldn't be an actual way of doing it after nagios had already executed the plugin. Rather you could go recode check_snmp.c to suit your needs
cutting out all the other crap.
Moreover it would be more better if you could add one more parameter that takes the multiplication unit to your modded check_snmp.c
Sujeet Mulmi wrote:
> Hi,
>
> I have used nagios to get some information of disk usage of my
> NAS . However I could get the correct parameter with the correct OID,
> but I felt to scaled it . I was wondering how can I do multiplication of
> the output value with some units to get the exact result. Any highlight
> will be appreciated.
>
> Thanks in advance.
>
> Rgds,
> Sujeet
Regards,
- --
Gaurav Ghimire
System Administrator
Subisu Cablenet (P.) Ltd.
148 Thirbum Sadak
Baluwatar, Kathmandu
Nepal
http://www.subisu.net.np
First and Only True Cable Internet Service Provider in Nepal
(An ISO 9001:2000 Certified Company)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpAm2kACgkQnfv7imVnL2t8zgCePhOdcetc9zJlL9k+at94asru
fQIAoKOqtwBERkFN/r9lo9+eftzadG5D
=npNG
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list