-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gaurav Ghimire wrote: > 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
I don't know if it helps though. That was what I understood. > > 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 T: 00977 1 4429616/17 Ext.: 110 F: 00977 1 4430572 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) iEYEARECAAYFAkpAm+MACgkQnfv7imVnL2tU2wCgxn4BaIpln2BgdrYRGDn+pOPP mf0An2gWaQDi410sm9rDcug6fXHMYvw0 =ghjw -----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@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