Re: CSRF does not work in iframe.

2017-09-13 Thread Bhuvan Gupta
Any help will be nice On Thu, Sep 7, 2017 at 12:37 PM, Bhuvan Gupta <bhuva...@gmail.com> wrote: > Hello all, > > I create a allMonit.html which have two iframe with src of two different > monit http interface running on two different system > > allMonit.html structure

Re: Wrong PID

2017-09-07 Thread Bhuvan Gupta
Using monit 5.23.0 on centos 7 On Sat, Aug 26, 2017 at 3:14 PM, Bhuvan Gupta <bhuva...@gmail.com> wrote: > Hello all, > > I have written check command like > > check process sample-test with pidfile /tmp/sample-test.pid > start = "/bin/sh -c 'cd /tmp ; nohup slee

CSRF does not work in iframe.

2017-09-07 Thread Bhuvan Gupta
Hello all, I create a allMonit.html which have two iframe with src of two different monit http interface running on two different system allMonit.html structure http://firstserver:2812;> http://seconderver:2812;> Now when i open allMonit.html in chrome , i see two monit interfaces.

Re: Re: Wrong PID

2017-09-07 Thread Bhuvan Gupta
Thanks for putting in time. As suggest by the community i have moved to using separate shell files, which work great :) Thanks On Fri, Sep 1, 2017 at 8:38 PM, <lutz.ma...@freenet.de> wrote: > Hello Bhuvan Gupta, > I'm late, but I can't give you some help or hint. > I

Re: Need help to setup monit for Prerender service

2017-08-28 Thread Bhuvan Gupta
Apoorwa, Just be cautious that using script directly in monit file has this syntax stop = "/bin/bash -c 'kill -s SIGTERM `cat /var/run/process.pid`'" references https://mmonit.com/monit/documentation/monit.html Also starting with nohup and using echo$! in centos might have a problem. See

Re: Wrong PID

2017-08-28 Thread Bhuvan Gupta
Lutz Mader, Thanks for the reply. Yes i understand that using separate script file is good idea. But just curious to know how things work and what might have gone wrong. Here is the details: monit 5.23.0 Centos 7 gnome: 3.14.2 On Sun, Aug 27, 2017 at 1:20 AM, Lutz Mader

Wrong PID

2017-08-26 Thread Bhuvan Gupta
Hello all, I have written check command like check process sample-test with pidfile /tmp/sample-test.pid start = "/bin/sh -c 'cd /tmp ; nohup sleep 1000 1>/tmp/sample-test.log 2>/tmp/sample-test.log & echo $! > /tmp/sample-test.pid'" with timeout 10 seconds stop = "/bin/sh -c 'kill -9