Re: What am I doing wrong ?
"Mark Pace Balzan" <[email protected]> Thu, 21 Dec 2006 09:49:11 +0100
| Newsgroups | gmane.comp.monitoring.sysmon.help |
|---|---|
| Message-ID | <[email protected]> |
Hi Noel, Thanks for your email. In my config, 10.0.0.215 is the IP of my sysmon box. I used the IP and hostname rather than 127.0.0.1 and localhost, but I guess it doesn't harm to try I setup all dependencies on the sysmon box in the current config in an effort to isolate the issue. I had a larger hierarchy before, with a much larger number of objects, but the problem persists even with the simplest config. The log file doesn't point to anything wrong: Dec 21 2006-09:06:05 : Starting sysmon v0.93-pre3 Dec 21 2006-09:06:05 : sysmond: INFO: hold queue set to 480000 for icmp packets Dec 21 2006-09:06:05 : sysmond: INFO: hold queue set to 202500 for icmpv6 packets Dec 21 2006-09:21:08 : dnscache - 18 hit 7 miss 0 exp 7 count entr 7 est entries Dec 21 2006-09:36:09 : dnscache - 36 hit 7 miss 0 exp 7 count entr 7 est entries Thanks Mark > -----Original Message----- > From: Noel Kelly [mailto:nkelly-Yvbmdn8Y/[email protected]] > Sent: 21 December 2006 09:36 > To: Mark Pace Balzan > Cc: sysmon-help-li9M/[email protected] > Subject: Re: [sysmon-help] What am I doing wrong ? > > Hi Mark, > > I am no expert but it looks to me like your root dependency is not up > and so nothing else will be checked. > > Can you ping 10.0.0.215 from the command line? What I do is make my > root dependency localhost 127.0.0.1 to ensure that networking > is up and > available. So you could do that and then make 'internal' a > dependency > on that and the other dependencies on 'internal' (as you have). > > What does the log file say when you start sysmond? > > HTH > Noel > > Mark Pace Balzan wrote: > > Hi All, > > > > > > Im having a hard time getting sysmon to work in a reliable fashion, > > although it looks like other have had success. > > > > Sysmon seems to be reporting a number of devices as not > reachable via > > ping, when they really are up. > > > > Ive stripped down my config to rather basic now, but still > cant figure > > out why this is happening. > > > > Below is the output text file (I chose textfile output not > html in the > > config), as well as the relevant config file options > > > > > > Hopefully someone can shed some light > > > > OS: FreeBSD tantalum.melitacable.com 5.5-RELEASE FreeBSD > 5.5-RELEASE #0: > > Tue May 23 14:58:27 UTC 2006 > > > > > > Thanks > > > > Mark > > > > > > > > Network Summary sysmon v0.93-pre3 > > Hostname Type Port DownN UpN NotifiedStat > Time > > Failed > > 10.0.0.215 ping 0 0 43 No up > Dec 20 > > 20:42:39 > > 10.0.0.212 ping 0 0 18 No up > Dec 20 > > 22:50:29 > > 10.0.0.99 ping 0 0 18 No up > Dec 20 > > 22:50:29 > > 10.0.0.197 ping 0 0 18 No up > Dec 20 > > 22:50:29 > > 10.0.0.213 ping 0 0 18 No up > Dec 20 > > 22:50:29 > > > > > > Config: > > > > root = "internal"; > > ; > > # > > # Comments can look like this > > ; or this > > > > # create a file for web page users > > config statusfile text "/usr/local/share/serversstatus3.txt"; > > # > > # show up and down for hosts/services > > config showupalso; > > # > > # Log devices that are up/down > > config logging file "/var/log/sysmon-servers3.log"; > > # > > # Configure an authentication key -- Default is none > > #config authkey "Debug"; > > # > > # Set the sender to be sysmon@localhost > > config sender "sysmon"; > > # > > # Expire in-process dns cache this often > > config dnsexpire 7200; > > # > > # Do not queue more than this many objects to be checked at once > > config maxqueued 50; > > # > > # service frequency > > config queuetime 300; > > # > > # how many times host is found down before email or sms is sent > > config numfailures 2; > > # > > # send reminder email/sms for event ... value in minutes > > config pageinterval 10; > > > > # Not implemented yet > > #config snmp-trap; # catch snmp-traps > > > > object internal { > > ip "10.0.0.215"; > > type ping; > > desc "internal"; > > }; > > > > object srvneon { > > ip "10.0.0.212"; > > type ping; > > desc "srvneon"; > > dep "internal"; > > }; > > > > Same for other objects > > > > > > > > _______________________________________________ > > Sysmon-help mailing list > > Sysmon-help-li9M/[email protected] > > https://puck.nether.net/mailman/listinfo/sysmon-help >