From: James Wu on 23 Mar 2010 13:40 > We are using autofs to mount cdrom and dvd iso images. There > are nearly 100 of them. Too many to really monitor > individually so we wanted to just monitor autofs. It looks > to me like each auto.* file in /etc spawns it's own process > and pid. And the pid changes each time the daemon is > restarted or the mount point expires and is then re-mounted. > If we could just monitor the pid spawned by auto.master I > think that would do it for us. I asked in another reply in > this thread if a daemon could be assigned a pid but don't > have a response yet. If it spawns a new process each time it mounts a new partition, would it not have a parent process that would at least be constant on the server? If that's the case, maybe you should just monitor the parent process. Otherwise, it would make sense to monitor a partition instead of a pid for a specific spawned process. James -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/FFFA2CACDB4D5C44A24B093011381218011A8D89(a)ersbs2.eyeReturn.local
From: Brian on 24 Mar 2010 11:50
> If it spawns a new process each time it mounts a new > partition, would it > not have a parent process that would at least be constant > on the server? > If that's the case, maybe you should just monitor the > parent process. > Otherwise, it would make sense to monitor a partition > instead of a pid > for a specific spawned process. > > James > It looks like the parent process snmp mib is also tied to it's pid and would change whenever the daemon is restarted. I am beginning to wonder if you can monitor Debian daemons at all with snmp. Brian -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/358448.84179.qm(a)web33804.mail.mud.yahoo.com |