munin sensors plugin
hi.
I recently installed the munin software (munin.projects.linpro.no) to monitor workstations and servers in my LAN. from the servers I am able to get all the infos I need (cpu, ram, inodes, etc..) but with the hot italian summer approaching I would like to monitor the workstation's sensors too. the problem is I can't configure properly the munin-node plugin in order to send the munin server data like CPU temperature, fans speeds and voltages. I read at least twice all the documents on the official munin website but I still can't figure out if the plugin code has to be edited or if I need to set special environment variables. the plugin requires lm-sensors and the the i2c modules and I have both: Quote:
Quote:
Quote:
I'm sorry for the (maybe) dumb question but I really don't know where to look :confused: this is the plugin code: Code:
#!/usr/bin/perl -w |
did you work it out
I have the same problem! argh...
|
Some hints
Quote:
Quote:
I guess, you're running both - server and node scripts - on the same machine. This is covered by the standard Munin configuration AFAIK from my install (Debian GNU/Linux package for lenny aka 5.0). A central Munin server collecting data from multiple machines seems not to hard to configure and requires some additional statements in the Munin server configuration file typically located at /etc/munin/munin.conf . Quote:
Code:
#> ls -al /etc/munin/plugins/ Code:
#> munin-run sensors_fan suggest Code:
sensors_fan -> /usr/share/munin/plugins/sensors_ Configuration hints reside inside each plug-in script. Just open it with your favorite editor. In the header you should find hints about options for that plug-in to be put into the central Munin plug-in configuration file /etc/munin/plugin-conf.d/munin-node . Editing the scripts is often not necessary, but you may customize them or even create your own as you like (if you're able to do so). Quote:
Code:
#> munin-run sensors_fan Quote:
Code:
#> munin-run sensors_fan config Quote:
You have a WWW server at the same machine Munin is running on? If not, you'll have to install one, to get the graphs in /var/www/munin by directing you Browser of choice to <munin-server-ip>/munin . Hope, that will give you something to continue. |
Munin - sensors_ and ipmi_
Hi,
I know this is 3 years after the last post... but hopefully there is a response =) I've ran the command, Code:
munin-run sensors_fan sensors_ or preferably for the file, ipmi_ ipmi_ mostly works, but there are no graphics displayed on the web interface. Thank you for your time. Kind Regards, gshergill |
Config? Not the problem
Quote:
Quote:
I bet you're missing the appropriate programs. So install matching versions of 'lib-sensors<n>' and 'lm-sensors', preferably with your package manager, whatever flavor you use, and check again, please. |
Hi hasienda,
Perfect reply! Thank you. The issue was that lm-sensors was missing, I didn't realise it was not installed as part of the package. Applied your solution to the issue with "ipmi_", and it worked perfectly too (ipmitool in this case). Now comes the attempt to integrate all of this with Nagios XI... Thanks a lot for the reply, really appreciated the help. Kind Regards, gshergill |
All times are GMT -5. The time now is 12:03 AM. |