Dinh-Thanh Ngo | 22 Oct 14:31 2014
Picon

raid 5 disk status check

Hello Florian,
I excuted command lspci -knn and get the info below
...
04:00.0 RAID bus controller [0104]: Hewlett-Packard Company Smart Array Gen8 Controllers [103c:323b] (rev 01)
        Subsystem: Hewlett-Packard Company P222 [103c:3350]
..
 
can you help me
cheers
Thanh
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
J Kephart | 22 Oct 02:45 2014

External Command Help

Good evening ...

We've searched all we could find on using external commands for 
notifications, including various links provided by people on this list, 
but we've been unable to get an external command actually working for 
notifications.  There's plenty of documentation on using snpp and qpage, 
but little that we've found one executing a local script (e.g., a PHP 
script).  We're running Onms 1.10.x on CentOS 6.5.  The configuration we 
put into the notificationCommands.xml is:

--- SNIP ---
<command binary="true">
         <name>Local_Email</name>
         <execute>/usr/local/bin/mail</execute>
         <comment>class for sending email notifications</comment>
         <argument streamed="false">
             <switch>-subject</switch>
         </argument>
         <argument streamed="false">
             <switch>-email</switch>
         </argument>
         <argument streamed="false">
             <switch>-tm</switch>
         </argument>
</command>
--- SNIP ---

We've also configured destination paths to make use of this command.  
However, we see no indication that it's even being called.  Logs show 
nothing that definitively identifies either success or failure to run 
the external script.  Clearly, something's missing, but we're missing 
what it is.

Can anyone point us in the right direction?

Cheers,

Jim

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Mike Diehn | 21 Oct 19:11 2014

script to write prov req xml?


Does anyone already have a script written that will read a CSV or so and write a provisioning requisition XML file?

Note:
- provision.pl doesn't do it.
- I do not want to venture into Pris yet.

Thanks!
Mike

--
Mike Diehn
Development Operations
CD-adapco - Lebanon, NH
603 277 3188
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
jimmy83 | 9 Oct 16:52 2014
Picon

Non-IP interfaces data-collection

Hi Folks, I have managed to add a Cisco switch. It picks up hostname, ICMP,
SNMP etc but it doesnt show any of the physical interfaces. Its a 48 port
switch and I would like to collect data for some non-IP interfaces as well
(e.g. trunks etc). How do I do this ?
SNMPstorageflag is set to "all"

Under Node details: Status: 1 SNMP Primary "P"

--
View this message in context: http://opennms.530661.n2.nabble.com/Non-IP-interfaces-data-collection-tp7588199.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Dinh-Thanh Ngo | 20 Oct 15:34 2014
Picon

OpenNMS - VMware-ESX: too many events login and logout on VMware-ESX

Hello,
 
in OpenNMS I see the alle Virtuell - Server . But in event log vcenter I see each server write tow  rows login and logout in event log from Vcenter. So I have 500 Servers and all five minutes 1000 rows login and logout in event log.
 
someone knows , how the login and lougout event to disable.
 
Thanks
Ngo 
 
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
John W. Mahaffey | 17 Oct 22:14 2014

Need Help

I have installed OpenNMS and now need to know how to configure the system. The equipment that I want to monitor does not answer a SNMP walk, only a ping. The equipment is a MON-950 from International Tower Lighting. It can send out SNMP traps. The test box is sending out the traps and I see them in the events page.

 

Can someone assist, I have never worked with OpenNMS before.

 

Also the SNMP MIB compiler fails to compile the MON-950 mib.

Getting these errors.

Fri Oct 17 16:14:11 EDT 2014 [ERROR] Problem found when compiling the MIB:

ERROR: Parse error: expecting LOWER, found 'On', Source: 950v332%20ASN1%20.mib, Row: 25, Col: 28

ERROR: Cannot find imported symbol OBJECT-TYPE in module /opt/opennms/share/mibs/pending/950v332%20ASN1%20.mib, Source: 950v332%20ASN1%20.mib, Row: 16, Col: 4

 

MIB file and drawing of network is attached.

 

Thanks

John

 

John Mahaffey | Comporium

Engineering | Engineering Associate II

p. 803-326-7505



 

Attachment (950v332 ASN1 .mib): application/octet-stream, 6493 bytes
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Patrick Lacasse | 17 Oct 15:21 2014

Netbotz410-mib

Hi everyone,

 

I have a problem with getting information on some sensors connected to an APC Camera. The main APC Camera uses the NETBOTZ-410 mib. From this camera, 6 temperature probes are connected. I am able to reach these temperature probes asking the camera about them. This is the only way getting to the sensors because they are not connected to the network (they only connect to this camera in daisy chain). If I run this snmpwalk on the camera for the sensors indexes, we see this:

 

