On 22 May 2009, at 13:14, Derek Hardiman wrote:

I'm testing out Opsview on CentOS 5.3 running on VirtualBox ahead of a full install.

Everything appears to be fine until I enabled SNMP trapping as per the RHEL instructions. Upon a config reload I now get the following error:

Cannot reload: Bad: Connection refused at /usr/local/nagios/bin/ send_opsview_cmd line 49

This line is

my $server = IO::Socket::UNIX->new(
                           Peer => $file,
                           Type => SOCK_STREAM,
                           Timeout => 10
                           ) or die "Bad: S!";

I can't confirm that this definitely related to enable SNMP, but it did occur after it. The VM was also rebooted. Any direction would be appreciated.

That connection refused is due to the opsview.cmd pipe not being available. The pipe is at /usr/local/nagios/var/rw/opsview.cmd. This is created by the opsviewd daemon, and is usually very solid.

There was a bug around 3.0.2 where forking errors could cause the daemon to die, but is definitely fixed in 3.0.4.

What do the logs in /var/log/opsviewd.log say? What version of Opsview are you using?

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/listinfo/opsview-users

Reply via email to