Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Wolf Noble

Great! That's honestly more what I was hoping to get at/to

Is there likely to be an API to interact with pfSense?

For my specific use-case, a "simple" authtoken-based metrics API 
framework would be awesome, but I could see a lot of benefit for 
automation for a more interactive API. Admittedly, that would be a lot 
harder to implement :)





Aaron C. de Bruyn 
January 27, 2015 at 2:29 PM
Forget a dashboard for the moment. A decent API would go a long ways
for writing automation tools.

I've already recommended to the opnsense guys that they add on an API.

If I only knew a bit more about packaging, I'd make my own fork with
the tools. ;)

-A
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
Moshe Katz 
January 27, 2015 at 1:15 PM

As Adam said, I'm pretty sure that there used to be something in the 
Wiki.  However, I'm also pretty sure that it was targeted at pfSense 
1.x and that it was removed from there because something in the 2.x 
changes broke it.


Moshe

--
Moshe Katz
-- mo...@ymkatz.net 
-- +1(301)867-3732

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
Adam Thompson 
January 27, 2015 at 11:29 AM
On 2015-01-27 11:22 AM, Wolf Noble wrote:

My apologies, I can't find it now, either.  WTF... I *know* that page 
used to exist.  Looks like jimp is doing most of the wiki updates, 
perhaps he'll remember what happened to it.


The only thing I can find that covers is it this: 
https://doc.pfsense.org/index.php/Remote_Config_Backup


--
-Adam Thompson
athom...@athompso.net
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold
Adam Thompson 
January 27, 2015 at 11:03 AM
SNMP support exists, although not everything is available that way.
Otherwise the doc wiki has a page on authenticating automated web 
requests - RTFM.

-Adam


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Aaron C. de Bruyn
Forget a dashboard for the moment.  A decent API would go a long ways
for writing automation tools.

I've already recommended to the opnsense guys that they add on an API.

If I only knew a bit more about packaging, I'd make my own fork with
the tools.  ;)

-A

On Tue, Jan 27, 2015 at 11:15 AM, Moshe Katz  wrote:
> On Tue, Jan 27, 2015 at 12:29 PM, Adam Thompson 
> wrote:
>>
>> On 2015-01-27 11:22 AM, Wolf Noble wrote:
>>
>> Hi Adam,
>>
>> Thanks for the response.  Yeah, I know about SNMP. it's a route I might
>> go, but wanted to see what else was available.
>>
>> Strangely enough, I did actually look on the docs site before posting. but
>> I didn't find the page you referenced. That's why I posted here. Would you
>> mind terribly posting a link to the page you mention?
>>
>> When I searched the docs site, I looked for 'api', then  'curl', and then
>> 'header'; but didn't find any relevant results. The closest I found was
>> https://doc.pfsense.org/index.php/Limiting_access_to_web_interface ; but
>> that's not really relevant.
>>
>>
>> My apologies, I can't find it now, either.  WTF... I *know* that page used
>> to exist.  Looks like jimp is doing most of the wiki updates, perhaps he'll
>> remember what happened to it.
>>
>> The only thing I can find that covers is it this:
>> https://doc.pfsense.org/index.php/Remote_Config_Backup
>>
>> --
>> -Adam Thompson
>>  athom...@athompso.net
>
>
> As Adam said, I'm pretty sure that there used to be something in the Wiki.
> However, I'm also pretty sure that it was targeted at pfSense 1.x and that
> it was removed from there because something in the 2.x changes broke it.
>
> Moshe
>
> --
> Moshe Katz
> -- mo...@ymkatz.net
> -- +1(301)867-3732
>
>
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Moshe Katz
On Tue, Jan 27, 2015 at 12:29 PM, Adam Thompson 
wrote:

>  On 2015-01-27 11:22 AM, Wolf Noble wrote:
>
> Hi Adam,
>
> Thanks for the response.  Yeah, I know about SNMP. it's a route I might
> go, but wanted to see what else was available.
>
> Strangely enough, I did actually look on the docs site before posting. but
> I didn't find the page you referenced. That's why I posted here. Would you
> mind terribly posting a link to the page you mention?
>
> When I searched the docs site, I looked for 'api', then  'curl', and then
> 'header'; but didn't find any relevant results. The closest I found was
> https://doc.pfsense.org/index.php/Limiting_access_to_web_interface ; but
> that's not really relevant.
>
>
> My apologies, I can't find it now, either.  WTF... I *know* that page used
> to exist.  Looks like jimp is doing most of the wiki updates, perhaps he'll
> remember what happened to it.
>
> The only thing I can find that covers is it this:
> https://doc.pfsense.org/index.php/Remote_Config_Backup
>
> --
> -Adam Thompson
>  athom...@athompso.net
>
>
As Adam said, I'm pretty sure that there used to be something in the Wiki.
However, I'm also pretty sure that it was targeted at pfSense 1.x and that
it was removed from there because something in the 2.x changes broke it.

Moshe

--
Moshe Katz
-- mo...@ymkatz.net
-- +1(301)867-3732
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Yehuda Katz
I am also using NRPE (with Icinga). I have Icinga creating the reports
which I include elsewhere. The information you get is limited to what
Icinga or other NRPE client can pull.

