Home › Forums › OS X Server and Client Discussion › Questions and Answers › MRTG on Panther server.
- This topic has 5 replies, 3 voices, and was last updated 19 years, 5 months ago by
serversolutions.
-
AuthorPosts
-
April 13, 2004 at 7:51 pm #357804
Lohquetis
ParticipantHiya everyone…
Anyone tried to get MRTG going at all on Panther? I tried this hint:
http://www.macosxhints.com/article.php?story=20031019185335693&query=build+firewallNo luck, it “broke” due to differences in Jaguar client and Panther server… Any luck out there?
Yours
Bobbi Styleaka Lohquetis
October 5, 2004 at 7:35 pm #359413Anonymous
GuestDo a “man snmpd.conf” and take a look. There’s a perl script it will tell you about, that will walk you through configuring your server’s SNMP settings. Once you go through this process, mrtg should be able to pull the snmp data and go to town.
September 9, 2005 at 6:47 am #363187Anonymous
GuestHas Richard or anyone got MRTG working on Mac OS 10.x server? Any infor on MRTG set up would be great. I would like to have MRTG running on our corporate Mac OS 10.4 Server to graph router throughput. I don’t really need to track/monitor Mac OS 10.x Server throughput. I undestand MRTG is just-another-unix application that can be set up to monitor and graph data from any SNMP host (ie most routers and computers running SNMP service).
September 20, 2005 at 7:29 pm #363320Anonymous
GuestRRDtool is a logging and graphing tool that grew out of the MRTG project.
November 10, 2005 at 6:33 am #364026serversolutions
Participant[QUOTE BY= Sam Venning] Has Richard or anyone got MRTG working on Mac OS 10.x server? Any infor on MRTG set up would be great. I would like to have MRTG running on our corporate Mac OS 10.4 Server to graph router throughput. I don’t really need to track/monitor Mac OS 10.x Server throughput. I undestand MRTG is just-another-unix application that can be set up to monitor and graph data from any SNMP host (ie most routers and computers running SNMP service).[/QUOTE]Yes I’ve got it working, rather than utilize all of the poorly written instructions I decided to go it from scratch and I was amazed that it’s much simpler than the other instructions imply.
install zlib-1.2.3, jpeg-v6b, libpng-1.2.8-config, libgd-2.0.33 using prefix of /usr/local.
Using the OS Installer CD/DVD, install X11 stuff if you haven’t already installed this when you installed the developer tools.
for mrtg, issue: (no options)
./configure
Here’s a tested 10.4 startup item for /System/Library/LaunchDaemons.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Iterations</key>
<integer>3</integer>
<key>Label</key>
<string>com.mrtg</string>
<key>LowPriorityIO</key>
<true/>
<key>Nice</key>
<integer>1</integer>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mrtg-2/bin/mrtg</string>
<string>--logging</string>
<string>/var/log/mrtg.log</string>
<string>/usr/local/etc/mrtg/mrtg.cfg</string>
</array>
<key>ServiceIPC</key>
<false/>
</dict>
</plist>
then
/usr/local/mrtg-2/bin/cfgmaker --ifref=descr \\
--global 'WorkDir: /Library/WebServer/Documents/mrtg/' \\
--global 'Options[_]: bits,growright' \\
--output /usr/local/etc/mrtg/mrtg.cfg \\
IP of snmp device
/usr/local/mrtg-2/bin/indexmaker \\
--output=/Library/WebServer/Documents/mrtg/index.html \\
/usr/local/etc/mrtg/mrtg.cfg
touch /var/log/mrtg.log
Using BBEdit (or a simiar text editor) edit “/usr/local/etc/mrtg/mrtg.cfg” and change
EnableIPv6: no
WorkDir: /Library/WebServer/Documents/mrtg/
Options[_]: bits,growrightto
NoDetach: Yes
RunAsDaemon: Yes
EnableIPv6: Yes
WorkDir: /Library/WebServer/Documents/mrtg/
Options[_]: bits,growrightNow start it up
launchctl load /System/Library/LaunchDaemons/com.mrtg.plist
Check the mrtg log, you may need to add some perl modules.
I added the following perl modules: (cpan must already be configured)
IO::Socket
Socket6
IO::Socket::INET6
— Dale
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed