Need to create around 50 users in WebNMS so I used the
UserConfig.sh script and the users were added to the system. Now, I
needed to update the users' full names so I created a program
which uses the setDescriptiveName method defined in the
AuthorizationAdmin interface. The program is being executed with no
exceptions and I am able to see the user's full name in the
database. However, the updated full name is not being shown in
Security Administration application and also, when the WebNMS
processes are restarted, the full name in the database is restored to
the default one, the user name; it seems the setDescriptiveName
method does not make the change persistent in the system. Is there a
workaround for this?
I am processing performance data from a non-SNMP device parsing a
text file.
A polling object was defined in the Polling.conf file with the
custom protocol name and oid attribute defined as "command".
I can see the STATSDATA tables populated. Where I am having
problems is when I try to retrieve the data from a Java program. In
the program I have a PolledData object, when I invoke
PollAPI's getCollectedData method I am getting a null reference,
same situation when invoking the getCollectedValues method. If I
invoke the getLastTimeValue method on the PolledData object the value
returned is correct but not for the getLastCounterValue method. Also,
the getId and getName mehtods return correct values. How can I get the CollectedData?
I am working with WebNMS 5.2 and I am interested in writing an application that will receive events using the EventObserver interface. I began testing the snippet described at the EventObserver javadoc. The program registers with the EventAPI but the update method never announces the Observer received an event.
I noticed that the nmserr.txt log file is sending the following exception; seems that a class is misnamed:
[17 Feb 2014 05:07:54:225] EVENTERR: Remote object error:java.rmi.ServerError: Error occurred in server thread; nested exception is:
I configured an Event Filter which sends an e-mail message if the event has a Critical or Major severity.
Modified the filter; I added the text !Alarm 1 in the "Message" field of the "Filter Criteria" window so the filter will send the e-mail message if the event has either a Critical or Major severity and the event message does not contain the Alarm 1 text. Again, it works fine. I am facing a problem when I want to add additional text patterns in the Message field, for example, !Alarm 1,!Alarm 2 which, in my understanding, will ignore events that contain either the Alarm 1 or Alarm 2 text within the message field but in this scenario the filter just ignores the message field criteria. I wondered if blank spaces were the reason of my problem so I enclosed in quotes the text patterns but got the same result. Could you, please, help me letting me know if I am doing something wrong?
I have an EMS which stores performance data in a CSV file. I created my custom Protocol Provider to have it loaded into WebNMS and it seems to work fine as I see data coming in into the proper statsdata tables. However, when trying to graph the current or collected statistics in GraphViewer it just shows an empty graph and the "No data available" or "No response from agent messages". I am running the client in the same machine where the server processes are running. I also checked the timestamp values in the statsdata tables and seems to be OK. What other thing I should check so I can graph the values?