ganglia-monitor is missing default config file

Bug #2059736 reported by Nathan Moore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ganglia (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

Via apt, I installed ganglia-monitor on a machine running Ubuntu 22. ganglia-monitor contains a gmond service. Normally(?) install puts a config file for gmond in /etc. Details online https://github.com/ganglia/monitor-core/wiki/Ganglia-Quick-Start

So far as I can tell, no default config files for gmond or gmetad are installed via this package. When I start up ganglia, I get an error message about no config file being present.

Ganglia has been around forever, and I can't tell if it is under active development. https://github.com/ganglia/

In past ubuntu releases (20, 18?) a default config file was included as part of the apt install package.

System details

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
nathan@physlin6:~$ lsb_release -rd
Description: Ubuntu 22.04.4 LTS
Release: 22.04

nathan@physlin6:~$ apt-cache policy ganglia-monitor
ganglia-monitor:
  Installed: 3.7.2-6
  Candidate: 3.7.2-6
  Version table:
 *** 3.7.2-6 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

nathan@physlin6:~$ tree -a /etc/ganglia
/etc/ganglia
└── conf.d

1 directory, 0 files

nathan@physlin6:~$ sudo systemctl restart ganglia-monitor.service
[sudo] password for nathan:
Job for ganglia-monitor.service failed because the control process exited with error code.
See "systemctl status ganglia-monitor.service" and "journalctl -xeu ganglia-monitor.service" for details.
nathan@physlin6:~$ systemctl status ganglia-monitor.service
× ganglia-monitor.service - Ganglia Monitor Daemon
     Loaded: loaded (/lib/systemd/system/ganglia-monitor.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-03-28 19:28:28 CDT; 7s ago
       Docs: man:gmond(1)
    Process: 40226 ExecStart=/usr/sbin/gmond -c /etc/ganglia/gmond.conf (code=exited, status=1/FAILURE)
        CPU: 3ms

Mar 28 19:28:28 physlin6 systemd[1]: Starting Ganglia Monitor Daemon...
Mar 28 19:28:28 physlin6 gmond[40226]: Configuration file '/etc/ganglia/gmond.conf' not found.
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Control process exited, code=exited, status=1/FAILURE
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Failed with result 'exit-code'.
Mar 28 19:28:28 physlin6 systemd[1]: Failed to start Ganglia Monitor Daemon.
nathan@physlin6:~$ journalctl -xeu ganglia-monitor.service
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ganglia-monitor.service has begun execution.
░░
░░ The job identifier is 42989.
Mar 28 19:28:28 physlin6 gmond[40226]: Configuration file '/etc/ganglia/gmond.conf' not found.
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit ganglia-monitor.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Mar 28 19:28:28 physlin6 systemd[1]: ganglia-monitor.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit ganglia-monitor.service has entered the 'failed' state with result 'exit-code'.
Mar 28 19:28:28 physlin6 systemd[1]: Failed to start Ganglia Monitor Daemon.
░░ Subject: A start job for unit ganglia-monitor.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit ganglia-monitor.service has finished with a failure.
░░
░░ The job identifier is 42989 and the job result is failed.

nathan@physlin6:~$ apt info ganglia-monitor
Package: ganglia-monitor
Version: 3.7.2-6
Priority: optional
Section: universe/net
Source: ganglia
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Marcos Fouces <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 264 kB
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libapr1 (>= 1.2.7), libc6 (>= 2.34), libconfuse2 (>= 3.2.1~), libganglia1 (= 3.7.2-6), libpcre3, libtirpc3 (>= 1.0.2), zlib1g (>= 1:1.1.4), adduser, lsb-base
Homepage: http://ganglia.info/
Download-Size: 78.4 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: cluster monitoring toolkit - node daemon
 Ganglia is a scalable, real-time cluster monitoring environment
 that collects cluster statistics in an open and well-defined XML format.
 .
 This package contains the monitor core program.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.