| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| nagios http://steveshipway.org/forum/viewtopic.php?f=20&t=1702 |
Page 1 of 1 |
| Author: | srianirudh [ Tue Jan 20, 2009 3:26 am ] |
| Post subject: | nagios |
i am a newbie in nagios , but i am learning it pretty quickly. I got a question nagios in its web interface shows disk drive utilization . it show total space , used space . where does it get this information from . does it store it anywhere. |
|
| Author: | adamy [ Tue Jan 20, 2009 4:32 am ] |
| Post subject: | Re: nagios |
Hi srianirudh, This is probably done locally via the check_disk plugin for nagios. There are also methods to do this with SNMP, but I am assuming this is a brand new install, so it is probably using check_disk. (depending on your distribution, etc. this may be located in /usr/lib/nagios/plugins/ or something similar). Thanks, Adam |
|
| Author: | stevesh [ Tue Jan 20, 2009 11:28 am ] |
| Post subject: | Re: nagios |
By default, Nagios will not store anything other than the status (green/yellow/red). You can enable the perfparse routines and get the numerical values stored elsewhere if you want, but you'll need to install additional software to deal with it (eg the nagiosgrapher code). Since MRTG likes to poll its data actively every 5 min, but Nagios has potentially irregular polling it is not always a good fit to try and get the Nagios data loaded into MRTG. Also, you'd need to make Nagios store it into a file somewhere that MRTG could check for the last known value. I don't know of any code to do exactly this available at the moment although I may be wrong. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|