monitoring mongodb with monit Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!mysql monitoring with monitMonit not restarting serviceMonit detecting error, but not restarting asteriskmongoDb 2.6 fails to start on Oracle Linux using the init scriptConfigure Monit to monitor PHP5-FPM on Ubuntu/Nginx setupAwaken monit daemon every few hours for all monitored processesExecute custom monit script upon failure to restart the processEnabling WiredTiger engine in MongoDB 3Monit for PHP7 connection failedCan not connect to MongoDB with Mongo Compass CE
Can melee weapons be used to deliver Contact Poisons?
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
Is there a kind of relay only consumes power when switching?
Using audio cues to encourage good posture
Why do the resolve message appear first?
Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?
Does classifying an integer as a discrete log require it be part of a multiplicative group?
How to answer "Have you ever been terminated?"
Can an alien society believe that their star system is the universe?
What is homebrew?
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
Would "destroying" Wurmcoil Engine prevent its tokens from being created?
Why didn't Eitri join the fight?
8 Prisoners wearing hats
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
What do you call the main part of a joke?
What causes the direction of lightning flashes?
How to tell that you are a giant?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
Dating a Former Employee
Is it cost-effective to upgrade an old-ish Giant Escape R3 commuter bike with entry-level branded parts (wheels, drivetrain)?
Do I really need recursive chmod to restrict access to a folder?
Is the Standard Deduction better than Itemized when both are the same amount?
How to down pick a chord with skipped strings?
monitoring mongodb with monit
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!mysql monitoring with monitMonit not restarting serviceMonit detecting error, but not restarting asteriskmongoDb 2.6 fails to start on Oracle Linux using the init scriptConfigure Monit to monitor PHP5-FPM on Ubuntu/Nginx setupAwaken monit daemon every few hours for all monitored processesExecute custom monit script upon failure to restart the processEnabling WiredTiger engine in MongoDB 3Monit for PHP7 connection failedCan not connect to MongoDB with Mongo Compass CE
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I cannot get the most basic script working on monitoring mongodb on ubuntu 16.04 monit 5.16
check process mongod with pidfile /var/run/mongod.pid
group database
start program = "/usr/sbin/service mongod start"
stop program = "/usr/sbin/service mongod stop"
if failed host 127.0.0.1 port 27017 protocol http
and request "/" with timeout 15 seconds then restart
I get the error: Error reading pid from file '/var/run/mongod.pid'
but when I run cat /var/run/mongod.pid
as a regular user I do get the value 51455
I've changed permissions making it both less (0x777) and more restrictive to no avail. Anyone come across this?
ubuntu mongodb monit
add a comment |
I cannot get the most basic script working on monitoring mongodb on ubuntu 16.04 monit 5.16
check process mongod with pidfile /var/run/mongod.pid
group database
start program = "/usr/sbin/service mongod start"
stop program = "/usr/sbin/service mongod stop"
if failed host 127.0.0.1 port 27017 protocol http
and request "/" with timeout 15 seconds then restart
I get the error: Error reading pid from file '/var/run/mongod.pid'
but when I run cat /var/run/mongod.pid
as a regular user I do get the value 51455
I've changed permissions making it both less (0x777) and more restrictive to no avail. Anyone come across this?
ubuntu mongodb monit
add a comment |
I cannot get the most basic script working on monitoring mongodb on ubuntu 16.04 monit 5.16
check process mongod with pidfile /var/run/mongod.pid
group database
start program = "/usr/sbin/service mongod start"
stop program = "/usr/sbin/service mongod stop"
if failed host 127.0.0.1 port 27017 protocol http
and request "/" with timeout 15 seconds then restart
I get the error: Error reading pid from file '/var/run/mongod.pid'
but when I run cat /var/run/mongod.pid
as a regular user I do get the value 51455
I've changed permissions making it both less (0x777) and more restrictive to no avail. Anyone come across this?
ubuntu mongodb monit
I cannot get the most basic script working on monitoring mongodb on ubuntu 16.04 monit 5.16
check process mongod with pidfile /var/run/mongod.pid
group database
start program = "/usr/sbin/service mongod start"
stop program = "/usr/sbin/service mongod stop"
if failed host 127.0.0.1 port 27017 protocol http
and request "/" with timeout 15 seconds then restart
I get the error: Error reading pid from file '/var/run/mongod.pid'
but when I run cat /var/run/mongod.pid
as a regular user I do get the value 51455
I've changed permissions making it both less (0x777) and more restrictive to no avail. Anyone come across this?
ubuntu mongodb monit
ubuntu mongodb monit
asked Apr 12 at 5:39
farhadffarhadf
1084
1084
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962715%2fmonitoring-mongodb-with-monit%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962715%2fmonitoring-mongodb-with-monit%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown