From: Buchan M. <bg...@st...> - 2009-11-30 11:15:41
|
On Monday, 30 November 2009 09:40:31 Ambati Srinivas wrote: > *Hi Guys, > > Please, Please help me out. > > I have installed Xymon 4.3.0-0.beta2 on Sun Solaris* *(SunOS bsma06 5.10 > Generic_139555-08 sun4u sparc SUNW,Sun-Fire-480R), I had successful > installation. I had installed Devmonn-0.3.0. and SNMP_Session-1.13 also to > monitor few network devices (Cisco Switches and routers). however when I > grep for devmon no PID shows up as shown below: You didn't state that you had attempted to start it. If it does not start, the recommended route would be to look at the options it supports (by providing the --help option). Specifically, -v or --debug may help. > -bash-3.00# ps -ef | grep devmon > root 6849 3708 0 14:06:33 pts/1 0:00 grep devmon > -bash-3.00# ps -ef | grep Devmon > root 6858 3708 0 14:06:42 pts/1 0:00 grep Devmon > -bash-3.00# ps -ef | grep DEVMON > root 6897 3708 0 14:07:01 pts/1 0:00 grep DEVMON > > As shown in devmon.cfg > # PIDFILE: Sets the full path to the Devmon process ID file. The directory > # containing this file should be read/writable by the user running the > Devmon > # process. (case sensitive) [DEFAULT: /var/run/devmon/devmon.pid] > PIDFILE=/var/run/devmon/devmon.pid Does this directory exist, and is it writeable by the user devmon runs as? If not, it *should* log this to the log file, *if* it has permission to write to the log file. In 0.3.1-beta1 I think I fixed it to log to the console if it could not open the log file ... > Please let me know what more details you may require. > > some info I am providing: I manually changed owner and group of files to > root:root, earlier they were 501:501, which I didn't understand. It is your responsibility to ensure correct ownership of file extracted from a tarball. This is however another reason for me to consider providing a make file just to provide an install target. > /usr/local/**devmo**n > -bash-3.00$ ls -l > total 86 > -rw-r--r-- 1 root root 836 Nov 30 14:51 @!: > -rw-r--r-- 1 root root 9001 Apr 3 2008 CHANGELOG > -rw-r--r-- 1 root root 15122 Apr 3 2008 COPYING > -rw-r--r-- 1 root root 4935 Apr 3 2008 README > -rwxr-xr-x 1 root root 1153 Apr 3 2008 devmon > -rw-r--r-- 1 root root 5999 Nov 30 14:08 devmon.cfg > drwxr-xr-x 2 root root 512 Apr 3 2008 docs > drwxr-xr-x 2 root root 512 Apr 3 2008 extras > -rw-r--r-- 1 root root 119 Nov 30 15:01 hosts.db > drwxr-xr-x 2 root root 512 Apr 3 2008 modules > drwxr-xr-x 40 root root 1024 Apr 3 2008 templates > -bash-3.00$ > > Thanks so much. It would help me if you could tell me what documentation you were following, so that I can improve it to address any areas that were not covered sufficiently. Regards, Buchan |