here is a prime example ... One that did not require any modification of
files. I just had to create an Event Type, Interface Type and then used
an existing Poller Group, Poller Item, and Poller Backend.
        
Using he OID from engines/pollers/tcp_connection_number.php
        
I first ran an snmpwalk against the device to see if I get results:
        
        $ snmpwalk -c public -v 2c 192.168.19.19 .1.3.6.1.2.1.6.13.1.1
        
                .1.3.6.1.2.1.6.13.1.1.0.0.0.0.22.0.0.0.0.0 2
                .1.3.6.1.2.1.6.13.1.1.0.0.0.0.23.0.0.0.0.0 2
                .1.3.6.1.2.1.6.13.1.1.0.0.0.0.80.0.0.0.0.0 2
                .1.3.6.1.2.1.6.13.1.1.0.0.0.0.280.0.0.0.0.0 2
        
Then using the settings I mentioned above, created a new Host and tried
to do a Manual Discovery without Port Scan. I see this error at the top
of the results page:
        
        -------------------------------------------------------------------
                Warning:
        
        
include_once(/opt/jffnms/engine/discovery/tcp_connection_number.inc.php) 
[function.include-once]: failed to open stream: No such file or directory in 
/opt/jffnms/lib/api.hosts.inc.php on line 415
                
                Warning: include_once() [function.include]: Failed
        opening
        
        '/opt/jffnms/engine/discovery/tcp_connection_number.inc.php' for
                inclusion
        (include_path='.:/usr/share/php5:/usr/share/php')
                in /opt/jffnms/lib/api.hosts.inc.php on line 415
                12:05:46 ERROR Loading
        
        file /opt/jffnms/engine/discovery/tcp_connection_number.inc.php.
        ---------------------------------------------------------------------
        
This is without modifying any files or creating any new ones.
And this is a minor error compared to some of the ones I have managed to
generate.


On Wed, 2007-05-30 at 10:29 -0500, falz wrote:
> On 5/30/07, Jeffrey Singleton <[EMAIL PROTECTED]> wrote:
> > Ok so these files are for the APC PDU only.
> >
> > I could only use these as templates, though I am not sure how. Its the
> > same problem I faced when attempting to modify the Cisco scripts to work
> > with the Foundry gear I have.
> >
> > I am sure I could get this to work over time. I just do not have the
> > time to spend all day everyday learning how to write everything. I have
> > entirely too much else to do -- I really just need it to work.
> >
> > But you have been a great help .. At least now I see what it really
> > takes to add device support.
> 
> Yea, that's the full thing to make a device be discovered, as well as
> polled, so that's the gist. I posted questions about making these last
> year or so, if you search for 'falz' on the jffnms-users archives
> you'll see responses from Javier with a bunch of details about what
> needed to be added.
> 
> I'm not sure how well you know php, my knowledge is somewhere right in
> the middle- all that's going on is specifying some MIB's by number,
> concatinating strings, then calling a few of jffnms's built in
> functions to poll/discover them. The code for graphing I just
> completely took from other devices, I would have had no idea how to
> write them by scratch.
> 
> --falz
> 
-- 
Jeffrey Singleton
Network Systems Administrator (Trusted Source)
Secure Computing Corporation
48000 North Point Parkway
Alpharetta, GA 30022
C: 770-820-2909
O: 678-


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to