Alas, only if migration from CentOS 6 to 7 was in my hand :P. 
But thanks for the suggestion, will give process exporter a try.

On Wednesday, April 1, 2020 at 2:50:39 AM UTC+5:30, Christian Hoffmann 
wrote:
>
> Hi, 
>
> On 3/31/20 12:22 PM, Yagyansh S. Kumar wrote: 
> > Hi. We have systemd collector in Prometheus that enables us to get the 
> > metrics - status of services from systemd. This works well in CentOS 7. 
> > But CentOS 6 does not have systemd, hence, the collector keeps throwing 
> > error. Is there any alternative for this for CentOS 6? 
>
> I don't think there is any alternative which is as integrated/powerful 
> as systemd is on CentOS 7 and onwards. 
> There are lots of service supervisors. Technically, CentOS 6 uses 
> Upstart. However, almost no service seemed to make use of it, not even 
> system ones. Instead, most of the services were plain old SysV init 
> scripts. For those, there is no such supervision or integrated API for 
> monitoring. 
>
> Basically, I would go for process-based monitoring in this case (using 
> process_exporter). 
>
> On the other hand, support for CentOS 6 will end in only a few months so 
> I guess any efforts should be invested regarding migrations towards 
> CentOS 7 or 8... 
>
> Kind regards, 
> Christian 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/9b7330d0-ee3c-4eb6-a6b8-9a2f32107095%40googlegroups.com.

Reply via email to