Changing diskspace available from kilobytes to megabytes

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Tue Jan 13 02:58:14 CET 2009


The disk space units have nothing to do with Nagios, but with the output of
the particular plugin you are using.  The plugin 'check_disk', which comes
with the Nagios Plugins package, by default displays data in megabytes, but
you change the units with the proper argument.  It appears that plugin only
works with locally mounted filesytems.

There is another plugin called 'check_snmp_storage.pl' which allows you to
check diskspace of remote systems via SNMP.  It's units are in megabytes
only.  You could change this by editing the perl script, of course.

So, it all depends on the plugin you are using and whether or not the disk
space units are configurable.

I would suggest searching Google.  ;-)


James Moseley




                                                                           
             "Kaplan, Andrew                                               
             H."                                                           
             <AHKAPLAN at PARTNER                                          To 
             S.ORG>                    <nagios-users at lists.sourceforge.net 
                                       >                                   
             01/12/2009 07:15                                           cc 
             PM                                                            
                                                                   Subject 
                                       [Nagios-users] Changing diskspace   
                                       available from kilobytes to         
                                       megabytes                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi there --


We currently have several Nagios 2.6, and will eventually deploy version
3.0.6 servers running on our network.
Currently diskspace availability is shown in kilobytes, but I would prefer
to have it displayed in megabytes.


Is it possible to configure either versions of Nagios to have the output in
megabytes? If so, what needs to be
done in order to accomplish this? Thanks.





The information in this e-mail is intended only for the person to whom it
is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.
------------------------------------------------------------------------------

This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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