| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| PNS-Client w2k mem not showing up. http://steveshipway.org/forum/viewtopic.php?f=20&t=702 |
Page 1 of 1 |
| Author: | jwhitepnv [ Sat Aug 20, 2005 3:50 pm ] |
| Post subject: | PNS-Client w2k mem not showing up. |
| Author: | jwhitepnv [ Sat Aug 20, 2005 4:10 pm ] |
| Post subject: | Update |
If I run c:\mrtg\perl\bin\perl.exe c:\mrtg\mrtg\bin\mrtg-pnsclient.pl -H 172.30.1.204 -v MEMUSE from the command line it connects and shows me two lines of numbers and it reports Nagios query agent version 0.4 and when I call the config file it runs without any errors. Here is the entry in the config file for mem usage. Last update: Fri Aug 19 23:09:41 2005 Maximum: 1.57 Gb Total: Max -1.#J b, Avg -1.#J b, Last -1.#J b Used: Max 677.37 Mb, Avg 421.67 Mb, Last 195.38 Mb Total: Used: 95th Percentile for last 6 hours: ???b 692.93 Mb Here is the config section # Memory -- this is swap+physical, available and used. Target[edc1blp1tgt01-memory]: `c:\mrtg\perl\bin\perl.exe c:\mrtg\mrtg\bin\mrtg-pnsclient.pl -H 172.30.1.204 -v MEMUSE` Title[edc1blp1tgt01-memory]: edc1blp1tgt01 Memory usage MaxBytes[edc1blp1tgt01-memory]: 1609916416 PageTop[edc1blp1tgt01-memory]: null LegendI[edc1blp1tgt01-memory]: Total: LegendO[edc1blp1tgt01-memory]: Used: Legend1[edc1blp1tgt01-memory]: Total memory Legend2[edc1blp1tgt01-memory]: Used memory Legend3[edc1blp1tgt01-memory]: Peak memory Legend4[edc1blp1tgt01-memory]: Peak used memory Options[edc1blp1tgt01-memory]: gauge growright YLegend[edc1blp1tgt01-memory]: Bytes ShortLegend[edc1blp1tgt01-memory]: b routers.cgi*Options[edc1blp1tgt01-memory]: nototal routers.cgi*Icon[edc1blp1tgt01-memory]: chip-sm.gif routers.cgi*UnScaled[edc1blp1tgt01-memory]: none SetEnv[edc1blp1tgt01-memory]: MRTG_INT_DESCR="Memory" |
|
| Author: | stevesh [ Mon Aug 22, 2005 3:22 pm ] |
| Post subject: | |
It's possible that you don'thave MaxBytes set high enough. Try running the mrtg-pnsclient.pl script from the command line, as defined in the .cfg file, and see what the values output are. If they are larger than the MaxBytes number, then MRTG will store them as UNKNOWNs as they will be out of range. Alternatively, make the MaxBytes setting much larger and see if the line starts to appear (although you'd possibly need to have 'routers.cgi*UnScaled[ezwf]: none' then) Steve |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|