[10:26:43] Maxime Ritter a dit : hi [10:26:51] Pavel Pavlov a dit : Hi Maxim [10:27:16] Maxime Ritter a dit : i need to check that a process is still running on raid-dell2.carpediem.fr & antiviral.carpediem.fr [10:27:28] Maxime Ritter a dit : [root@raid-dell2:/var/log] # ps auxww | grep postgrey 10:26 postgrey 3716 0.1 1.1 34120 11948 ? Ss 10:18 0:00 /usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000 [10:27:50] Maxime Ritter a dit : a process named postgray must be running at all time on these machines [10:28:01] Pavel Pavlov a dit : ok i see [10:28:14] Maxime Ritter a dit : can u look if it's possible to do that with nagios ? [10:28:30] Pavel Pavlov a dit : ok no problem i will find some solution [10:29:04] Pavel Pavlov a dit : i can try to see if there is a way with nagios to chek postgrey [10:29:07] Pavel Pavlov a dit : do you think will be ok [10:29:37] Pavel Pavlov a dit : i think there was something like that alredy exsisting [10:29:44] Pavel Pavlov a dit : let me do some reading [10:30:17] Maxime Ritter a dit : there is a tool called check_procs, but i don't know if it can do it [10:30:31] Pavel Pavlov a dit : i will do it not a problem [10:31:56] Pavel Pavlov a dit : there is example something like that [10:31:57] Pavel Pavlov a dit : check_procs -w 2:2 -c 2:1024 -C portsentry [10:32:01] Pavel Pavlov a dit : Warning if not two processes with command name portsentry. Critical if < 2 or > 1024 processes [10:32:13] Pavel Pavlov a dit : but i will make some experiments [10:32:26] Pavel Pavlov a dit : i will send you msg when iti s done [10:32:32] Maxime Ritter a dit : ok [10:48:54] Maxime Ritter a dit : i need also the same thing on https [10:49:15] Pavel Pavlov a dit : ok i see [10:49:28] Pavel Pavlov a dit : is thee runing proces postrey [10:49:31] Pavel Pavlov a dit : on https [10:49:34] Maxime Ritter a dit : (it's a process which helps to fight spams on mail servers... antiviral, https & raid-dell2 ) [10:49:53] Pavel Pavlov a dit : ok i see no problme [10:50:13] Pavel Pavlov a dit : ok i saw it [14:37:01] Pavel Pavlov a dit : nagios is not good for monitor if proces is working or not [14:37:39] Pavel Pavlov a dit : it is good for monitoring if there is to man proccesses [14:37:51] Pavel Pavlov a dit : but i found a difrent soft to monitor that [14:37:58] Pavel Pavlov a dit : i work on it now [14:38:22] Pavel Pavlov a dit : it sends mail again and i tihnk it wont be a problem to send and SMS [14:38:43] Pavel Pavlov a dit : i have to make some experiments [16:29:46] Pavel Pavlov a dit : look how it looks now can you open this [16:29:47] Pavel Pavlov a dit : http://https.carpediem.fr:2812/ [16:30:23] Pavel Pavlov a dit : this software also automaticaly will reboot the postfix and postgrey if they stop [16:31:06] Pavel Pavlov a dit : is that the way how i restart the postgrey [16:31:06] Pavel Pavlov a dit : start program = "/usr/local/etc/rc.d/postgrey.sh start" stop program = "/usr/local/etc/rc.d/postgrey.sh stop" [16:31:21] Pavel Pavlov a dit : and the postfix [16:31:21] Pavel Pavlov a dit : start program = "/usr/local/etc/rc.d/postfix start" stop program = "/usr/local/etc/rc.d/postfix stop" [16:31:38] Pavel Pavlov a dit : the username is : delbary [16:31:43] Pavel Pavlov a dit : pass : gambler1 [16:32:03] Pavel Pavlov a dit : for now i have just small problems sendingt the mails