On 05/17/2011 02:45 PM, Waseem Hawaldar wrote:
> Hello Risto,
>       Now when I run SEC, I am observing error message:
>
> Executing shell command 'snmptrap -v 2c -c public 10.3.12.218 "" ucdStart 
> 1.3.6.1.4.1.2021.251.1 s "SEC Alert to ZenOSS"'
> Child 16273 created for command 'snmptrap -v 2c -c public 10.3.12.218 "" 
> ucdStart 1.3.6.1.4.1.2021.251.1 s "SEC Alert to ZenOSS"'
> Executing shell command 'snmptrap -v 2c -c public 10.3.12.218 "" ucdStart 
> 1.3.6.1.4.1.2021.251.1 s "SEC Alert to ZenOSS"'
> Child 16274 created for command 'snmptrap -v 2c -c public 10.3.12.218 "" 
> ucdStart 1.3.6.1.4.1.2021.251.1 s "SEC Alert to ZenOSS"'
> read_config_store open failure on /var/net-snmp/snmpapp.conf
> read_config_store open failure on /var/net-snmp/snmpapp.conf
> read_config_store open failure on /var/net-snmp/snmpapp.conf
> read_config_store open failure on /var/net-snmp/snmpapp.conf
> read_config_store open failure on /var/net-snmp/snmpapp.conf
> read_config_store open failure on /var/net-snmp/snmpapp.conf
>

Well, it is hard to comment on that, since these error messages are 
coming from the snmptrap utility of the Net-SNMP software suite.
Please either search Net-SNMP mailing lists for this particular problem 
solution, or try posting your question to these lists:
http://net-snmp.sourceforge.net/support/contacts.html
with kind regards,
risto