snmpwalk -v 2c -c commstring -On cameraName .1.3.6.1.4.1.5528.100.4.1.1.1.10

.1.3.6.1.4.1.5528.100.4.1.1.1.10.882181375 = Counter32: 882181375

.1.3.6.1.4.1.5528.100.4.1.1.1.10.1046259204 = Counter32: 1046259204

.1.3.6.1.4.1.5528.100.4.1.1.1.10.2641473744 = Counter32: 2641473744

.1.3.6.1.4.1.5528.100.4.1.1.1.10.2716713264 = Counter32: 2716713264

.1.3.6.1.4.1.5528.100.4.1.1.1.10.3174507982 = Counter32: 3174507982

.1.3.6.1.4.1.5528.100.4.1.1.1.10.3272018649 = Counter32: 3272018649

 

Which is equivalent to:

snmpwalk -v 2c -c commstring -m /usr/share/snmp/mibs/netbotz410.txt cameraName NETBOTZ410-MIB::tempSensorIndex

NETBOTZ410-MIB::tempSensorIndex.882181375 = Counter32: 882181375

NETBOTZ410-MIB::tempSensorIndex.1046259204 = Counter32: 1046259204

NETBOTZ410-MIB::tempSensorIndex.2641473744 = Counter32: 2641473744

NETBOTZ410-MIB::tempSensorIndex.2716713264 = Counter32: 2716713264

NETBOTZ410-MIB::tempSensorIndex.3174507982 = Counter32: 3174507982

NETBOTZ410-MIB::tempSensorIndex.3272018649 = Counter32: 3272018649

 

If I want to see temperature of each of these sensors, I can do this walk:

snmpwalk -v 2c -c commstring -m /usr/share/snmp/mibs/netbotz410.txt cameraName NETBOTZ410-MIB::tempSensorValueInt

NETBOTZ410-MIB::tempSensorValueInt.882181375 = INTEGER: 19

NETBOTZ410-MIB::tempSensorValueInt.1046259204 = INTEGER: 24

NETBOTZ410-MIB::tempSensorValueInt.2641473744 = INTEGER: 30

NETBOTZ410-MIB::tempSensorValueInt.2716713264 = INTEGER: 20

NETBOTZ410-MIB::tempSensorValueInt.3174507982 = INTEGER: 28

NETBOTZ410-MIB::tempSensorValueInt.3272018649 = INTEGER: 21

 

Now, my problem is when I try to get these values in opennms (collectd). What I found so far (putting the collectd in DEBUG) is that index: 882181375 and 1046259204 are being collected without error by opennms. But the others (2641473744, 2716713264, 3174507982, 3272018649) always cause a java exception saying:

 

2014-10-14 15:28:21,901 ERROR [Collectd-Thread-20-of-50] CollectableService: An undeclared throwable was caught during data collection for interface 10.88.80.31/SNMP

Caused by: java.lang.IllegalArgumentException: String -1022948647 could not be converted to a SnmpObjId. It has a negative for subId 0

 

This is pretty clear to me. Opennms tries to cast the index to int and he is unable to because the other indexes do not fit into a int type…

 

Why in the world APC did indexes in Counter32 type? This is not as per the SNMP RFC I believe…

Is there any way out of this?

I need to monitor all of these sensors, not just 2 of them!

 

Thanks in advance,

Patrick

 

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Johansson, Daniel | 17 Oct 10:24 2014

FW: jdbc collection

Hi

Resending this message, don't know if it get through?
Am I checking for the graphs at the right place Les?

BR
/Daniel

-----Original Message-----
From: Johansson, Daniel 
Sent: den 14 oktober 2014 15:14
To: 'General OpenNMS Discussion'
Subject: RE: [opennms-discuss] jdbc collection

Hi

Attached is the pictures of how I try to view/find the graphs.
In the "node10_res_graph_list.jpg" is the list of graphs for the node, but the APN-Sessions graphs is not there.

There are graphs for node-data, interface-data and response-time graphs. But not APN-Sessions graphs, I
guess they should be in node-data since type is nodeSNMP?

BR
/Daniel

-----Original Message-----
From: Les Mikesell [mailto:lesmikesell <at> gmail.com] 
Sent: den 14 oktober 2014 14:48
To: General OpenNMS Discussion
Subject: Re: [opennms-discuss] jdbc collection

