On 2020-08-07 11:32, Deepak Gowda wrote:
> Hi Stuart,
>
> My Linux instance is a AWS linux .I am new to this and looking for a
> open source to monitor my Solr application hosted on the AWS linux.I
> learnt from the SOlr doc that Prometheus can be used for monitoring
> the application and tried setting it up .
> My setup steps were ,
>
> Dowloaded Prometheus
> :
https://github.com/prometheus/prometheus/releases/download/v2.20.1/prometheus-2.20.1.linux-amd64.tar.gz
> Ran the setup file. For the first time it ran and later getting errors
> ,I am stuck at now and no idea how to proceed .
>
> Could you please help me on it.
>
What do you mean by "ran the setup file"?
That tar contains the Prometheus binary plus associated resources.
You need to run the application with the correct command line options,
usually via a system such as systemd. You will also need to update the
prometheus.yaml file to match what you are wanting to monitor. Once
running Prometheus will store data in the data directory specified, as
well as start scraping targets listed in the configuration file.
I'd suggest reading
https://prometheus.io/docs/introduction/first_steps/
> On Friday, 7 August 2020 15:43:50 UTC+5:30, Deepak Gowda wrote:
>
>> I want to use Prometheus for monitoring Solr. How do i configure it
>> on the linux server?
>>
>> When i install prometheus and try running it ,gives me the error,
>>
>> "level=info ts=2020-08-07T10:03:08.155Z caller=main.go:583
>> msg="Scrape manager stopped"
>> level=error ts=2020-08-07T10:03:08.155Z caller=main.go:764
>> err="opening storage failed: lock DB directory: resource temporarily
>> unavailable"
>>
>> Any help would be much appreciated.
>>
>> Thanks
>
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/prometheus-users/a022682c-929e-4743-8266-96590d3bf464o%40googlegroups.com
> [1].
>
>
> Links:
> ------
> [1]
>
https://groups.google.com/d/msgid/prometheus-users/a022682c-929e-4743-8266-96590d3bf464o%40googlegroups.com?utm_medium=email&utm_source=footer
--
Stuart Clark