Opsview module

23 views
Skip to first unread message

Galed Friedmann

unread,
Sep 4, 2011, 3:05:54 AM9/4/11
to puppet...@googlegroups.com
Hey all,
Has anybody here worked with the Opsview module in Puppet? I've done anything according to the manuals but when I run the agent nothing happens from that module and class, not even an error.

site.pp:
node /^proxy\d+\.instances\.vircado\.com$/ {
        include proxy, common, opsview
}
import "opsview"

modules/opsview/manifests/init.pp:
class opsview {
        opsview_monitored{ "test":
                ensure => present,
                hostgroup => "test",
                hosttemplates => ["test"],
                ip => "testserver",
                monitored_by => "master.instances.vircado.com",
                name => "test",
                reload_opsview => true,
        }

        notify{ "in opsview class": }

}


The notify inside the opsview class is working, however anything else is not making any sound, and not errors.

I'd really appreciate the help, couldn't find anything documented about this..

Thanks!

Reply all
Reply to author
Forward
0 new messages