On Tue, Oct 14, 2014 at 5:23 AM, Johansson, Daniel <Daniel.Johansson2 <at> sonymobile.com> wrote:
> Hi
>
> Thanks for your answers really appreciated!
> I'm very close to just reinstall OpenNMS and start over.
>
> Below is the *.jrb files that is created for the node, these are the files I plotted the graph picture attached.
> You can also see the files in the putty window.
>
> root <at> seldmont04:/etc/opennms/snmp-graph.properties.d# ls -la 
> /var/lib/opennms/rrd/snmp/10/GTE-* 
> /var/lib/opennms/rrd/snmp/10/TotalNULLsessions.*
> -rw-rw-r-- 1 root root 282736 Oct 14 10:00 /var/lib/opennms/rrd/snmp/10/GTE-Internetsession.jrb
> -rw-rw-r-- 1 root root     97 Oct 10 16:44 /var/lib/opennms/rrd/snmp/10/GTE-Internetsession.meta
> -rw-rw-r-- 1 root root 282736 Oct 14 10:00 /var/lib/opennms/rrd/snmp/10/GTE-Servicessession.jrb
> -rw-rw-r-- 1 root root     97 Oct 10 16:44 /var/lib/opennms/rrd/snmp/10/GTE-Servicessession.meta
> -rw-rw-r-- 1 root root 282736 Oct 14 10:00 /var/lib/opennms/rrd/snmp/10/TotalNULLsessions.jrb
> -rw-rw-r-- 1 root root     93 Oct 10 16:44 /var/lib/opennms/rrd/snmp/10/TotalNULLsessions.meta
>
> I am running Ubuntu 12.04.
>
> I think I am doing what you are saying, and the files is there and the names are the same in the different
files. The graphs just don't get on the nodes resource graphs.
> I have rebooted the server a couple of times as well, nothing changed. I always restart openNMS when I do
change in these files.

Note that node-level graphs aren't going to show up in the list of graphs you can pick to display.  Are you
picking the node level for node 10  to display and then scrolling down through the set that is displayed?  If
you have any snmp data for the node those should be there too.

-- 
   Les Mikesell
      lesmikesell <at> gmail.com'

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Les Mikesell | 16 Oct 18:40 2014
Picon

find nodes with/without specific graph data?