>
>
> Regards,
> Waseem
>
>
>
>
> -----Original Message-----
> From: Risto Vaarandi [mailto:risto.vaara...@seb.ee]
> Sent: Tuesday, May 17, 2011 3:38 PM
> To: Waseem Hawaldar
> Cc: simple-evcorr-users@lists.sourceforge.net
> Subject: Re: [Simple-evcorr-users] How to generate OID and make SEC to 
> communicate with zenoss.
>
> On 05/17/2011 01:04 PM, Waseem Hawaldar wrote:
>> Hello Risto,
>>
>>      Thank you very much. It resolved the error but, still I am finding the 
>> following warning message:
>>
>> Rule in C2.1.01.conf at line 1: Warning - could not find 'snmptrap'
>>
>> Can you please tell me what this shellcmd indicates.
>
> If an external program is specified with a relative path, then SEC
> checks for it from the current directory and produces a warning, if
> program is not found. However, it is not an error if the PATH
> environment variable gets set correctly at runtime and the program is
> actually found.
> If you want to suppress this non-critical warning, however, please
> specify snmptrap with full path.
> kind regards,
> risto
>
>>
>>
>> Regards,
>> Waseem
>>
>>
>> -----Original Message-----
>> From: Risto Vaarandi [mailto:risto.vaara...@seb.ee]
>> Sent: Tuesday, May 17, 2011 3:27 PM
>> To: simple-evcorr-users@lists.sourceforge.net
>> Subject: Re: [Simple-evcorr-users] How to generate OID and make SEC to 
>> communicate with zenoss.
>>
>> hi Waseem,
>> please write the 'action' field of the rule as:
>>
>> action=shellcmd snmptrap -v 2c -c public ZenossIP "" ucdStart OID s "SEC
>> Alert to ZenOSS"
>>
>> and see if it works (each SEC action must begin with a keyword that
>> specifies the action type). You might also want to rewrite 'snmptrap'
>> with full path if SEC is running as a daemon and snmptrap utility is
>> residing in some non-standard directory.
>>
>> hope this helps,
>> risto
>>
>> On 05/17/2011 12:51 PM, Waseem Hawaldar wrote:
>>> Hello Rosto,
>>>     First of all I would like to thank you for your reply.
>>>
>>> Detailed technical description:
>>> I am trying to read some sample file, from the respective VM, were SEC is 
>>> installed. After which I am filtering the contents of the file based on 
>>> filter expression, also called as RegExp in SEC. Now after filtering I am 
>>> writing the action command in SEC as follows:
>>>
>>> action=snmptrap -v 2c -c public ZenossIP "" ucdStart OID s "SEC Alert to 
>>> ZenOSS"
>>>
>>> Now when I run this sec perl script, I am observing an error message as 
>>> Action Invalid.
>>>
>>>
>>> SEC Config file for your reference:
>>>
>>> type=Single
>>> ptype=RegExp
>>> pattern=error
>>> desc=$0
>>> action=snmptrap -v 2c -c public 192.11.21.1 "" ucdStart 
>>> 1.3.6.1.4.1.2021.251.1 s "SEC Alert to ZenOSS"
>>>
>>> My goal is to filter any given input file based on SEC's control expression 
>>> and send the filtered contents to zenoss.
>>>
>>> Please suggest me some tips for this problem. Any help will be appreciated.
>>>
>>>
>>>
>>> Regards,
>>> Waseem
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Risto Vaarandi [mailto:risto.vaara...@seb.ee]
>>> Sent: Tuesday, May 17, 2011 3:07 PM
>>> To: simple-evcorr-users@lists.sourceforge.net
>>> Subject: Re: [Simple-evcorr-users] How to generate OID and make SEC to 
>>> communicate with zenoss.
>>>
>>> On 05/16/2011 01:17 PM, Waseem Hawaldar wrote:
>>>> Hi ,
>>>>
>>>> I have installed both SEC (ver 2.5.2) and zenoss in 2 different VMs. I
>>>> have tested SEC with simple expression matching and writing the results
>>>> to file.
>>>>
>>>> Now I am trying to make SEC to talk with zenoss so that I can monitor
>>>> the events through zenoss. I request you to please help me in knowing ,
>>>> what is the role of OID here and how it can be configured?
>>>>
>>>> I would also like to know as to how to configure zenoss.
>>>>
>>>> Regards,
>>>>
>>>> Waseem
>>>>
>>>
>>> Hmmm... I think not so many readers of this list (including me) might
>>> have a previous experience with Zenoss, so it might be somewhat hard to
>>> figure out the essence of the issue. I can only tell you that OID is a
>>> convention for object naming
>>> (http://en.wikipedia.org/wiki/Object_identifier) which is extensively
>>> used by SNMP agents and SNMP command line tools. However, without
>>> knowing more about your particular setup, it is very hard to guess what
>>> sort of OID's you are talking about.
>>> Can you give a precise technical description about how you would like to
>>> use SEC with Zenoss? Is SEC watching some sort of log file Zenoss is
>>> producing? Are you currently having a trouble with understanding the
>>> format of the log file?
>>> kind regards,
>>> risto
>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> http://www.mindtree.com/email/disclaimer.html
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Achieve unprecedented app performance and reliability
>>>> What every C/C++ and Fortran developer should know.
>>>> Learn how Intel has extended the reach of its next-generation tools
>>>> to help boost performance applications - inlcuding clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Simple-evcorr-users mailing list
>>>> Simple-evcorr-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Achieve unprecedented app performance and reliability
>>> What every C/C++ and Fortran developer should know.
>>> Learn how Intel has extended the reach of its next-generation tools
>>> to help boost performance applications - inlcuding clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> Simple-evcorr-users mailing list
>>> Simple-evcorr-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>>>
>>> ------------------------------------------------------------------------------
>>> Achieve unprecedented app performance and reliability
>>> What every C/C++ and Fortran developer should know.
>>> Learn how Intel has extended the reach of its next-generation tools
>>> to help boost performance applications - inlcuding clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> Simple-evcorr-users mailing list
>>> Simple-evcorr-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Simple-evcorr-users mailing list
>> Simple-evcorr-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>>
>>
>
>
>


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to