Re: [opennms-devel] problems with HostResourceSwRunMonitor

"Enrique Amigó" <[email protected]> Tue, 4 Nov 2008 12:10:41 -0200
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
This is the result

henry@henry-laptop:~$ snmpwalk -v2c -c publica localhost hrSWRunName | grep
-i amarok
henry@henry-laptop:~$

in the file attached you can see an opennms snapshot in which it shows
amarok OK, but this snapshot was taken at the same time i do the snmpwalk
you requested

henry

On Tue, Nov 4, 2008 at 11:51 AM, Jeff Gehlbach <[email protected]> wrote:

> On Nov 4, 2008, at 8:39 AM, Enrique Amigó wrote:
>
> > I have followed the guide
> http://www.opennms.org/index.php/HostResourcesSwRunMonitor
> >  to check proccesses, everything seems to be ok, because opennms
> > discovers the proccess, but when the proccess is down, in opennms
> > still seems to be up. I'm using opennms 1.6
>
> Do this for us.  While the amarok process is not running, do an
> snmpwalk against the host where the service is discovered, and look
> for "amarok" in the output:
>
> snmpwalk -v2c -c public 10.11.12.13 hrSWRunName | grep -i amarok
>
> If you get any output, that indicates that the process exists.  The
> output would look like this:
>
> HOST-RESOURCES-MIB::hrSWRunName.1509 = STRING: "amarok"
>
> Take the instance identifier (in this case 1509) and see what the
> corresponding process state is:
>
> snmpget -v2c -c public 10.11.12.13 hrSWRunStatus.1509
>
> -jeff
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-devel mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
Screenshot.png (image/png, 152.2 KB) - not displayed