Is there any way short of groveling through the snmp/node/*
directories myself, looking at file timestamps, and mapping the node
numbers back to their labels to find a list of nodes that either are
or aren't currently updating with some specific data collection?

As an example, someone just noticed that one linux node did not have
any disk usage graphs.  Is there a way to find others that don't?

If there is no way to do this within opennms, are there any groovy
scripts, etc. that could be run periodically to identify likely
problems - and maybe clean out old data that is no longer updating?

-- 
   Les Mikesell
      lesmikesell <at> gmail.com

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Samuel Mutel | 16 Oct 14:08 2014
Picon

Expression-based Thresholds

Hello,

I have defined the expression-based thresholds below :

<expression type="high" ds-type="if" value="90.0" rearm="75.0"
            trigger="5" ds-label="snmpifalias"
            triggeredUEI="uei.opennms.org/threshold/highIfOutBandwidth/normal"
            rearmedUEI="uei.opennms.org/threshold/highIfOutBandwidthRearmed"
            filterOperator="or" expression="ifOutOctets * 8 / 1000000 / ifHighSpeed * 100">
            <resource-filter field="ifHighSpeed">^[1-9]+[0-9]*$</resource-filter>
</expression>

For some equipement ifHighSpeed is not available so I have this error message in log : can't find value of ifHighSpeed for resource.

How can I change resource-filter field to avoid these messages.

Thanks in advance.
Regards,
Samuel Mutel.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Blaine Boswell | 15 Oct 18:34 2014

OpenNMS 1.12.5 dropping SYSLOG events

All,

 

We’ve been working with OpenNMS moving past test environment into a production environment side by side with our current NMS product. In test, I built a simple PERL script to repeatedly iterate a known # of the same SYSLOG message to both products to test performance during HA failover.

 

I’m finding that OpenNMS is dropping 25% or more of the SYSLOG messages. I backed down the volume of incoming SYSLOG messages significantly (from 20k over 5min to 2k over 3min) to get to where it’s only dropping 25%. Below is a snippet of the PERL that’s generating the SYSLOG messages to port RSYSLOGD port 514 which is forwarding to 1)a log file, 2)OpenNMS and 3)our current NMS product.

 

In the /opt/opennms/logs/daemon/syslogd.log I’m seeing the same number of log messages for this SYSLOG message getting converted to EVENTS as what shows up in the WEBUI below. In our production environment, normal volume is less than 10k various SYSLOG messages coming through RSYSLOGD to be processed in a 5 min window. So my test is adding too that normal volume but I didn’t expect to loose any.

 

I’d expected a CARRIER/ENTERPRISE grade NMS solution to be able to handle many more SYSLOG messages per minute. I’ve used what looked like a pretty basic configuration for syslogd-configuration.xml to receive SYSLOG messages from RSYSLOGD. It seemed to work fine until I started verifying data integrity in this method.

 

Has anyone experienced this? Should the OpenNMS JAVA SYSLOGD receiver be able to handle higher volumes of logmsgs? Is there a different configuration that’s recommended to handle higher volumes of SYSLOG messages? Is there another log file that sees the JAVA processing of incoming SYSLOG messages before syslogd.log, something that might indicate what is failing to handle the logmsg (I’d assumed syslogd.log handled the message 1st)?

 

=========================================================================

CURRENT SYSLOG MESSAGE FLOW from source:

RSYSLOGD port 514 -> forwarding to 1)a log file, 2)OpenNMS and 3)our current NMS product.

 

The 1)log file and 3) our current NMS product see all 2k of the logmsg

 

=================== syslogd-configuration.xml =====================

<?xml version="1.0"?>

<syslogd-configuration>

    <configuration

            syslog-port="10514"

            new-suspect-on-message="false"

            parser="org.opennms.netmgt.syslogd.CustomSyslogParser"

            forwarding-regexp="^((.+?) (.*))\r?\n?$"

            matching-group-host="2"

            matching-group-message="3"

    />

 

    <import-file>syslog/Prodea.syslog.xml</import-file>

   ….

</syslogd-configuration>

 

========================syslogd.log snippet of each message processed================================

2014-10-15 15:48:41,022 DEBUG [Syslog Event Receiver[0.0.0.0:10514]] SyslogReceiver: Waiting on a datagram to arrive

2014-10-15 15:48:41,028 DEBUG [SyslogReceiver-Thread-1] ConvertToEvent: Converting to event: org.opennms.netmgt.syslogd.ConvertToEvent <at> 2000e648[Sender=10.x.x.x/10.x.x.x,Port=55565,Acknowledged Events=[],Event=<null>]

2014-10-15 15:48:41,028 DEBUG [SyslogReceiver-Thread-1] ConvertToEvent: got syslog message org.opennms.netmgt.syslogd.SyslogMessage <at> 1b0e9162[facility=user,severity=Notice,version=<null>,date=Wed Oct 15 15:48:40 UTC 2014,hostname=<known nodelabel>,message ID=<null>,process name=<known process id>,process ID=0,message=<known logmsg>]

2014-10-15 15:48:41,031 WARN  [SyslogReceiver-Thread-1] ConvertToEvent: No hideMessage configured.

2014-10-15 15:48:41,031 DEBUG [SyslogReceiver-Thread-1] SyslogConnection: Sending received packet to the SyslogProcessor queue

2014-10-15 15:48:41,031 DEBUG [Syslog Event Receiver[0.0.0.0:10514]] SyslogReceiver: Waiting on a datagram to arrive

 

No “ERROR” messages found in log with DEBUG on.

 

==========================PERL snippet to generate a known UEI logmsg===================================

#!/usr/bin/perl

 

use Time::HiRes qw(usleep);

 

$tag = ("some process name configured in OpenNMS syslog and events");

$message = ("some logmsg configured in OpenNMS syslog and events”);

for (0..99) {

        `logger -t $tag "$message"`;

        usleep(650);

};

sleep(9);

for (0..99) {

…repeated 19 x = 2k SYSLOG messages in 3 min

 

===========================FROM ALARM UI (matches whats in Postgres ‘event’ table ==============================================================

Alarm 1556171

 

Severity

Critical

Node

<known nodelabel>

Last Event

Oct 15, 2014 3:51:06 PM

Interface

<known ip>

First Event

Oct 15, 2014 3:48:15 PM

Service

Count

1411

UEI

uei.opennms.org/vendor/prodea/syslog/<known logmsg uei>

 

 

 

 

Regards,

 

Blaine Boswell

 

 

This message is confidential to Prodea unless otherwise indicated or apparent from its nature. This message is directed to the intended recipient only, who may be readily determined by the sender of this message and its contents. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient:(a)any dissemination or copying of this message is strictly prohibited; and(b)immediately notify the sender by return message and destroy any copies of this message in any form(electronic, paper or otherwise) that you have.The delivery of this message and its information is neither intended to be nor constitutes a disclosure or waiver of any trade secrets, intellectual property, attorney work product, or attorney-client communications. The authority of the individual sending this message to legally bind Prodea is neither apparent nor implied,and must be independently verified.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Gmane