"jcurry" wrote:
The wiki page looks useful but a couple of lines of instruction would be helpful on how to add to the page. I can see how to add a comment but not sure how to modify the page to add to the bottom (rather than just a comment)??
Cheers,
Jane
evt.component = "Node: %s:%s" % (evt.bigipNotifyObjNode, evt.bigipNotifyObjPort)
evt.component = "Node: %s:%s" % (gethostbyaddr(evt.bigipNotifyObjNode), evt.bigipNotifyObjPort)#!/usr/bin/python
from socket import *
bigipNotifyObjNode = "74.125.45.100"
bigipNotifyObjPort = "2"
component = "Node: %s:%s" % (gethostbyaddr(bigipNotifyObjNode), bigipNotifyObjPort)
print componentevt.component = evt.bigipNotifyObjPortfor the component...
Yup - there is an Edit tab after I log in but it doesn't seem to do
anything. There is an "Actions" button with cut, copy, paste,
delete, rename and an "Add to folder" tab with lots of actions - all
apparently active. The only tab that doesn't seem to be active is
"Edit".
Could someone post a quick "Updating the wiki" item to the wiki!
Cheers,
Jane
_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users
We have this page: http://www.zenoss.com/community/get-involved/how-to-contribute-web-content
Editing the wiki has been a pain for awhile, we're looking at
replacing it with something much easier to use soon (and keeping all
the existing content of course).
Thanks,
Matt Ray
Zenoss Community Manager
community.zenoss.com
mray@zenoss.com
On Jan 6, 2009, at 3:09 AM, jcurry wrote:
Yup - there is an Edit tab after I log in but it doesn't seem to do
anything. There is an "Actions" button with cut, copy, paste,
delete, rename and an "Add to folder" tab with lots of actions - all
apparently active. The only tab that doesn't seem to be active is
"Edit".
Could someone post a quick "Updating the wiki" item to the wiki!
Cheers,
Jane
_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users
from socket import gethostbyaddr
evt.eventKey = evt.device + "ospfIfStateChange"
if evt.ospfIfState == 1:
ospfIfState = "down"
evt.severity = 5
elif evt.ospfIfState == 2:
ospfIfState = "loopback"
elif evt.ospfIfState == 3:
ospfIfState = "waiting"
elif evt.ospfIfState == 4:
ospfIfState = "point To Point"
evt.severity = 0
elif evt.ospfIfState == 5:
ospfIfState = "designated Router"
evt.severity = 0
elif evt.ospfIfState == 6:
ospfIfState = "backup Designated Router"
evt.severity = 0
elif evt.ospfIfState == 7:
ospfIfState = "other Designated Router"
evt.severity = 0
else:
ospfIfState = "Unknown"
try:
intIP = evt.ospfIfIpAddress
intName = gethostbyaddr(intIP)[0]
except Exception, ex:
intName = evt.ospfIfIpAddress
evt.summary = "OSPF interface, " + intName + ", state changed to " + ospfIfState
from socket import gethostbyaddr
evt.eventKey = evt.device + "ospfNbrStateChange"
if evt.ospfNbrState == 1:
ospfState = "Down"
evt.severity = 5
elif evt.ospfNbrState == 2:
ospfState = "Attempt"
elif evt.ospfNbrState == 3:
ospfState = "init"
elif evt.ospfNbrState == 4:
ospfState = "two way"
elif evt.ospfNbrState == 5:
ospfState = "Exchange Start"
elif evt.ospfNbrState == 6:
ospfState = "Exchange"
elif evt.ospfNbrState == 7:
ospfState = "Loading"
elif evt.ospfNbrState == 8:
ospfState = "Full"
evt.severity = 0
else:
ospfState = "Unknown"
try:
peerIp = evt.ospfNbrIpAddr
peerName = gethostbyaddr(peerIp)[0]
except Exception, ex:
peerName = evt.ospfNbrIpAddr
evt.summary = "OSPF State Changed to " + ospfState + " with peer " + peerName
|
Follow Us On Twitter »
|
Latest from the Zenoss Blog » |
|
Community | Products | Services Resources | Customers Partners | About Us | |
|
|
|
Copyright © 2005-2010 Zenoss, Inc.
|
||||||