- Y

On Tue, Jan 27, 2015 at 12:15 PM, James Records 
wrote:

> Not sure if this is exactly what your asking but I have a dashboard setup
> for pf logs, I made a reddit post about it a while back:
>
> http://www.reddit.com/r/PFSENSE/comments/2rlm8h/pfsense_docker_elk/
>
> I also use nagios (which i was going to try to package in docker as well
> when I get around to it) which essentially uses the NRPE plugin to get some
> metrics out of pfsense, it does provide some graphing of cpu/memory
> utilization.
>
> Also I've been looking into monit lately, someone should make a monit
> package for pfSense :)
>
> Thanks,
>
> On Tue, Jan 27, 2015 at 8:55 AM, Wolf Noble  wrote:
>
>> I'm sure this has been asked, but I've not found anything in the few
>> minutes I poked around on the forums/google.
>>
>> I'm looking to pull some metrics from my pfSense firewall to display on a
>> dashboard. I was wondering what my options are for API-esque access, or
>> curl-able graph images with authentication handled by a token conveyed via
>> a header.
>>
>> What are others doing?
>> ___
>> pfSense mailing list
>> https://lists.pfsense.org/mailman/listinfo/list
>> Support the project with Gold! https://pfsense.org/gold
>>
>
>
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
>
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread James Records
Not sure if this is exactly what your asking but I have a dashboard setup
for pf logs, I made a reddit post about it a while back:

http://www.reddit.com/r/PFSENSE/comments/2rlm8h/pfsense_docker_elk/

I also use nagios (which i was going to try to package in docker as well
when I get around to it) which essentially uses the NRPE plugin to get some
metrics out of pfsense, it does provide some graphing of cpu/memory
utilization.

Also I've been looking into monit lately, someone should make a monit
package for pfSense :)

Thanks,

On Tue, Jan 27, 2015 at 8:55 AM, Wolf Noble  wrote:

> I'm sure this has been asked, but I've not found anything in the few
> minutes I poked around on the forums/google.
>
> I'm looking to pull some metrics from my pfSense firewall to display on a
> dashboard. I was wondering what my options are for API-esque access, or
> curl-able graph images with authentication handled by a token conveyed via
> a header.
>
> What are others doing?
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
>
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Adam Thompson

On 2015-01-27 11:22 AM, Wolf Noble wrote:

Hi Adam,

Thanks for the response.  Yeah, I know about SNMP. it's a route I 
might go, but wanted to see what else was available.


Strangely enough, I did actually look on the docs site before posting. 
but I didn't find the page you referenced. That's why I posted here. 
Would you mind terribly posting a link to the page you mention?


When I searched the docs site, I looked for 'api', then  'curl', and 
then  'header'; but didn't find any relevant results. The closest I 
found was 
https://doc.pfsense.org/index.php/Limiting_access_to_web_interface ; 
but that's not really relevant.


My apologies, I can't find it now, either.  WTF... I *know* that page 
used to exist.  Looks like jimp is doing most of the wiki updates, 
perhaps he'll remember what happened to it.


The only thing I can find that covers is it this: 
https://doc.pfsense.org/index.php/Remote_Config_Backup


--
-Adam Thompson
 athom...@athompso.net

___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Wolf Noble

Hi Adam,


Thanks for the response.  Yeah, I know about SNMP. it's a route I might 
go, but wanted to see what else was available.


Strangely enough, I did actually look on the docs site before posting. 
but I didn't find the page you referenced. That's why I posted here. 
Would you mind terribly posting a link to the page you mention?


When I searched the docs site, I looked for 'api', then  'curl', and 
then  'header'; but didn't find any relevant results. The closest I 
found was 
https://doc.pfsense.org/index.php/Limiting_access_to_web_interface ; but 
that's not really relevant.






Adam Thompson 
January 27, 2015 at 11:03 AM
SNMP support exists, although not everything is available that way.
Otherwise the doc wiki has a page on authenticating automated web 
requests - RTFM.

-Adam


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Re: [pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Adam Thompson
SNMP support exists, although not everything is available that way.
Otherwise the doc wiki has a page on authenticating automated web requests - 
RTFM.
-Adam

On January 27, 2015 10:55:00 AM CST, Wolf Noble  wrote:
>I'm sure this has been asked, but I've not found anything in the few 
>minutes I poked around on the forums/google.
>
>I'm looking to pull some metrics from my pfSense firewall to display on
>
>a dashboard. I was wondering what my options are for API-esque access, 
>or curl-able graph images with authentication handled by a token 
>conveyed via a header.
>
>What are others doing?
>___
>pfSense mailing list
>https://lists.pfsense.org/mailman/listinfo/list
>Support the project with Gold! https://pfsense.org/gold

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

[pfSense] polling pfsense status for a combined dashboard

2015-01-27 Thread Wolf Noble
I'm sure this has been asked, but I've not found anything in the few 
minutes I poked around on the forums/google.


I'm looking to pull some metrics from my pfSense firewall to display on 
a dashboard. I was wondering what my options are for API-esque access, 
or curl-able graph images with authentication handled by a token 
conveyed via a header.


What are others doing?
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold